Installation and Deployment
Environment Preparations
Before you install ZStack ZStone, prepare the following software
packages:
- ISO of the latest version (H76C, at least in
expert mode).
Note: You can use Rufus (recommended) or UltraISO to burn the
prepared ISO file to a U disk. For instructions on how to use Rufus, refer
to the first chapter in Quick Installation and Usage
Tutorial. - Enterprise toolkit: Contact official technical support to obtain it.
- Management Node HA Suite: Contact official technical support to obtain it.
- ZStack ZStone software package: Contact official technical support to obtain it.
Install ZStack ZStone
This topic describes the deployment mode of ZStack ZStone
5.5.0. ZStack ZStone provides the
following deployment modes:
- Default Deployment
- Hyper-Converged Infrastructure Deployment
Different deployment modes apply to different installation scenarios.
| Mode | Scenario |
|---|---|
| Default Deployment | We recommend using this mode in environments where is already deployed. |
| Hyper-Converged Infrastructure Deployment | When deploying a hyper-converged infrastructure (HCI) on , skip deploying storage resources because they are provided by default. |
Default Deployment
As mentioned above, we recommend using this mode in environments where is already deployed.
ZStack ZStone management services depend on management node services. Therefore, you must first deploy
management nodes on before configuring management node
services on ZStack ZStone. Follow these steps:
- Deploy two management nodes in and configure
the HA policy.
Note: These two management nodes can serve as ZStack ZStone management nodes, providing you with
management services. - Deploy a compute node or a node in expert node on .
Note: This node, together with the two management
nodes mentioned above, can serve as a storage server node on ZStack ZStone, providing you with storage
services. - On any management node, download ZStack ZStone installation package.
- Decompress the installation
package.
# Check the obtained installation package [root@localhost ~]# ls ZStone-x86_64-installer-5.5.0.tar.gz # Decompress the installation package [root@localhost ~]# tar xf ZStone-x86_64-installer-5.5.0.tar.gz - After decompression, navigate to the zstone-installer
directory.
[root@localhost ~]# cd zstone-installer - Modify and edit the install.conf
file.
[root@localhost zstone-installer]# vim install.conf # Leave first manager IP if only one manager zstone_vip= //Enter the management VIP for the storage cluster. For a single management node, enter its IP address. For dual management nodes, enter the VIP address. # ZStone Manager hosts list zstone_management_host_ip= //Enter the IP addresses of the management nodes. If you have dual management nodes, separate the IP addresses with English commas. zstone_managerment_host_port= //Enter the SSH port of the management node. #password: ["password1","password2"] zstone_management_host_rootpw=["password"] //Enter the root password for the management node. # MySQL info zstone_db=zstone zstone_db_user=root zstone_db_port=3306 zstone_db_password=zstack.mysql.password # Log level: trace, debug, info, warning, error, fatal, panic log_level=debug # PostgreSQL info zstone_temporal_db_port=5432 #zstone account zstone_account_name=admin zstone_account_password=password #zbs zbs_install=false //Set this to true if you need to install high-performance block storage. - After saving the configuration information, return to the current directory and
run the following command to install the software
package.
[root@localhost zstone-installer]# ./install.sh - Upon successful installation, you will receive the ZStack ZStone UI URL.
Hyper-Converged Infrastructure Deployment
When deploying a hyper-converged infrastructure (HCI) on , skip deploying storage resources on ZStack ZStone because the distributed storage service is provided by default.
