Q: What can I do with ZStack Cloud?
A:
Q: What documents does ZStack provide? Which documents should I read?
The release notes briefly describe the new features provided by ZStack during each release and detail the changes or enhancements made to the Cloud.
The product manuals include the User Guide, Maintenance Manual, Technical Whitepaper, CLI Command Manual, and CTL Command Manual. These manuals describe the functional architecture, functional advantages, installation and deployment, how to use the Cloud, and solutions to common problems during the O&M of ZStack. You will find a new world if you explore ZStack by using CLI.
We provide you with many tutorials that cover various application scenarios, for example, Quick Start Installation Tutorial, Upgrade Tutorial, Multi-MN HA Tutorial, and V2V Migration Tutorial. With these tutorials, you can get started quickly and easily.
The API Reference, as the core of ZStack, helps you gain in-depth insight of ZStack from the API level.
The FAQ provides answers to a list of frequently asked questions during the use of the Cloud.
The blogs provide a place where you can voice your ideas and share your thoughts on ZStack as well as the cloud computing industry. Here, you can expand your horizon and have a more thorough understanding of IaaS.
Q: What hardware environments does ZStack support?
A: ZStack supports x86 and ARM servers with hardware virtualization features, workstations or desktops, and mainstream Intel or AMD processors.
Q: What operating systems does ZStack support?
A: ZStack supports ZStack Custom ISO that is deeply customized based on CentOS 7.4 or CentOS 7.6.
Q: Can I install ZStack by using the standard CentOS 7.4 or CentOS 7.6 operating system?
A: Currently this is not supported. However, ZStack supports ZStack Custom ISO that is deeply customized based on CentOS 7.4 or CentOS 7.6.
Q: How many servers are needed to install and deploy ZStack?
A: A minimum of one server is required. This server can act as the management node and compute node at the same time. In a production environment, we recommend that you install the management node and compute node separately. ZStack can manage all hardware resources by using only one management node.
Q: What is the minimum server configuration requirement for installing and deploying ZStack?
A: 4 CPUs, 8 GB memory, 200 GB primary storage, and 200 GB backup storage. Note that the minimum configuration is only applicable to test environments.
Q: What installation modes does ZStack Custom ISO support? What are the differences?
Install the ZStack Custom ISO that is deeply customized based on CentOS 7.4 or CentOS 7.6 as well as the ZStack Enterprise management node.
Install the ZStack Custom ISO that is deeply customized based on CentOS 7.4 or CentOS 7.6 as well as the ZStack Community management node.
Install the ZStack Custom ISO that is deeply customized based on CentOS 7.4 or CentOS 7.6 as well as the essential software package of ZStack compute node.
Install the ZStack Custom ISO that is deeply customized based on CentOS 7.4 or CentOS 7.6 and configure the local repo. You can customize the system usage as needed.
Q: How do I install ZStack Enterprise?
A: Download the latest ZStack Custom ISO. If you are installing the system for the first time, we recommend that you select the Enterprise management node. After the operating system is installed, you can restart the operating system to automatically install the Enterprise management node.
Q: How do I upgrade ZStack Enterprise?
[root@localhost ~]# bash ZStack-installer-3.10.0.bin -u
If the root password of the database is a custom non-blank password, run the following command to upgrade the Cloud:[root@localhost ~]# bash ZStack-installer-3.10.0.bin -u -P MYSQL_ROOT_PASSWORD
[root@localhost ~]# bash zstack-upgrade ZStack-x86_64-DVD-3.10.0-c76.iso
Q: How do I upgrade from an expert node to a management node?
[root@localhost ~]# yum --disablerepo=* --enablerepo=zstack-local install zstack-manager [root@localhost ~]# bash ZStack-installer-3.10.0.bin -E
Q: How do I upgrade from an expert node to a compute node?
[root@localhost ~]# yum --disablerepo=* --enablerepo=zstack-local,qemu-kvm-ev groupinstall zstack-host
Q: How do I upgrade from a compute node to a management node?
[root@localhost ~]# rpm -e zstack-host [root@localhost ~]# yum --disablerepo=* --enablerepo=zstack-local install zstack-manager [root@localhost ~]# bash ZStack-installer-3.10.0.bin -E
Q: How do I upgrade a management node from ZStack Community to ZStack Enterprise?
A: Obtain and use the latest Enterprise license.
Q: How do I reinstall ZStack?
[root@localhost ~]# rm -rf /usr/local/zstack
[root@localhost ~]# bash ZStack-installer-3.10.0.bin -D #Install ZStack Enterprise.
Q: I installed ZStack as a root user. However, when I start the service, the system reports that I am not a root user. Why?
sudo
is required.ERROR: please use sudo or root user FAIL Reason: failed to start zstack
import getpass user = getpass.getuser() print user
When you switch from a regular user to a root user, you used su
instead of sudo su
. In this case, only the root user is switched but relevant environment variables are not switched.
sudo
command can be used by the current user with the root super permission.su
command can be used to switch to a root user. However, the relevant environment variables are not switched to the root directory.sudo su
command is used to switch to a root user with the root permission.Q: In a multi-node deployment environment, can I use a VM instance as a node?
A: Yes, you can. Make sure that the network is connected. We recommend that you bridge the VM node with other nodes. In addition, the VM node is more suitable to act as a management node with a minimum of 4 CPUs and 8 GB memory.
Q: Can I install ZStack on a ZStack VM instance?
A: Yes, you can. Method: Go to Vm.cpuMode, and set the value to host-passthrough. Then, the virtualization feature of a host can be passed through.
, locateQ: After I perform one-click installation of ZStack, what should I do if the Cloud takes a long time to start up?
The startup time of the management node is related to the configuration resources of the node. The startup takes a long time only when you install ZStack on a VM instance.
The startup takes a long time does not indicate that the installation or startup fails. If a time out error is reported, use zstack-ctl status
to check the status. If the status is stopped, use zstack-ctl start
to start the service. If the status is unknown, use zstack-ctl stop
to stop the service, and then use zstack-ctl start
to start the service.
Q: How do I change the installation directory of ZStack?
[root@localhost ~]# bash zstack-installer.bin -r /home/zstack
Q: When I upgrade the Cloud, what should I do if the new version of ZStack Custom ISO does not match the old one?
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 repo
The current ISO version used by the system is not suitable for upgrading the installation package. You need to upgrade the corresponding ISO and then upgrade ZStack.
wget http://cdn.zstack.io/product_downloads/scripts/zstack-upgrade
wget http://cdn.zstack.io/product_downloads/iso/ZStack-x86_64-DVD-3.10.0-c76.iso
bash zstack-upgrade ZStack-x86_64-DVD-3.10.0-c76.iso
Q: When I upgrade ZStack, the following error is reported: The Operating System version is not suitable for zstack-enterprise installation.
. What should I do?
A: Use the latest ZStack Custom ISO for installation and upgrade.
Q: During the upgrade of ZStack, if the upgrade fails due to secondary development or database adjustment, how can I restore the original ZStack?
During the upgrade of ZStack, the core files and database of the current ZStack are backed up to the corresponding directory by default.
cp /usr/local/zstack/upgrade/2017-11-09-15-41-52 /root -r
cp /usr/local/zstack/db_backup/2017-11-09-15-42-43/backup.sql /root
zstack-ctl dump_mysql
zstack-ctl stop rm -rf /usr/local/zstack
bash ZStack-installer-3.10.0.bin -D
zstack-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 -R
cat /root/backup.sql |mysql -u root -p zstack.mysql.password zstack
zstack-ctl start
Q: When I restart a management node, the management node fails to be started, and the system reports that no space is available. What should I do?
[root@hostname ~]# du -sh /var/lib/zstack/prometheus/data/ //View the monitoring data size. [root@hostname ~]# zstack-ctl stop [root@hostname ~]# kill -9 `ps -ef |grep prometheus|awk '{print $2}'` [root@hostname ~]# rm -rf /var/lib/zstack/prometheus/data [root@hostname ~]# zstack-ctl start
[root@mn-1 ~]# du -sh /var/lib/zstack/prometheus/data/ //View the monitoring data size. [root@mn-1 ~]# zsha2 stop-node [root@mn-1 ~]# kill -9 `ps -ef |grep prometheus|awk '{print $2}' [root@mn-1 ~]# rm -rf /var/lib/zstack/prometheus/data [root@mn-1 ~]# zsha2 start-node
Q: I tried to install a compute node by using an unofficial ZStack but failed. Why?
A: Unofficial ISO cannot be used to install a compute node. Please use the official ZStack custom ISO.
Q: I successfully installed a ZStack Cloud in a nested virtualization environment. However, when I add a host in the Cloud, the following error is reported: ERROR:could not insert 'kvm_intel':Operation not supported stdout
. What should I do?
A: When you set up ZStack in nested virtualization environments such as KVM, VMware, VirtualBox, Hyper-V, and Xen, enable Intel VT-x/EPT or AMD-V/RVI(V) in the virtualization engine settings of the corresponding virtualization platform.
Q: Which browsers are recommended to log in to ZStack?
A: Chrome 49, Firefox 52, or their later versions are recommended for a better experience.
Q: What should I do if I could not log in to the UI?
zstack-ctl status
command to check whether the management node service is running properly.[root@localhost ~]# zstack-cli #Go to the CLI mode. admin>>> LogInByAccount accountName=admin password=password #Log in to the CLI. Default user name/password: admin/password.
Q: How do I change the admin password of the UI?
On the Homepage of ZStack, click the admin icon, and then click Change Password.
[root@localhost ~]# zstack-ctl reset_password --password NEW_PASSWORD #Change the password. (NEW_PASSWORD is the new password.)
[root@localhost ~]# zstack-cli #Go to the CLI mode. admin>>> LogInByAccount accountName=admin password=password #Log in to the CLI. Default user name/password: admin/password. admin>>> UpdateAccount uuid=36c27e8ff05c4780bf6d2fa65700f22e password=NEW_PASSWORD #Change the password. (NEW_PASSWORD is the new password.)
Q: How do I change the default port (5000) of the UI?
[root@localhost ~]# zstack-ctl config_ui --server-port 8888 #Change the UI port to 8888. [root@localhost ~]# zstack-ctl config_ui --webhook-port 8888 #Change the webhook host port to 8888. [root@localhost ~]# zstack-ctl stop_ui #Stop the UI service. [root@localhost ~]# zstack-ctl start_ui #Start the UI service.
Q: How do I extend the session timeout?
Go to Session.timeout, and set a value as needed.
, locate[root@localhost ~]# zstack-cli #Go to the CLI mode. admin>>> LogInByAccount accountName=admin password=password #Log in to the CLI. Default user name/password: admin/password. admin>>> UpdateGlobalConfig name=session.timeout category=identity value=720000 #Change the session timeout to 200 hours.
Q: How do I change the number of concurrent logins in ZStack?
Go to Session.maxConcurrent, and set a value as needed.
, locateQueryGlobalConfig name~=session
command. Then, you will find that the maximum number of allowed concurrent sessions is 500.{ "category": "identity", "defaultValue": "500", "description": "Max number of sessions management server accepts. \ When this limit met, new session will be rejected", "name": "session.maxConcurrent", "value": "500" }
UpdateGlobalConfig category=identity name="session.maxConcurrent" value=1000
Q: How do I switch the language of the backend environment?
[root@localhost ~]# zstack-ctl configure locale=en_US #Switch the language. Note that en_US indicates English, and zh_CN indicates Chinese. [root@localhost ~]# zstack-ctl restart_node #Restart the management node for the configuration to take effect.
Q: Can I log in to the UI via HTTPS?
A: ZStack allows you to log in to the UI via HTTPS or HTTP.
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.