Starting and Stopping the Global Cache Cluster
Ensure that the CCM is started before you start Global Cache nodes.
Ensure that the CCM is stopped before you stop Global Cache nodes.
Global Cache depends on the Ceph and ZooKeeper. Before starting Global Cache, ensure that the Ceph and ZooKeeper are started properly.
Starting and Stopping ZooKeeper
Command |
Function |
|---|---|
sh /opt/apache-zookeeper-3.6.3-bin/bin/zkServer.sh start |
Starts the CCM ZooKeeper. |
sh /opt/apache-zookeeper-3.6.3-bin/bin/zkServer.sh status |
Queries the CCM ZooKeeper status. |
sh /opt/apache-zookeeper-3.6.3-bin/bin/zkServer.sh stop |
Stops the CCM ZooKeeper. |
sh /opt/apache-zookeeper-3.6.3-bin/bin/zkServer.sh restart |
Restarts the CCM ZooKeeper. |
sh /opt/apache-zookeeper-3.6.3-bin-bcm/bin/zkServer.sh start |
Starts the BCM ZooKeeper. |
sh /opt/apache-zookeeper-3.6.3-bin-bcm/bin/zkServer.sh status |
Queries the BCM ZooKeeper status. |
sh /opt/apache-zookeeper-3.6.3-bin-bcm/bin/zkServer.sh stop |
Stops the BCM ZooKeeper. |
sh /opt/apache-zookeeper-3.6.3-bin-bcm/bin/zkServer.sh restart |
Restarts the BCM ZooKeeper. |
Starting and Stopping the CCM
Command |
Function |
|---|---|
sudo systemctl start ccm |
Starts the CCM. |
sudo systemctl status ccm |
Queries the CCM status. |
sudo systemctl stop ccm |
Stops the CCM. |
sudo systemctl restart ccm |
Restarts the CCM. |
As shown in the following figure, running is displayed, indicating that the CCM is running properly.

Starting and Stopping Global Cache
To start Global Cache, ensure that the CCM is started on at least one node.
Command |
Function |
|---|---|
sudo systemctl start globalcache |
Starts Global Cache. |
sudo systemctl status globalcache |
Queries the Global Cache status. |
sudo systemctl stop globalcache |
Stops Global Cache. |
sudo systemctl restart globalcache |
Restarts Global Cache. |
As shown in the following figure, running is displayed, indicating that Global Cache is running properly.


