Initialize ZStack Cube Virtualization Edition

The initialization wizard helps you quickly set up necessary resources for your environment.

You can initialize the environment through the following methods:
  • Initialize automatically
  • Initialize manually
  • Restore from backup data
Notes during the initialization:
  • If you exit the Wizard midway, you will not be able to enter the Wizard again.
  • If no resources are created during the initialization, you can initialize the environment again from the Dashboard page.
  • If you accidentally exit the Wizard, you can delete the data center and re-enter the initialization wizard from the Dashboard page.
    Note: Deleting a data center will delete clusters, hosts, networks, and data storage resources, along with all subordinate resources of each resource. Proceed with caution.

Initialize Automatically

With the automatic initialization wizard, you can scan hardware information with one click and automatically deploy necessary resources for initiating a new environment.

Procedure

  1. In the Welcome to Initialization Wizard dialog, select Initialize Automatically.
  2. Click Next.
  3. In the Auto Initialization dialog, review and confirm the configuration details for each resources, then click Initialize.
    The initialization wizard will begin configuring the platform according to the resource configurations.
  4. In the Auto Initialization dialog, check the initialization progress or task details.
  5. When initialization completes successfully, the Automatic Initialization Complete dialog appears.
    • If all resources initialized successfully, click New Virtual Machine to begin using the platform.
    • If no distributed switch or distributed port group is created during the automatic initialization, you need to manually configure these network resources before using the platform.

Initialize Manually

You can follow the wizard to initiate a new environment by creating necessary resources, including data center, cluster, host, data storage, image storage, image and distributed port group.

Procedure

  1. In the Welcome to Initialization Wizard dialog, choose Initialize Manually.
  2. Click Next.
  3. On the Initialize Manually page, create a data center.
    1. Enter a name and description for the data center.
    2. Click OK.
  4. Create a cluster.
    1. Enter a name for the cluster.
    2. Select a CPU architecture for the cluster. Options include x86_64 and aarch64.
    3. Click OK.
  5. Add a host.
    1. Select the addition method.
      • Add Automatically: Automatically retrieves host configurations from the hyper-converged bootstrap process.
      • Add Manually: Enter the host name, IP address, SSH port, SSH username, and SSH password.
    2. Click OK.
  6. Add a data storage.
    1. Select the addition method.
      • Add automatically: Automatically retrieves data storage configurations from the hyper-converged bootstrap process.
      • Add Manually: Enter the data storage name, select data storage type, and complete storage configurations.
        • Local storage: Set mount path and host disk configurations.
          Note:
          • Avoid system directories such as /, /dev/, /proc/, /sys/, /usr/bin, and /bin for mount path. Using system directories might cause the hosts unable to work properly.
          • Host disk configuration will format the selected disks and completely erase all partitions, file systems, and data on the disk.
        • ZCE distributed storage: Set whether to enable key authentication, add monitoring node, and specify image cache pool, storage pool, and storage network.
          Note: Make sure the key authentication configuration is consistent with the platform configuration. Otherwise, virtual machine creation may fail.
        • ZHPS distributed storage: Enter IP address, port, username, and password. Add a storage pool.
        • ZBS distributed storage: Add MDS nodes and Enter the pool name of the storage pool.
    2. Click OK.
  7. Add an image storage.
    1. Select the addition method.
      • Add Automatically: Automatically retrieves the image storage configurations from the hyper-converged bootstrap process.
      • Add Manually: Enter the image storage name, select image storage type, and complete disk configurations.
        • Standalone image storage: Enter the image storage IP address, SSH port, username, and password. Complete the disk configurations, including addition method, mount path, whether to retrieve existing image, image sync network, and data network.
          Note:
          • If you select free disk for addition method, this configuration will format the selected disks and completely erase all partitions, file systems, and data on the disk.
          • Avoid system directories such as /, /dev/, /proc/, /sys/, /usr/bin, and /bin for mount path. Using system directories might cause the image storage unable to work properly.
        • Distributed image storage: Configure the monitoring node, including monitoring node IP address, SSH port, username, and password. Specify an image storage pool UUID as needed. If not specified, the platform creates one automatically.
    2. Click OK.
  8. Add an image.
    1. Select the image path. Options include URL and local file.
    2. Enter a name for the image.
    3. Select the image type. Options include system image and disk image.
    4. Select the image format. Options include qcow2, iso, vmdk, and raw.
    5. Click OK.
  9. Create a distributed port group.
    1. Enter a name for the distributed port group.
    2. Select the distributed switch for the distributed port group. Options include default switch and new switch.
      • Default switch: Automatically created based on host configuration when adding the first host to a cluster. Primarily used for host management network. You can reuse this switch for both management network and business networks.
      • New switch: To realize network separation between management network and business network, you can create a distributed switch as needed. This option is recommended for production environment. If you select this option, you need to configure aggregated interface configuration, uplink name, bond mode, hash policy, and host NC.
    3. Select the VLAN type. Options include none and standard VLAN.
      You need to specify a VLAN ID when selecting standard VLAN.
    4. Choose whether to enable the DHCP service.
      When enabled, you need to configure the network range method (IP range or CIDR), gateway, IP allocation policy, and DHCP IP.
    5. Enter a DNS.
    6. Click OK.
  10. The Manual Initialization Complete dialog appears. Click New Virtual Machine.
    You have completed the necessary resource creations for environment initialization. You may now start using the platform.

Restore from Backup Data

In the event of a disaster in the local data center, you can rely on the platform's database backup data to rebuild the data center and restore business. You can quickly restore the whole environment from an existing platform database backup using the initialization wizard.

Before you begin

You have at least one valid platform backup.

Procedure

  1. In the Welcome to Initialization Wizard dialog, choose Restore from Backup Data.
  2. Click Next.
  3. In the Restore from Backup Data dialog, set the following parameters to complete server configurations:
    • Backup Storage IP: Enter the IP address of the backup storage that stores the platform backup data.
    • URL: URL of the backup storage.
    • SSH Port: SSH port of the backup storage. Default is 22.
    • Username: Username of the backup storage.
    • Password: Password of the backup storage.
  4. Click Test Connection to validate network connectivity to the backup storage.
  5. After successful connection, set the following parameters to complete backup data configurations:
    • Database Backup: Select a platform backup data.
      Note: To avoid management node start failure due to insufficient licensed quota, select the appropriate data to restore. You can click Update License to renew your licensed quota.
  6. Review the configuration and click OK.
  7. In the Restore Platform Database dialog, enter the database root password and click OK.
    Note: Restoring the platform database requires a management node restart, during which the management interface will be unavailable. This process takes a few minutes and does not affect your resources.
  8. After the platform database is successfully restored, click Log in Again.

What to do next

After platform database recovery, all resources on the platform will be recovered to the state at which the backup is created. Click Scan Backup Data in the local backup storage to obtain real-time backup data.