install_management_node

Description

Installs ZStack Cloud management node on the current node or a remote node according to the configuration file. Before you can install other nodes, configure the current node first.

Usage

Parameter Description Example
--host HOST Specifies the IP address of the management node to be installed. zstack-ctl install_management_node --host 172.20.12.111
--install-path INSTALL_PATH Specifies the path for installing the management node. Default: /usr/local/zstack. zstack-ctl install_management_node --install-path /usr/local/zstack
--source-dir SOURCE_DIR Specifies the path for installing Apache Tomcat. Default: /usr/local/zstack/apache-tomcat/. zstack-ctl install_management_node --source-dir /usr/local/zstack/apache-tomcat/
--debug Displays Ansible debugging details. zstack-ctl install_management_node --debug
--force-reinstall Deletes the existing Apache Tomcat and re-installs the management node. zstack-ctl install_management_node --force-reinstall
--yum YUM Uses the YUM repos predefined by ZStack Cloud. Available repos: alibase, aliepel, 163base, ustcepel, and zstack-local. zstack-ctl install_management_node --yum 163base
--ssh-key SSH_KEY Sets a private key path for SSH login. zstack-ctl install_management_node --ssh-key /root/.ssh/id_rsa

upgrade_management_node

Description

Upgrades the management node to a specified version.

Usage

Parameter Description Example
--host HOST Specifies the SSH URL of the node to be upgraded. zstack-ctl upgrade_management_node --host 172.20.31.34
--war-file WAR_FILE Sets the URL for the zstack.war package. The URL can be an HTTP URL or a complete path. zstack-ctl upgrade_management_node --war-file /usr/local/zstack/zstack.war
--debug Displays Ansible debugging details. zstack-ctl upgrade_management_node --debug
--ssh-key SSH_KEY Sets a private key path for SSH login. zstack-ctl upgrade_management_node --ssh-key /root/.ssh/id_rsa

rollback_management_node

Description

Rolls back to the management node status if the upgrade fails.

Usage

Parameter Description Example
--host HOST Specifies the IP address of the management node to be rolled back. zstack-ctl rollback_management_node --host 172.20.12.111
--war-file WAR_FILE Sets the URL for the zstack.war package. The URL can be an HTTP URL or a complete path. zstack-ctl rollback_management_node --war-file /usr/local/zstack/zstack.war
--debug Displays Ansible debugging details. zstack-ctl rollback_management_node --debug
--ssh-key SSH_KEY Sets a private key path for SSH login. zstack-ctl rollback_management_node --ssh-key /root/.ssh/id_rsa
--property-file PROPERTY_FILE Specifies the configuration file to be rolled back. zstack-ctl rollback_management_node --property-file /usr/local/zstack/apache-tomcat/webapps/zstack/WEB-INF/classes/zstack.properties



















Download

Already filled the basic info? Click here.

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)

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

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.

Email Us

contact@zstack.io
ZStack certification training consulting
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)

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 choosing ZStack products and services.

Back to Top