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.
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 |
Upgrades the management node to a specified version.
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 |
Rolls back to the management node status if the upgrade fails.
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 |
Email Us
contact@zstack.ioEmail Us
contact@zstack.ioThe 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.Thank you for using ZStack products and services.
Submit successfully.
We'll connect soon.Thank you for choosing ZStack products and services.