Adding a CLDB Role Using the CLI
Describes how to add a CLDB role to an HPE 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, orzyppercommands, depending on your operating system. -
Copy the following files from the
/opt/mapr/confdirectory on any existing CLDB node on the cluster to the/opt/mapr/confdirectory on this node.maprhsm.confmaprkeycreds.confmaprkeycreds.jceksmaprserverticketmaprtrustcreds.confmaprtrustcreds.jceksssl_keystoressl_keystore.p12ssl_keystore.pemssl_keystore-signed.pemssl_truststoressl_truststore.p12ssl_truststore.pemssl_userkeystoressl_userkeystore.p12ssl_userkeystore.pemssl_userkeystore-signed.pemssl_usertruststoressl_usertruststore.p12ssl_usertruststore.pemtokens(use a command such asscp -rto copy everything in this folder)
-
Run
configure.shwith 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-dareif 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-Ris specified, the ZooKeeper credentials are read fromwarden.conffile.-Z: Use this option if the node is a new node on the cluster. This option specifies the list of ZooKeeper nodes.
-
Run
configure.shwith 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