Removing a CLDB Role
Describes how to remove the CLDB role from a node.
About this task
Procedure
- 
                If you have only one CLDB node in the cluster, add the CLDB role to another
                    node.  
                When failover occurs after removal of the CLDB node, the new CLDB node becomes the primary CLDB.
 - 
                Issue the following command to stop the CLDB service on the node:
                
/opt/mapr/bin/maprcli node services -name cldb -action stop -nodes mapr-<node> - 
                Purge the CLDB package, 
mapr-cldb, with theapt-get,yum, orzyppercommands, depending on your operating system. - 
                Run 
configure.shwith the-C,-Nand-Zoptions on the node where you removed the role.Use the-Coption to provide the list of CLDB nodes, excluding the node where you removed the role,-Nto pass the name of the cluster, and-Zto specfy the list of ZooKeeper nodes. - 
                Run 
configure.shwith the-C,-Nand-Zoptions on all other nodes in the cluster.Use the-Coption to provide the list of CLDB nodes, excluding the node where you removed the role,-Nto pass the name of the cluster, and-Zto specify the list of ZooKeeper nodes.