This chapter mainly describes how to troubleshoot ZStack abnormal basic operations.
bash /opt/zstack*installer.bin -E to install ZStack Enterprise.bash /opt/zstack*installer.bin to install ZStack Community.Fail Reason: /usr/local/zstack is existing. Please delete it manually before installing a new ZStackCause
At this time, the system has ZStack installed without allowing you to reinstall the Cloud.
rm -rf /usr/local/zstack; bash zstack-installer.bin -D.Solution
Check /tmp/zstack_installation.log. Based on the error tips, try to address this problem by yourself.
mount: /dev/loop0 is write-protected, mounting read-only /root Current release c76 not matched the new ISO c74, Use zstack-upgrade -r xxx.iso to update current repo, Use zstack-upgrade -a/--add_repo xxx.iso to add a new repoSolution
wget http://cdn.zstack.io/product_downloads/iso/ZStack-x86_64-DVD-3.10.0-c76.isozstack-upgrade ZStack-x86_64-DVD-3.10.0-c76.isoPrerequisites
cp /usr/local/zstack/upgrade/2017-11-09-15-41-52 /root -rcp /usr/local/zstack/db_backup/2017-11-09-15-42-43/backup.sql /rootzstack-ctl dump_mysqlzstack-ctl stop rm -rf /usr/local/zstackbash ZStack-enterprise-installer.bin -Dzstack-ctl stop mv /usr/local/zstack/apache-tomcat/webapps/zstack /usr/local/zstack/apache-tomcat/webapps/zstack-bk cp /root/2017-11-09-15-41-52/zstack /usr/local/zstack/apache-tomcat/webapps -r chown zstack:zstack /usr/local/zstack/apache-tomcat/webapps/zstack -Rcat /root/backup.sql |mysql -u root -pzstack.mysql.password zstackzstack-ctl start
Note: If your cluster or host has been configured with this option, this global setting will not take effect for this cluster or host.Navigate to , and select a cluster to go to the cluster details page. On the Global Settings tab page, set ReservedMemory. Default value: 1G.
Note: If your host has been configured with this option independently, the global setting for this cluster will not take effect for this host.UpdateResourceConfig category=kvm name=reservedMemory resourceUuid=e2f4836723a2490095768fe611c540b1 value=10G # resourceUuid is the UUID of the host, while the value is the reserved memory of the host.After the related ZStack services are rebooted on your management node, these services will be started automatically.
Run systemctl status/start/stop/restart mariadb to check the status of, or start, stop, and reboot the database.
ERROR: failed to connect to the mysql server[hostname:10.0.0.18, port:3306, user:zstack, password:zstack.password]mysql -u zstack -pzstack.password -h 10.0.0.18 to access the database directly.8080 is occupied by some process. Please use netstat to find out and stop itSolution
Run netstat -anp|grep 8080 to find the program that is occupied by port 8080 and then to stop port 8080 before starting ZStack.
MN status: Unknown, the management node seems to become zombie as it stops responding APIsCause and Solution
Generally, memories are out of capacity, so the message bus is not correctly handled. Expand the memories. At this time, we recommend that you not use the management node to act as a compute node and add this compute node to ZStack.
ZStack lets you manipulate services or resources via zstack-ctl.
zstack-ctl statuszstack-ctl stop/start/stop_ui/start_ui/start_node/stop_node/restart_node/zstack-ctl configured_collect_logzstack-ctl dump_mysqlzstack-ctl restore_mysql -f back.gz --mysql-root-password passwordzstack-ctl change_ipzstack-ctl show_configurationzstack-ctl show_ui_configurationzstack-ctl install_license -f license_key.txtzstack-ctl reset_passwordzstack-ctl change_mysql_password --root-password zstack.mysql.password --user-name zstack --new-password password
Note: For more information about zstack-ctl commands, see zstack-ctl Command Manual in ZStack Documentation.
Back to Top
Email Us
contact@zstack.ioEmail 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 using ZStack products and services.