The dpmvc-entermaintenancemode command sets an ESX host to the maintenance mode
This command has the following format:
dpmvc-entermaintenancemode -esx_host_name esxhostname -vc_server vcservername -timeout timeout [-evacuate_powered_off_vm {no | yes}]
Specifies the VMware ESX server where the VM resides.
Specifies the vCenter Server to access when you have multiple vCenter Servers. Optional for single vCenter Server environments.
Specifies the timeout time to enter or exit the maintenance mode in seconds.
(Optional) Specifies whether to exit after the VM stops.
Example: Enter Maintenance Mode
This example sets an ESX host into maintenance mode.
dpmvc-entermaintenancemode -esx_host_name esx1 -vc_server myvcserver -timeout 60
Copyright © 2013 CA. All rights reserved. |
|