Node Bootstrapping Reference
Configure the Bootstrap Configuration File
Use your preferred text editor with 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 system
Use these bootstrap.conf settings to create the initial node in a system.
/var/opt/ocient/bootstrap.conf example
Option 2: Bootstrap a new node on a system with an initial node
Use these 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 example
Start the Node
Start the database.
Verify that the node and the service are active by running this status command.
You have bootstrapped the node.
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"] |
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. |
This example shows a bootstrap.conf file that you can use as a template.