Adding a CLDB Role Using the CLI
Describes how to add a CLDB role to an HPE Ezmeral Data Fabric node using the CLI.
About this task
Adding a CLDB Role to a Node on a Secure Cluster
Procedure
-
Install the CLDB package,
mapr-cldb
, on the node by usingapt-get
,yum
, orzypper
commands, depending on your operating system. -
Copy the following files from the
/opt/mapr/conf
directory on any existing CLDB node on the cluster to the/opt/mapr/conf
directory on this node.maprhsm.conf
maprkeycreds.conf
maprkeycreds.jceks
maprserverticket
maprtrustcreds.conf
maprtrustcreds.jceks
ssl_keystore
ssl_keystore.p12
ssl_keystore.pem
ssl_keystore-signed.pem
ssl_truststore
ssl_truststore.p12
ssl_truststore.pem
ssl_userkeystore
ssl_userkeystore.p12
ssl_userkeystore.pem
ssl_userkeystore-signed.pem
ssl_usertruststore
ssl_usertruststore.p12
ssl_usertruststore.pem
tokens
(use a command such asscp -r
to copy everything in this folder)
-
Run
configure.sh
with the following options on the node where you added the new CLDB role.-secure
: Use this option to enable the node for security.-C
: Use this option to include this node in the list of CLDB nodes. If Warden is running, the CLDB service starts automatically.-dare
: Use this option only if the cluster is enabled for data-at-rest encryption. Do not specify-dare
if the cluster is not enabled for data-at-rest encryption.- Use one of the following to configure the list of ZooKeeper nodes:
-R
: Use this option if the node is an existing cluster node. This option uses the previously configured list of ZooKeeper nodes. When-R
is specified, the ZooKeeper credentials are read fromwarden.conf
file.-Z
: Use this option if the node is a new node on the cluster. This option specifies the list of ZooKeeper nodes.
-
Run
configure.sh
with the following options on all other nodes in the cluster.-C
: Use this option to include the new CLDB node in the list of CLDB nodes.-R
: Use this option to use the previously configured list of ZooKeeper nodes.
-
Verify that the node has a CLDB role by running the following
command:
The output should show all the CLDB nodes, including the node where the role was added.maprcli node listcldbs