Ocient Application Configuration
These steps assume that you have already completed the process for bootstrapping your system nodes. If you have not done this yet, perform the Ocient System Bootstrapping steps before beginning this configuration process.
Now that the nodes have all completed bootstrapping, you must properly configure the nodes to perform their roles. You should run these commands using a SQL connection to one of the SQL Nodes in your system. For details, see Connect to Ocient.
The Ocient application configuration process consists of these steps:
Creating a Storage Space
To create a storage space with 12 segments, use WIDTH=12 and PARITY_WIDTH=2. Two of these segments are the parity portion and 10 of these segments are the data portion.
The storage space name must begin with a letter followed by letters, numbers, and underscores.
You can view all storage spaces in the system by querying its system table.
Creating Storage Clusters
You must have at least one storage cluster to configure an Ocient system. A storage cluster is a set of Foundation (LTS) Nodes with an associated storage space that coordinate to reliably store data and serve queries.
Create a Foundation (LTS) cluster.
Loader Nodes and SQL Nodes do not need to be placed into a cluster.
At a minimum, the number of participants must be the width specified in the storage space. This number can be greater if you overprovision the system. For details about storage spaces and related settings, overprovisioning, and parity, see Core Elements of an Ocient System.
View all clusters in the system.
View all clusters and their associated nodes.
You must restart all nodes with the SQL role after adding a storage cluster.
Assigning Service Roles
Assign service roles to each accepted node. This process defines how each node participates in queries and the management of the system.
View all nodes and their configured roles.
The addition of nodes to the storage cluster in the prior step automatically assigns lts to the Foundation (LTS) Nodes that you included.
Add the remaining sql, admin, and streamloader roles to the appropriate nodes.
The Admin role can operate standalone or on the same node as the SQL role.
Restart the Nodes
With roles assigned to the nodes, you can restart the rolehostd process on all nodes. At a shell terminal on each node, run this command.
If any custom configuration settings are applied to running nodes during other configuration, be sure to restart the rolehostd process before proceeding.
You can check the status of nodes using the Status endpoint on each node from a terminal. Assuming IP Addresses 10.10.0.2 and 10.10.0.3 for sql1 and lts0 respectively, you can check the status with these curl commands.
After all of the nodes are Active, Ocient is ready to use for queries.
If you need an Ocient System that requires 10 or more Foundation Nodes in the storage cluster, then you can create multiple storage clusters. For considerations to take into account when you work with multiple storage clusters, see Multiple Storage Clusters for Loading Data.
Create a multiple storage cluster with 12 nodes. Create a storage space store with width 5 and parity width 1 using the CREATE STORAGESPACE SQL statement.
Create multiple clusters using the CREATE CLUSTER SQL statements using the storage space store. Split the Foundation Nodes among the clusters. cluster_0 storage cluster has Foundation Nodes lts0 through lts5, while cluster_1 has lts6 through lts11.
After configuration, you can run a system check to validate the Ocient installation and bootstrapping. For details, see Checking System After Configuration.
Follow the process in Load Data to create a database and a table, then load data from a set of files located on a cloud object storage.