When the cluster virtualization platform is VMware ESXi, deploy I/O rerouting scripts using commands.
Procedure
Run the following command in each SCVM of the cluster:
zbs-deploy-manage deploy-hypervisor [--gen_ssh_key|--no_gen_ssh_key]
Parameter description
[--gen_ssh_key|--no_gen_ssh_key] is an optional parameter for selecting whether to generate an SSH key during deployment. If left blank, no SSH key is generated by default.
--gen_ssh_key: Generate SSH key.--no_gen_ssh_key: Do not generate SSH key.Usage example
zbs-deploy-manage deploy-hypervisor --gen_ssh_key
Output note
If Finish deploy hypervisor is displayed, the deployment is successful.
When the cluster virtualization platform is VMware ESXi, if the I/O rerouting scripts deployment fails, you should first clean the scripts deployed on each ESXi node and SCVM.
Procedure
Run the following command on each SCVM where deployment of the I/O rerouting script failed:
zbs-deploy-manage clear-hypervisor
Output note
If Finish clear hypervisor is displayed, the clear operation is successful.
When the cluster virtualization platform is VMware ESXi, you should update the I/O rerouting scripts after upgrading.
Procedure
Run the following command on any SCVM of the cluster, and the system will automatically check and update I/O rerouting scripts on each ESXi node in the cluster.
zbs-deploy-manage update_reroute_version
Output note
If Success update latest vmware reroute script to all esxi done is displayed, it means the I/O rerouting scripts on all ESXi nodes have been updated to the latest version.