install_management_node

Description

Installs the ZStack management node on the current node or a remote node according the configuration files. You need to install other nodes after the current node is configured.

Usage

Parameter Description Example
--host HOST Specifies the IP address to install the management node.
zstack-ctl install_management_node --host 172.20.12.111
--install-path INSTALL_PATH Specifies the path to install the management node. Default value: /usr/local/zstack.
zstack-ctl install_management_node --install-path /usr/local/zstack
--source-dir SOURCE_DIR Specifies the path for Apache Tomcat installation package. Default value: /usr/local/zstack/apache-tomcat/.
zstack-ctl install_management_node --source-dir /usr/local/zstack/apache-tomcat/
--debug Enables the display of 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 ZStack predefined YUM repos, including 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 target version.

Usage

Parameter Description Example
--host HOST Specifies the SSH URL to upgrade the management node.
zstack-ctl upgrade_management_node --host 172.20.31.34
--war-file WAR_FILE Sets the URL for zstack.war. The URL can be a complete local path or an HTTP URL.
zstack-ctl upgrade_management_node --war-file /usr/local/zstack/zstack.war
--debug Enables the display of 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 to roll back the management node.
zstack-ctl rollback_management_node --host 172.20.12.111
--war-file WAR_FILE Sets the URL for zstack.war. The URL can be a complete local path or an HTTP URL.
zstack-ctl rollback_management_node --war-file /usr/local/zstack/zstack.war
--debug Enables the display of 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 ZStack configuration file for rollback.
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