Rate This Document
Findability
Accuracy
Completeness
Readability

Expanding the Capacity of the CCM ZooKeeper Cluster

The following describes how to expand a three-node cluster to a seven-node cluster. The original ZooKeeper server list is expanded from ceph1:2181,ceph2:2181,ceph3:2181 to ceph1:2181,ceph2:2181,ceph3:2181,ceph4:2181,ceph5:2181,ceph6:2181,ceph7:2181.

  1. Modify zk_server_list in the /opt/gcache/conf/gcache.conf file on the Global Cache server.
    1
    2
    [communicate]
    zk_server_list = ceph1:2181,ceph2:2181,ceph3:2181,ceph4:2181,ceph5:2181,ceph6:2181,ceph7:2181
    
  2. Modify zk_server_list under ccm cluster in the /opt/gcache/conf/bcm.xml file on the Global Cache server and client. Then import the latest CCM ZooKeeper configuration based on Verifying Global Cache.
    1
    2
    3
    4
    5
    6
    7
    <?xml version="1.0"?>
    <bcm zk_server_list="ceph1:2182,ceph2:2182,ceph3:2182">
        <cluster id="1"zk_server_list="ceph1:2181,ceph2:2181,ceph3:2181,ceph4:2181,ceph5:2181,ceph6:2181,ceph7:2181">
            <pool id="1"></pool>
            <pool id="2"></pool>
        </cluster>
    </bcm>