Configuring the Nodes in the SSR Cluster (SRC CLI)
The node configuration is a list of all nodes in the cluster. Each entry in the list declares either a data node or a client node. For client nodes, an optional keyword specifies that a management server is enabled on the node.
The SSR database contains a node collection. Each node is identified by its IP address. The type of node can be set to either data-node, client-node or data-client-node, which can only be used when the cluster geometry is set to all-in-one. If the node type is set to client-node or data-client-node, a client node object appears under the node for setting the client node related options. You can configure up to four data nodes and twenty-four client nodes.
The number of data nodes configured must match the template selected with the geometry setting.
All data nodes must have equal processor power, memory space, and available bandwidth because they are tightly coupled and share data. If the overall throughput of the data nodes varies from node to node, performance degrades. Therefore, all data nodes must be of the same C Series Controller model—for example, C4000 models.
Use the following configuration statements to configure at least one client node and two data nodes in the cluster:
To configure each node in the cluster (perform steps from any node in the cluster and repeat for each node in the SSR cluster):
- From configuration mode, access the statement to configure
the cluster nodes. user@host# edit shared database cluster primary nodes node
- Specify the node’s IP address. [edit shared database cluster primary nodes node]user@host# set address address
- Specify the platform type for the node.[edit shared database cluster primary nodes node]user@host# set platform [(2000 | C3000 | C4000 | C5000)]
- Configure the node type.[edit shared database cluster primary nodes node]user@host# set type [(data-node | client-node | data-client-node)]
where the type is one of the following values:
data-node—Configures the machine to host a data node. Data nodes are always configured in pairs, and your cluster can contain either two or four data nodes.
client-node—Configures the machine to host a client node. Client nodes can optionally host a management server.
data-client-node—Configures the machine to host a data node, a client node, and a management server. Use this node type only for small-scale deployments when the cluster geometry is set for two-shared-data-node, or for demonstration purposes when the cluster geometry is set to all-in-one.