Bootstrap a Node
Connect to the Node
To bootstrap an node, connect to the node with your server username and password and the IP address of your node.For example, connect as administrator
admin to the IP Address 10.10.10.10.Shell
Configure the Bootstrap Configuration File
Use your preferred text editor with Option 2: Bootstrap a new node on a system with an initial nodeUse these
sudo to create the /var/opt/ocient/bootstrap.conf file as root.For a list of bootstrapping options, see Supported Options.Option 1: Bootstrap the initial node in a systemUse these bootstrap.conf settings to create the initial node in a system./var/opt/ocient/bootstrap.conf exampleYAML
bootstrap.conf settings to create another node in a system, replacing the IP Address 10.10.10.10 with the IP address or hostname of the initial node./var/opt/ocient/bootstrap.conf exampleYAML
Supported Options
You can edit the/var/opt/ocient/bootstrap.conf file to include a number of other options for advanced system configurations.
The Ocient bootstrap.conf file can also include these optional parameters. For examples of these options, see the Example bootstrap.conf file.
| Option | Description |
|---|---|
name | The default name of the node in the database is the hostname. If that name is not appropriate, you can assign a different name. |
nodeAddress | The default address of this node is the hostname of the node, or the IP address if the useDns setting is false. If the system has multiple interfaces or you want an alternative setup, then you can specify the node address. This address is the address that all the other nodes in the cluster use to contact this node. |
externalAddress | It might be desirable to have the SQL Nodes listen on a different external address than the system uses internally. The externalAddress parameter can either be a single address or a list of addresses. Example of single address: externalAddress: 10.10.10.1 Example of a list of addresses: externalAddress: ["10.10.10.1","20.20.20.2"] ℹ️This option applies to REST endpoints only. For REST endpoints, see System Information REST Endpoints. |
adminUserName | The default user, specified as admin@system, when you create an Ocient System. If a different administrator user should be used to add this node to an existing system, use this option to indicate the user. |
adminPassword | If the administrator password is not the default, then use this option to specify the password. |
logLevel | The logging level for the system. Defaults to DEBUG. |
connectivityPools | The configuration of SQL Nodes in a connectivity pool. You can use this configuration to configure the connectivity pool for the first SQL Node in a cluster. Other nodes cannot use this option. If there are no entries in the bootstrap.conf file, then the Ocient System adds the SQL Node to a new connectivity pool with a default name. Example of the connectivity pool named test_pool configuration:connectivityPools: test_pool: sourceAddress: 1.2.3.4/12 sourcePort: 1 # optional priority: 1 listenAddress: 111.1.1.1 listenPort: 4050 advertisedAddress: localhost advertisedPort: 4050 # optional |
systemStorageSpace | The configuration for storage space has width and parity width for the Ocient System. If you do not configure the storage space, the system sets the width to 3 and parity to 2, the default values. For details about width and parity width, see Core Elements of an Ocient System. To set these options using SQL syntax, see CREATE STORAGESPACE. |
useOpal | When you set this value to false, this option prevents the rolehostd service from taking ownership of and enabling Opal locking on all NVMe drives that support it. Bootstrap with this setting using an external Key Management System (KMS). |
pageReplication | The number of page replicas the system writes before a page is available, unless you enable degraded writes. The fault tolerance is (pageReplication - 1). The calculation for the default value is min(width, parityWidth+1). For the system storage space, the default value is 3. |
Example bootstrap.conf File [#example-bootstrap-conf-file]
This example shows abootstrap.conf file that you can use as a template.
YAML

