Manage ZStack ZSphere Service

Check Service Status of Single MN

You can use the 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:443
You can also use the zstack-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:443

Change Service Status of Single MN

If you need to restart the management node service without restarting the Web UI service during use, run the following command:
zstack-ctl restart_node
It is not recommended to stop and restart all services at once during use. If you must restart all services, you can run the following command:
zstack-ctl stop && zstack-ctl start
If the management node stops services due to maintenance or other issues, you need to start the services manually. To start the ZStack ZSphere service, run the following command:
# This command will start both the management node and Web UI services [root@localhost ~]#zstack-ctl start

Check Service Status of Dual MN

You can run the zsha2 status command to check if the zsha2 service is running normally.

Export Log of Dual MN

You can run the following commands to collect logs related to zsha2 service:
[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

Archives

Download Document Archives

Download

Already filled the basic info?Click here.

Enter at least 2 characters.
Cannot be empty.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

An email with a verification code will be sent to you. Make sure the address you provided is valid and correct.

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.
同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
ZStack Training and Certification
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
Request Trial
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder.
Or click on the URL below. (For Internet Explorer, right-click the URL and save it.)

Thank you for using ZStack products and services.

Submit successfully.

We'll connect soon.

Thank you for using ZStack products and services.