中文
注册

Global Cache集群启停

启动过程,要保证ccm先启动,再启动所有gc节点

停止过程,要保证ccm先停止,再停止所有gc节点

GlobalCache依赖ceph和ZooKeeper组件,启动GlobalCache之前需要保证ceph和ZooKeeper正常启动。

ZooKeeper启停

命令

命令功能

sh /opt/apache-zookeeper-3.6.3-bin/bin/zkServer.sh start

启动CCM ZooKeeper。

sh /opt/apache-zookeeper-3.6.3-bin/bin/zkServer.sh status

查看CCM ZooKeeper状态。

sh /opt/apache-zookeeper-3.6.3-bin/bin/zkServer.sh stop

停止CCM ZooKeeper。

sh /opt/apache-zookeeper-3.6.3-bin/bin/zkServer.sh restart

重启CCM ZooKeeper。

sh /opt/apache-zookeeper-3.6.3-bin-bcm/bin/zkServer.sh start

启动BCM ZooKeeper。

sh /opt/apache-zookeeper-3.6.3-bin-bcm/bin/zkServer.sh status

查看BCM ZooKeeper状态。

sh /opt/apache-zookeeper-3.6.3-bin-bcm/bin/zkServer.sh stop

停止BCM ZooKeeper。

sh /opt/apache-zookeeper-3.6.3-bin-bcm/bin/zkServer.sh restart

重启BCM ZooKeeper。

  • 集群环境leader

  • 集群环境follower

ccm启停

命令

命令功能

sudo systemctl start ccm

启动ccm。

sudo systemctl status ccm

查看ccm状态。

sudo systemctl stop ccm

停止ccm。

sudo systemctl restart ccm

重启ccm。

如下图running状态表示ccm正常运行。

Global Cache启停

globalcache启动需保证至少一个节点ccm处于启动状态。

命令

命令功能

sudo systemctl start globalcache

启动globalcache。

sudo systemctl status globalcache

查看globalcache状态。

sudo systemctl stop globalcache

停止globalcache。

sudo systemctl restart globalcache

重启globalcache。

如下图running状态表示Global Cache正常运行。

搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词