System Administration
Install an Ocient System

Ocient System Bootstrapping

The system runs the bootstrapping process once per node. This process establishes the node identity, configures networking, and accepts nodes into the system.

Initial configuration of each node is controlled by the /var/opt/ocient/bootstrap.conf file. The system uses this file only when the node initially starts.

Validating the System Before Bootstrapping

The following steps assume a basic configuration, where every node has a single network interface.

To verify your system before the bootstrapping process:

Ocient System Bootstrapping Process

If you meet the system prerequisites, you can begin bootstrapping your Ocient system.

The bootstrapping process consists of these steps:

1

Bootstrap the First Node

The system automatically initializes the first node bootstrapped in the system with the SQL and Administrator roles. Choose a node to serve as a SQL Node. This node is the initial node in the system. The hardware for each node type differs, so ensure that the node you select is intended for a SQL Node.

Bootstrap the Node

Connect to this node with the username and password of your server and the IP address of your node. This example connects as the administrator admin to the IP Address 10.10.10.10.

Shell


Use your preferred text editor with sudo to create the /var/opt/ocient/bootstrap.conf file as root with these contents.

/var/opt/ocient/bootstrap.conf example

YAML


Start the database.

Shell


Verify that the node and the service is active by executing this status command.

Shell


If the rolehostd service is running, you can also check the Ocient logs on your node. Search and ensure there are no [ERROR] log messages.

Shell


Verify Connection to the SQL Node

At this point, you have a running database with a single node. You should be able to connect to the database using Connect via JDBC or Connect via pyocient and execute commands.

Every new system starts with a system database. To connect to a new system, use the username and password configured in the bootstrap.conf file or the username admin@system and password admin if none was provided.

For example, assume your node named sql0 has an IP address of 10.10.0.1. Use the JDBC driver CLI to connect with this connection string.

Shell


See the JDBC Manual for details on using the JDBC driver.

To see the roles running on the single node, execute this query.

SQL


The initial node should be listed as running the sql, admin, health, and operatorvm roles. If all of these roles are present and the node is Active, you can proceed to the next step to bootstrap the remaining nodes.

2

Bootstrap the Remaining Nodes

Performing the bootstrapping process on the remaining nodes is identical on all nodes. The remaining nodes can be bootstrapped in any order.

On each node, log in using SSH and use your text editor with sudo to create the file /var/opt/ocient/bootstrap.conf that contains this text by replacing <FIRST_NODE_IP_ADDRESS> with the IP address of the initial node you created in Step 1.

/var/opt/ocient/bootstrap.conf example

YAML


<FIRST_NODE_IP_ADDRESS> is the DNS name or IP address of the initial node.

You can obtain the IP Address of the initial node by executing ifconfig on that node.

If the password for the system administrator has changed, set the correct username adminUserName and password adminPassword in the bootstrap configuration file bootstrap.conf.

On each node, start the database.

Shell


At this point, all the remaining nodes are not configured with any roles. After all nodes have been started, you should see them when you execute this query with only the health role listed.

SQL




More Bootstrapping Options

For options on bootstrapping your Ocient system, see Node Bootstrapping Reference.

Next Steps

When you have completed the bootstrapping process, you can proceed to the Ocient Application Configuration page to finish configuring Ocient.