When the cluster virtualization platform is AVE, you can use this command to configure the /etc/hosts file on all nodes. During configuration, you must provide the current hostname of the node.
Procedure
Run the following command on a cluster node:
zbs-deploy-manage config_hosts <hostname>
hostname is the current hostname of the node.
Output example
2021-07-21 18:34:43,970 INFO update_hosts: Query and insert hostname entry to /etc/hosts
2021-07-21 18:34:43,970 INFO update_hosts: hostname entry is already in /etc/hostsWhen the cluster virtualization platform is VMware ESXi, you should update the SCVM automatic restart scripts after upgrading.
Procedure
Execute the following command in any SCVM of the cluster, and the system will automatically check and update the SCVM automatic restart script on each ESXi node in the cluster.
zbs-deploy-manage update-scvm-autostart
Output note
If the output shows Success update latest vmware scvm autostart script to all esxi done, this indicates that the SCVM automatic restart script on all ESXi nodes has been updated to the latest version.
If cluster deployment fails, you should clean the node deployment tags on all nodes in the failed cluster to restore them to an undeployed state for rescanning and redeployment.
Note that this command is only used when deployment fails. Do not use it in other circumstances.
Procedure
Run the following command on all nodes of the failed deployment cluster:
zbs-deploy-manage clear_deploy_tag
Output note
If the command succeeds, no output is displayed.