Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively.Register now to secure your spot!
Command file to put VMWare 6.5 host in/out maintenance mode
APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-0805:26 AM. Last Modified: 2024-02-1512:19 AM
Command file to put VMWare 6.5 host in/out maintenance mode
Hi,
I have a cluster of VMWare 6.5 hosts and have PCNS running as an appliance. Right now we have configured a shutdown event for the event On Battery. This works as expected, the only downside is that it will continue to shutdown the VMWare hosts even when power is restored.
So what i'm looking for is a way to use the command file option. The goal is to put the host in maintenance mode after running on battery, so all VM's are migrated of the affected hosts Then when power is restored it should exit maintenance mode on the hosts that where put in maintenance mode.
Sounds easy, but don't know where to put the command files and also don't know how to 'interact' with VMware.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-0805:26 AM. Last Modified: 2024-02-1512:19 AM
Hi,
Do you have PowerChute configured with vCenter Server and if so have you configured VM migration through PowerChute? Also, instead of starting the shutdown process after the UPS has been on battery for x amount of time have you tested starting the shutdown when the UPS has x available runtime? Using that method would allow PowerChute to perform the shutdown and yes it would still be possible for AC to be restored during the process but less likely.
On 7/4/2018 10:18 AM, Dennis said:
This works as expected, the only downside is that it will continue to shutdown the VMWare hosts even when power is restored.
The reason PowerChute continues the shutdown process is to allow the host to power back on automatically. The servers BIOS can be configured to start the system when AC is restored so to accomplish this task AC must be cut.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-0805:26 AM. Last Modified: 2024-02-1512:19 AM
Hi,
Do you have PowerChute configured with vCenter Server and if so have you configured VM migration through PowerChute? Also, instead of starting the shutdown process after the UPS has been on battery for x amount of time have you tested starting the shutdown when the UPS has x available runtime? Using that method would allow PowerChute to perform the shutdown and yes it would still be possible for AC to be restored during the process but less likely.
On 7/4/2018 10:18 AM, Dennis said:
This works as expected, the only downside is that it will continue to shutdown the VMWare hosts even when power is restored.
The reason PowerChute continues the shutdown process is to allow the host to power back on automatically. The servers BIOS can be configured to start the system when AC is restored so to accomplish this task AC must be cut.