ZStack Cloud Platform
Single Server, Free Trial for One Year
zstack-ctl status command to check the running status of the services related to the ZStack ZSphere management node.[root@localhost ~]# zstack-ctl status ZSTACK_HOME: /usr/local/zstack/apache-tomcat/webapps/zstack zstack.properties: /usr/local/zstack/apache-tomcat/webapps/zstack/WEB-INF/classes/zstack.properties log4j2.xml: /usr/local/zstack/apache-tomcat/webapps/zstack/WEB-INF/classes/log4j2.xml PID file: /usr/local/zstack/management-server.pid log file: /usr/local/zstack/apache-tomcat/logs/management-server.log version: 4.10.20 (ZStack-enterprise 4.10.20) MN status: Running [PID:123135] UI status: Running [PID:795] https://10.0.0.254:443zstack-ctl ui_status command to check the status of the Web UI separately.[root@localhost ~]# zstack-ctl ui_status UI status: Running [PID:8459] https://10.0.0.254:443zstack-ctl restart_nodezstack-ctl stop && zstack-ctl start# This command will start both the management node and Web UI services [root@localhost ~]#zstack-ctl startYou can run the zsha2 status command to check if the zsha2 service is running normally.
[root@localhost ~]# zsha2 collect-log Collecting logs ... Collected log: zsha2-log-2018-09-17T154358+0800.tgz # Unpack the log archive [root@localhost ~]# tar zxvf zsha2-log-2021-01-17T154358+0800.tgz tmp/zsha2-log588815976/ tmp/zsha2-log588815976/zsha2-status.log tmp/zsha2-log588815976/zstack-ha.log tmp/zsha2-log588815976/keepalived.data tmp/zsha2-log588815976/zs-vip-192.168.199.151.log tmp/zsha2-log588815976/keepalived_status.log