User Guide: Powerchute™ Network Shutdown V4.4 Vmware (Vsan, Nutanix™, Hpe Simplivity, Hyperflex)
User Guide: Powerchute™ Network Shutdown V4.4 Vmware (Vsan, Nutanix™, Hpe Simplivity, Hyperflex)
The information contained in this Publication is provided as is and has been prepared solely for the purpose of
evaluating data center design and construction. This Publication has been compiled in good faith by Schneider
Electric. However, no representation is made or warranty given, either express or implied, as to the
completeness or accuracy of the information this Publication contains.
Copyright, intellectual, and all other proprietary rights in the content (including but not limited to software, audio,
video, text, and photographs) rests with Schneider Electric or its licensors. All rights in the content not expressly
granted herein are reserved. No rights of any kind are licensed or assigned or shall otherwise pass to persons
accessing this information.
i
Table of Contents
ii
PowerChute Network Shutdown: VMware User Guide
iii
Introduction
PowerChuteTM Network Shutdown (PowerChute) works in conjunction with the UPS Network Management Card
(NMC) to provide network-based shutdown of multiple computer systems.
In the case of a UPS critical event, the software performs a graceful, unattended system shutdown before the UPS
battery is exhausted. The number of protected systems is limited only by the capacity of the UPS.
View these Application Notes for detailed information on using PowerChute in specific environments.
After installation, it is essential to configure the software using the PowerChute Setup wizard. This
ensures that PowerChute is aware of UPS critical events in order to protect your system.
1
UPS Configuration
UPS Configuration
• Network Configuration
• UPS Configuration Options
• Network Management Card Connection
• Advanced UPS Setups
• Outlet Group Registration
• Network Management Card Settings
2
PowerChute Network Shutdown: VMware User Guide
Network Configuration
PowerChute can use IPv4 or IPv6 to communicate with the Network Management Card(s).
IPv6 support is available only for Network Management Card firmware 2 6.0.X or higher, and
Network Management Card 3.
Select IP
If your computer has more than one IPv4 address you will need to select one of the available addresses. The IP
address you select will be registered with the NMC and displayed in the NMC user interface under Configuration -
PowerChute Clients.
IPv6 Configuration
If you are using IPv6 to communicate with the NMC(s), each network adapter on your machine will typically have
several IP addresses assigned to it. Each adapter will have at least one link-local address and one global unicast
address assigned to it.
Use the Unicast IP Address drop-down box to specify which address to use. The address type selected in this
drop-down box must match the address type that you enter for the NMC(s) on the Network Management Card
Connection page. This unicast address will be registered on the NMC(s) and displayed on the PowerChute
Network Shutdown Clients page of the NMC.
Multicast Option
The NMC supports sending communication packets to an IPv6 Multicast address instead of sending unicast
packets to each PowerChute agent. To use this, enable the Multicast check box and enter an IPv6 Multicast
address.
The multicast address that is entered here will be registered on the NMC(s) instead of the unicast address and
displayed on the PowerChute Network Shutdown Clients page of the NMC. The NMC(s) will send communication
packets to that multicast address.
FF02::1 is an example of a multicast address with link-local scope so that only nodes on the same
physical network segment will receive it. If using a link-local unicast address, you must use a multicast
address with link-local scope.
FF0E::1 is an example of a multicast address with global scope and the NMC will use its global unicast
address to send the packet. If using a global unicast address you must use a multicast address with global
scope.
3
UPS Configuration
For detailed information, please view "The Communications Process of PowerChute Network Shutdown" here.
4
PowerChute Network Shutdown: VMware User Guide
Single-UPS Configuration
Redundant-UPS Configuration
Redundant-UPS Configuration: Two or more UPS's of the same model protect each server. Each UPS
can support the server load on its own. All UPS Network Management Cards communicate with each
server that has PowerChute installed.
For detailed information, please view “Using PowerChute Network Shutdown in a Redundant-UPS Configuration”
Application Note here.
5
UPS Configuration
Parallel-UPS Configuration
Parallel-UPS Configuration: Two or more UPS's of the same model protect the load and provide redundancy or
increased capacity depending on the load. The UPS outputs are tied together so a single output goes to the load. All
UPS Network Management Cards communicate with each server that has PowerChute installed.
Note: To use the Parallel-UPS configuration, your UPS devices must already be configured to operate in parallel
mode.
For detailed information, please view “Using PowerChute Network Shutdown in a Parallel-UPS Configuration”
Application Note here.
Standalone VMware hosts and hosts managed by vCenter Server are supported for Advanced UPS Configuration.
A single PowerChute Agent can manage all the UPS’s in the cluster. Each UPS protects one or more VMware
Hosts.
For detailed information, please view the “Using PowerChute Network Shutdown in an Advanced Redundant
Setup” Application Note here.
6
PowerChute Network Shutdown: VMware User Guide
In an advanced UPS configuration, all hosts in the Nutanix Cluster must be protected by the same
UPS or UPS group.
7
UPS Configuration
In an advanced UPS configuration, there must be one UPS setup protecting the HPE SimpliVity
Cluster, and one UPS setup protecting the external physical Windows machine with HPE
SimpliVity Arbiter and PowerChute. vCenter Server may be deployed as a VM on the HPE
SimpliVity Cluster or on the same physical machine as the Arbiter service and PowerChute.
Hosts in the HPE SimpliVity Cluster must be mapped to the same UPS group.
If you have multiple HPE SimpliVity Clusters, it is recommended to have one instance of
PowerChute per cluster.
8
PowerChute Network Shutdown: VMware User Guide
In an advanced UPS configuration, all hosts in the HyperFlex Cluster must be protected by the
same UPS or UPS group.
If there are multiple HyperFlex Edge Clusters in a Remote Office / Branch Office (ROBO)
configuration, it is recommended to have one instance of PowerChute per cluster.
9
UPS Configuration
The default port is 80 for HTTP, and 443 for HTTPS. Do not change this number unless you changed the port being
used by your NMC.
The NMC uses a self-signed SSL certificate by default when HTTPS is enabled. You need to
enable "Accept Untrusted SSL Certificates" to allow PowerChute to establish communication with
the NMC if a self-signed certificate is being used by the NMC.
For Redundant and Parallel configurations, you need to enter more than one IP address to enable
communications with all the relevant NMCs.
For more information on UPS configurations and supported UPS models, view the Application Note "PowerChute
Network Shutdown Operating Modes and supported UPS Configurations" here.
Add each IP address using the + Add IP Address button. Enter the IP address of the NMC in the UPS. Click OK.
To edit an IP address, click the icon. To delete an IP address, click the icon.
When using the HTTPS protocol to communicate with the NMC, you must select the Accept Untrusted SSL
Certificates check box. However, it is possible to create a Trusted Certificate file and add it to the PowerChute
truststore.
Your NMC Security Handbook has details on the Security Wizard used to create the Trusted Certificate file with an
extension .CRT. This file is then used to create components that can be uploaded to the NMC to replace the default
self-signed certificate.
In order to facilitate the trusted SSL communication of PowerChute with the NMC, this Trusted Certificate file must
then be added to the system Java cacerts keystore or to the PowerChutekeystore file. (You can do this using the
Java keytool.exe; for details see the Java help documentation). Adding it to the cacerts keystore means it is
available to all your applications as distinct from just PowerChute.
By default the PowerChute-keystore file is located in APC\PowerChute\group1. If you add the Trusted Certificate
and you subsequently get a connection error with the NMC, then it could be because a) the certificate has expired,
10
PowerChute Network Shutdown: VMware User Guide
b) it is not yet valid, or c) it has been revoked. In any of these cases, you need to add a new Trusted Certificate to
the PowerChute server or to upload a new valid SSL certificate to the NMC.
The PowerChute-keystore file only exists after the first attempt is made to communicate with the
NMC using HTTPS (by using the configuration wizard for example). For this reason, for a silent
installation you must add the Trusted Certificate to the Java cacerts keystore.
PowerChute only checks the keystore when its service starts. After you add the Trusted
Certificate, you will need to re-start the PowerChute service if it’s already running.
In NMC 2 firmware v6.8.0 and higher and NMC 3 firmware v1.1.0.16 and higher, PowerChute support is disabled
by default. This may result in an error while PowerChute registers with the NMC(s). If an error is displayed, log in to
the NMC UI and ensure PowerChute support is enabled.
In the NMC Web UI, you must specify a user name and authentication phrase before PowerChute can be enabled.
You must also choose the protocol used to communicate with PowerChute (HTTP/HTTPS). NOTE: The chosen
protocol must be enabled on the NMC before PowerChute communications can be established. For more
information, refer to the NMC User Guide available on the APC website.
11
UPS Configuration
In an Advanced UPS configuration, a single instance of PowerChute Network Shutdown can monitor multiple UPS
setups and initiate graceful shutdown of equipment based on different redundancy levels. Each setup can be a
single UPS or a UPS group. A single UPS setup is represented by the icon. A UPS group is represented by the
icon.
For example, one setup may be a group of UPS's that are configured with N+2 redundancy. Another setup may be
a single UPS.
On the UPS Details page of the Setup Wizard, click the + Add UPS(s) button to create a new setup.
To create a setup with a single UPS, on the Configure UPS Setup dialog choose Single UPS:
2. Click the + Add IP Address button and enter the IP address of the Network Management card in the UPS.
Click OK.
12
PowerChute Network Shutdown: VMware User Guide
2. Click the + Add IP Address button and enter the IP address of the Network Management card in the UPS.
Click OK.
3. Repeat for each of the UPS devices to be added to the UPS group. A minimum of 2 IP addresses is
required to set up a UPS Group.
To edit a UPS Setup, click the icon. To delete a UPS setup, click the icon.
Click the Next button to go to the next step of the Setup Wizard.
PowerChute has been tested with a total of 16 NMCs in an advanced configuration. However it is
possible to configure for more than 16 NMCs in this configuration.
For detailed information, please view the “Using PowerChute Network Shutdown in an Advanced Redundant
Setup” Application Note here.
13
UPS Configuration
It is not supported to map UPS outlet groups when PowerChute is configured with
Nutanix, HyperFlex, SimpliVity, or vSAN.
If your VMware hosts are being powered by a mix of outlet-aware UPS’s (e.g. SMX/ SMT) and non-outlet-aware
UPS’s (e.g. SU/ SUA) in a Redundant UPS Configuration, PowerChute only provides the option to turn off the UPS
and not the outlet group.
Your VMware hosts and their virtual machines are still protected if there is a UPS critical event or if the outlet group
is commanded to shut down e.g. via the NMC User Interface.
This also applies for the Advanced UPS configuration if there are hosts associated with more than one outlet
group on the same NMC.
PowerChute Setup - VMware hosts associated with more than one outlet group on the same NMC
14
PowerChute Network Shutdown: VMware User Guide
Host Protection - VMware hosts associated with more than one outlet group on the same NMC
15
UPS Configuration
For Advanced UPS configuration, each UPS Setup is displayed as a menu item and the IP address of the NMC(s)
with which PowerChute is communicating is displayed under each UPS setup.
Click on the IP address to view the UPS information specific to that NMC. If the NMC has VMware Hosts
associated with it, you can edit these settings for a specific NMC on this page. This overrides the global NMC
settings configured via the initial PowerChute Setup or via the Shutdown Settings screen.
• NMC IP Address
• UPS model name
• UPS configuration
The NMC Host Name from the NMC's DNS settings page under Network - DNS - Configuration is also displayed.
This is not the same as the UPS name that can be set under Configuration - UPS General on the NMC.
16
PowerChute Network Shutdown: VMware User Guide
VMware Configuration
When VMware® Support has been enabled the options below are displayed:
• Choose Standalone VMware Host to protect a single host that is not managed by vCenter Server.
• Choose Host managed by vCenter Server for HA cluster support and to manage multiple VMware hosts.
17
VMware Configuration
PowerChute must be configured to connect to the VMware host using an account with the
Administrator role. This can be a local user account or an Active Directory User Account that is a
member of the "ESX Admins" Domain Security Group. The "ESX Admins" group needs to be
created via "Active Directory Users and Groups". When an ESXi host is joined to an Active
Directory domain, VMware automatically assigns the Administrator role to the "ESX Admins"
group.
18
PowerChute Network Shutdown: VMware User Guide
PowerChute does not directly shut down virtual machines with this configuration. In order to gracefully shut down
VMs, you must use the Virtual Machine Startup/Shutdown settings for the VMware host in the vSphere Client.
This is accessible by clicking Manage > System > Autostart under the Host in the vSphere Client.
The shutdown action must be changed to "Guest Shutdown" and VMware Tools must be installed
on each VM to carry out Guest OS shutdown. If VMware Tools are not installed, the VMs will be
powered off.
19
VMware Configuration
It is recommended that you configure an Active Directory user account with the Administrator role
for vCenter Server and the VMware hosts being managed by PowerChute.
If Active Directory is not available, it is recommended that you configure a local user account with
the Administrator role that exists on vCenter Server and on each of the VMware hosts being
managed by PowerChute.
If vCenter Server is running on a VM you must configure an Active Directory account or shared
Local User account for host shutdown commands to work correctly. For more information see
Active Directory VMware Configuration.
If the vCenter Server is unavailable when a critical UPS event occurs, PowerChute will still be able to connect
directly to the VMware hosts using this Active Directory or shared local user account to shut down VMs and the
hosts themselves.
VM migration and vApp shutdown and startup are not supported if the vCenter Server is unavailable.
If vCenter Server is running on a VM managed by vCenter Server, the option vCenter Server Running on a VM
should be selected so that PowerChute can perform additional validation when trying to locate the vCenter Server
VM and its parent host.
20
PowerChute Network Shutdown: VMware User Guide
• DNS/Hostname resolution issues can lead to a problem where PowerChute cannot correctly identify the
vCenter Server VM or its parent Host.
• This can also occur if VMware Tools are not installed and running on the vCenter Server VM.
• This results in vCenter Server VM being shut down too early in the sequence along with the other VMs.
By enabling the checkbox PowerChute will check for these kinds of problems and display a warning message on
the Host Protection page or log an event in the Event Log. If vCenter Server is installed on a Physical machine, or
on a VM that is not managed by the vCenter Server, this option should not be selected.
The checkbox is only used to aid troubleshooting – it does not control whether PowerChute will
perform vCenter Server VM shutdown. If unchecked and PowerChute locates vCenter Server
running on a VM on an affected Host it will still shut down the vCenter Server VM.
For more information on vCenter Server VM shutdown events see Virtualization Events.
The Accept Untrusted SSL Certificates checkbox is unselected by default. If left unselected, only SSL
certificates signed by a trusted CA will be accepted when connecting to vCenter Server and ESXi hosts. By
default, these certificates are self-signed and this will cause a cause connection error. This is for increased security
and to prevent man-in-the-middle (MITM) type attacks. Select this checkbox if you want to use untrusted/self-
signed SSL certificates to connect to vCenter Server and ESXi hosts.
Alternatively, you can add the vCenter Server root CA certificate to the PowerChute-keystore by following the
steps below. NOTE: If SSL certificates are updated on vCenter Server/hosts, they will also need to be updated in
the PowerChute-keystore also.
You must change the PowerChute-keystore password before you can add trusted root certificates to the keystore:
21
VMware Configuration
For standalone hosts not managed by vCenter Server, the root CA certificate can be located on
the host - /etc/vmware/ssl/rui.crt.
22
PowerChute Network Shutdown: VMware User Guide
If PowerChute is installed on a physical Windows® machine you must specify the VMware hosts in the left-hand
panel that you want to protect by dragging them to the right-hand panel of this screen.
When a critical UPS event occurs, PowerChute will shut down VMs and the Hosts in the order that they appear in
the right-hand panel. You can change this order by clicking on a host in the right-hand panel and dragging it up or
down. PowerChute will re-start VMs on each host in the reverse order that they were shut down.
If vCenter Server or PowerChute is running on a VM they are shut down after the other hosts,
irrespective of the order that they appear in the Host Protection user interface. The other ESXi
hosts are shut down in the order that they appear in the UI.
If PowerChute is installed on the vMA or deployed as a Virtual Appliance, the right-hand panel is automatically
populated with all hosts in the same cluster.
The host running the PowerChute VM is automatically listed last and can be identified by the logo.
If vCenter Server is running on a VM on one of the ESXi hosts in the cluster it can be identified by this logo
23
VMware Configuration
If vCenter is running on a VM on one of the ESXi hosts and none of the Hosts are highlighted with
the logo, or the wrong Host is highlighted, this indicates there is a configuration issue in vSphere
setup that will prevent PowerChute from shutting down the vCenter Server VM correctly. For more
information see VMware Troubleshooting: vCenter Server VM Shutdown.
If vCenter Server and PowerChute are running on a VM on one of the ESXi hosts in the cluster it can be identified
24
PowerChute Network Shutdown: VMware User Guide
The VMware hosts are powered separately by one or more UPS(s). The right-hand panel shows the UPS(s) that
PowerChute is registered with. You need to associate each VMware host in the left-hand panel with the UPS by
which it is powered. To do this, drag each host to the UPS/UPS group in the right-hand panel.
If you have a Nutanix Cluster with VMware as your hypervisor, in an advanced configuration, all
hosts in the Nutanix Cluster must be protected by the same UPS or UPS group. See Nutanix
Support for more information on Nutanix.
Adding hosts from different vSAN/Dell VxRail datastores to the same advanced group is not a
valid configuration.
If the IP address/Hostname of the vCenter Server or any of the VMware hosts is changed it will
be necessary to re-associate the hosts with the UPS’s. When this occurs the following event is
logged in the PowerChute event log:
Host(s) [Hosts] no longer exist in the vCenter Server Inventory. Please open the Host
Protection page and re-select the Hosts that should be protected.
25
VMware Configuration
For more information see Shutdown Settings for Advanced UPS Setups.
On the VMware Host Protection page, do not link VMware hosts with the UPS devices that are
powering the physical equipment.
The following additional options will then be displayed on the Shutdown Settings page:
• Shutdown PowerChute Server - This is enabled by default and is used to gracefully shut down the
physical machine running PowerChute. This option can be disabled if the UPS is powering a Storage Array
Device.
• Execute Virtualization Shutdown on Hosts in All UPS Setups - This triggers a shutdown sequence
using the actions configured on the Virtualization Settings page. This option should be enabled for all UPS
Setups that are powering physical equipment.
26
PowerChute Network Shutdown: VMware User Guide
Virtualization Settings
Virtual machine (VM) settings like VM Migration and VM Shutdown can be configured in Virtualization Settings.
If hyperconverged infrastructure (HCI) support is enabled, additional sections will appear in the
Virtualization Settings screen. For more information see Hyperconverged Infrastructure Support.
vCenter Server VM Shutdown Duration is the shutdown duration given to the Virtual Machine on
which vCenter Server is running. This is configurable and is set to 240 seconds by default.
If vCenter Server is running on a VM and this option is not displayed this indicates a configuration
issue with vSphere. For more information see VMware Troubleshooting.
If PowerChute is deployed on a vSAN/Dell VxRail host, the Skip Maintenance Mode checkbox
must be selected. In a Dell VxRail configuration, PowerChute must be installed on the cluster
storage; it cannot be installed on the local storage.
PowerChute will use the No Action flag when placing vSAN/Dell VxRail hosts into maintenance
mode when all Hosts in the vSAN/Dell VxRail cluster are being shut down.
In an Advanced UPS configuration where each Host is protected by its own UPS or UPS group,
if Fault Tolerance Threshold (FTT) support is enabled, PowerChute will use the Ensure
Accessibility flag for maintenance mode if the FTT specified is less than the number of critical
27
VMware Configuration
hosts in the cluster. For example, if FTT support is enabled and the FTT level is set to 1, in a 3-
node cluster where only 1 host is impacted by a power outage, PowerChute will place that host
into maintenance mode using the Ensure Accessibility flag. If the other hosts later encounter a
power outage, they will be placed into maintenance mode using No Action.
• Ensure Accessibility - vSAN/Dell VxRail ensures that all accessible virtual machines on
this host remain accessible.
• No Action - vSAN/Dell VxRail does not evacuate any data from the host. Virtual machines
may become unaccessible. PowerChute uses the No Action flag when the entire cluster
is being shut down, and it is expected that VMs become unaccessible until the UPS critical
event is resolved and the hosts are taken out of maintenance mode.
28
PowerChute Network Shutdown: VMware User Guide
In an Advanced UPS Configuration, settings entered on this page will be applied to all UPS Setups if the checkbox
Apply Virtualization Settings to all UPS Setups is selected. This checkbox is selected by default. If the Apply
Virtualization Settings to all UPS Setups checkbox is disabled, you can configure different virtualization settings
for individual UPS groups.
If you have applied settings to individual UPS Setups you should uncheck this option to prevent them from being
overwritten.
29
VMware Configuration
NOTE: It is not recommended to enable Virtual Machine Migration when all nodes in the cluster
are being shut down, except when Delay Maintenance Mode is disabled and VMware DRS is set
to fully automated.
If you enable Virtual Machine migration, use the Duration field to set the time allowed for the VMs to migrate to
another healthy Host in the Cluster. VMs will not be migrated to Hosts that are powered off, in a disconnected state,
in maintenance mode, or affected by a UPS critical event.
By default, PowerChute will migrate VMs to any available Host in the same cluster. To control where VMs get
migrated to, enable the Select target host for Migration option in the Virtualization Settings page of the
PowerChute Setup or on the Virtualization Settings page in the main UI.
Select target host for Migration - PowerChute Setup Single/Redundant/Parallel UPS Configuration
In Advanced configurations, Select target host for Migration is not available in the Setup wizard, to
prevent all UPS Setups using the same set of Target Hosts. It is defined in Virtualization Settings
of each individual UPS Setup instead.
30
PowerChute Network Shutdown: VMware User Guide
The left pane shows all available hosts in the datacenter. To specify a host to which the VMs should migrate in the
event of a UPS critical event, drag and drop the host to the right pane. Using this option will allow VMs to migrate to
hosts available in other clusters in the datacenter or Standalone Hosts in the inventory.
31
VMware Configuration
Do not enable custom target host migration for Hosts that are part of a Cluster that has DRS
enabled and set to fully automated, as DRS rules will take precedence and VMs may not be
migrated as specified. See VM Migration using DRS below for more information.
If VMware DRS is enabled and set to fully automated for the Cluster, PowerChute will start a maintenance mode
task on the host when a UPS critical event occurs if Delay Maintenance Mode and Skip Maintenance Mode are
disabled - these are enabled by default when HCI support is enabled and for vSAN/Dell VxRail. This allows
DRS to migrate the VMs to other hosts in the cluster.
DRS is enabled in the Cluster Settings dialog of vSphere. To access Cluster settings, click on a cluster, select
Configure, click vSphere DRS, and click Edit.
DRS Rules can be configured to control to which Hosts VMs are migrated:
32
PowerChute Network Shutdown: VMware User Guide
1. Click on the Cluster, select Configure, and select VM/Host Groups. Click the Add button.
2. Specify a rule for the VM and Host DRS groups. For example,to prevent VMs from being migrated to Hosts
in the Host DRS Group, select Must Not run on hosts in group.
If DRS is enabled and set to fully automated and Delay Maintenance Mode is disabled, VM
Migration must be enabled in PowerChute with a VM migration duration set, in order to allow
Virtual Machines to migrate successfully. See VMware Troubleshooting.
For more information on DRS, see "VMware Distributed Resource Scheduler (DRS)" at VMware.com.
When the duration time elapses PowerChute continues to the next step in the sequence.
33
VMware Configuration
If Delay Maintenance Mode is enabled in the Virtualization Settings page, and DRS is enabled and set to Fully
automated when a critical event occurs, PowerChute will set DRS to Partially automated before VMs and vApps
are shut down. This is done to prevent DRS from migrating VMs back to a critical host. DRS is set back to Fully
automated when the critical event(s) have been resolved.
VM migration is also supported without DRS. In this instance, PowerChute will start a maintenance mode task on
the host and migrate the VMs to other available hosts during the duration time specified.
If all VMs have been migrated before the duration time has elapsed, PowerChute will wait until the remaining time
has passed before proceeding with the next step in the sequence. If the duration time is not long enough, any
remaining VMs may not be migrated. These VMs will be shut down gracefully if VM Shutdown is selected as the
next step in the sequence.
34
PowerChute Network Shutdown: VMware User Guide
If the VMs/vApps are shut down before the Duration time, PowerChute waits until this time has elapsed before
proceeding to the next step in the sequence.
Using the Duration field, you must allow sufficient time for all your VMs/vApps to gracefully shut
down before the hosts are commanded to shut down.
For vApps, the Shutdown Action - Operation must be changed from Power Off to Guest Shutdown to ensure
that the VMs in the vApp are shut down gracefully. This can be edited through vCenter Server. Right-click the vApp
in the left-hand panel of vCenter Server and click on Edit Settings.
By default, there is a 120 second delay between shutting down each VM in a vApp. The next VM in the vApp will
not be shut down until this delay has elapsed or the current VM is powered off. This should be factored into the
PowerChute VM/vApp Shutdown duration.
35
VMware Configuration
The Force vApp Shutdown check box is selected by default to ensure that, when VMs in the vApp are on different
hosts, they are still gracefully shut down even if some hosts are not impacted by the UPS critical event.
If this checkbox is disabled, vApp shutdown will be skipped if some hosts are still not impacted. In addition, only the
vApp VMs on the impacted hosts will be shut down. Any VMs running on hosts not impacted by the UPS event will
remain running. This may cause issues if there are dependencies between the VMs in the vApp.
If vCenter Server is running on a VM and not added to a priority group, it is shut down once all other VMs/vApps
have been shut down. If the vCenter Server VM is added to a priority group, it will be shut down with the other VMs
in its priority group. There is a separate duration for shutting down the vCenter Server VM, which is configurable.
If PowerChute is running on a VM, it does not get shut down as it is needed to shut down the VMware hosts. The
PowerChute VM will be powered off when the VMware host on which it is running is shut down. If HA is enabled,
the PowerChute VM will be restarted automatically once there is a healthy host available in the cluster. See HA
Admission Control.
If vCenter Server is offline or unavailable when a critical event occurs, PowerChute will attempt to
connect directly to the VMware hosts to shut down the VMs. To do this, an Active Directory
account, or a shared local user account with the Administrator role must exist on vCenter Server
and be configured separately on each VMware host. For more information see Active Directory
VMware Configuration.
36
PowerChute Network Shutdown: VMware User Guide
During the PowerChute shutdown sequence, vApps are shut down in no particular order in accordance to their
priority group. To shut down a master vApp (a vApp containing vApps) and exclude the nested vApps in the master
vApp, you can use the VM Prioritization screen:
1. In the VM Prioritization screen, add the master vApp to a priority group (for example, Medium).
2. Add the nested vApps to a lower priority group (for example, Group 1).
3. In the Set VM Shutdown Duration section of the VM Prioritization screen, provide a sufficient duration for
the medium priority group to gracefully shut down. For example, set the shutdown duration for the medium
priority group to 240 seconds.
4. Set the shutdown duration for the Group 1 priority group to 0 seconds. If you set a 0 second shutdown
duration for a priority group, PowerChute will not shut down the VMs/vApps in this priority group.
Selecting Enable VM/vApp Startup re-starts any VMs/vApps that were shut down when a UPS critical event has
been resolved and the VMware Hosts are powered on. PowerChute first checks that the VMware host is powered
on and connected to vCenter Server.
In Single, Redundant, and Parallel UPS configurations, the option Wait for all Hosts Online is selected by
default. When selected, PowerChute waits until all hosts in the cluster are back online before starting the
VMs/vApps. The VMs/vApps are started on each host in parallel.
If vCenter Server is running on a VM and it was shut down by PowerChute, PowerChute waits until its host comes
back online before powering that VM on. PowerChute will then wait for vCenter Server to start before it starts the
rest of the VMs/vApps.
Disable option Wait for all Hosts Online to allow PowerChute to attempt to start VMs/vApps on VMware hosts as
they become available. If the vCenter Server VM Host is available when other Hosts are online, PowerChute will
attempt to start the vCenter Server VM and then start VMs/vApps on other hosts.
If vCenter Server was offline or unavailable when VMs/vApps were shut down, PowerChute will start the
VMs/vApps by connecting directly to the VMware hosts when they come back online after the UPS critical event
has been resolved.
In Advanced UPS configurations, the option Wait for all Hosts Online is also selected by default. Where vCenter
Server is running on a VM that is shut down by PowerChute, PowerChute waits for the vCenter Server host to
come back online and then starts the vCenter Server VM, before attempting to start VMs/vApps on other hosts. If
the Wait for all Hosts Online option is disabled, PowerChute will attempt to start VMs/vApps on VMware hosts as
they become available.
The All Hosts online prior to startup checkbox should be should be selected for single,
redundant, and parallel UPS configurations.
If PowerChute is running on a VM, hosts will remain in maintenance mode when they re-start after
a critical event is resolved until the PowerChute VM is started when its host comes online.
PowerChute will then take the hosts out of maintenance mode and start the VM/vApp.
In the PowerChute configuration file (pcnsconfig.ini), the "delay_before_vmstartup" setting allows you to
delay VM/vApp start up until the user-specified duration has elapsed. This setting can be used to ensure that
cluster/vSAN/Dell VxRail services have successfully started before attempting to start up the VMs/vApps in the
cluster. This setting can be found in the [HostConfigSettings] section of the configuration file and the default
value is 0.
37
VMware Configuration
If VM/vApp startup is unsuccessful, PowerChute will wait the time specified in the VM/vApp Startup Duration field
before attempting to restart the VMs/vApps, and the below entries are logged to the Event Log:
If VM/vApp startup is unsuccessful on the second attempt, no further startup attempts are made.
HA Admission Control
HA Admission Control is enabled by default in vSphere. To change Admission Control settings, click on a Cluster in
the Inventory, select Configure. Click vSphere Availability, and click Edit.
38
PowerChute Network Shutdown: VMware User Guide
If PowerChute is installed on a Virtual Machine, it may not be restarted automatically when its Host is powered on
after a critical event has been resolved. This can occur if HA Admission Control is enabled or if the Admission
Control policy being enforced prevents it.
To allow the PowerChute VM to get started automatically by HA, disable HA Admission Control or modify the
Admission Control Policy to allow the PowerChute VM to start. For more information on HA Admission control
settings please refer to VMware documentation.
When Admission Control is disabled, HA will attempt to automatically start the VM on which PowerChute is running
and PowerChute can begin to monitor associated UPS devices and automatically restart the VMs that it shut down.
39
VMware Configuration
vSAN Settings
Fault Tolerance Threshold (FTT) support is disabled in PowerChute by default in a vSAN environment. FTT support
is only supported in an Advanced UPS configuration where there are vSAN hosts in more than one UPS Setup. If
you enable FTT support, PowerChute will take the FTT Level value specified into consideration when starting a
maintenance mode task. This value is linked to the number of critical Advanced UPS Setups. The FTT Level
configured here should match the Fault Tolerance Threshold in the Storage Policy applied to the vSAN datastore.
The default vSAN Storage Policy uses FTT=1.
If PowerChute is deployed as a VM inside the vSAN Cluster, FTT support is not available.
Each PowerChute installation can support 1 vSAN Cluster if FTT is enabled (in an Advanced UPS
configuration).
There should be 1 Advanced UPS setup per Fault Domain if FTT support is required.
40
PowerChute Network Shutdown: VMware User Guide
If the number of critical Advanced UPS Setup(s) is less than or equal to the FTT Level, PowerChute starts a
maintenance mode task using the Ensure accessibility flag, and only the critical host(s) will get shut down. This
means that VMs can remain running after being migrated to another host in the vSAN Cluster.
If the number of critical Advanced UPS Setup(s) is greater than the FTT Level, PowerChute will issue a
maintenance mode command using the No Action flag.
In addition to checking for critical events active on other Advanced UPS Setup(s) hosts, PowerChute checks that
the hosts are healthy. A host is considered being in an unhealthy state if it is not reachable, not responding, not
powered on, or in maintenance mode.
Single UPS Setup(s) (containing one host) in an unhealthy state will be considered when calculating the FTT Level
when a critical event occurs. For example:
The Shut down All Cluster VMs checkbox is selected by default if FTT is enabled. It is not recommended to
disable this setting. If the number of critical Advanced UPS Setup(s) is greater than the FTT Level, PowerChute will
shut down all VMs in the Cluster and place all critical hosts in maintenance mode using the No Action flag before
shutting them down. VMs/vApps running on hosts that are not directly impacted by the critical UPS event or power
outage will also be shut down if they reside on the vSAN datastore. These hosts will not be placed into
maintenance mode or shut down.
The vSAN Synchronization Duration field specifies a duration, in seconds, that PowerChute will allow any active
vSAN data re-synchronization tasks to complete before shutting down the host if Delay Host Maintenance Mode
is enabled. For more information, see Host Maintenance Mode.
The All Hosts online prior to startup checkbox in the Virtualization Settings page determines how vSAN Cluster
VMs are powered on during the startup sequence.
• If this checkbox is selected, PowerChute will wait for all UPS critical events to be resolved before starting
up VMs.
• If this checkbox is unselected, PowerChute will attempt to power on VMs if the FTT Level is sufficient to
power them on.
The All Hosts online prior to startup checkbox should be selected for single, redundant,
and parallel UPS configurations.
41
VMware Configuration
The Timeout field allows you to set a value, in seconds, that PowerChute will wait for the maintenance mode task
to complete before shutting down the host and moving to the next host in the sequence. The default value is 15
seconds.
In a vSAN/Dell VxRail environment, the Delay Maintenance Mode checkbox is selected by default, and this option
should be left selected. This checkbox is also selected by default, and should be left selected, if HCI support is
enabled.
NOTE: It is not recommended to unselect both the Delay Maintenance Mode and Skip
Maintenance Mode checkboxes in an HCI environment.
NOTE: In a vSAN/Dell VxRail environment, it is not recommended to put all hosts into
maintenance mode at the same time.
NOTE: If PowerChute is deployed as a VM on a host in the cluster, the host cannot enter
maintenance mode as it must remain powered on to send a shutdown command to its host. This
will result in the following message in the Event Log, but this is expected behavior:
"Maintenance mode task did not complete within the allowed time, please check your
configuration.”
If Delay Maintenance Mode is enabled for a UPS Setup, hosts will be placed into maintenance mode before being
shut down if all VMs are powered off. If the host is part of a vSANDell VxRail Cluster, PowerChute will check for
Active Synchronization in progress and wait for that to complete before shutting down the host. It is not
recommended to proceed with host shutdown while Active Synchronization is in progress. See Maintenance Mode
and Data Re-Synchronization Retry.
42
PowerChute Network Shutdown: VMware User Guide
In a vSAN/Dell VxRail Stretched Cluster, Witness and Management hosts will get put into maintenance mode and
shut down after the vSAN/Dell VxRail Cluster hosts.
NOTE: Witness and Management hosts must be located outside the vSAN/Dell VxRail Cluster.
The value set in the Timeout field is the delay in between PowerChute placing each host into maintenance mode
and shutting it down. The Timeout field is also the delay in between retrying an attempt to put a host into
maintenance mode (with retry limit). PowerChute places hosts into maintenance mode and shuts the hosts down in
parallel after the initial Timeout delay has elapsed for each host.
If DRS is enabled and set to Fully automated when a critical event occurs, PowerChute will set DRS to Partially
automated before VMs and vApps are shut down. This is done to prevent DRS from migrating VMs back to a
critical host. DRS is set back to Fully automated when the critical event(s) have been resolved.
In the PowerChute configuration file (pcnsconfig.ini), the "vsan_synch_retry_time" setting allows you to set a
value (the default is 10) for retry attempts. This setting is used when retrying to put a host into maintenance mode,
and when waiting for data re-synchronization on a vSAN/Dell VxRail host prior to shutting it down.
PowerChute will re-attempt to put a host into maintenance mode with the Host Maintenance Mode Timeout
duration in between each attempt, until the task is successful, or the retry limit has been reached.
If PowerChute detects that data re-synchronization is active on a host before shutting it down, PowerChute will wait
the vSAN Synchronization Duration and re-check until data re-synchronization is no longer active, or the retry
limit has been reached.
NOTE: Putting a vSAN/Dell VxRail host into maintenance mode can trigger a data re-
synchronization on the host. In this event, PowerChute will wait until the data re-synchronization is
complete (with retry limit) before placing the host into maintenance mode and shutting it down.
43
VMware Configuration
NOTES:
• The duration set here will not be applied if the vCenter Server VM is added to a priority
group when VM Prioritization is enabled.
• If VM Prioritization is not enabled, the vCenter Server VM will be the last VM to be shut
down before the PowerChute VM.
• If VM Prioritization is enabled and the vCenter Server VM is added to a priority group, it
will be shut down with the other VMs in its priority group.
44
PowerChute Network Shutdown: VMware User Guide
VM Prioritization is only available for hosts managed by vCenter Server. It is available for all UPS
configurations – Single, Redundant, Parallel and Advanced.
NOTE: If vCenter Server is unavailable at the time of the shutdown, PowerChute will still use the
order determined by the priority group to shut down VMs when it connects to each ESXi host.
To enable VM Prioritization, select the Enable VM Prioritization checkbox. Four options display:
• Prioritize VMs
• Set VM Migration Duration
• Set VM Shutdown Duration
• Set VM Startup Duration
Prioritize VMs
Virtual Machines can be grouped into five priority groups – High, Medium, Low, Group 1 and Group 2. When VM
Prioritization is enabled, an inventory view of the datacenter, clusters, vCenter Server Appliance (VCSA), VMs
and vApps appears on the left. On the right, the High, Medium, Low, Group 1 and Group 2 priority groups are
listed.
45
VMware Configuration
You can assign a VM/vApp to a priority group by clicking on a VM/vApp on the left hand side and dragging it to a
priority group on the right.
Move VMs/vApps between priority groups by dragging them from one group to another. To remove a VM/vApp
from a priority group, select the VM/vApp and click the Remove button. Any VM/vApp in the inventory that is not
assigned to a priority group is considered to be Un-prioritized.
46
PowerChute Network Shutdown: VMware User Guide
The vCenter Server VM can be added to a priority group if there are special VMs that need to be
shut down after vCenter Server and started before it. For example, Platform Services Controller
VM, Active Directory Controllers:
47
VMware Configuration
The inventory view on the left is populated with VMs that are part of the same HA cluster as any
Host protected by a UPS specified on the Host Protection page. VMs on Standalone Hosts
managed by vCenter are also present.
NOTES:
• If a HA Cluster does not contain a protected host, its VMs are not displayed.
• The vCenter Server VM should be added to a priority group on its own, and have no other
VMs in its priority group.
• It is not supported to add vApps to a higher priority than the vCenter Server VM as the
vCenter Server Appliance needs to be online to interact with the vApps.
• PowerChute does not track changes that are made in the vCenter Server inventory to VMs
that have been added to a priority group. If a VM is updated in the vCenter Server
Inventory (e.g. renamed, moved), you must manually update the priority group to reflect
this change. Prioritized VMs that are not found when a critical event occurs will be ignored
when VM operations such as VM Migration, Startup and Shutdown are performed.
For PowerChute to correctly identify clusters, VMs and vApps in a datacenter, their names must
be unique. It is recommended that a separate instance of PowerChute is used for each
datacenter.
If one instance of PowerChute is used to protect hosts in multiple datacenters, it will not be able
to identify VMs, vApps or clusters that have the same name, in different datacenters.
In each datacenter in which PowerChute is used to protect hosts, make sure that VMs, vApps
and Clusters each have a unique name.
You can configure durations for each priority group, for VM Migration, VM Shutdown and VM Startup.
• VM Migration Duration sets the time allowed for all VMs in the Priority Group to migrate to another
healthy host in the cluster. This also represents the delay between migrating VMs for each Priority Group.
• VM Shutdown Duration sets the time allowed for all VMs in the Priority Group to shut down gracefully.
This also represents the delay between shutting down VMs for each Priority Group.
The VM Shutdown Duration can be set to 0 seconds for any priority group to handle any
special VMs that need to be shut down later in the shutdown sequence via a command file
or SSH action.
If you set a 0 second shutdown duration for a priority group, the shutdown action will be
skipped for all VMs in that priority group.
• VM Startup Duration sets the time allowed for all VMs in the Priority Group to start up. This also
represents the delay between starting VMs for each Priority Group.
48
PowerChute Network Shutdown: VMware User Guide
You can set durations for the VMs/vApps in the High, Medium, Low, Group 1 and Group 2 priority Groups, and for
VMs/vApps that are Un-prioritized. When VM Prioritization is enabled for the first time, High, Medium, Low, Group 1
and Group 2 durations will have a default value of 0.
Durations for un-prioritized VMs/vApps are automatically set to the global duration values for VM Migration, VM
Shutdown and VM Startup, as configured on the Virtualization Settings page.
If vApps are added to a priority group, they will not be shut down if vCenter Server is offline and
no duration is specified for Un-prioritized VMs/vApps. To ensure your vApps gracefully shut
down, provide a shutdown duration for the Un-prioritized priority group.
VM Migration and VM Startup durations can be configured to have a value of zero, to skip the migration or startup
of VMs/vApp when a critical event occurs. If VM Migration/VM Startup is set to zero for a priority group, VMs/vApps
that do not migrate will be shut down, and will not start up following the shutdown, when the critical event is
resolved.
A warning will display in the VM Prioritization screen if a VM Shutdown duration is set to zero for any priority
group.
49
VMware Configuration
When VM Prioritization is enabled, the VM Migration, VM Startup and VM Shutdown durations set on the
Virtualization Settings page automatically match the sum of the respective High/Medium/Low//Group 1/Group 2/Un-
prioritized durations set on the VM Prioritization page.
For example, if VM Shutdown durations set on the VM Prioritization screen are as follows:
• High: 90 seconds
• Medium: 60 seconds
• Low: 60 seconds
• Group 1: 30 seconds
• Group 2: 30 seconds
• Un-prioritized: 30 seconds
then the VM Shutdown duration on the Virtualization Settings page is automatically set to:
90 + 60 + 60 + 30 + 30 + 30 = 300 seconds
If Advanced UPS configuration is used, the durations for each UPS Setup are also changed to reflect the sum of
the respective priority group durations for VM Migration, Startup and Shutdown.
On the Virtualization Settings page when VM Prioritization is enabled, VM Migration, Startup and Shutdown
durations become read-only and are automatically populated, as described above. If VM Prioritization is disabled,
the durations retain the values set by VM Prioritization, but become editable once more.
50
PowerChute Network Shutdown: VMware User Guide
Operations such as VM Migration, VM Shutdown and VM Startup can be performed for VMs in a priority group.
For VM Migration and VM Startup, the order in which priority groups are processed is as follows:
For VM Shutdown the order in which priority groups are processed is:
The sequences below describe the VM Migration, Shutdown and Startup Sequence for all UPS Configurations.
In this scenario:
• VM Migration is enabled
• DRS is disabled
• Wait for all Hosts Online is enabled
• VM Shutdown is enabled
• VM Startup is enabled
A UPS Critical event occurs and PowerChute starts a maintenance mode task on each protected host. First the
High priority group VMs migrate, in parallel. When all High priority Group VMs have migrated, the Medium priority
VMs migrate in parallel, followed by the Low, Group 1 and Group 2 priority groups, and finally the Un-prioritized
VMs migrate.
PowerChute will proceed to migrate the next group of VMs/vApps when the duration for the priority
group has elapsed.
When the VM migration duration elapses, any VMs that have not been migrated will be shut down in the VM
Shutdown sequence.
51
VMware Configuration
As the critical event continues, PowerChute begins sequenced VM/vApp Shutdown. First, the un-prioritized
VMs/vApp are shut down sequentially. After the duration for un-prioritized VMs/vApps elapses, the Group 2 priority
VMs/vApps are shut down, followed by the Group 1 priority VMs/vApps, the Low priority VMs/vApps, the Medium
priority VMs/vApps and finally the High priority VMs/vApps are shut down. When all priority group VMs/vApps have
been shut down, PowerChute shuts down the vCenter Server VM if vCenter Server is running on a VM and the
vCenter Server VM is not part of a priority group. PowerChute then shuts down the hosts and the physical
PowerChute server.
When the UPS critical event is resolved and the hosts and physical machine running PowerChute are powered
back on, the hosts are taken out of maintenance mode and the vCenter Server VM is started if the vCenter Server
VM has not been added to a priority group. PowerChute begins to start the High priority VMs/vApps with respect to
their startup duration. When the High priority startup duration elapses, the Medium priority VMs/Vapps are started,
followed by the Low priority VMs/vApps, the Group 1 priority VMs/vApps, the Group 2 priority VMs/vApps, and
finally, the un-prioritized VMs/vApps are started.
52
PowerChute Network Shutdown: VMware User Guide
In Advanced UPS configuration, ESXi hosts and equipment may be protected by separate UPS devices.
In this example, UPS 2 may experience a critical event at a different time to UPS 3. If the UPS Setups for Host A
and B have VM Prioritization enabled, the VM operations that are performed on the priority groups of the two hosts
will occur at different times. For example, if UPS 2 experiences a critical event 2 minutes before UPS 3, the High
priority VMs on Host B may be shut down at the same time as the Low priority VMs on Host A. VM operations on
priority groups occur at the host level.
This also applies in a multi-site scenario where hosts in two geographical locations, Site A and Site B, are powered
by two different UPS devices. As the critical event may not occur at the same time at each location, if Site A
experiences a critical event first, it is possible to have High priority VMs shutting down in site B at the same time as
Low priority VMs shut down at site A.
53
VMware Configuration
This can be enabled on the Virtualization Settings page in the PowerChute Setup Wizard or on the
Communications Settings page. You can enable only one of the plugin options.
Log into vCenter Server using the vSphere client and access the PowerChute UI using the views below:
Home - Inventory - Hosts and Clusters view - select the root level in the left-hand pane and click the
PowerChute tab in the right-hand pane.
54
PowerChute Network Shutdown: VMware User Guide
55
VMware Configuration
Log into vCenter Server using the vSphere Web client and access the PowerChute UI by clicking on the Home
icon:
In vSphere v6.5 and later, the vSphere Desktop Client is deprecated and the vSphere Web Client
is available only.
The PowerChute vSphere Web Client plugin is only available for vSphere Web Client v5.5 update
1 or later.
If Internet Explorer Enhanced Security Configuration is enabled you must add the URL for the
machine or VM where PowerChute is installed to the Trusted Sites zone.
To do this select Tools-Internet Options in IE and click on the Security tab. Select Trusted Zone
and Sites. Add https://<PowerChute hostname/IP address>:6547 to the list of Trusted Sites.
56
PowerChute Network Shutdown: VMware User Guide
Enabling either of the vSphere plug-in options also creates a custom PowerChute vCenter Server Alarm.
In the vSphere desktop client plug-in, alarms can be configured to carry out actions using the Actions tab in the
Alarm Settings dialog. For example you can configure an action to send a notification e-mail to an administrator
when the alarm is triggered
In the vSphere Web Client plugin, alarms can be configured to carry out actions using the Actions tab - Settings -
Manage - Alarm Definitions.
This alarm will be triggered with “Warning” status on the Triggered alarms view for the VMware hosts when a
critical UPS event occurs and PowerChute starts the shutdown sequence.
When PowerChute has finished shutting down VMs and vApps the Alarm status will change to “Alert” as the
VMware hosts are commanded to shut down.
57
VMware Configuration
Removing Alarms
58
PowerChute Network Shutdown: VMware User Guide
1. In Active Directory Users and Groups create a group called ESX Admins and add your user(s) to the
group.
When using Active Directory VMware provides a default AD Group account called "ESX
Admins". This group is automatically added to each ESXi host joined to the domain and is
granted administrator rights by default.
2. Add Active Directory as an Identity Source in VMware Single Sign On using the vSphere Web Client.
3. Log in to vCenter Server using the vSphere Web Client via a browser - https://<your_vcenter_ip>:9443 -
using default vCenter Server administrator account – administrator@vsphere.local.
4. Navigate to Administration > Single Sign On > Configuration and then on the Identity Sources tab.
a. Name: testdomain
d. Alias: testdomain
59
VMware Configuration
g. Username: testdomain\domainuser
8. Click OK.
9. Log into vCenter using the vSphere client and navigate to Menu > Administration >Single Sign On >
Users and Groups.
60
PowerChute Network Shutdown: VMware User Guide
61
VMware Configuration
1. In the event that vCenter Server is unavailable a shared account needs to be configured that can be used
to connect directly to the VMware hosts to perform shutdown actions.
2. Log in to vSphere Web Client as administrator@vsphere.local.
3. Navigate to Menu > Administration > Single Sign On > Users and Groups.
4. Select the vsphere.local domain and click Add User.
62
PowerChute Network Shutdown: VMware User Guide
10. Navigate to Single Sign On > Configuration > Identity Sources. Select the vsphere.local domain where
the new User was added and set this as the default domain.
11. In PowerChute, when adding the username, do not include the @vsphere.local suffix. This is not required
as ESXi host usernames cannot include @vsphere.local.
1. In the event that vCenter Server is unavailable a shared account needs to be configured that can be used
to connect directly to the VMware hosts to perform shutdown actions.
2. If Active Directory is not available then a local user account can be added to vCenter Server.
3. An account with the same name and password then needs to be added to each ESXi host.
4. Log in to vCenter Server machine and add a user via Computer Management -> Local Users and Groups
for Windows.
63
VMware Configuration
On Linux/vCenter Server Appliance use the terminal commands “useradd” and “passwd”.
5. Log in to vCenter Server using the vSphere Client and navigate to Menu > Administration > Global
Permissions.
6. Click on the symbol. Select vsphere.local under User, select the User that was added in step 4 and
change the Assigned Role to Administrator.
8. Click OK.
64
PowerChute Network Shutdown: VMware User Guide
65
VMware Configuration
1. Log in to the ESXi Client and navigate to Manage > Security and Users > Users.
6. Select the User created in step 2 and change the Assigned Role to Administrator.
7. Click OK.
A shared local account should be used when vCenter Server is running on a VM and Active
Directory is unavailable.
66
PowerChute Network Shutdown: VMware User Guide
Hyperconverged Infrastructure Support for VMware
If you have a supported hyperconverged infrastructure (HCI) solution, you can enable HCI support for VMware in
the PowerChute Setup wizard. Select a HCI solution from the Hyperconverged Infrastructure Support drop-
down list in the vCenter Server Details screen and click Next.
For more information see the PowerChute Installation Guide on the APC website, and the below topics:
• Nutanix Support
• HPE SimpliVity Support
• Cisco HyperFlex Support
67
Nutanix Support
If you have a Nutanix™ Cluster with ESXi as your hypervisor, you can enable Nutanix support for PowerChute in
the PowerChute Setup wizard.
To enable Nutanix support, open the PowerChute Setup wizard and follow the steps below.
1. Select Nutanix from the Hyperconverged Infrastructure Support drop-down list in the vCenter Server
Details screen and click Next.
Alternatively, you can add the vCenter Server root CA certificate to the PowerChute-
keystore by following the steps detailed in the vCenter Server Settings topic.
2. In the CVM/Cluster Details screen, enter your Nutanix credentials to connect to your Controller Virtual
Machine or Cluster. The recommended configuration is to connect to your Nutanix Cluster.
You can authenticate the connection by entering either the CVM/Cluster IP address and a
password, or a SSH key file path. If both authentication options are specified, PowerChute
will use the password to connect to the Controller VM/Cluster.
NOTE: You must use the "nutanix" user account credentials to connect to the
Cluster/CVM. You cannot use Prism user account credentials to connect.
68
PowerChute Network Shutdown: VMware User Guide
The SSH key file, if configured, must be located in the user_files folder, or a sub-folder, in
the PowerChute installation directory. If the default installation directory was chosen during
installation, this location will be:
• C:\Program Files\APC\PowerChute\user_files for Windows systems
• /opt/APC/PowerChute/user_files/ for Linux systems
NOTE: If you are upgrading to PowerChute v4.4, any SSH key files used in a previous
version of PowerChute must be manually added to the user_files folder. If the key files
are not added to the directory, you will see the below error in the Event Log:
3. When you have entered your credentials, click Next to connect to your Controller VM/Cluster.
4. If the connection to your Controller VM/Cluster is successful, you will be directed to the Virtualization
Settings screen where you can configure your Nutanix settings. These settings can later be edited in the
Virtualization Settings screen in the PowerChute UI.
When Nutanix support is enabled, additional sections will appear in the Virtualization Settings screen in the
PowerChute UI.
• Controller VM Shutdown/Startup
• AFS Shutdown/Startup
• Protection Domain Settings
• Cluster Shutdown/Startup
69
Nutanix Support
The Duration field is the time allowed for the AFS service and VMs to gracefully shut down and start up following a
UPS critical event.
Using the Duration field, you must allow sufficient time for all your AFS VMs to gracefully shut
down. If the AFS VMs are not shut down, this may prevent the Cluster and Controller VMs from
shutting down.
If vCenter Server is unavailable during shutdown, an alternative shutdown process is used and
SSH keys cannot be used to connect to AFS VMs.
AFS Shutdown/Startup
70
PowerChute Network Shutdown: VMware User Guide
Selecting the AFS Startup checkbox re-starts any AFS VMs that were shut down when a UPS critical event has
been resolved and the Nutanix Hosts are powered on.
If the AFS VMs are in the process of being started when a critical event occurs, PowerChute waits for the Duration
time to elapse before shutting down the VMs. This is to ensure that the VMs are shut down gracefully.
71
Nutanix Support
If enabled, PowerChute will wait the time specified in the Duration field before aborting any active protection
domain replications in the event of a critical UPS event.
NOTE: The Duration field will only be taken into consideration if there are active replications when
PowerChute reaches this step in the shutdown sequence. If there are no active replications this
duration will not be included in the shutdown sequence.
Metro Availability spans a datastore across two sites (local and remote) and synchronously replicates data between
the two sites. If the Disable Metro Availability checkbox is selected, Metro Availability will be deactivated in the
event of a shutdown. This option should be selected if Metro Availability is configured on your Cluster.
72
PowerChute Network Shutdown: VMware User Guide
Cluster Shutdown/Startup
Cluster Shutdown occurs after PowerChute has completed the previous steps in the shutdown sequence: User VM
Shutdown, AFS Shutdown, and abort active replications.
Cluster Shutdown/Startup
If the Cluster is shut down before the Duration time, PowerChute waits until this time has elapsed before
proceeding to the next step in the sequence (shutting down the Controller VMs).
Using the Shutdown Duration field, you must allow sufficient time for your Cluster to gracefully
shut down before the Controller VMs are commanded to shut down.
The time specified in the Startup Duration field will be the time, in seconds, PowerChute will wait after issuing the
Cluster start command before proceeding with the next steps in the startup sequence. The Cluster is re-started
after the Controller VMs are powered on.
73
Nutanix Support
Controller VM Shutdown/Startup
A Controller Virtual Machine runs on each node in a Nutanix cluster and is responsible for managing the Nutanix
Cluster services.
Controller VM Shutdown is enabled by default. In the PowerChute shutdown sequence, the Controller VM is shut
down after all other VMs in the Cluster, and the Nutanix Cluster itself are shut down.
The Duration field is the time allowed for all the Controller VMs to gracefully shut down. If the Controller VMs are
shut down before the Duration time, PowerChute waits until this time has elapsed before proceeding to the next
step in the sequence.
Using the Shutdown Duration field, you must allow sufficient time for all your Controller VMs to
gracefully shut down before the hosts are commanded to shut down.
Controller VM Shutdown/Startup
If HA is enabled in a VMware environment and the Controller VM Startup checkbox is selected, PowerChute will
re-start the Controller VMs when the Nutanix Hosts are powered on. PowerChute first checks that the host is
available.
If HA is disabled, the VMware Virtual Machine Shutdown/Startup feature should be used to re-start the Controller
VMs when the hosts are powered on.
74
PowerChute Network Shutdown: VMware User Guide
It is recommended to wait at least 5 minutes after Controller VM startup to ensure all services are
running before re-starting the Cluster. You should account for this using the Startup Duration
field.
75
Nutanix Support
CVM/Cluster Details
This screen allows you to edit the connection details for your Nutanix Controller VM or Cluster.
You can authenticate the connection to your Controller VM or Cluster using one of the following options:
• Enter your CVM/Cluster IP address and CVM/Cluster password.
• Enter your CVM/Cluster IP address, the SSH key file path and its passphrase, if available.
If you wish to change the authentication method used, PowerChute will erase your previous authentication details.
For example, if you connected to your Nutanix Cluster using the password option in the PowerChute Setup wizard
and you want to use a SSH key file instead, when the Path to SSH Key File field is edited and the changes are
applied, PowerChute will erase your configured passwords.
NOTE:
NOTE: You must use the "nutanix" user account credentials to connect to the Cluster/
Controller VM. You cannot use Prism user account credentials to connect.
The SSH key file, if configured, must be located in the user_files folder, or a sub-folder, in
the PowerChute installation directory. If the default installation directory was chosen during
installation, this location will be:
• C:\Program Files\APC\PowerChute\user_files for Windows systems
• /opt/APC/PowerChute/user_files/ for Linux systems
NOTE: If you are upgrading to PowerChute v4.4, any SSH key files used in a previous
version of PowerChute must be manually added to the user_files folder. If the key files
are not added to the directory, you will see the below error in the Event Log:ERROR:
The ini contains an invalid value for ssh_keyfile_path in
nutanixClusterDetails.
CVM/Cluster Details
76
PowerChute Network Shutdown: VMware User Guide
HPE SimpliVity Support
If you have a HPE SimpliVity Cluster with ESXi as your hypervisor, you can enable HPE SimpliVity support for
PowerChute in the PowerChute Setup wizard.
To enable HPE SimpliVity support, open the PowerChute Setup wizard and follow the steps below.
1. Select HPE SimpliVity from the Hyperconverged Infrastructure Support drop-down list in the vCenter
Server Details screen and click Next.
Alternatively, you can add the vCenter Server root CA certificate to the PowerChute-
keystore by following the steps detailed in the vCenter Server Settings topic.
2. In the HPE SimpliVity Details screen, enter your HPE SimpliVity credentials to connect to your Cluster.
The default user name is "svtcli", and it is not recommended to change this.
3. Click Next to validate the connection.
4. If the connection to your HPE SimpliVity Cluster is successful, you will be directed to the Virtualization
Settings screen where you can configure your HPE SimpliVity settings. These settings can later be edited
in the Virtualization Settings screen in the PowerChute UI.
When HPE SimpliVity support is enabled, the OmniStack Virtual Controller Shutdown/Startup section will appear in
the Virtualization Settings screen in the PowerChute UI.
77
HPE SimpliVity Support
OVC Shutdown is enabled by default. In the PowerChute shutdown sequence, the OVC is shut down after all other
VMs in the Cluster. The first OVC VM is shut down using the "Shut Down Safe" option in vSphere, which triggers a
Wait for Storage HA Compliance task. When this task is complete, the OVC VM is shut down. Subsequent OVC
VMs are shut down using the "Force Virtual Controller Shutdown" command.
All OmniStack Virtual Controllers in the HPE SimpliVity Cluster must be powered on and
accessible during PowerChute setup to ensure they are shut down and started by PowerChute
as expected.
The Duration field is the time allowed for all the OVCs to gracefully shut down. If the OVCs are shut down before
the Duration time, PowerChute waits until this time has elapsed before proceeding to the next step in the
sequence.
Using the Shutdown Duration field, you must allow sufficient time for all your OVCs to gracefully
shut down before the hosts are commanded to shut down.
OVC Shutdown/Startup
78
PowerChute Network Shutdown: VMware User Guide
If the Skip Maintenance Mode checkbox is selected in PowerChute, the OmniStack Virtual Controller VMs will get
started automatically using the VMware VM Shutdown/Startup configuration for each host. PowerChute will not
start the OmniStack Virtual Controller VMs, but PowerChute will still wait the configured OVC Startup Duration
before proceeding with User VM startup
If PowerChute is deployed as a VM and VMware HA is disabled for the cluster, the PowerChute VM should be
configured to start after the OmniStack Virtual Controller VMs using the VM Shutdown/Startup option in vSphere.
It is recommended to wait at least 5 minutes after OVC startup to ensure all services are running.
You should account for this using the OVC Startup Duration field.
79
Cisco HyperFlex Support
If you have a Cisco HyperFlex Cluster with ESXi as your hypervisor, you can enable HyperFlex support for
PowerChute in the PowerChute Setup wizard.
To enable HyperFlex support, open the PowerChute Setup wizard and follow the steps below.
1. Select HyperFlex from the Hyperconverged Infrastructure Support drop-down list in the vCenter
Server Details screen and click Next.
Alternatively, you can add the vCenter Server root CA certificate to the PowerChute-
keystore by following the steps detailed in the vCenter Server Settings topic.
2. In the HyperFlex Details screen, enter your HyperFlex credentials to connect to your Cluster.
3. Click Next to validate the connection.
4. If the connection to your HyperFlex Cluster is successful, you will be directed to the Virtualization
Settings screen where you can configure your HyperFlex settings. These settings can later be edited in
the Virtualization Settings screen in the PowerChute UI.
When HyperFlex support is enabled, additional sections will appear in the Virtualization Settings screen in the
PowerChute UI.
80
PowerChute Network Shutdown: VMware User Guide
• Cluster Shutdown/Startup
• Controller VM Shutdown/Startup
81
Cisco HyperFlex Support
Cluster Shutdown/Startup
Cluster Shutdown occurs after PowerChute has completed the shutdown of User VMs and the vCenter Server VM,
if applicable, and before the Controller VMs are shut down.
Cluster Shutdown/Startup
If the Cluster is shut down before the Duration time, PowerChute waits until this time has elapsed before
proceeding to the next step in the sequence (shutting down the Controller VMs).
Using the Shutdown Duration field, you must allow sufficient time for your Cluster to gracefully
shut down before the Controller VMs are shut down. It is recommended that you manually test
the time needed to stop your Cluster, and specify that as the Shutdown Duration.
In the PowerChute configuration file (pcnsconfig.ini), the "cluster_ops_retries" setting allows you to set
a value (the default is 10) for retry attempts. PowerChute will re-attempt to shut down and start up the HyperFlex
Cluster with the Shutdown/Startup Duration in between each attempt, until the task is successful, or the retry limit
has been reached.
The time specified in the Startup Duration field will be the time, in seconds, PowerChute will wait after issuing the
Cluster start command before proceeding with the next steps in the startup sequence. The Cluster is re-started
after the Controller VMs are powered on.
82
PowerChute Network Shutdown: VMware User Guide
Controller VM Shutdown/Startup
A Controller Virtual Machine is installed on each HyperFlex node in a cluster and is responsible for managing the
HyperFlex cluster storage.
Controller VM Shutdown is enabled by default. In the PowerChute shutdown sequence, the Controller VM is shut
down after all other VMs in the Cluster, and the HyperFlex Cluster itself are shut down.
The Duration field is the time allowed for all the Controller VMs to gracefully shut down. If the Controller VMs are
shut down before the Duration time, PowerChute waits until this time has elapsed before proceeding to the next
step in the sequence.
Using the Shutdown Duration field, you must allow sufficient time for all your Controller VMs to
gracefully shut down before the hosts are commanded to shut down.
Controller VM Shutdown/Startup
If the Skip Maintenance Mode checkbox is selected in PowerChute, the Controller VMs will get started
automatically using the VMware VM Shutdown/Startup configuration for each host. PowerChute will not start the
Controller VMs, but PowerChute will still wait the configured Controller VM Startup Duration before proceeding
with User VM startup
83
Cisco HyperFlex Support
If PowerChute is deployed as a VM and VMware HA is disabled for the cluster, the PowerChute VM should be
configured to start after the Controller VMs using the VM Shutdown/Startup option in vSphere.
It is recommended to wait at least 5 minutes after Controller VM startup to ensure all services are
running before re-starting the Cluster. You should account for this using the Controller VM
Startup Duration field.
84
PowerChute Network Shutdown: VMware User Guide
Shutdown Settings
The Shutdown Settings page enables you to configure UPS turnoff and the shutdown command files.
• UPS Shutdown
• Shutdown Command Files
• Shutdown Settings for Advanced UPS Configurations
85
Shutdown Settings
UPS Shutdown
The default setting is Do not turn off the UPS.
You can select Turn off the UPS if you want to preserve battery power. Some UPS’s do not support UPS turnoff
through PowerChute or the NMC. For these models, it can only be done at the UPS itself. Please check your UPS
documentation to ensure your model supports UPS turnoff.
If your UPS has Switched Outlet Groups, then the Turn off the UPS Outlet Group option enables you to turn off
the outlet group that supplies power to the PowerChute protected server after a critical event occurs.
The default behavior for most UPS’s if they are turned off following an on-battery shutdown is that
they will turn on again once input power is restored.
The On-Battery Shutdown Behavior setting can be found in the NMC under Configuration –
Shutdown where you can change the behavior to Turn off and Stay off if required.
This is not available for an Advanced UPS Configuration that contains UPS Setups with
Redundant UPS devices.
In a Redundant UPS configuration you have the option to turn off one of the UPS’s after it has switched to battery
power. This is designed to prolong the battery life and preserve the battery power of the UPS. If using this feature
on a UPS that supports outlet groups the option "Turn off the UPS" should be enabled.
After the specified delay, PowerChute will issue a command to gracefully turn off the UPS.
If one UPS is on battery and another UPS switches to battery before the configured delay for
Single UPS turn off has elapsed, then the first UPS will not be turned off.
If the shutdown action is enabled for the On Battery event, a Multiple Critical event condition will
occur if a second UPS switches to battery power (after the first UPS has been commanded to
turn off by PowerChute). When this occurs the shutdown sequence will start after 10 seconds.
86
PowerChute Network Shutdown: VMware User Guide
Full path to command file: You must specify the full path name of the command file, including the disk drive
or volume name. For Linux and Unix systems, the file should execute permissions of chmod +x [command file
name].
The command file must be located in the user_files folder, or a sub-folder, in the PowerChute
installation directory. If the default installation directory was chosen during installation, this location will
be:
• C:\Program Files\APC\PowerChute\user_files for Windows systems
NOTE: If you are upgrading to PowerChute v4.4, any command files used in a previous version of
PowerChute must be manually added to the user_files folder. If the command files are not added to the
directory, you will see the below errors/warnings for the ShutdownStarting event, and all events
configured to run a command file, in the Event Log:
Duration: Enter the number of seconds that the shutdown command file requires to execute.
NOTE: For Advanced UPS Configurations, if there are different command files configured for each
UPS Setup, PowerChute may need to wait for all command files to finish executing before
proceeding with the final steps in the shutdown sequence. This is dependent on the timing that
UPS critical events occur on each UPS Setup. PowerChute will automatically increase the Outlet
Group Power Off delay or Maximum Required delay (non-outlet aware UPS) to include the
combined total of the shutdown command file durations for each UPS Setup. This can impact the
runtime available on the UPSs during a shutdown. To accommodate this, set the low battery
duration on the UPSs accordingly.
Execute Command File After Host Shutdown: Enable this option to execute the command file following Host
Shutdown. This option is only available when PowerChute is installed on a physical machine, and not on a VM.
Delay: Enter the number of seconds that the Host requires to shut down, before the command file is executed.
You must determine the time required for your command file to execute. PowerChute cannot
determine whether the command file has completed, so it will wait only the amount of time entered
before triggering an operating system shutdown.
The command file runs using the local system account. For Linux/Unix the command file must be executed with
root privileges. PowerChute cannot execute programs that require interaction with the desktop; only command line
enabled programs are supported.
87
Shutdown Settings
Field Description
Number of UPS’s required to Set this value to the minimum number of UPS’s that must be
power load available to support the equipment that is being powered by the
UPS’s in the setup.
The value set here will be subtracted from the total number of
UPS’s in the setup and used to calculate the number of additional
(redundant) UPS’s.
This setting is not displayed for UPS Setups with a Single UPS
device.
Number of additional (redundant) This will appear in a setup with more than one UPS. It represents
UPS’s the number of extra UPS’s in the setup. This option is associated
with the number of UPS critical events required to trigger
shutdown:
N+1 2
N+2 3
N+3 4
This setting is not displayed for UPS Setups with a Single UPS
device.
Total number of UPS’s in Setup This is the total of the above two rows and is calculated
automatically.
88
PowerChute Network Shutdown: VMware User Guide
Note: If the same command file is configured for each setup and
a shutdown sequence is triggered for more than one setup at the
same time, the command file is only executed once.
Shut down if Redundancy lost If this option is enabled, when the number of UPS critical events
is the same as the number of additional (redundant) UPS’s, a
shutdown sequence will be triggered.
N+1 1
N+2 2
N+3 3
UPS Shutdown Use this option to set the required UPS behavior after connected
equipment or servers are gracefully shut down. For more
information see UPS Shutdown.
89
Shutdown Settings
Execute Virtualization Shutdown Use this option to trigger the actions enabled on the Virtualization
on Hosts in all UPS Setups Settings page for ESXi hosts that are linked to UPSs/UPS
Setups: VM migration/VM Shutdown/vApp shutdown followed by
ESXi host shutdown.
This option is available only in a configuration in which a UPS
setup is powering something other than a virtual host (e.g. a
storage array) - it is enabled by default for a Physical UPS setup.
90
PowerChute Network Shutdown: VMware User Guide
SSH Settings
PowerChute Network Shutdown can be configured to execute commands on a remote host via an SSH connection.
To create an SSH action, click Add Action and configure the following:
1. Name: A unique name for each SSH action of a length less than or equal to 255 ASCII characters.
2. Configure one of the following authentication methods:
• User Name and Password: Enter the user name and password to connect to the remote host.
• User Name, SSH Key File Path and SSH Key File Password: Specify the path to a shared SSH
key. This option requires you to generate an SSH key and copy it to your target systems. See
SSH Command File Location.
3. IP Addresses/FQDN and Port: The IP address or Fully Qualified Domain Name (FQDN) and port of the
target SSH component.
4. Path to SSH command file: You must specify the full path name of the command file, including the disk
drive or volume number. See SSH Command File Location.
5. SSH Action Delay: Enter the amount of time, in seconds, that PowerChute will wait before connecting to
the remote host and begin sending commands. The default value is 0.
6. SSH Action Duration: Enter the amount of time, in seconds, for the SSH action to complete before
proceeding with the rest of the shutdown sequence.
Using the SSH Action Duration field, you must allow sufficient time for all your SSH
actions to complete.
91
SSH Settings
NOTES:
• PowerChute takes the command file provided and passes it line-by-line to the remote host
over an SSH connection. As a result, incomplete lines may be interpreted incorrectly by
the remote host. You must ensure that your SSH command file contains complete lines
and commands so the remote host can interpret the file correctly.
• The line ending style of the command file must match that of the PowerChute target host
operating system. For example, a command file configured on PowerChute running on a
Windows host must contain Windows style text line endings.
• Recognized command prompts are:
• $ (Linux)
• # (Linux admin/root)
• > (Windows, or RPDU)
• Custom command prompts can be added via the PowerChute configuration file
(pcnsconfig.ini) by adding the "ssh_prompt_regex" setting to the [SSHAction]
section. For example: to add a custom command prompt of "~", add
"ssh_prompt_regex = \~\s".
• The PowerChute Event Log only displays that an SSH action has completed. The Event
Log does not show if the SSH action has completed successfully or not.
• If a value is specified in the SSH Action Delay field, the Event Log does not log that an
SSH action is running with a configured delay.
92
PowerChute Network Shutdown: VMware User Guide
The SSH key file, if configured, and command file must be located in the user_files folder, or a sub-folder, in the
PowerChute installation directory. If the default installation directory was chosen during installation, this location will
be:
• C:\Program Files\APC\PowerChute\user_files for Windows systems
• /opt/APC/PowerChute/user_files/ for Linux systems
NOTE: If you are upgrading to PowerChute v4.4, any key files and/or command files used in a
previous version of PowerChute must be manually added to the user_files folder. If the files
are not added to the directory, you will see the below errors in the Event Log:
93
SSH Settings
In an Advanced UPS configuration, SSH actions can be enabled and disabled for each UPS setup.
The symbol indicates that an SSH action is enabled in the main SSH Settings screen. To run an SSH action for
a particular UPS setup, enable the checkbox next to the symbol.
SSH actions that are not enabled do not display the symbol. These disabled actions will not be executed if
enabled for a UPS setup.
94
PowerChute Network Shutdown: VMware User Guide
SNMP Configuration
PowerChute Network Shutdown can be configured to communicate via Simple Network Management Protocol
(SNMP), and can be discovered via SNMP by Network Management tools, such as StruxureWare Data Center
Expert. Using SNMP, you can query and configure PowerChute settings, and generate SNMP traps for UPS critical
events and lost communication events.
SNMPv1 and SNMPv3 are supported by PowerChute Network Shutdown. IPv4 and IPv6 are both supported. Go to
SNMP Settings in the web user interface to complete the configuration and make PowerChute accessible via
SNMP. It is not necessary to re-start the PowerChute service when enabling SNMP or making SNMP configuration
changes via the web user interface. PowerChute configuration changes via SNMP are logged to the Event Log.
Enter the SNMP Discovery Port. The default value of 161 is automatically populated, but this can be edited if this
port is already in use. The Port number availability is automatically checked, and if it is not available, a new port
number must be entered.
See:
• SNMPv1 Configuration
• SNMPv3 Configuration
• SNMP Trap Configuration
• SNMP Data Points
• SNMP Troubleshooting
95
SNMP Configuration
SNMPv1 Configuration
Select Enable SNMPv1 access to configure the User Profiles required to communicate via SNMPv1. Select Add
Profile and configure:
1. Community Name: The Community Name is sent with each SNMP request to obtain access to a device.
The maximum length is 15 ASCII characters.
2. NMS IP/Host Name: The IP address, Host Name or Fully Qualified Domain Name of the Network
Management System (NMS). An NMS is software that is used to manage software and hardware
components on the network. It can be used to manage PowerChute via SNMP by issuing SNMP GET and
SET commands. The default value of 0.0.0.0 permits access from any NMS.
3. Access Type:
• Disable: No SNMP GET or SET requests are permitted.
• Read: Only SNMP GET requests are permitted.
• Read/Write: SNMP GET and SET requests are permitted.
To edit an existing SNMPv1 user profile, click the button. To delete an SNMPv1 user profile, click the
button.
Certain Network Management Systems require the SNMP Engine ID to communicate via SNMP.
The SNMP Engine ID is displayed on the SNMP Settings page of the PowerChute user interface.
SNMPv1 is less secure than SNMPv3. SNMPv1 does not provide encryption or authentication,
and the Community Name is sent over the network in plain text. To use encryption and
authentication with SNMP, configure SNMPv3 settings.
96
PowerChute Network Shutdown: VMware User Guide
SNMPv3 Configuration
Select Enable SNMPv3 access to configure the SNMPv3 settings. Select Add Profile and configure:
1. User Name: In SNMPv3, all GET and SET requests and SNMP Traps are matched to a user profile by the
User Name. Enter a user name of a length less than or equal to 32 ASCII characters.
2. Authentication Protocol: Select MD5, SHA-1 or SHA-2 (SHA256 or SHA512) protocol. It is recommended
to use an SHA-2 protocol, if the NMS supports it.
It is not recommended to use the MD5 protocol.
3. Authentication Passphrase: Enter an authentication password for the protocol selected, of 8-32 ASCII
characters.
4. Privacy Protocol: Select AES-128, AES-192*, AES-192 Ex†, AES-256* , AES-256 Ex†, or DES. It is
recommended to use the AES-256 protocol, if the NMS and PowerChute JRE support it.
5. Privacy Passphrase: Enter a privacy password for the encryption protocol selected, of 8-32 ASCII
characters.
6. Access Type:
• Disable: No SNMP GET or SET requests are permitted.
• Read: Only SNMP GET requests are permitted.
• Read/Write: SNMP GET and SET requests are permitted.
To edit an existing SNMPv3 user profile, click the button. To delete an SNMPv3 user profile, click the
button.
Certain Network Management Systems require the SNMP Engine ID to communicate via SNMP.
The SNMP Engine ID is displayed on the SNMP Settings page of the PowerChute user interface.
97
SNMP Configuration
Click the SNMP Trap Receiver Test to send a test trap to the configured Trap Receiver. Check the Trap Receiver
to ensure that the test trap was received.
To edit an existing SNMP Trap Receiver, click the button. To delete an SNMP Trap Receiver, click the
button.
PowerChute sends SNMP traps to the configured Trap Receiver(s) upon the following events:
PowerChute sends SNMP traps to the configured Trap Receiver(s) upon the following events:
If the option to Send Trap when condition is cleared is enabled, the following traps are sent:
Other Events
See SNMP Data Points > PowerChute Traps for more information on PowerChute SNMP Trap OIDs.
To configure the settings for UPS Critical Event or Lost Communication traps:
99
SNMP Configuration
pcnsHttpPort read-only The port that is used to connect to the PowerChute web
user interface.
pcnsHttpsPort read-only The port that is used to connect via https to the PowerChute
web user interface.
100
PowerChute Network Shutdown: VMware User Guide
pcnsNMCPort read-only The port used to connect to all of the Network Management
Card(s).
pcnsNMCProtocol read-only The web protocol used to connect to all of the Network
Management Card(s).
NMC details are contained in an SNMP table named pcnsNmcTable. Each table entry contains:
pcnsNMCIndex read-only The Index of the NMC within the PowerChute setup.
pcnsTurnOffSOG* read- The setting to turn off the Outlet Group of the
write UPS when performing a graceful shutdown.
101
SNMP Configuration
* Note: These OIDs are not available for Advanced UPS Setups. See below for equivalent OIDs for
Advanced UPS Setups.
PowerChute Events
The table below details the OID Names of the Configurable Events that can be configured via SNMP, and the
names of the Events as seen in the PowerChute User Interface.
102
PowerChute Network Shutdown: VMware User Guide
103
SNMP Configuration
pcnsContactFaultX
Contact Zone X Alarm
104
PowerChute Network Shutdown: VMware User Guide
[event name]Desc
read- The description of the event.
only
[event
read- Enable or disable logging to the event log for this event.
name]EnableLogging
write
[event
name]EnableCommandFile read- Enable or disable command file execution for this event.
write
[event
name]CommandFilePath read- Specify a Command File and full path to be executed upon
write this event.
[event
read- The number of seconds that a host requires to shut down,
name]CommandFileDelay
write before the command file is executed.
[event
name]EnableShutdown read-write Perform a graceful shutdown of
the host when this event occurs.
[event name]ShutdownDelay
read-write The amount of time in seconds
that PowerChute should wait
before initiating the shutdown
process.
105
SNMP Configuration
PowerChute Traps
The table below details the OID Names of the SNMP traps sent by PowerChute for critical and lost communication
events.
pcnsCriticalEventResolved Informational The PowerChute Network Shutdown critical event has been
resolved, and graceful shutdown of the host continues.
pcnsNMCComsLostResolved Informational The NMC has regained communication with the UPS.
Other Events
106
PowerChute Network Shutdown: VMware User Guide
Event Configuration
When UPS events occur, PowerChute can be configured to log the event, notify users, execute a command file or
initiate a system shutdown through the Configure Events screen.
The symbol indicates that the action is enabled for this event while the symbol indicates that the action is
not enabled.
107
Event Configuration
Notifications
PowerChute can send a message to one user or all logged-in users when an event occurs:
Notify all users: For Windows, the message will be sent to all users who are on the same network. For Linux or
Unix, all users who are logged onto the server with a terminal prompt open will be notified.
Notify only this user: On Windows, enter the machine name. On Linux or Unix systems, enter the user name. The
user will still need to be logged onto the server with a terminal prompt open to be notified.
Repeat Interval: The time interval, in seconds, at which the message will be repeated while the event condition
exists. If this field is blank or zero, the message will not be repeated.
Delay (if required): Enter the amount of time in seconds that PowerChute should wait after the event occurs
before notifying users. Users will be notified immediately if a shutdown event is triggered.
For Windows operating systems, PowerChute can only send notifications if the operating system
supports the messenger service. If not supported, there is no option displayed in the UI. See
Knowledge Base article FA169440 for more information. (If you have difficulty with this link,
enter "FA169440" at https://www.apc.com/us/en/faqs/home/).
108
PowerChute Network Shutdown: VMware User Guide
Delay: Enter the amount of time in seconds that PowerChute should wait when the event occurs before executing
the command file.
If a shutdown command file is also configured, both command files will be executed in parallel.
Full path to command file: You must specify the full path name of the command file, including the disk drive
or volume name.
The command file runs using the local system account. PowerChute cannot execute programs that require
interaction with the desktop; only command line-enabled programs are supported.
The command file must be located in the user_files folder, or a sub-folder, in the PowerChute installation
directory. If the default installation directory was chosen during installation, this location will be:
NOTE: If you are upgrading to PowerChute v4.4, any command files used in a previous version of
PowerChute must be manually added to the user_files folder. If the command files are not added to the
directory, you will see the below errors/warnings for all events configured to run a command file in the
Event Log. For example:
109
Event Configuration
Shutdown Actions
When the Shutdown Action is enabled for an event, PowerChute treats the event as critical and will trigger a
shutdown sequence. Shutdown is not supported for all events: this is indicated by the presence or absence of an
icon on the event row.
The Delay field is the amount of time in seconds that PowerChute should wait before initiating the shutdown
sequence. By default, the On Battery event has a delay of 120 seconds, whereas the default for all other events is
0 seconds.
By default, PowerChute will only trigger a shutdown sequence if a low battery condition occurs or the UPS is
commanded to turn off. Shutdown cannot be disabled for these events using the PowerChute user interface.
110
PowerChute Network Shutdown: VMware User Guide
Sequenced Server Shutdown
The Runtime Remaining below Threshold event can be used to sequence the order that your servers shut down
during an extended power outage.
This is useful if you have multiple servers powered by the same UPS and you want to extend the runtime for your
higher priority servers. It also ensures that lower priority servers are the first to be shut down.
This event will trigger a server shutdown command when the UPS is running on battery power and the runtime has
dropped below the threshold configured. You can also configure a command file to execute before shutdown
occurs by specifying a higher runtime threshold value for the Run Command File event action.
Example
1. You have 3 servers powered by the same UPS. Your lower priority server is Server C while you want to
keep Server A running as long as possible.
2. You want Server A to shut down when the UPS protecting it has 10 minutes runtime remaining.
3. You want Server B to shut down when the UPS protecting it has 15 minutes runtime remaining.
4. You want Server C to shut down when the UPS protecting it has 20 minutes runtime remaining.
o Server A – 10 minutes
o Server B - 15 minutes
o Server C - 20 minutes
6. Each server is shut down when the runtime remaining drops below the threshold configured.
111
Sample Shutdown Scenarios
The following scenarios provide examples of how PowerChute and the UPS behave when a shutdown sequence is
triggered.
112
PowerChute Network Shutdown: VMware User Guide
PowerChute is installed on a physical machine outside the cluster, configured for a Single/Redundant UPS
configuration with several VMware Hosts in a HA cluster. The option to Turn off the UPS is enabled on the
Shutdown Settings page. No shutdown command file is configured. Host Maintenance Mode is disabled. VM/ vApp
Shutdown is enabled with 240 second delay configured.
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
These are shown on the Configuration - Shutdown page in the NMC interface.
7. After this delay, a further non-configurable two minute delay is counted down.
8. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 7) starts to count down.
113
Sample Shutdown Scenarios
Example 2: Turn off the UPS enabled, shutdown command file configured.
PowerChute is installed on a physical machine outside the cluster, and configured for a Single/Redundant UPS
configuration with several VMware Hosts in a HA cluster. The option to Turn off the UPS is enabled on the
Shutdown Settings page. A shutdown command file is configured. Host Maintenance Mode is disabled. VM/ vApp
Shutdown is enabled with 240 second delay configured.
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
These are shown on the Configuration - Shutdown page in the NMC interface.
8. After this delay, a further non-configurable two minute delay is counted down.
9. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 8) starts to count down.
114
PowerChute Network Shutdown: VMware User Guide
Example 3: Turn off the UPS enabled, shutdown command file configured, Execute
Command File after Host Shutdown enabled.
PowerChute is installed on a physical machine outside the cluster, and configured for a Single/Redundant UPS
configuration with several VMware Hosts in a HA cluster. The option to Turn off the UPS is enabled on the
Shutdown Settings page. A shutdown command file is configured. Execute Command File after Host Shutdown is
enabled, with a delay of 30 seconds applied. Host Maintenance Mode is disabled. VM/ vApp Shutdown is enabled
with 240 second delay configured.
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
These are shown on the Configuration - Shutdown page in the NMC interface.
8. After this delay, a further non-configurable two minute delay is counted down.
9. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
115
Sample Shutdown Scenarios
PowerChute is installed on a physical machine outside the cluster, configured for a Single/Redundant UPS
configuration with several VMware Hosts in a HA cluster. The option to Turn off the Outlet Group is enabled on the
Shutdown settings page. No Shutdown command file is configured. Host Maintenance Mode is disabled. VM/ vApp
Shutdown is enabled with 240 second delay configured.
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
116
PowerChute Network Shutdown: VMware User Guide
Example 2: Turn off the Outlet Group enabled, shutdown command file configured.
PowerChute is installed on a physical machine outside the cluster, configured for a Single/Redundant UPS
configuration with several VMware Hosts in a HA cluster. The option to Turn off the Outlet Group is enabled on the
Shutdown settings page. A shutdown command file is configured. Host Maintenance Mode is disabled. VM/ vApp
Shutdown is enabled with 240 second delay configured.
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute sends a command to
turn off the outlet group and the outlet group turnoff starts.
3. PowerChute starts a Maintenance mode task on the VMware Hosts and starts to shut down VMs and vApps.
4. After 4 minutes (VM/vApp Shutdown Duration = 240), PowerChute starts to execute the shutdown command
file.
5. VMware Hosts enter Maintenance mode if all VMs are powered off, otherwise the Maintenance mode task is
cancelled. After the duration configured for the shutdown command file has elapsed, PowerChute issues
commands to shut down the VMware hosts.
6. An additional 70 second delay is counted down before the operating system starts to shut down.
7. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet groups to turn off
before the Main Outlet Group turn off starts.
• If registered with a Switched Outlet Group only that delay is counted down.
It is recommended that the outlet group Power Off delay is configured to allow enough time for the shutdown
command file and the operating system shutdown to complete. You should allow extra time to ensure that the outlet
group does not turn off before the operating system.
117
Sample Shutdown Scenarios
Example 3: Turn off the Outlet Group enabled, shutdown command file configured,
Execute Command File after Host Shutdown enabled.
PowerChute is installed on a physical machine outside the cluster, configured for a Single/Redundant UPS
configuration with several VMware Hosts in a HA cluster. The option to Turn off the Outlet Group is enabled on the
Shutdown settings page. A shutdown command file is configured. Execute Command File after Host Shutdown is
enabled, with a delay of 30 seconds applied. Host Maintenance Mode is disabled. VM/ vApp Shutdown is enabled
with 240 second delay configured.
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute sends a command to
turn off the outlet group and the outlet group turnoff starts.
3. PowerChute starts a Maintenance mode task on the VMware Hosts and starts to shut down VMs and vApps.
4. After 4 minutes (VM/vApp Shutdown Duration = 240), VMware Hosts enter Maintenance mode if all VMs are
powered off, otherwise the Maintenance mode task is cancelled. PowerChute issues commands to shut down
the VMware hosts.
5. Following the 30 second delay configured for the Execute Command File after Host Shutdown option,
PowerChute starts to execute the shutdown command file.
6. After the duration configured for the shutdown command file has elapsed, an additional 70 second delay is
counted down before the operating system starts to shut down.
7. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet groups to turn off
before the Main Outlet Group turn off starts.
• If registered with a Switched Outlet Group only that delay is counted down.
It is recommended that the outlet group Power Off delay is configured to allow enough time for the shutdown
command file and the operating system shutdown to complete. You should allow extra time to ensure that the outlet
group does not turn off before the operating system.
118
PowerChute Network Shutdown: VMware User Guide
By default, the outlet group Power Off Delay will be the same value as the Low Battery duration configured on the
NMC. PowerChute will automatically increase the Power Off Delay for the outlet group it is registered with, if the
total shutdown time it needs is greater than the Power Off Delay.
• VM Migration delay
• Built-in delay of 2 minutes (this consists of a 10 second OS shutdown delay and a 60 second OS shutdown
duration; rounded up)
In a non-Advanced configuration, the total will equal the number of protected hosts multiplied by
the Delay Host Maintenance Mode value.
In an Advanced configuration, the total will equal the number of protected hosts multiplied by the
Delay Host Maintenance Mode value multiplied by the number of groups containing hosts.
In an Advanced configuration, the total will equal the vSAN Synchronization Duration value
multiplied by the number of groups containing hosts.
The time required to gracefully shut down your operating system is not covered by the total
shutdown time, as PowerChute cannot determine how long it will take to complete.
The Power Off Delay for the outlet group should be long enough for the OS to gracefully shut
down. You should add extra time to allow for unforeseen circumstances.
The Low Battery Duration set on the NMC should be equal to or greater than the Power Off Delay
for the outlet group.
119
Sample Shutdown Scenarios
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the UPS is enabled on the Shutdown Settings page,
Delay Host Maintenance Mode is enabled on the Virtualization Settings page. VM Prioritization is enabled and the
vCenter Sever Appliance VM is added to a priority group. No shutdown command file or SSH action configured.
The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Delay), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Delay), PowerChute shuts down Acropolis File Services and the AFS
VMs.
6. After 60 seconds (AFS Shutdown Delay), PowerChute aborts any ongoing VM replications. If enabled in the
Protection Domain Settings page, Metro Availability will also be disabled on your Cluster.
7. After 80 seconds (Abort Active Replications Duration), PowerChute shuts down the Nutanix Cluster.
8. After 60 seconds (Cluster Shutdown Delay), PowerChute issues a command to shut down the Controller VMs.
120
PowerChute Network Shutdown: VMware User Guide
9. After 120 seconds (Controller VM Shutdown Delay), the VMware Hosts enter maintenance mode and are shut
down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay
between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds).
10. After a 70 second delay, the operating system on the physical machine running PowerChute starts to shut
down.
11. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
These are shown on the Configuration - Shutdown page in the NMC interface.
12. After this delay, a further non-configurable two minute delay is counted down.
13. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 12) starts to count down.
Example 2: Turn off the UPS enabled, VM migration disabled, ongoing replication abort
delay enabled, shutdown command file configured.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the UPS is enabled on the Shutdown Settings page,
Delay Host Maintenance Mode is enabled on the Virtualization Settings page. VM Prioritization is enabled and the
vCenter Sever Appliance VM is added to a priority group. A shutdown command file is configured. The durations in
this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
121
Sample Shutdown Scenarios
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Duration), PowerChute shuts down Acropolis File Services and the AFS
VMs.
6. After 60 seconds (AFS Shutdown Duration), PowerChute aborts any ongoing VM replications. If enabled in the
Protection Domain Settings page, Metro Availability will also be disabled on your Cluster.
7. After 80 seconds (Abort Ongoing Replications Duration), PowerChute shuts down the Nutanix Cluster.
8. After 60 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
9. After 120 seconds (Controller VM Shutdown Delay), PowerChute starts to execute the shutdown command
file.
10. After the delay configured for the command file has elapsed. the VMware Hosts enter maintenance mode and
are shut down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The
delay between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30
seconds).
11. After a 70 second delay, the operating system on the physical machine running PowerChute starts to shut
down.
12. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
These are shown on the Configuration - Shutdown page in the NMC interface.
13. After this delay, a further non-configurable two minute delay is counted down.
14. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 13) starts to count down.
Example 3: Turn off the UPS enabled, shutdown command file configured, Execute
Command File after Host Shutdown enabled.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the UPS is enabled on the Shutdown Settings page,
Delay Host Maintenance Mode is enabled on the Virtualization Settings page. VM Prioritization is enabled and the
vCenter Sever Appliance VM is added to a priority group. A shutdown command file is configured. Execute
Command File after Host Shutdown is enabled, with a delay of 30 seconds applied. The durations in this example
are as follows:
122
PowerChute Network Shutdown: VMware User Guide
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Duration), PowerChute shuts down Acropolis File Services and the AFS
VMs.
6. After 60 seconds (AFS Shutdown Duration), PowerChute aborts any ongoing VM replications. If enabled in the
Protection Domain Settings page, Metro Availability will also be disabled on your Cluster.
7. After 80 seconds (Abort Active Replications Duration), PowerChute shuts down the Nutanix Cluster.
8. After 60 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down Controller VMs.
9. After 120 seconds (Controller VM Shutdown Duration), the VMware Hosts enter maintenance mode and are
shut down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The
delay between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30
seconds).
10. Following the 30 second delay configured for the Execute Command File after Host Shutdown option,
PowerChute starts to execute the shutdown command file.
11. After the duration configured for the shutdown command file has elapsed, the OS Shutdown Command is
issued and an additional 70 second delay is counted down before the operating system on the physical
machine running PowerChute starts to shut down.
12. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
123
Sample Shutdown Scenarios
These are shown on the Configuration - Shutdown page in the NMC interface.
13. After this delay, a further non-configurable two minute delay is counted down.
14. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
124
PowerChute Network Shutdown: VMware User Guide
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the Outlet Group is enabled on the Shutdown
Settings page, Delay Host Maintenance Mode is enabled on the Virtualization Settings page. VM Prioritization is
enabled and the vCenter Sever Appliance VM is added to a priority group. No shutdown command file or SSH
action configured. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Duration), PowerChute shuts down Acropolis File Services and the AFS
VMs.
6. After 60 seconds (AFS Shutdown Duration), PowerChute aborts any ongoing VM replications. If enabled in the
Protection Domain Settings page, Metro Availability will also be disabled on your Cluster.
7. After 80 seconds (Abort Active Replications Duration), PowerChute shuts down the Nutanix Cluster.
8. After 60 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
125
Sample Shutdown Scenarios
9. After 120 seconds (Controller VM Shutdown Duration), the VMware Hosts enter maintenance mode and are
shut down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The
delay between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30
seconds).
11. After a 70 second delay, the operating system on the physical machine running PowerChute starts to shut
down.
12. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off before
the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 2: Turn off the Outlet Group enabled, shutdown command file configured.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the Outlet Group is enabled on the Shutdown
Settings page, Delay Host Maintenance Mode is enabled on the Virtualization Settings page. VM Prioritization is
enabled and the vCenter Sever Appliance VM is added to a priority group. A shutdown command file is configured.
The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
126
PowerChute Network Shutdown: VMware User Guide
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Duration), PowerChute shuts down Acropolis File Services and the AFS
VMs.
6. After 60 seconds (AFS Shutdown Duration), PowerChute aborts any ongoing VM replications. If enabled in the
Protection Domain Settings page, Metro Availability will also be disabled on your Cluster.
7. After 80 seconds (Abort Active Replications Duration), PowerChute shuts down the Nutanix Cluster.
8. After 60 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
9. After 120 seconds (Controller VM Shutdown Duration), PowerChute starts to execute the shutdown command
file.
10. The VMware Hosts enter maintenance mode and are shut down sequentially if all VMs are powered off,
otherwise the maintenance mode task is cancelled. The delay between placing each host into maintenance
mode is the value set for Delay Maintenance Mode (30 seconds).
11. An additional 70 second delay is counted down before the operating system starts to shut down.
12. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off
before the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 3: Turn off the Outlet Group enabled, shutdown command file configured,
Execute Command File after Host Shutdown enabled.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the Outlet Group is enabled on the Shutdown
Settings page, Delay Host Maintenance Mode is enabled on the Virtualization Settings page. VM Prioritization is
enabled and the vCenter Sever Appliance VM is added to a priority group. A shutdown command file is configured.
Execute Command File after Host Shutdown is enabled, with a delay of 30 seconds applied. The durations in this
example are as follows:
127
Sample Shutdown Scenarios
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Duration), PowerChute shuts down Acropolis File Services and the AFS
VMs.
6. After 60 seconds (AFS Shutdown Duration), PowerChute aborts any ongoing VM replications. If enabled in the
Protection Domain Settings page, Metro Availability will also be disabled on your Cluster.
7. After 80 seconds (Abort Active Replications Duration), PowerChute shuts down the Nutanix Cluster.
8. After 60 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
9. After 120 seconds (Controller VM Shutdown Duration), the VMware Hosts enter maintenance mode and are
shut down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The
delay between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30
seconds).
10. Following the 30 second delay configured for the Execute Command File after Host Shutdown option,
PowerChute starts to execute the shutdown command file.
11. After the duration configured for the shutdown command file has elapsed, an additional 70 second delay is
counted down before the operating system starts to shut down.
12. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off
before the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
128
PowerChute Network Shutdown: VMware User Guide
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
By default, the outlet group Power Off Delay will be the same value as the Low Battery duration configured on the
NMC. PowerChute will automatically increase the Power Off Delay for the outlet group it is registered with, if the
total shutdown time it needs is greater than the Power Off Delay.
• VM Migration Duration
• Built-in delay of 2 minutes (this consists of a 10 second OS shutdown delay and a 60 second OS shutdown
duration; rounded up)
The time required to gracefully shut down your operating system is not covered by the total
shutdown time, as PowerChute cannot determine how long it will take to complete.
The Power Off Delay for the outlet group should be long enough for the OS to gracefully shut
down. You should add extra time to allow for unforeseen circumstances.
The Low Battery Duration set on the NMC should be equal to or greater than the Power Off Delay
for the outlet group.
129
Sample Shutdown Scenarios
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the UPS is enabled on the Shutdown Settings page,
Delay Host Maintenance Mode is enabled on the Virtualization Settings page. No shutdown command file or SSH
action configured. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Delay), PowerChute shuts down the HPE SimpliVity OmniStack Virtual
Controller.
5. After 120 seconds (OVC Shutdown Delay), the VMware Hosts enter maintenance mode and are shut down
sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay between
placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds).
6. After a 70 second delay, the operating system on the physical machine running PowerChute starts to shut
down.
7. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
130
PowerChute Network Shutdown: VMware User Guide
These are shown on the Configuration - Shutdown page in the NMC interface.
8. After this delay, a further non-configurable two minute delay is counted down.
9. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 8) starts to count down.
Example 1b: Turn off the UPS enabled, no shutdown command file or SSH action
configured, internal vCenter Server Appliance, PowerChute deployed on VM.
PowerChute is deployed as VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an internal vCenter Server Appliance. The option to
Turn off the UPS is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled on the
Virtualization Settings page. No shutdown command file or SSH action configured. The durations in this example
are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Delay), PowerChute shuts down the vCenter Server Appliance.
131
Sample Shutdown Scenarios
5. After 240 seconds (vCSA Shutdown Delay), PowerChute issues a command to shut down the OmniStack
Virtual Controller VMs.
6. After 120 seconds (OVC Shutdown Delay), the VMware Hosts enter maintenance mode and are shut down
sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay between
placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds). The
PowerChute host is powered off last.
7. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
8. After this delay, a further non-configurable two minute delay is counted down.
9. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 8) starts to count down.
Example 2a: Turn off the UPS enabled, shutdown command file configured, external
vCenter Server Appliance, PowerChute on physical Windows machine.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the UPS is enabled on the Shutdown Settings page,
Delay Host Maintenance Mode is enabled on the Virtualization Settings page. A shutdown command file is
configured. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the HPE SimpliVity OmniStack Virtual
Controller.
5. After 120 seconds (OVC Shutdown Delay), PowerChute starts to execute the shutdown command file.
6. After the delay configured for the command file has elapsed, the VMware Hosts enter maintenance mode and
are shut down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The
delay between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30
seconds).
7. After a 70 second delay, the operating system on the physical machine running PowerChute starts to shut
down.
8. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
These are shown on the Configuration - Shutdown page in the NMC interface.
9. After this delay, a further non-configurable two minute delay is counted down.
10. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 9) starts to count down.
Example 2b: Turn off the UPS enabled, shutdown command file configured, internal
vCenter Server Appliance, PowerChute deployed on VM.
PowerChute is installed as a VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an internal vCenter Server Appliance. The option to
Turn off the UPS is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled on the
Virtualization Settings page. A shutdown command file is configured. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
133
Sample Shutdown Scenarios
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Duration), PowerChute shuts down the HPE SimpliVity OmniStack Virtual
Controller.
6. After 120 seconds (OVC Shutdown Delay), PowerChute starts to execute the shutdown command file.
7. After the delay configured for the command file has elapsed, the VMware Hosts enter maintenance mode and
are shut down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The
delay between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30
seconds). The PowerChute host is powered off last.
8. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
These are shown on the Configuration - Shutdown page in the NMC interface.
9. After this delay, a further non-configurable two minute delay is counted down.
10. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 9) starts to count down.
Example 3a: Turn off the UPS enabled, shutdown command file configured, Execute
Command File after Host Shutdown enabled, external vCenter Server Appliance,
PowerChute on physical Windows machine.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the UPS is enabled on the Shutdown Settings page,
Delay Host Maintenance Mode is enabled on the Virtualization Settings page. A shutdown command file is
134
PowerChute Network Shutdown: VMware User Guide
configured. Execute Command File after Host Shutdown is enabled, with a delay of 30 seconds applied. The
durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the HPE SimpliVity OmniStack Virtual
Controller.
5. After 120 seconds (OVC Shutdown Delay), the VMware Hosts enter maintenance mode and are shut down
sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay between
placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds).
6. Following the 30 second delay configured for the Execute Command File after Host Shutdown option,
PowerChute starts to execute the shutdown command file.
7. After the duration configured for the shutdown command file has elapsed, the OS Shutdown Command is
issued and an additional 70 second delay is counted down before the operating system on the physical
machine running PowerChute starts to shut down.
8. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
These are shown on the Configuration - Shutdown page in the NMC interface.
9. After this delay, a further non-configurable two minute delay is counted down.
135
Sample Shutdown Scenarios
10. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
Example 3b: Turn off the UPS enabled, SSH action configured, Execute Command File
after Host Shutdown enabled, internal vCenter Server Appliance, PowerChute deployed
on VM.
PowerChute is installed as a VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an internal vCenter Server Appliance. The option to
Turn off the UPS is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled on the
Virtualization Settings page. A SSH action is configured to execute before host shutdown, with a delay of 30
seconds applied. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Delay), PowerChute shuts down the HPE SimpliVity OmniStack Virtual
Controller.
6. After 120 seconds (OVC Shutdown Delay), PowerChute waits the 30 second delay configured for Execute
SSH Action before Host Shutdown, and starts to execute the SSH action.
7. VMware Hosts enter maintenance mode and are shut down sequentially if all VMs are powered off, otherwise
the maintenance mode task is cancelled. The delay between placing each host into maintenance mode is the
value set for Delay Maintenance Mode (30 seconds). The PowerChute host is powered off last.
136
PowerChute Network Shutdown: VMware User Guide
8. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
These are shown on the Configuration - Shutdown page in the NMC interface.
9. After this delay, a further non-configurable two minute delay is counted down.
10. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
137
Sample Shutdown Scenarios
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the Outlet Group is enabled on the Shutdown
Settings page, Delay Host Maintenance Mode is enabled on the Virtualization Settings page. No shutdown
command file or SSH action configured. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the HPE SimpliVity OmniStack Virtual
Controller.
5. After 120 seconds (OVC Shutdown Delay), the VMware Hosts enter maintenance mode and are shut down
sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay between
placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds).
7. After a 70 second delay, the operating system on the physical machine running PowerChute starts to shut
down.
138
PowerChute Network Shutdown: VMware User Guide
8. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off before
the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 1b: Turn off the Outlet Group enabled, no shutdown command file or SSH
action configured, internal vCenter Server Appliance, PowerChute deployed on VM.
PowerChute is installed as a VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an internal vCenter Server Appliance. The option to
Turn off the Outlet Group is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled
on the Virtualization Settings page. No shutdown command file or SSH action configured. The durations in this
example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
139
Sample Shutdown Scenarios
5. After 240 seconds (vCSA Shutdown Delay), PowerChute shuts down the HPE SimpliVity OmniStack Virtual
Controller.
6. After 120 seconds (OVC Shutdown Delay), the VMware Hosts enter maintenance mode and are shut down
sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay between
placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds). The
PowerChute host is powered off last.
7. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off before
the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 2a: Turn off the Outlet Group enabled, shutdown command file configured,
external vCenter Server Appliance, PowerChute on physical Windows machine.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the Outlet Group is enabled on the Shutdown
Settings page, Delay Host Maintenance Mode is enabled on the Virtualization Settings page. A shutdown
command file is configured. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
140
PowerChute Network Shutdown: VMware User Guide
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the HPE SimpliVity OmniStack Virtual
Controller.
5. After 120 seconds (OVC Shutdown Delay), PowerChute starts to execute the shutdown command file.
6. The VMware Hosts enter maintenance mode and are shut down sequentially if all VMs are powered off,
otherwise the maintenance mode task is cancelled. The delay between placing each host into maintenance
mode is the value set for Delay Maintenance Mode (30 seconds).
7. An additional 70 second delay is counted down before the operating system starts to shut down.
8. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off
before the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 2b: Turn off the Outlet Group enabled, shutdown command file configured,
internal vCenter Server Appliance, PowerChute deployed on VM.
PowerChute is installed as a VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an internal vCenter Server Appliance. The option to
Turn off the Outlet Group is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled
on
141
Sample Shutdown Scenarios
the Virtualization Settings page. A shutdown command file is configured. The durations in this example are as
follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Delay), PowerChute shuts down the HPE SimpliVity OmniStack Virtual
Controller.
6. After 120 seconds (OVC Shutdown Delay), PowerChute starts to execute the shutdown command file.
7. The VMware Hosts enter maintenance mode and are shut down sequentially if all VMs are powered off,
otherwise the maintenance mode task is cancelled. The delay between placing each host into maintenance
mode is the value set for Delay Maintenance Mode (30 seconds). The PowerChute host is powered off last.
8. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off
before the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
142
PowerChute Network Shutdown: VMware User Guide
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 3a: Turn off the Outlet Group enabled, shutdown command file configured,
Execute Command File after Host Shutdown enabled, external vCenter Server Appliance,
PowerChute on physical Windows machine.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the Outlet Group is enabled on the Shutdown
Settings page, Delay Host Maintenance Mode is enabled on the Virtualization Settings page. A shutdown
command file is configured. Execute Command File after Host Shutdown is enabled, with a delay of 30 seconds
applied. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the HPE SimpliVity OmniStack Virtual
Controller.
5. After 120 seconds (OVC Shutdown Delay), the VMware Hosts enter maintenance mode and are shut down
sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay between
placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds).
6. Following the 30 second delay configured for the Execute Command File after Host Shutdown option,
PowerChute starts to execute the shutdown command file.
143
Sample Shutdown Scenarios
7. After the duration configured for the shutdown command file has elapsed, an additional 70 second delay is
counted down before the operating system starts to shut down.
8. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off
before the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 3b: Turn off the Outlet Group enabled, SSH action configured, internal vCenter
Server Appliance, PowerChute deployed on VM.
PowerChute is installed as a VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an internal vCenter Server Appliance. The option to
Turn off the Outlet Group is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled on
the Virtualization Settings page. A shutdown command file is configured. A SSH action is configured to execute
before host shutdown, with a delay of 30 seconds applied. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
144
PowerChute Network Shutdown: VMware User Guide
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Delay), PowerChute shuts down the HPE SimpliVity OmniStack Virtual
Controller.
6. After 120 seconds (OVC Shutdown Delay), PowerChute waits the 30 second delay configured for Execute
SSH Action before Host Shutdown, and starts to execute the SSH action.
7. The VMware Hosts enter maintenance mode and are shut down sequentially if all VMs are powered off,
otherwise the maintenance mode task is cancelled. The delay between placing each host into maintenance
mode is the value set for Delay Maintenance Mode (30 seconds). The PowerChute host is powered off last.
8. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off
before the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
By default, the outlet group Power Off Delay will be the same value as the Low Battery duration configured on the
NMC. PowerChute will automatically increase the Power Off Delay for the outlet group it is registered with, if the
total shutdown time it needs is greater than the Power Off Delay.
• Built-in delay of 2 minutes (this consists of a 10 second OS shutdown delay and a 60 second OS shutdown
duration; rounded up)
The time required to gracefully shut down your operating system is not covered by the total
shutdown time, as PowerChute cannot determine how long it will take to complete.
The Power Off Delay for the outlet group should be long enough for the OS to gracefully shut
down. You should add extra time to allow for unforeseen circumstances.
145
Sample Shutdown Scenarios
The Low Battery Duration set on the NMC should be equal to or greater than the Power Off Delay
for the outlet group.
146
PowerChute Network Shutdown: VMware User Guide
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the UPS is enabled on the Shutdown Settings page,
Delay Host Maintenance Mode is enabled on the Virtualization Settings page. No shutdown command file or SSH
action configured. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Delay), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Delay), PowerChute shuts down the HyperFlex Cluster.
6. After 180 seconds (Cluster Shutdown Delay), PowerChute issues a command to shut down the Controller
VMs.
7. After 120 seconds (Controller VM Shutdown Delay), the VMware Hosts enter maintenance mode and are shut
down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay
between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds).
8. After a 70 second delay, the operating system on the physical machine running PowerChute starts to shut
down.
9. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
147
Sample Shutdown Scenarios
10. After this delay, a further non-configurable two minute delay is counted down.
11. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 10) starts to count down.
Example 1b: Turn off the UPS enabled, no shutdown command file or SSH action
configured, external vCenter Server Appliance, PowerChute deployed on VM.
PowerChute is deployed as VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an external vCenter Server Appliance. The option to
Turn off the UPS is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled on the
Virtualization Settings page. No shutdown command file or SSH action configured. The durations in this example
are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Delay), PowerChute shuts down the HyperFlex Cluster.
5. After 180 seconds (Cluster Shutdown Delay), PowerChute issues a command to shut down the Controller
VMs.
148
PowerChute Network Shutdown: VMware User Guide
6. After 120 seconds (Controller VM Shutdown Delay), the VMware Hosts enter maintenance mode and are shut
down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay
between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds).
The PowerChute host is powered off last.
7. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
8. After this delay, a further non-configurable two minute delay is counted down.
9. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 8) starts to count down.
Example 2a: Turn off the UPS enabled, shutdown command file configured, internal
vCenter Server Appliance, PowerChute on physical Windows machine.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the UPS is enabled on the Shutdown Settings page,
Delay Host Maintenance Mode is enabled on the Virtualization Settings page. A shutdown command file is
configured. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
149
Sample Shutdown Scenarios
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Duration), PowerChute shuts down the HyperFlex Cluster.
6. After 180 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
7. After 120 seconds (Controller VM Shutdown Delay), PowerChute starts to execute the shutdown command
file.
8. After the delay configured for the command file has elapsed, the VMware Hosts enter maintenance mode and
are shut down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The
delay between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30
seconds).
9. After a 70 second delay, the operating system on the physical machine running PowerChute starts to shut
down.
10. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
11. After this delay, a further non-configurable two minute delay is counted down.
12. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 11) starts to count down.
Example 2b: Turn off the UPS enabled, shutdown command file configured, external
vCenter Server Appliance, PowerChute deployed on VM.
PowerChute is deployed as VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an external vCenter Server Appliance. The option to
Turn off the UPS is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled on the
Virtualization Settings page. A shutdown command file is configured. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
150
PowerChute Network Shutdown: VMware User Guide
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the HyperFlex Cluster.
5. After 180 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
6. After 120 seconds (Controller VM Shutdown Delay), PowerChute starts to execute the shutdown command
file.
7. After the delay configured for the command file has elapsed, the VMware Hosts enter maintenance mode and
are shut down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The
delay between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30
seconds). The PowerChute host is powered off last.
8. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
9. After this delay, a further non-configurable two minute delay is counted down.
10. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
It is recommended that the Low Battery Duration is configured to allow enough time for the Operating System
shutdown to complete. Ideally the operating system should have shut down before the non-configurable two minute
delay (step 9) starts to count down.
Example 3a: Turn off the UPS enabled, shutdown command file configured, Execute
Command File after Host Shutdown enabled, internal vCenter Server Appliance,
PowerChute on physical Windows machine.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the UPS is enabled on the Shutdown Settings page,
151
Sample Shutdown Scenarios
Delay Host Maintenance Mode is enabled on the Virtualization Settings page. A shutdown command file is
configured. Execute Command File after Host Shutdown is enabled, with a delay of 30 seconds applied. The
durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Duration), PowerChute shuts down the HyperFlex Cluster.
6. After 180 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down Controller VMs.
7. After 120 seconds (Controller VM Shutdown Duration), the VMware Hosts enter maintenance mode and are
shut down sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The
delay between placing each host into maintenance mode is the value set for Delay Maintenance Mode (30
seconds).
8. Following the 30 second delay configured for the Execute Command File after Host Shutdown option,
PowerChute starts to execute the shutdown command file.
9. After the duration configured for the shutdown command file has elapsed, the OS Shutdown Command is
issued and an additional 70 second delay is counted down before the operating system on the physical
machine running PowerChute starts to shut down.
10. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
11. After this delay, a further non-configurable two minute delay is counted down.
152
PowerChute Network Shutdown: VMware User Guide
12. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
Example 3b: Turn off the UPS enabled, SSH action configured, external vCenter Server
Appliance, PowerChute deployed on VM.
PowerChute is deployed as VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an external vCenter Server Appliance. The option to
Turn off the UPS is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled on the
Virtualization Settings page. A SSH action is configured to execute before host shutdown, with a delay of 30
seconds applied. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the UPS. UPS turnoff starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the HyperFlex Cluster.
5. After 180 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down Controller VMs.
6. After 120 seconds (Controller VM Shutdown Duration), PowerChute waits the 30 second delay configured for
Execute SSH Action before Host Shutdown, and starts to execute the SSH action.
7. VMware Hosts enter maintenance mode and are shut down sequentially if all VMs are powered off, otherwise
the maintenance mode task is cancelled. The delay between placing each host into maintenance mode is the
value set for Delay Maintenance Mode (30 seconds). The PowerChute host is powered off last.
8. The UPS will wait the amount of time indicated by one of the following, whichever is greater:
153
Sample Shutdown Scenarios
9. After this delay, a further non-configurable two minute delay is counted down.
10. The UPS will then turn off after the user-configurable Shutdown Delay time has elapsed.
This is configurable on the Configuration - Shutdown page in the NMC user interface.
154
PowerChute Network Shutdown: VMware User Guide
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the Outlet Group is enabled on the Shutdown
Settings page, Delay Host Maintenance Mode is enabled on the Virtualization Settings page. No shutdown
command file or SSH action configured. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Duration), PowerChute shuts down the HyperFlex Cluster.
6. After 180 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
7. After 120 seconds (CVM Shutdown Duration), the VMware Hosts enter maintenance mode and are shut down
sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay between
placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds).
9. After a 70 second delay, the operating system on the physical machine running PowerChute starts to shut
down.
155
Sample Shutdown Scenarios
10. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off before
the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 1b: Turn off the Outlet Group enabled, no shutdown command file or SSH
action configured, external vCenter Server Appliance, PowerChute deployed on VM.
PowerChute is deployed as VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an external vCenter Server Appliance. The option to
Turn off the Outlet Group is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled on
the Virtualization Settings page. No shutdown command file or SSH action configured. The durations in this
example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the HyperFlex Cluster.
156
PowerChute Network Shutdown: VMware User Guide
5. After 180 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
6. After 120 seconds (CVM Shutdown Duration), the VMware Hosts enter maintenance mode and are shut down
sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay between
placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds). The
PowerChute host is powered off last.
7. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off before
the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 2a: Turn off the Outlet Group enabled, shutdown command file configured,
internal vCenter Server Appliance, PowerChute on physical Windows machine.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the Outlet Group is enabled on the Shutdown
Settings page, Delay Host Maintenance Mode is enabled on the Virtualization Settings page. A shutdown
command file is configured. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
157
Sample Shutdown Scenarios
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Duration), PowerChute shuts down the HyperFlex Cluster.
6. After 180 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
7. After 120 seconds (CVM Shutdown Duration), PowerChute starts to execute the shutdown command file.
8. The VMware Hosts enter maintenance mode and are shut down sequentially if all VMs are powered off,
otherwise the maintenance mode task is cancelled. The delay between placing each host into maintenance
mode is the value set for Delay Maintenance Mode (30 seconds).
9. An additional 70 second delay is counted down before the operating system starts to shut down.
10. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off
before the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 2b: Turn off the Outlet Group enabled, shutdown command file configured,
external vCenter Server Appliance, PowerChute deployed on VM.
PowerChute is deployed as VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an external vCenter Server Appliance. The option to
Turn off the Outlet Group is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled on
the Virtualization Settings page. A shutdown command file is configured. The durations in this example are as
follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
158
PowerChute Network Shutdown: VMware User Guide
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the HyperFlex Cluster.
5. After 180 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
6. After 120 seconds (CVM Shutdown Duration), PowerChute starts to execute the shutdown command file.
7. The VMware Hosts enter maintenance mode and are shut down sequentially if all VMs are powered off,
otherwise the maintenance mode task is cancelled. The delay between placing each host into maintenance
mode is the value set for Delay Maintenance Mode (30 seconds). The PowerChute host is powered off last.
8. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off
before the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 3a: Turn off the Outlet Group enabled, shutdown command file configured,
Execute Command File after Host Shutdown enabled, internal vCenter Server Appliance,
PowerChute on physical Windows machine.
PowerChute is installed on a physical machine outside the Cluster, configured for a Single/Redundant UPS
configuration with 2 nodes in a Cluster. The option to Turn off the Outlet Group is enabled on the Shutdown
Settings page, Delay Host Maintenance Mode is enabled on the Virtualization Settings page. A shutdown
159
Sample Shutdown Scenarios
command file is configured. Execute Command File after Host Shutdown is enabled, with a delay of 30 seconds
applied. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the vCenter Server Appliance.
5. After 240 seconds (vCSA Shutdown Duration), PowerChute shuts down the HyperFlex Cluster.
6. After 180 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
7. After 120 seconds (CVM Shutdown Duration), the VMware Hosts enter maintenance mode and are shut down
sequentially if all VMs are powered off, otherwise the maintenance mode task is cancelled. The delay between
placing each host into maintenance mode is the value set for Delay Maintenance Mode (30 seconds).
8. Following the 30 second delay configured for the Execute Command File after Host Shutdown option,
PowerChute starts to execute the shutdown command file.
9. After the duration configured for the shutdown command file has elapsed, an additional 70 second delay is
counted down before the operating system starts to shut down.
10. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off
before the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
160
PowerChute Network Shutdown: VMware User Guide
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
Example 3b: Turn off the Outlet Group enabled, SSH action configured, external vCenter
Server Appliance, PowerChute deployed on VM.
PowerChute is deployed as VM inside the Cluster, configured for a Single/Redundant UPS configuration with 2
nodes in a Cluster. HA is enabled on the Cluster and there is an external vCenter Server Appliance. The option to
Turn off the Outlet Group is enabled on the Shutdown Settings page, Delay Host Maintenance Mode is enabled on
the Virtualization Settings page. A SSH action is configured to execute before host shutdown, with a delay of 30
seconds applied. The durations in this example are as follows:
When a critical UPS event, such as On Battery occurs, the following sequence is triggered.
2. After the shutdown delay configured for the On Battery event has elapsed, PowerChute issues a command to
turn off the Outlet Group and the Outlet Group turn off starts.
4. After 2 minutes (VM/vApp Shutdown Duration), PowerChute shuts down the HyperFlex Cluster.
5. After 180 seconds (Cluster Shutdown Duration), PowerChute issues a command to shut down the Controller
VMs.
6. After 120 seconds (CVM Shutdown Duration), PowerChute waits the 30 second delay configured for Execute
SSH Action before Host Shutdown, and starts to execute the SSH action.
161
Sample Shutdown Scenarios
7. VMware Hosts enter maintenance mode and are shut down sequentially if all VMs are powered off, otherwise
the maintenance mode task is cancelled. The delay between placing each host into maintenance mode is the
value set for Delay Maintenance Mode (30 seconds). The PowerChute host is powered off last.
8. The Outlet Group will turn off after the Power Off Delay (configurable on the Configuration – Outlet Group
page in the NMC user interface) has elapsed.
• If registered with the Main Outlet Group, the UPS will wait for any Switched Outlet Groups to turn off
before the Main Outlet Group turnoff starts.
• If registered with a Switched Outlet Group, only that delay is counted down.
It is recommended that the Outlet Group Power Off Delay is configured to allow enough time for the operating
system shutdown to complete. You should allow extra time to ensure that the Outlet Group does not turn off before
the operating system.
By default, the outlet group Power Off Delay will be the same value as the Low Battery duration configured on the
NMC. PowerChute will automatically increase the Power Off Delay for the outlet group it is registered with, if the
total shutdown time it needs is greater than the Power Off Delay.
• Built-in delay of 2 minutes (this consists of a 10 second OS shutdown delay and a 60 second OS shutdown
duration; rounded up)
The time required to gracefully shut down your operating system is not covered by the total
shutdown time, as PowerChute cannot determine how long it will take to complete.
The Power Off Delay for the outlet group should be long enough for the OS to gracefully shut
down. You should add extra time to allow for unforeseen circumstances.
The Low Battery Duration set on the NMC should be equal to or greater than the Power Off Delay
for the outlet group.
162
PowerChute Network Shutdown: VMware User Guide
The following shutdown sequence occurs when the shutdown action is enabled for the On Battery event.
1. The UPS has been running on Battery power for x number of seconds.
2. PowerChute issues a command to turn off the UPS and UPS turnoff starts.
3. PowerChute starts a maintenance mode task on the VMware hosts and shuts down the VMs on VMware
hosts A and B.
6. After the shutdown command file duration has elapsed, PowerChute shuts down the VMware hosts.
163
Sample Shutdown Scenarios
Recommended Deployment
PowerChute can run on a VM in the HA cluster (either installed on the vMA or deployed as a virtual appliance) or
be installed on a physical Windows machine outside the cluster. The vCenter Server account configured in
PowerChute Network Shutdown must have Administrator permissions on vCenter Server and on each of the ESXi
hosts being managed by PowerChute. This can be an Active Directory account or a local user account. For more
information see Active Directory VMware Configuration.
• VM & vApp Shutdown enabled with a 120 second delay (i.e. 120 seconds allocated for each action to
complete).
• The option to turn off the UPS or Outlet Group is enabled.
• A shutdown command file has been configured with a 120 second duration.
When a critical UPS event, such as UPS on Battery occurs the following sequence is triggered:
Shutdown Sequence
2. Shutdown delay for the On Battery event elapses. PowerChute sends a command to turn off the UPS or
Outlet Group.
3. PowerChute starts a maintenance mode task on each Host and then starts VM/vApp shutdown.
6. vCenter VM shutdown duration elapses. PowerChute starts executing the shutdown command file.
164
PowerChute Network Shutdown: VMware User Guide
7. Shutdown command file duration elapses and PowerChute gracefully shuts down the VMware hosts that
are not running the vCenter Server VM.
8. PowerChute shuts down the VMware Host running the vCenter Server VM.
11. UPS waits for the duration that is greatest of Low Battery Duration/Maximum Required Delay (Non-Outlet
Aware UPS's) or the Outlet Group Power Off Delay.
12. UPS turns off after the user-configurable Shutdown Delay time has elapsed or the Outlet Group turns off
after the power off Delay elapses.
Example 2: Both vCenter Server and PowerChute are running on Virtual Machines
• VM & vApp Shutdown enabled with a 120 second delay (i.e. 120 seconds allocated for each action to
complete)
• The option to turn off the UPS or Outlet Group is enabled
• A shutdown command file has been configured with a 120 second duration
When a critical UPS event, such as UPS on Battery occurs the following sequence is triggered:
Shutdown Sequence
2. Shutdown delay for the On Battery event elapses. PowerChute sends a command to turn off the UPS or
Outlet Group.
3. PowerChute starts a maintenance mode task on each host and then starts VM/vApp shutdown.
6. vCenter VM shutdown duration elapses. PowerChute starts executing the shutdown command file.
165
Sample Shutdown Scenarios
7. Shutdown command file duration elapses and PowerChute gracefully shuts down the VMware hosts that
are not running the vCenter Server or PowerChute VM.
8. PowerChute shuts down the VMware host running vCenter Server VM followed by the host running
PowerChute VM.
Note: The Maintenance mode task is cancelled for the Host running PowerChute so HA can attempt to
restart the PowerChute VM when its host is powered back on.
9. UPS waits for the duration that is greatest of Low Battery Duration/Maximum Required Delay Non-Outlet
Aware UPS's or the Outlet Group Power Off Delay.
10. UPS turns off after the user-configurable Shutdown Delay time has elapsed or the Outlet Group turns off
after the power off Delay elapses.
If PowerChute is deployed as a virtual appliance we recommend deploying one PowerChute Agent per cluster if
your setup has multiple clusters.
In environments where there are multiple clusters or datacenters you can use one copy of PowerChute installed on
a physical Windows machine to monitor your hosts. PowerChute should be installed on multiple machines if the
datacenters/clusters contain hosts that are in different geographical locations.
166
PowerChute Network Shutdown: VMware User Guide
These example shutdown scenarios are also applicable in a Dell VxRail environment.
In the following examples, a VMware vSAN Cluster is protected by a Single or Advanced UPS Configuration.
vCenter Server is running on a Virtual Machine.
Recommended Deployment
PowerChute should be located on a physical Windows machine outside the vSAN Cluster or deployed as a VM
inside the vSAN Cluster. The vCenter Server account configured in PowerChute Network Shutdown must have
Administrator permissions on vCenter Server and on each of the ESXi hosts being managed by PowerChute. This
can be an Active Directory account or a local user account. For more information see Active Directory VMware
Configuration.
Example 1: Single UPS, 2-Node Stretch Cluster with Witness Appliance and Management
Host
Setup
• Delay Maintenance Mode is enabled (required for vSAN hosts) with duration set to X seconds.
• vCenter Server is running on a VM inside the vSAN Cluster.
• vSAN Witness Appliance is deployed on the Management Host and added to the inventory as a Host.
• VM Prioritization is enabled.
167
Sample Shutdown Scenarios
• An Active Directory controller VM is added to the High priority group with appropriate duration for shutdown
and startup. This VM needs to be shut down after the vCenter Server VM and started before it.
• vCenter Server VM is added to the Medium priority group with appropriate duration for shutdown and
startup.
• A shutdown command file has been configured with a 120 second duration.
When a critical UPS event, such as UPS on Battery occurs the following sequence is triggered:
Shutdown Sequence
2. Shutdown delay for the On Battery event elapses. PowerChute sends a command to turn off the UPS or
Outlet Group.
4. PowerChute gracefully shuts down the vCenter Server VM in the Medium priority group followed by the
Active Directory controller VM in the High priority group during VM Shutdown.
7. Shutdown command file duration elapses and PowerChute starts a Maintenance Mode task on the first
vSAN host, and waits the Delay Host Maintenance Mode Duration. If there is a vSAN synchronization
active, PowerChute will wait the specified vSAN Synchronization Duration and check if it has completed
with respect to the value set for "vsan_synch_retry_time" in the pcnsconfig.ini file until data re-
synchronization is no longer active, or the retry limit has been reached. PowerChute then shuts down the
host.
8. Once the Delay Host Maintenance Mode Timeout has elapsed PowerChute will start a Maintenance Mode
task on the next vSAN host, and waits the Delay Host Maintenance Mode Duration. If there is a vSAN
synchronization active, PowerChute will wait the specified vSAN Synchronization Duration and check if it
168
PowerChute Network Shutdown: VMware User Guide
has completed with respect to the value set for "vsan_synch_retry_time" in the pcnsconfig.ini file until
data re-synchronization is no longer active, or the retry limit has been reached. PowerChute then shuts
down the host.
9. PowerChute starts a Maintenance Mode task on the Witness Host, waits the Delay Host Maintenance
Mode Timeout and shuts down the host.
10. PowerChute starts a Maintenance Mode task on the Management Host, waits the Delay Host Maintenance
Mode Timeout of X seconds and shuts down the host.
11. OS shutdown sequence starts on the PowerChute physical machine. After a 70 second delay the OS starts
to shut down.
12. UPS waits for the duration that is greatest of Low Battery Duration/Maximum Required Delay (Non-Outlet
Aware UPS's) or the Outlet Group Power Off Delay.
13. After this delay, a further non-configurable two-minute delay is counted down.
14. UPS turns off after the user-configurable Shutdown Delay time has elapsed or the Outlet Group turns off
after the power off Delay elapses.
NOTE: In a vSAN configuration, Witness and Management hosts will get placed into Maintenance Mode and shut
down after Cluster hosts if Delay Maintenance Mode is enabled. vSAN Hosts are placed into Maintenance mode
using “No data migration” for the vSAN data evacuation mode.
Example 2: Advanced UPS Configuration, vSAN Stretch Cluster with Witness Appliance
and Management Host
169
Sample Shutdown Scenarios
Setup
• UPS Setup 2: Primary site ESXi Host A, ESXi Host B, ESXi Host C
• UPS Setup 3: Secondary site ESXi Host A, ESXi Host B, ESXi Host C
• Delay Maintenance Mode is enabled (required for vSAN hosts) with duration set to X seconds.
• Shut down all Cluster VMs is enabled.
• vCenter Server is running on a VM inside the vSAN Cluster on the primary site.
• vCenter Server VM is added to the High priority group with appropriate duration for shutdown and
startup.
• A shutdown command file has been configured with a 120 second duration.
When a critical UPS event, such as UPS on Battery occurs on the primary site, the following sequence is triggered:
170
PowerChute Network Shutdown: VMware User Guide
Shutdown Sequence
1. PowerChute reports that the UPS protecting the primary site (vSAN Cluster) is On Battery.
2. Shutdown delay for the On Battery event elapses. PowerChute sends a command to turn off the UPS or
Outlet Group.
3. PowerChute determines that Fault Tolerance Threshold (FTT) has not been exceeded, since the number of
critical groups = 1, which is not greater than the FTT Level of 1. PowerChute starts Virtualization shutdown
tasks on the primary site only.
4. PowerChute migrates the vCenter Server VM in the High priority group during VM Migration. Other VMs
are also migrated to Hosts on the secondary site during this step.
5. Any VMs or vApps that could not be migrated are shut down.
6. VM/vApp Shutdown durations elapse. PowerChute starts executing the shutdown command file.
15. Shutdown command file duration elapses and PowerChute starts a Maintenance Mode task on the first
vSAN host on the primary site with "Ensure Data Accessibility" as FTT is not exceeded. The Delay Host
Maintenance Mode Duration is waited and if there is a vSAN synchronization active, PowerChute will wait
the specified vSAN Synchronization Duration and check if it has completed with respect to the value set
for "vsan_synch_retry_time" in the pcnsconfig.ini file until data re-synchronization is no longer active,
or the retry limit has been reached. PowerChute then shuts down the host.
16. PowerChute starts a Maintenance Mode task on the next vSAN host on the primary site with "Ensure Data
Accessibility". The Delay Maintenance Mode Duration is waited and if there is a vSAN synchronization
active, PowerChute will wait the specified vSAN Synchronization Duration and check if it has completed
with respect to the value set for "vsan_synch_retry_time" in the pcnsconfig.ini file until data re-
synchronization is no longer active, or the retry limit has been reached. PowerChute then shuts down the
host.
7. PowerChute starts a Maintenance Mode task on the next vSAN host on the primary site with "Ensure Data
Accessibility". The Delay Maintenance Mode Duration is waited and if there is a vSAN synchronization
active, PowerChute will wait the specified vSAN Synchronization Duration and check if it has completed
with respect to the value set for "vsan_synch_retry_time" in the pcnsconfig.ini file until data re-
synchronization is no longer active, or the retry limit has been reached. PowerChute then shuts down the
host.
8. UPS waits for the duration that is greatest of Low Battery Duration/Maximum Required Delay (Non-Outlet
Aware UPS's) or the Outlet Group Power Off Delay.
10. UPS turns off after the user-configurable Shutdown Delay time has elapsed or the Outlet Group turns off
after the power off Delay elapses.
NOTE: In a vSAN configuration, Witness and Management hosts will get placed into Maintenance Mode and shut
down after Cluster hosts if Delay Maintenance Mode is enabled.
NOTE: If Fault Tolerance Threshold (FTT) is enabled, vSAN hosts are placed into Maintenance Mode using
"Ensure Data Accessibility" if the number of critical groups is less than or equal to the FTT Level.
Putting a host into Maintenance Mode with "Ensure Data Accessibility" can trigger data re-synchronization on the
host. In this event, PowerChute will wait until the data re-synchronization is complete (with retry limit) before placing
the host into maintenance mode and shutting it down. See Host Maintenance Mode for more information.
171
Sample Shutdown Scenarios
Setup
• Delay Maintenance Mode is enabled (required for vSAN hosts) with duration set to X seconds.
• Fault Tolerance Threshold is enabled, FTT Level is set to 1.
• Shut down all Cluster VMs is enabled.
• vCenter Server VM is added to the High priority group with appropriate duration for shutdown and
startup.
• A shutdown command file has been configured with a 120 second duration.
172
PowerChute Network Shutdown: VMware User Guide
Critical Event 1
When a critical UPS event, such as UPS on Battery occurs on a host in the vSAN Cluster, for example, ESXi Host
C, the following sequence is triggered:
Shutdown Sequence
2. Shutdown delay for the On Battery event elapses. PowerChute sends a command to turn off the UPS or
Outlet Group.
3. PowerChute determines that Fault Tolerance Threshold has not been exceeded, since the number of
critical groups = 1 which is not greater than the FTT Level of 1. PowerChute starts Virtualization Shutdown
tasks on ESXi Host C. PowerChute migrates VMs to non-critical Hosts (ESXi Host A, ESXi Host B) in the
vSAN Cluster
5. VM/vApp Shutdown durations elapse. PowerChute starts executing the shutdown command file.
17. Shutdown command file duration elapses and PowerChute starts a Maintenance Mode task on ESXi Host
C with "Ensure Data Accessibility" as FTT Level is not exceeded. The Delay Host Maintenance Mode
Duration is waited and if there is a vSAN synchronization active, PowerChute will wait the specified vSAN
Synchronization Duration and check if it has completed with respect to the value set
for "vsan_synch_retry_time" in the pcnsconfig.ini file until data re-synchronization is no longer active,
or the retry limit has been reached. PowerChute then shuts down the host.
6. UPS waits for the duration that is greatest of Low Battery Duration/Maximum Required Delay (Non-Outlet
Aware UPS's) or the Outlet Group Power Off Delay.
173
Sample Shutdown Scenarios
8. UPS turns off after the user-configurable Shutdown Delay time has elapsed or the Outlet Group turns off
after the power off Delay elapses.
NOTE: If Fault Tolerance Threshold (FTT) is enabled, vSAN hosts are placed into Maintenance Mode using
"Ensure Data Accessibility" if the number of critical groups is less than or equal to the FTT Level.
Putting a host into Maintenance Mode with "Ensure Data Accessibility" can trigger data re-synchronization on the
host. In this event, PowerChute will wait until the data re-synchronization is complete (with retry limit) before placing
the host into maintenance mode and shutting it down. See Host Maintenance Mode for more information.
Critical Event 2
When a critical UPS event, such as UPS on Battery occurs on a host in the vSAN Cluster, for example, ESXi Host
B, the following sequence is triggered:
Shutdown Sequence
2. Shutdown delay for the On Battery event elapses. PowerChute sends a command to turn off the UPS or
Outlet Group.
3. PowerChute determines that Fault Tolerance Threshold has been exceeded since the number of critical
groups = 2 which is greater than the FTT Level of 1.
PowerChute starts Virtualization Shutdown on critical host ESXi Host B and non-critical host ESXi Host A
as Shut down all Cluster VMs is enabled.
174
PowerChute Network Shutdown: VMware User Guide
5. PowerChute gracefully shuts down the vCenter Server VM in the High priority group during VM Shutdown
of ESXi Host A.
6. VM/vApp Shutdown durations elapse. PowerChute starts executing the shutdown command file.
7. Shutdown command file duration elapses and PowerChute starts a Maintenance Mode task on ESXi Host
B with "No Data Migration" action as FTT Level has been exceeded. The Delay Maintenance Mode
Duration is waited and if there is a vSAN synchronization active, PowerChute will wait the specified vSAN
Synchronization Duration and check if it has completed with respect to the value set
for "vsan_synch_retry_time" in the pcnsconfig.ini file until data re-synchronization is no longer active,
or the retry limit has been reached. PowerChute then shuts down the host.
8. UPS waits for the duration that is greatest of Low Battery Duration/Maximum Required Delay (Non-Outlet
Aware UPS's) or the Outlet Group Power Off Delay.
10. UPS turns off after the user-configurable Shutdown Delay time has elapsed or the Outlet Group turns off
after the power off Delay elapses.
175
Sample Shutdown Scenarios
Critical event on UPS #4: Option to shut down virtual hosts is enabled for this UPS. VM
Migration is not enabled.
2. PowerChute issues a command to gracefully turn off UPS #4, if this has been configured.
3. The UPS Critical event is triggered for the two VMware hosts in the cluster.
4. PowerChute starts a maintenance mode task on the two VMware hosts, and shuts down the VMs on the
two VMware hosts.
Critical event on UPS #1: Option to shut down virtual hosts and the physical machine are
enabled for this UPS. VM migration is not enabled.
4. PowerChute starts a maintenance mode task on the two VMware hosts, and shuts down the VMs/vApps
on the two VMware hosts.
6. After the shutdown command file duration has elapsed, if all VMs have shut down, the maintenance
mode task completes and PowerChute shuts down the two VMware hosts.
176
PowerChute Network Shutdown: VMware User Guide
For detailed information, please view “Using PowerChute Network Shutdown in a VMware HA Cluster” Application
Note here.
177
Sample Shutdown Scenarios
The following shutdown sequence occurs when the shutdown action is enabled for the On Battery event.
1. The UPS has been running on Battery power for x number of seconds. PowerChute starts a maintenance
mode task on each protected host.
2. PowerChute begins to shut down the VMs and vApps on VMware hosts A and B in the order in which they
are prioritized:
First, the un-prioritized VMs/vApps are shut down sequentially. As the duration for un-prioritized
VMs/vApps elapses, the Group 2 VMs/vApps are shut down, followed by Group 1 priority VMs/vApps, then
Low priority VMs/vApps, and Medium priority VMs/vApps, and finally the High priority VMs/vApps are shut
down. PowerChute sends a shutdown command to all VMs/vApps in each priority group at the same time.
The VMs/vApps within each priority group are not shut down in a particular order.
3. PowerChute runs the shutdown command file or SSH action and issues a command to turn off the UPS, if
configured.
4. After the shutdown command file or SSH action duration has elapsed, PowerChute shuts down the
VMware hosts.
178
PowerChute Network Shutdown: VMware User Guide
Critical event on UPS #2: Option to shut down virtual hosts is enabled for this UPS. VM Migration and VM
Prioritization are enabled.
2. A UPS critical event is triggered for Host A and PowerChute starts a maintenance mode task on Host A.
4. As sequenced VM Migration is enabled for priority groups, VM migration begins. First the High priority
group VMs migrate, in parallel. When all High priority group VMs have migrated, the Medium priority VMs
migrate in parallel, followed by the Low priority group, Group 1 and Group 2, and finally the un-prioritized
VMs migrate.
5. As VM migration duration elapses, any VMs that have not been migrated will be shut down in the VM
Shutdown sequence, in the order in which they are prioritized:
First, the un-prioritized VMs/vApps are shut down sequentially. As the duration for un-prioritized
VMs/vApps elapses, the Group 2 VMs/vApps are shut down, followed by Group 1 priority VMs/vApps, then
Low priority VMs/vApps, and Medium priority VMs/vApps, and finally the High priority VMs/vApps are shut
down. PowerChute sends a shutdown command to all VMs/vApps in each priority group at the same time.
The VMs/vApps within each priority group are not shut down in a particular order.
6. After the shutdown command file or SSH action duration has elapsed, PowerChute shuts down Host A.
179
Sample Shutdown Scenarios
The following shutdown sequence occurs when the shutdown action is enabled for the On Battery event.
1. The UPS has been running on Battery power for x number of seconds.
3. PowerChute begins to shut down the VMs and vApps on VMware hosts A and B in the order in which they
are prioritized:
First, the un-prioritized VMs/vApps are shut down sequentially. As the duration for un-prioritized
VMs/vApps elapses, the Group 2 VMs/vApps are shut down, followed by Group 1 priority VMs/vApps, then
Low priority VMs/vApps, and Medium priority VMs/vApps, and finally the High priority VMs/vApps are shut
down. The VMs/vApps within each priority group are not shut down in a particular order.
5. PowerChute aborts any ongoing VM replications. If enabled in the Protection Domain Settings page, Metro
Availability will also be disabled on your Cluster.
10. PowerChute runs the shutdown command file or SSH action, if configured.
11. PowerChute shuts down the physical machine running vCenter Server and itself.
12. The UPS turns off after the shutdown time has elapsed.
180
PowerChute Network Shutdown: VMware User Guide
Critical event on UPS Group: Option to shut down virtual hosts is enabled for this UPS. VM Migration and
VM Prioritization are enabled.
4. As there is no healthy host remaining in the Cluster, PowerChute cannot migrate the VMs. VM Migration is
skipped and PowerChute proceeds to shut down the VMs/vApps on the critical hosts.
5. VMs/vApps will be shut down in the VM Shutdown sequence, in the order in which they are prioritized:
First, the un-prioritized VMs/vApps are shut down sequentially. As the duration for un-prioritized
VMs/vApps elapses, the Group 2 VMs/vApps are shut down, followed by Group 1 priority VMs/vApps, then
Low priority VMs/vApps, and Medium priority VMs/vApps, and finally the High priority VMs/vApps are shut
down. The VMs/vApps within each priority group are not shut down in a particular order.
7. PowerChute aborts any ongoing VM replications. If enabled in the Protection Domain Settings page, Metro
Availability will also be disabled on your Cluster.
181
Sample Shutdown Scenarios
12. PowerChute runs the shutdown command file or SSH action, if configured.
13. The UPS turns off after the shutdown time has elapsed.
182
PowerChute Network Shutdown: VMware User Guide
The following shutdown sequence occurs when the shutdown action is enabled for the On Battery event.
1. The UPS has been running on Battery power for x number of seconds.
3. PowerChute begins to shut down the VMs and vApps on VMware hosts A and B in the order in which they
are prioritized:
First, the un-prioritized VMs/vApps are shut down sequentially. As the duration for un-prioritized
VMs/vApps elapses, the Group 2 VMs/vApps are shut down, followed by Group 1 priority VMs/vApps, then
Low priority VMs/vApps, and Medium priority VMs/vApps, and finally the High priority VMs/vApps are shut
down. The VMs/vApps within each priority group are not shut down in a particular order.
8. PowerChute shuts down the physical machine running vCenter Server and itself.
9. The UPS turns off after the shutdown time has elapsed.
183
Sample Shutdown Scenarios
Critical event on UPS Group: Option to shut down virtual hosts is enabled for this UPS. VM Prioritization is
enabled.
4. VMs/vApps will be shut down in the VM Shutdown sequence, in the order in which they are prioritized:
First, the un-prioritized VMs/vApps are shut down sequentially. As the duration for un-prioritized
VMs/vApps elapses, the Group 2 VMs/vApps are shut down, followed by Group 1 priority VMs/vApps, then
Low priority VMs/vApps, and Medium priority VMs/vApps, and finally the High priority VMs/vApps are shut
down. The VMs/vApps within each priority group are not shut down in a particular order.
9. The UPS turns off after the shutdown time has elapsed.
184
PowerChute Network Shutdown: VMware User Guide
The following shutdown sequence occurs when the shutdown action is enabled for the On Battery event.
1. The UPS has been running on Battery power for x number of seconds.
3. PowerChute begins to shut down the VMs and vApps on VMware hosts A and B in the order in which they
are prioritized:
First, the un-prioritized VMs/vApps are shut down sequentially. As the duration for un-prioritized
VMs/vApps elapses, the Group 2 VMs/vApps are shut down, followed by Group 1 priority VMs/vApps, then
Low priority VMs/vApps, and Medium priority VMs/vApps, and finally the High priority VMs/vApps are shut
down. The VMs/vApps within each priority group are not shut down in a particular order.
185
Sample Shutdown Scenarios
9. PowerChute shuts down the physical machine running vCenter Server and itself.
10. The UPS turns off after the shutdown time has elapsed.
186
PowerChute Network Shutdown: VMware User Guide
Critical event on UPS Group: Option to shut down virtual hosts is enabled for this UPS. VM Prioritization is
enabled.
4. VMs/vApps will be shut down in the VM Shutdown sequence, in the order in which they are prioritized:
First, the un-prioritized VMs/vApps are shut down sequentially. As the duration for un-prioritized
VMs/vApps elapses, the Group 2 VMs/vApps are shut down, followed by Group 1 priority VMs/vApps, then
Low priority VMs/vApps, and Medium priority VMs/vApps, and finally the High priority VMs/vApps are shut
down. The VMs/vApps within each priority group are not shut down in a particular order.
10. The UPS turns off after the shutdown time has elapsed.
187
PowerChute Events and Logging
The Event Log displays UPS events that affect PowerChute and the load that it is protecting. Not all UPS events
are logged. The log is refreshed automatically every 30 seconds.
By default, event logging is enabled for all configurable and non-configurable PowerChute events. To disable
logging of an event, use the Configure Events screen.
The EventLog.txt file is located in the group1 folder where PowerChute is installed. When the file reaches 1000
log entries, the oldest third of the file is deleted.
1000 is the default value, but you can change it using the PowerChute Configuration (INI) File. To
do this:
1. Stop the PowerChute service/daemon. For more information, see Knowledge Base article
FA290624 (Enter "FA290624" at https://www.apc.com/us/en/faqs/home/).
2. Locate the pcnsconfig.ini file in the group1 folder where PowerChute is installed and
open it using a text editor.
3. In the section [EventLog] change the value for logsize to the desired value. For
example, to change the value to 2000 entries, change logsize to:
logsize = 2000
To completely clear the Event Log, use the Delete Log File button. Use Export Log to download a copy of the
Event Log as a text file.
188
PowerChute Network Shutdown: VMware User Guide
Configurable Events
• Available runtime has been exceeded
For both conditions below, the “total shutdown time” includes the following durations:
• VM migration duration
• VM shutdown and startup duration
• vApp shutdown and startup duration
• vCenter Server VM shutdown duration
• Shutdown command file duration
• SSH action duration
• Built-in duration of 2 minutes (this consists of a 10 second OS shutdown duration and a 60 second OS
shutdown duration; rounded up)
Condition 1.
When the total shutdown time required by PowerChute is greater than the Low Battery Duration minus two
minutes configured for the UPS. In the event of a low battery condition, PowerChute will not have enough time to
complete the shutdown sequence before the UPS powers off. For example, if the total shutdown time required is 3
minutes and Low Battery Duration is 4 minutes, the Available Runtime has been Exceeded event will be triggered.
Resolution: Increase the Low Battery Duration value on the NMC using Configure - Shutdown or decrease the
shutdown durations being used by PowerChute.
Condition 2.
When the shutdown duration configured for the UPS On Battery event plus the total shutdown time required by
PowerChute is greater than the Runtime Remaining on the UPS minus two minutes. This condition can be caused
by having too great a load on the UPS when the battery is fully charged.
Resolution:
1. Remove some equipment from the UPS to increase the available runtime.
2. Decrease the shutdown duration time for the UPS On Battery event.
3. Decrease the command file execution time using the Shutdown Settings screen.
This event is logged and event actions are carried out even if it occurs on a single UPS in a Redundant or Parallel
UPS configuration.
The available UPS Runtime/ Low Battery Duration is sufficient for PowerChute to shut down all equipment
gracefully.
• Battery is discharged
The UPS battery runtime has fallen below an acceptable range. If there is a power outage, a low battery condition
will occur. This can be caused if the UPS has been operating on battery for an extended time period.
189
PowerChute Events and Logging
If a Battery Recharged event does not occur within four hours, the UPS may not be charging properly, please
contact APC Customer Support.
The battery runtime of the UPS has returned to within an acceptable range.
The UPS has switched to bypass due to an internal hardware problem or because the UPS is overloaded.
• UPS has switched to bypass in response to the bypass switch at the UPS, typically for
maintenance.
A user put the UPS into bypass mode using a hardware switch.
• UPS has switched to bypass in response to the UPS front-panel or a user-initiated software
command, typically for maintenance.
The UPS has switched to bypass and cannot protect the load if a power outage occurs. This is a normal condition
if maintenance is being performed on the UPS.
If this event occurs when the UPS was not deliberately put into bypass, please contact Customer Support.
The bypass contactor is not operating properly. This will prevent the UPS from being placed in bypass or returning
from bypass. Please contact Customer Support.
PowerChute lost communication while the UPS was on battery and cannot detect a Low Battery condition if the
power outage continues. Graceful shutdown cannot be guaranteed.
Communication between the NMC and the UPS has been lost. Make sure that the NMC is firmly inserted in its
slot. This can occur during a firmware upgrade of the NMC.
190
PowerChute Network Shutdown: VMware User Guide
Network communication between PowerChute and the NMC has been lost. See Network Management Card
Troubleshooting. This can occur during a firmware upgrade of the NMC.
The UPS has switched to battery operation due to a power outage. If you can’t restore power to the UPS, do the
following:
1. If there is no general power outage (i.e. if only this UPS has lost input power), check the building wiring and
circuit breakers.
2. If this event occurs occasionally and briefly, check to see if equipment on the same electrical circuit as the
UPS uses high power periodically.
3. This event can also be caused by poor power quality (i.e. power fluctuation). Decrease the sensitivity of the
UPS through the NMC user interface.
• UPS is no longer running on battery power or output power has been turned on.
The load on your UPS has exceeded the maximum load threshold, set in the NMC user interface. Reduce the load
on the UPS or upgrade to a device that can support the existing load.
The UPS has too great a load or there are not enough power modules operational to support the desired
redundancy.
Check to see that all power modules are functioning properly and that the redundancy configuration is correct.
191
PowerChute Events and Logging
The system has too great a load or there are not enough operational UPS’s to support the desired redundancy
level.
Check to see that all UPS’s are functioning properly and that the redundancy configuration is correct.
The Parallel UPS system can now support the desired redundancy.
• The runtime remaining has dropped below the configured threshold while on Battery.
The runtime remaining has dropped below the configured threshold while on battery. You can configure this
threshold using the shutdown action on the Configure Events page.
When the UPS in running on battery power and the runtime remaining on the UPS drops below the threshold,
PowerChute will trigger a shutdown sequence. See “Sequenced Server Shutdown” for more information.
• The runtime remaining is now above the configured threshold or input power has been restored.
Occurs when the UPS runtime is greater than the user defined threshold or if the UPS is no longer running on
battery power.
The UPS’s internal temperature is too high. Make sure that there is at least one inch of clearance around the UPS,
and that the UPS ventilation ports are not blocked. If this condition is not resolved quickly, damage may occur to
your UPS.
The UPS has sensed a load greater than 100 per cent of its rated capacity. Remove attached equipment from the
UPS until the condition is corrected. If this condition happens occasionally and briefly, check to see if some
equipment connected to the UPS is using high power periodically (e.g. connected laser printers or photocopiers).
If the condition persists, contact Customer Support.
A condition that caused the UPS output overload event to occur has been corrected.
192
PowerChute Network Shutdown: VMware User Guide
The temperature exceeds the threshold configured for the Environmental temperature probe.
The temperature no longer exceeds the threshold configured for the Environmental temperature probe.
The humidity exceeds the threshold configured for the Environmental humidity probe.
The humidity no longer exceeds the threshold configured for the Environmental humidity probe.
PowerChute has stopped receiving data from the Environmental Monitoring Card or the probe has been removed
from the Universal I/O (UIO) port on the NMC.
Check to see that the Environmental Monitoring Card is firmly inserted in its slot and has power. Check that
environmental monitoring information is accessible through the NMC user interface.
If PowerChute cannot communicate with the NMC you will need to correct that problem first.
PowerChute Network Shutdown is receiving data from the Environmental Monitoring Card/Probe.
• Contact X Alarm.
One of the environmental input contacts is in an alarm state. Check in the location being monitored by this
contact.
• Contact X Normal.
193
PowerChute Events and Logging
Non-Configurable Events
• Three unsuccessful logon attempts detected. Temporarily denying logon attempts from machine
with IP <IP address>.
There have been three invalid login attempts from a machine with the IP address listed in the event. Further login
attempts will be prevented from this machine for two minutes. This is a security measure designed to prevent
brute-force login attempts.
• Username was changed by user [User] from IP address [IP address]. New username is
[Username].
The Username has been changed by the user at the specified IP address. This is a security feature to notify the
user when the Username has been changed.
The password has been changed by the user at the specified IP address. This is a security feature to notify the
user when the password has been changed.
• Authentication phrase was changed by user [User] from IP address [IP address].
The authentication phrase has been changed by the user at the specified IP address. This is a security feature to
notify the user when the authentication phrase has been changed.
The runtime remaining on the UPS has dropped below the Low battery duration value while the UPS was on
battery.
A graceful shutdown command has been issued to the UPS using the NMC User Interface, the LCD display or by
PowerChute. This event is logged for all UPS Configurations.
The operating system has started to shut down in response to a critical UPS event.
The outlet group that PowerChute is registered with is turned off. This can indicate that PowerChute is not
configured for the correct outlet group.
194
PowerChute Network Shutdown: VMware User Guide
The outlet group that PowerChute is registered with is shutting down. A shutdown sequence will be started as a
result.
If PowerChute was not registered with an Outlet group during setup it will be automatically registered with the first
outlet group on the UPS by default.
• PowerChute is unable to open TCP port [number]. Check that TCP port [number] is free.
PowerChute uses TCP ports 3052 and 6547 for the Web User Interface. This event will be logged if another
application is already using either of the above ports.
Use the netstat command to identify which process is using these ports or change the values using the
PowerChute Configuration File.
PowerChute has begun to open the port it requires for the Web UI.
PowerChute has successfully opened the port it requires for the Web UI.
• PowerChute is unable to open UDP port 3052. Check that UDP port 3052 is free. This is
required for NMC communication.
PowerChute uses UDP port 3052 for communication with the NMC. This event will be logged if another application
is already using this port. Use the netstat command to identify which application is using the port. This port cannot
be changed.
PowerChute has begun to open the port required for NMC communications.
PowerChute was able to open the port it needs for NMC communications.
Reported when the PowerChute Agent cannot communicate with the Network Management Card over the
network. This could be due to a mismatch in security credentials or a network issue.
Reported when the Network Management Card cannot communicate with the UPS. If this issue persists please
contact technical support.
195
PowerChute Events and Logging
• Connection unsuccessful because PowerChute received an untrusted SSL certificate from the
NMC [protocol]://[ip_address]
This can occur if registering with an NMC that has HTTPS enabled and is using an SSL certificate that is not signed
by a trusted root certification authority.
To accept the certificate, enable the option "Accept Untrusted SSL Certificates" on the UPS Details page of the
PowerChute Setup Wizard or add the certificate to the PowerChute-keystore.
certification authority.
Reported when one UPS goes on battery in a UPS configuration with multiple UPS's.
• The On Battery UPS is no longer running on Battery power or output power has been turned on.
Reported when one UPS in a UPS configuration with multiple UPS's returns to On Line operation.
is on Battery.
Reported when one UPS turns off in a UPS configuration with multiple UPS's.
Reported when one UPS turns back on in a UPS configuration with multiple UPS's.
• Multiple UPS's have been commanded to turn off / Outlet Group turn off has been initiated on
Multiple UPS's.
Reported in a Redundant UPS Configuration.
196
PowerChute Network Shutdown: VMware User Guide
active.
One of the UPS devices in a Parallel-UPS configuration has been removed from the Parallel system.
the option to Turn off the UPS is enabled on the Shutdown settings page.
occurs and the option to Turn off the UPS Outlet Group is enabled on the Shutdown settings page.
• SNMP: Configuration changed by user [User] from [IP Address]. [Config.ini Section].[Config.ini
Key] set to [New Value].
A PowerChute setting has been changed by [User] via SNMP.
197
PowerChute Events and Logging
Before editing the Configuration file manually you should save a backup copy locally.
• Error: PowerChute cannot find the configuration file or the backup configuration file. Shutting
down.
PowerChute cannot locate pcsnconfig.ini or pcnsconfig_backup.ini to error.log in the group1 folder where
PowerChute is installed. Please re-install PowerChute. If this does not resolve the issue contact APC technical
support.
• Error: The ini file is missing [x] key from section [x].
A required key is missing. Replace the missing key from a backup file.
• Error: The ini file could not find IP address information in section [x].
• Error: The ini contains an invalid value for [x] in section [x].
An invalid value is present in the file and no previous good value or default is available in the backup file.
• Error: The ini contains an invalid value for [x] in section [x]. Using {2} instead. Please validate
the configuration.
An invalid value is found in the file but a previous valid value or default value is available in the backup file. This
should be checked but no further action may be needed.
• Error: The key [x] in section [x], did not match the supplied regular expression.
This can occur if you enter a username value that contains unsupported characters or if you entered a value other
than http/https for the key protocol.
• Error: Could not convert the value of [x] in section [x] to its expected type.
This can occur if you enter a non-numeric value where a numeric value is expected for example.
198
PowerChute Network Shutdown: VMware User Guide
• Error: Event [x] is enabled for command file execution, but an invalid value for [x] is specified
There are extra entries outside of a section that PowerChute does not recognize. These can be deleted.
• The invalid key [x] should be deleted from section [x] in the ini file.
The configuration file contains keys that PowerChute does not recognize. These can be deleted.
• The ini file has detected duplicate values for [x] in section [x].
When this occurs PowerChute will use the first value and this may result in an incorrect value being used e.g. if
you enter 2 values for the HTTP port (80 and 8080), PowerChute will use 80 instead of 8080.
• The invalid section [x] should be removed from the ini file.
The configuration file contains a section that PowerChute does not recognize. This can be deleted.
• Disabling command file execution for event [x] due to bad parameters. Please validate the
configuration.
This can occur on a Linux/ Unix system if the path to the command file is valid but the file itself does not have
execute permissions.
This notifies the user that the username has been changed via the ini file, for security purposes.
This notifies the user that the password has been changed via the ini file, for security purposes.
This notifies the user that the authentication phrase has been modified via the ini file, for security purposes.
199
PowerChute Events and Logging
In an advanced UPS configuration, PowerChute runs each SSH action once for each host in the advanced group.
This may result in multiple hosts attempting to run the same SSH action at the same time.
This event is shown if a SSH action has already run on a host in the advanced group.
PowerChute has successfully completed executing the SSH action [Action] on the remote host.
• SSH Action [Action] has not completed within the configured duration.
The SSH action [Action] could not complete as insufficient time was configured. Ensure sufficient time is provided
in the SSH Action Duration field in the SSH Settings screen for your SSH actions to complete.
200
PowerChute Network Shutdown: VMware User Guide
PowerChute is attempting to update the Java version used by PowerChute to [Java file]. Allow 2-3 minutes for the
Java update to complete.
The Java version used with PowerChute has successfully updated. The PowerChute service will restart for
changes to take effect.
PowerChute was unable to update the Java version used with PowerChute. For more information, see error.log.
201
PowerChute Events and Logging
A critical event has occurred on a UPS associated with [Host]. This will trigger a shutdown sequence using the
actions configured on the Virtualization Settings page.
• DRS will attempt to migrate powered on VMs to another Host in the cluster.
When VM migration is enabled in PowerChute and DRS automation level is set to fully automated, PowerChute
starts a maintenance mode task on the host and allows DRS to migrate VMs to available hosts in the cluster.
• PowerChute will attempt to migrate powered on VMs to another Host in the cluster.
When VM migration is enabled in PowerChute and DRS is disabled, PowerChute migrates VMs to available hosts
in the cluster. If using the Custom Target Host migration option PowerChute will attempt to migrate to those target
Hosts.
PowerChute could not find any suitable host within the cluster to migrate the VMs from [Host ] to.
PowerChute was unable to migrate VMs from [Host] as insufficient time was provided in the Duration field.
PowerChute successfully migrated some of the VMs from [Host]. However, not all VMs were migrated.
A critical event has occurred on a UPS associated with [Host] and PowerChute has successfully migrated virtual
machines from it.
202
PowerChute Network Shutdown: VMware User Guide
• Unable to start Maintenance Mode on Host [Host] as VMs are still powered on. Verify that
sufficient time has been configured for VM/vApp/VCSA VM shutdown duration.
A critical event has occurred on a UPS associated with this host and PowerChute was unable to put [Host] into
maintenance mode as there are still powered on VMs.
• Maintenance Mode task cancelled on Host [Host] as there are still powered on VMs. Please
verify that sufficient time has been configured for VM/vApp/VCSA VM shutdown duration.
A critical event has occurred on a UPS associated with this host and PowerChute has cancelled the maintenance
mode task for [Host] as there are still powered on VMs prior to attempting to shut down the host.
PowerChute cancelled the maintenance mode task on [Host] as the vCenter Server Appliance VM is shutting
down.
PowerChute takes the Host out of maintenance mode when a critical event is resolved and the Host is powered
back on.
• Maintenance Mode task did not complete within the allowed time, please check your
configuration.
A critical event has occurred on a UPS associated with this host and PowerChute could not complete the
maintenance mode task for [Host] as the duration configured is insufficient. Please increase the duration.
A critical event has occurred on a UPS associated with the [Host] and PowerChute is trying to migrate virtual
machines to another host in the [Cluster].
• Migration was not performed because Host [Host] is not part of any cluster.
PowerChute could not migrate the VMs on this host because the host is not part of any VMware cluster.
A critical event has occurred on a UPS associated with this host and PowerChute is shutting down its virtual
machines.
203
PowerChute Events and Logging
PowerChute was unable to shut down VMs from [Host] as insufficient time was provided in the Shutdown
Duration field
PowerChute is shutting down the VMs that are in the specified vApp.
• vApp shutdown unsuccessful due to timeout, please increase the vApp shutdown duration for a
graceful shutdown.
PowerChute was unable to shut down [vApp] as insufficient time was configured for the Shutdown Duration field.
PowerChute was unable to re-start [vApp] as insufficient time was provided in the Duration field.
A critical event has occurred on a UPS associated with [Host]. PowerChute has not found any vApp associated
with [Host] to shut down.
A critical event has been resolved and a host has restarted. PowerChute is trying to start up the VMs on that host.
A critical event has been resolved and the host has restarted. PowerChute is starting up the specified vApp in the
VMware datacenter.
• No Hosts have been associated with a UPS. PowerChute cannot shut down any Hosts or their
VMs if a critical UPS event occurs.
PowerChute is advising you to link your VMware hosts to a UPS Setup. See VMware Host Protection.
204
PowerChute Network Shutdown: VMware User Guide
• Cannot connect to vCenter Server. PowerChute may not be able to issue commands to Virtual
Machines or Hosts.
PowerChute cannot connect to vCenter Server over the network. VM Migration and vApp shutdown cannot be
performed when this occurs.
• vCenter Server authentication error. PowerChute may not be able to issue commands to Virtual
Machines or Hosts.
PowerChute cannot connect to vCenter Server using its credentials. Check that the username and password
entered under vCenter Server Settings are correct. VM Migration and vApp shutdown cannot be performed when
this occurs.
• Cannot connect to host. PowerChute may not be able to issue commands to the Host.
• Host authentication error. PowerChute may not be able to issue commands to the Host.
PowerChute cannot connect to the VMware host using its credentials. Check that the username and password
entered under vCenter Server Settings are correct.
A critical event has occurred on a UPS associated with [Host] and PowerChute was unable to shut down [Host].
PowerChute is shutting down the Host containing the vCenter Server VM.
PowerChute could not previously restart VMs on the specified host and is now trying again
• Attempting to power on vApp [vApp] in datacenter [Datacenter] that did not start.
PowerChute could not previously restart a specified vApp and is now trying again.
• vApp [vApp] will not be shut down as it contains the Virtual Machine running PowerChute.
Please remove the PowerChute from the vApp.
PowerChute will not shut down the specified vApp as PowerChute is installed on a VM in that vApp.
205
PowerChute Events and Logging
• Cannot connect to vCenter Server. PowerChute will not be able to perform VM Migration.
PowerChute cannot connect to vCenter Server in order to perform VM Migration during a shutdown sequence.
• Cannot connect to vCenter Server. PowerChute will not be able to perform vApp Shutdown.
PowerChute cannot connect to vCenter Server in order to perform vApp Shut down during a shutdown sequence.
With an Advanced UPS configuration, when critical events occur on UPS Setups at different times, this event
indicates that the shutdown is already in progress so it will not be started again.
For example: if a critical event occurs on a UPS Setup with VMware Hosts linked and later on a critical event
occurs on a Physical UPS setup, the shutdown sequence will not be performed twice, as it is already in progress
from the critical event on the first UPS setup.
• VM/vApp startup is in progress for Host [Host]. PowerChute will wait for the startup delay to
elapse before starting the shutdown sequence.
A critical event has triggered a shutdown sequence, however as either a VM or a vApp startup is already in
progress, PowerChute will wait for the specified duration to elapse before continuing with the shutdown sequence.
See Virtual Machine Shutdown/Startup.
• vCenter Server is accessible. PowerChute will be able to issue commands to Virtual Machines
or Hosts.
The specified critical event has been occurred on a UPS. This will trigger a shutdown sequence if not other
shutdown sequence is currently active.
206
PowerChute Network Shutdown: VMware User Guide
• HA enabled for cluster [Cluster]. HA will attempt to re-start PowerChute if the Host on which it is
running is shut down.
• HA disabled for Cluster [Cluster]. PowerChute will not be re-started automatically by HA if the
Host on which it is running is shut down.
The specified cluster is not a high availability cluster. Because of this, if the host containing PowerChute in this
cluster is shut down, PowerChute cannot be restarted automatically. See also HA Admission Control.
• vApp [vApp] in datacenter [Datacenter] will not be shut down because one or more VMs are
running on a host unaffected by this critical UPS event.
• vApp [vApp] in datacenter [Datacenter] will not be shut down. The vApp is already powered off.
A critical event caused a shutdown but the specified vApp is already powered off.
• vApp [vApp] will not be shut down as it contains the vCenter Server VM. Please remove vCenter
Server VM from the vApp.
PowerChute will not shut down the specified vApp as the vCenter Server VM is installed on a VM in that vApp.
The VM running the vCenter Server VM must be removed from the vApp.
• vCenter Server VM [VM] cannot be gracefully shut down. Please check vCenter Server VM
Shutdown duration.
Check that the VM Shutdown Duration is long enough to allow for VMs to be shut down gracefully.
This event is logged when Hosts that PowerChute is configured to protect (via the Host Protection Page) are no
longer present in the vCenter Server Inventory. When this occurs the old hosts will be removed and you need to
update the PowerChute configuration using the Host Protection page.
207
PowerChute Events and Logging
• PowerChute cannot locate the vCenter Server VM in the Inventory. See the troubleshooting
section in the Online Help.
This event is logged if PowerChute cannot determine which VMware host is running vCenter Server VM. This can
indicate a vSphere Configuration issue and will prevent PowerChute from gracefully shutting down the vCenter
Server VM.
• The vCenter Server VM found in the Inventory is powered off. See the troubleshooting section in
the Online Help.
This event is logged if PowerChute has identified the vCenter Server VM in the inventory but the VM is powered
off. This can indicate a vSphere Configuration issue and will prevent PowerChute from gracefully shutting down
the vCenter Server VM that PowerChute is configured for.
Active data re-synchronization has been detected on the host with Delay Maintenance Mode enabled.
PowerChute will wait and check for active data to complete with a retry limit before proceeding with host
shutdown.
• Detected vSAN Resynchronization in progress on Host [Host]. Re-try limit reached, proceeding
with Host shutdown.
PowerChute will proceed with host shutdown, as the retry limit has been reached.
Fault Tolerance Threshold (FTT) is enabled and has been exceeded. Shut down all Cluster VMs is also enabled
and has triggered a shutdown of all VMs on non-critical hosts in the vSAN/Dell VxRail Cluster.
• Shutting down VMs in vSAN cluster due to FTT exceeded. PowerChute will wait for this to
complete before proceeding with shutdown sequence.
A critical event has occurred on a critical host that is currently getting its VMs/vApps shut down in a separate
shutdown sequence (as a non-critical host) due to Shut down all Cluster VMs being enabled.
• Starting Maintenance Mode Task on Host [Host] using data evacuation mode: [Mode].
A maintenance mode task has been started on a vSAN/Dell VxRail host using the data evacuation mode: No
Action or Ensure Accessibility.
• Ensure Accessibility - vSAN/Dell VxRail data will be reconfigured to ensure storage object accessibility.
• No Action - No special action will be taken regarding vSAN/Dell VxRail data.
208
PowerChute Network Shutdown: VMware User Guide
• Starting Cluster.
A critical event has occurred on the UPS powering the Cluster and PowerChute is shutting down all Controller
Virtual Machines in the Cluster. Controller VMs are shut down after all other VMs in the Cluster, and the Cluster
itself are shut down.
A critical event has been resolved and PowerChute is attempting to start up the Controller Virtual Machine [CVM].
This event is triggered after the host is online.
A critical event has been resolved and PowerChute is waiting for the Controller Virtual Machines in the Cluster to
startup. The Cluster will start up when Controller VM startup is complete.
209
PowerChute Events and Logging
A critical event has occurred on the UPS powering the Nutanix Cluster and PowerChute is shutting down the
Acropolis File Server (AFS) VMs in the Cluster.
PowerChute was unable to shut down the Acropolis File Server (AFS) VMs in the Cluster.
A critical event has been resolved and PowerChute is trying to start up the Acropolis File Server (AFS) VMs in the
Cluster.
PowerChute was unable to start up the Acropolis File Server (AFS) VMs in the Cluster.
PowerChute did not detect any active replications for a Protection Domain. This step of the shutdown sequence is
skipped, and PowerChute continues to the next step, shutting down the Nutanix Cluster.
• Replication in progress for Protection Domain detected. Waiting the configured delay.
PowerChute detected active replications for a Protection Domain. PowerChute will wait the delay specified in the
Duration field on the Protection Domain Settings screen before aborting replications.
PowerChute starts a maintenance mode task on the host when a critical UPS event occurs.
210
PowerChute Network Shutdown: VMware User Guide
PowerChute starts a maintenance mode task on the host when a critical UPS event occurs.
211
PowerChute Events and Logging
A critical event has occurred on the UPS powering the Cluster and PowerChute is shutting down the OmniStack
Virtual Controller [OVC] running the Cluster. The OmniStack Virtual Controller is shut down after all other VMs in
the Cluster.
PowerChute was unable to gracefully shut down OmniStack Virtual Controller [OVC].
• Insufficient time configured for OVC shutdown. Please increase OVC Shutdown Duration.
PowerChute was unable to shut down the OmniStack Virtual Controller [OVC] as insufficient time was provided in
the OVC Shutdown Duration field.
A critical event has been resolved and PowerChute is attempting to start the OmniStack Virtual Controller [OVC].
This event is triggered after the host is online.
212
PowerChute Network Shutdown: VMware User Guide
• Cannot connect to HyperFlex Rest service. PowerChute may not be able to issue commands to
the cluster.
PowerChute cannot establish a connection with the HyperFlex Rest service and may not be able to perform
cluster operations.
• Cluster shut down did not complete in time. PowerChute will wait until the cluster has
successfully shut down.
PowerChute could not shut down the cluster within the Shutdown Duration specified. PowerChute will wait for
the Shutdown Duration to elapse before attempting to shut down the cluster again with respect to the
cluster_ops_retries value in the PowerChute configuration file. For more information, see Cluster VM
Shutdown/Startup.
• Cluster startup did not complete in time. PowerChute will wait until the cluster has successfully
started.
PowerChute could not start the cluster within the Startup Duration specified. PowerChute will wait for the Startup
Duration to elapse before attempting to start the cluster again with respect to the cluster_ops_retries value
in the PowerChute configuration file. For more information, see Cluster VM Shutdown/Startup.
213
PowerChute Events and Logging
This topic does not apply to Advanced Configuration with Advanced UPS Setups. For more
information about Critical Events in Advanced UPS Setups, please view the “Using PowerChute
Network Shutdown in an Advanced Redundant Setup” Application Note here.
PowerChute Network Shutdown considers all UPS devices in a Redundant configuration as one UPS System.
Each UPS must be able to support the entire load itself.
• 2 identical critical events (such as Low-Battery Condition Occurred OR UPS turn off has been
initiated) occurring in succession on 2 UPS devices cause a shutdown. The shutdown is immediate and
no configured delay is counted down.
• 2 identical user-configured critical events such as UPS On Battery occurring in succession on 2 UPS
devices will cause a shutdown. Any configured delay is counted down first.
• 2 different critical events (such as Low-Battery Condition Occurred and PowerChute cannot
communicate with the Management Card ) occurring in succession on 2 UPS devices cause the event
called Multiple Critical Events occurred which always leads to a shutdown. Prior to the PowerChute
shutdown process starting, a 10-second delay is counted. No configured delay time is counted down.
214
PowerChute Network Shutdown: VMware User Guide
For example, you are operating in a Parallel Redundant mode (i.e., there are more UPS devices available than are
required to provide power to the load) and then you increase the load by adding new servers. PowerChute detects
if the mode of operation changes to Parallel Capacity (i.e., all UPS devices in the configuration are now required to
provide power to the load). This could cause PowerChute to initiate a shutdown if just one critical event is triggered.
Scenario 1: Three 10kVA UPS devices supporting a 16kVA Server Load (Parallel
Redundant)
In this Parallel Redundant configuration, two or more critical events occurring cause PowerChute to trigger a
graceful shutdown of the server(s).
• 2 identical critical events (such as Low-Battery Condition: Occurred OR UPS turn off has been
initiated) occurring in succession on 2 UPS devices cause a shutdown. The shutdown is immediate and
no configured delay is counted down.
• 2 identical user-configured critical events such as UPS: On Battery occurring in succession on 2 UPS
devices will cause a shutdown. Any configured delay is counted down first.
• 2 different critical events (such as Low-Battery Condition: Occurred and PowerChute cannot
communicate with the Management Card ) occurring in succession on 2 UPS devices cause the event
called Multiple Critical Events occurred which always leads to a shutdown. Prior to the PowerChute
shutdown process starting, a 10-second delay is counted. No configured delay time is counted down.
Scenario 2: Three 10kVA UPS devices supporting a 13kVA Server Load (Parallel
Capacity)
In this Parallel Capacity configuration, one critical event triggers a graceful shutdown of the server(s).
• If 2 identical critical events occur in a parallel capacity configuration, then the event is only reported once
and any configured delay is counted down.
• If 2 different critical events occur, then both events are reported separately and the shortest shutdown
delay of the two is counted down.
Scenario 3: Two 10kVA UPS devices supporting an 8kVA Server Load (Parallel Capacity)
In this Parallel Capacity configuration, one critical event occurs and graceful shutdown of the server(s) is not
triggered as the single UPS device can still support the connected load.
Scenario 4: Two 10kVA UPS devices supporting an 8kVA Server Load (Parallel Capacity)
In this Parallel Capacity configuration, two identical critical events occurring causes PowerChute to trigger a
graceful shutdown of the server(s). The shutdown is immediate and no configured delay is counted down.
215
General
• Communications Settings
• PowerChute Agents
• PowerChute Configuration (INI) File
• Java Update
• User Interface Session Timeout
• Check for Updates
• Customer Support
216
PowerChute Network Shutdown: VMware User Guide
Communications Settings
PowerChute Access
HTTPS is enabled by default and provides secure access to the PowerChute user interface. You may change the
Protocol to HTTP (unencrypted) and this will come into effect after you restart the PowerChute service. For more
information, please see Application Note “PowerChute Network Shutdown Security Features Overview” here.
PowerChute Security
The Username and Authentication Phrase are used to authenticate communications between PowerChute and the
NMC. Therefore, you must set these values to be the same in both PowerChute and the NMC.
Changes to the Username, Password and Authentication Phrase are logged to the event log. For more information
see Non-Configurable Events.
If you forget your password, see Resetting your PowerChute username or password.
If PowerChute is registered with more than one NMC, they should all use the same administrator user name and
authentication phrase.
Click the Check Details button on the Communications Settings page to validate that the PowerChute settings are
the same as the NMC(s).
217
General
PowerChute Agents
The PowerChute Agents page, under the UPS Configuration menu option, lists all PowerChute Agents registered
with the same NMC(s).
Loading this screen may be slow as PowerChute tries to resolve the host name for each Agent. If the host name
cannot be resolved, just the IP address will be displayed. You can click on an IP address to launch the PowerChute
user interface for that Agent.
A maximum of 50 PowerChute Agents can be registered with a single NMC. For more information, please view
Application Note “PowerChute Network Shutdown with more than 50 computers” here.
If you uninstall a PowerChute Agent, its IP address remains registered with the NMC and must be
removed manually using the NMC UI.
If System Problem Report is displayed when accessing the screen, this is because PowerChute has not received
the information it requires from the NMC(s). During normal operation, this can happen due to network traffic. Try
the menu selection again in a few minutes.
This may also occur if PowerChute cannot establish communication with the NMC.
218
PowerChute Network Shutdown: VMware User Guide
This file is updated when running the PowerChute Setup and when you make configuration changes through the
user interface, e.g. enabling shutdown actions for events.
After you have configured one installation of PowerChute with your required settings you can use the pcnsconfig.ini
file to apply the same settings to another copy of PowerChute on a different machine. Certain settings such as the
localHostAddress or UnicastAddress values in the [Networking] section will need to be edited manually for the
target machine.
Stop the PowerChute service. For more information, see Knowledge Base article FA290624 (Enter "FA290624" at
https://www.apc.com/us/en/faqs/home/).
If you forget your username or password, you can re-set them by editing the pcnsconfig.ini file.
In the [NetworkManagementCard] section of the INI file, set the following lines with your new values:
219
General
Java Update
The Java Update feature enables you to change the Java Runtime Environment (JRE) used by PowerChute to any
other JRE already installed on your system. Follow the steps below to update the Java version used by
PowerChute.
1. Download a valid JRE on your system. JREs can be downloaded from the OpenJDK website.
PowerChute v4.3+ supports Java 11 or above. You can only update the Java version used
with PowerChute to a 64-bit JRE.
The Java versions supported by PowerChute are posted on the APC website at
http://www.apc.com/wp/?um=200.
2. Navigate to the PowerChute installation directory, and create a new folder called “Updates”. If the default
installation directory was chosen during installation, this location will be:
3. Copy the Java file downloaded in Step 1 above to the Updates directory.
4. Navigate to the About screen in the PowerChute UI (Help > About). In the Java Update Available field,
the downloaded Java file will be listed in a drop-down box.
5. Select the Java version you want to update PowerChute to use from the drop-down box, and click
Upgrade.
7. Another dialog will appear and PowerChute restarts. Wait 2-3 minutes for the Java version to successfully
update.
8. When the PowerChute service restarts, refresh your browser and navigate to the About screen. The Java
Version field will be updated to show the new Java used by PowerChute.
It is not necessary to keep the downloaded Java files in the Updates directory after the Java
update is complete.
220
PowerChute Network Shutdown: VMware User Guide
1. Stop the PowerChute service. For more information, see Knowledge Base article FA290624 (Enter
"FA290624" at https://www.apc.com/us/en/faqs/home/).
2. Open the folder where the installed files are located, and locate the file at the following location:
\group1\comp\http\html\WEB-INF\web.xml
<session-config>
<session-timeout>10</session-timeout>
</session-config>
4. The duration value in the <session-timeout> element can be changed. For example to change the timeout
to 15 minutes, change the <session-timeout> value to 15, e.g.:
<session-config>
<session-timeout>15</session-timeout>
</session-config>
The PowerChute UI will now timeout following a period of inactivity that corresponds to the new <session-
timeout> value.
221
General
When enabled, PowerChute checks for available software updates when the service is started and every seven
days after that. You can also check for updates immediately by clicking the Check Now button.
When a new software version is released, key details and a link to download the new version are displayed on the
Check for Updates screen and logged in the Event Log and MIB browser via SNMP traps.
You can disable the software update notifications feature on the last screen of the PowerChute Setup wizard or on
the Check for Updates page.
222
PowerChute Network Shutdown: VMware User Guide
Customer Support
For customer support options, please visit www.apc.com/support as a starting point.
The Knowledge Base there contains detailed troubleshooting information for product issues.
You can also browse discussion forums or submit a query using e-mail.
For country-specific support centers’ contact details, go to www.apc.com/support/contact and select your country
from the drop-down box list. This lists the contact details for support services you may require.
223
Troubleshooting
224
PowerChute Network Shutdown: VMware User Guide
1. Verify that the Administrator Username and Authentication Phrase are the same for PowerChute and the
NMC.
3. Check the IP settings on the PowerChute machine and on the NMC user interface to verify that the default
gateway and subnet mask are correct.
4. Check that the IP address of the Network Management Card has not changed after PowerChute was
registered with the NMC. To check this, click on the Communications Settings menu item in PowerChute
and check that the IP address shown in the Network Management Card section is correct.
5. Verify that there is a network connection between the PowerChute client computer and the Network
Management Card. Attempt to access the Network Management Card from the PowerChute client
computer, or use the ping utility from the Network Management Card.
6. A PowerChute Network Shutdown client that acquires its IP address through DHCP will lose
communications with the Network Management Card when the client renews its DHCP address lease and
acquires a different IP address. To resolve this issue,each system using PowerChute Network
Shutdown must have a permanent IP address. Reserve IP addresses in the DHCP server by using the
MAC address of the clients, so that they never change for the specified machines. The NMC should also
have a static IP address.
7. Verify that the PowerChute service is started. If it is already started, stop the service and then restart it
again.
8. Update the firmware on the NMC to the latest version which can be downloaded from the APC Web site, or
contact “Customer Support”.
225
Troubleshooting
VMware Troubleshooting
VM Migration
The issues below will prevent VMs from being migrated to other available Hosts. PowerChute does not log
migration errors for individual VMs in the Event Log but the error.log file contains additional information.
vSphere Errors
When performing manual VM Migration PowerChute uses the MigrateVM_Task API function. When there
are errors migrating VMs the following appears in the error.log file:
To troubleshoot individual VMs the logging level can be set to “warn” instead of “error”, see section on debug
logging.
The events below are logged to the Event Log if some or all VMs do not successfully migrate when there are
target hosts available:
• InvalidState: Thrown if the operation cannot be performed because of the virtual machine's current
state or the target host's current state. For example, if the virtual machine configuration information
is not available or if the target host is disconnected or in maintenance mode.
• InsufficientResourcesFault: Thrown if this operation would violate a resource usage policy.
• MigrationFault: Thrown if it is not possible to migrate the virtual machine to the destination host.
This is typically due to hosts being incompatible, such as mismatch in network polices or access to
networks and datastores.
• VmConfigFault: Thrown if the virtual machine is not compatible with the destination host.
Typically, a specific subclass of this exception is thrown, such as IDEDiskNotSupported.
Note: The errors above and descriptions are taken from the vSphere API Reference Guide :
https://www.vmware.com/support/developer/vc-sdk/
226
PowerChute Network Shutdown: VMware User Guide
This will occur if the other Hosts are in Maintenance mode, incompatible or have a UPS critical event active.
“Cannot connect to vCenter Server. PowerChute will not be able to perform VM migration."
The migration time set in the Duration field was not long enough to allow all VMs to
get migrated to another host in the cluster.
"Insufficient time to migrate all VMs using the VM Migration Duration configured."
VM Shutdown
“Cannot connect to vCenter Server. PowerChute may not be able to issue commands to Virtual Machines or
Hosts.”
“vCenter Server authentication error. PowerChute may not be able to issue commands to Virtual Machines
or Hosts.”
When vCenter Server Connection is not available PowerChute will attempt to connect directly to each ESXi
host to perform VM shutdown. This requires a shared user account (see section on creating shared user
accounts) to be present on each of the ESXi hosts. If PowerChute cannot connect to the ESXi hosts the
following exceptions may appear in the error.log:
com.vmware.vim25.NoPermission
com.vmware.vim25.InvalidLogin
Solution:
227
Troubleshooting
Verify that the vCenter Server User Account configured in PowerChute can access each of the ESXi hosts
by connecting directly to each host using the vSphere client. If the connection is lost, add the user account to
each ESXi host. If the connection is successful verify that the user account has “Administrator” permissions.
When PowerChute attempts to connect directly to the ESXi hosts it must be able to connect to them using
their Fully Qualified Domain Name or IP Address when vCenter Server is no longer available. If there are
DNS issues or Hostname resolution issues the following errors appear in the error.log file:
Solution:
Verify that DNS lookups of the ESXi Host FQDN are working from the PowerChute machine using the
nslookup command.
If nslookup is not successful, the ESXi hosts can be added to the /etc/hosts file on Linux (PowerChute
Appliance/vMA) or C:\Windows\system32\drivers\etc\hosts file on Windows machines. If the only DNS
server available is running as a VM on the ESXi hosts being protected then it is necessary to use the hosts
file. Alternatively ESXi hosts can be added to vCenter Server using their IP address instead of FQDN.
The time set in the Duration field was insufficient to allow VMs to shut down
gracefully.
"Insufficient time to shut down all VMs using the VM Shutdown Duration configured."
VMware tools have not been installed. This will cause a hard shutdown of the VM.
VMware tools must be installed to perform graceful Guest OS shutdown. VMware Tools status is shown in
the summary tab for VMs.
DRS is set to fully automated for the cluster. Enable VM Migration and set the
duration.
If DRS is enabled and set to fully automated for the cluster, VM Migration is enabled by default. If you
disable VM Migration while DRS remains fully automated and enabled, when a maintenance mode task
begins on the host, DRS will start migrating VMs to other available hosts. If PowerChute begins VM
shutdown on the host at the same time as the DRS migration occurs, VMs that are in migration will not
successfully shut down.
If DRS is enabled and set to fully automated, VM Migration must be enabled in PowerChute with a VM
migration duration set, in order to allow Virtual Machines to migrate successfully.
228
PowerChute Network Shutdown: VMware User Guide
VM Startup
The Host had insufficient resources to start the VM, see section on HA Admission
Control.
When entering and exiting maintenance mode the Host’s HA configuration might experience an error and
end up in an invalid state. Invalid state will be shown on the Summary tab for the Host in the vSphere client.
This will prevent PowerChute from powering on VMs and there will be repeated event log entries indicating
that PowerChute is attempting to re-start VMs that did not start.
Solution:
Right click on the Host and select “Reconfigure for vSphere HA”
OR
vApp Shutdown
“Cannot connect to vCenter Server. PowerChute will not be able to perform vApp Shutdown.”
vApp shutdown is not supported if the vCenter Server is unavailable during the shutdown sequence.
This is required to perform Guest OS shutdown. If Guest OS shutdown is enabled for a VM in the vApp and
VMware Tools are installed this will cause the vApp shutdown task to be unsuccessful.
If the shutdown action is set to Power Off instead of Guest OS Shutdown, VMs in the vApp will not be shut
down gracefully.
229
Troubleshooting
The time you set in the Duration field was not long enough to allow the vApp to shut
down gracefully.
"Insufficient time to shut down vApp using the vApp Shutdown Duration configured."
"Insufficient time to shut down vApp using the vApp Shutdown Duration"
The vApp contains either the PowerChute VM or the vCenter Server VM.
vApp shutdown is not supported if either the PowerChute VM or vCenter Server VM are part of a vApp.
“vApp [vApp] will not be shut down as it contains the Virtual Machine running PowerChute. Please remove
PowerChute from the vApp.”
“vApp [vApp] will not be shut down as it contains the vCenter Server VM. Please remove vCenter Server VM
from the vApp."
VMware Tools are not installed and running on the vCenter Server VM
This will prevent the VM from being shut down gracefully and it will also prevent PowerChute from identifying
the VM as the one running vCenter Server.
PowerChute cannot identify the Virtual Machine running vCenter Server using the IP
address or hostname configured under vCenter Server Details on the
Communications Settings page
This can occur if there is a DNS configuration issue i.e. the IP address/Hostname cannot be resolved.
Solution:
• Check that VMware tools are installed and running on the vCenter Server VM
230
PowerChute Network Shutdown: VMware User Guide
• Check that the IP address or Hostname/FQDN for vCenter Server Connection in PowerChute
matches the IP/Hostname shown on the Summary page for the VM.
On the Host Protection page ensure that the Host running the vCenter Server VM is marked with the
vSphere icon. Using vSphere client vMotion the vCenter Server VM to another host and verify that the Host
protection page is updated to reflect this change.
Solution:
The shutdown time set in the VM Shutdown Duration field was not long enough to
allow the vCenter Server VM to shut down.
vCenter Server VM [VM] cannot be gracefully shut down. Please check vCenter Server VM Shutdown
duration.
PowerChute cannot locate the vCenter Server VM in the Inventory. See the troubleshooting section in the
Online Help.
231
Troubleshooting
The vCenter Server VM found in the Inventory is powered off. See the troubleshooting section in the online
help.
If the Domain name for the ESXi host running the vCenter Server VM is different for
the vCenter Server Inventory compared to the Standalone ESXi host, this will cause
vCenter Server VM shutdown and unsuccessful Host shutdown.
e.g. Domain is set to apcc.com in vCenter, but apcc on the ESXi host. This can be seen using the vSphere
Client for each Host under Configuration > DNS and Routing > Host Identification > Domain.
To avoid this ensure that the same domain name is set in vCenter Server and on the ESXi host.
Host Shutdown
The following exception appears in the error.log when attempting to perform VM actions or Host actions
using the vSphere API using the unlicensed version of vSphere ESXi:
com.vmware.vim25.NoPermission
The account being used to connect to the Host does not have sufficient privileges.
com.vmware.vim25.NoPermission
The account credentials being used to connect to the Host are incorrect or have
expired.
com.vmware.vim25.InvalidLogin
com.vmware.vim25.AuthenticationError
DNS Configuration issues may prevent PowerChute from connecting to the host
e.g. a stale DNS record containing an invalid hostname/FQDN or IP address.
232
PowerChute Network Shutdown: VMware User Guide
The account being used to connect to vCenter Server does not exist on each of the
VMware Hosts being protected by PowerChute. See section on configuring Shared
Active Directory/Local User account.
com.vmware.vim25.InvalidLogin
The following event appears in the Event Log when this occurs:
Solution:
Check that VMware tools are installed and running on the PowerChute VM.
Solution:
Maintenance Mode
The following message appears in the EventLog if it takes too long for PowerChute to put a Host into
Maintenance Mode:
“Maintenance mode task cancelled on Host [Host] as there are still powered on VMs. Please verify that
sufficient time has been configured for VM/vApp/VCSA VM shutdown duration.”
If PowerChute is configured to start a Maintenance Mode on hosts at the start of the shutdown sequence
and the connection between PowerChute and vCenter Server is lost during the VM/vApp Shutdown step,
this will result in the hosts being placed into Maintenance Mode later in the shutdown sequence during the
Host Shutdown step via a direct host connection.
"Cannot connect to vCenter Server. PowerChute may not be able to issue commands to Virtual Machines or
Hosts."
233
Troubleshooting
If the connection to vCenter Server (Physical or vCenter Server VM) was lost e.g.
when vCenter Server VM is shut down during a Shutdown Sequence or if there was
a network issue connecting to the vCenter Server.
The following events may appear in the EventLog when this occurs:
"Cannot connect to vCenter Server. PowerChute may not be able to issue commands to Virtual Machines or
Hosts."
"Cannot connect to vCenter Server. PowerChute will not be able to perform VM Migration."
"Cannot connect to vCenter Server. PowerChute may not be able to perform vApp Shutdown."
The following exceptions may appear in the error.log when this occurs:
If you experience issues during the shutdown/startup sequence, e.g. the host does
not exit maintenance mode or does not shutdown as expected, the following events
appear in the error.log:
Solution:
Increase the values for the following configurable timeout settings in the Configuration INI file:
[HostConfigSettings]
VMware_connect_timeout = 10
VMware_read_timeout = 15
234
PowerChute Network Shutdown: VMware User Guide
For example, to increase the timeout settings to 30 seconds each, change the values to the following:
VMware_connect_timeout = 30
VMware_read_timeout = 30
In a HA Cluster environment, VMs may not get powered on during startup when the
ESXi host is taken out of maintenance mode. This can occur if the HA Cluster
election process has not completed before PowerChute attempts to start the VMs.
The following event will appear in the EventLog when this occurs:
Solution:
Increase the values for the following configurable settings in the Configuration INI file:
delay_after_exit_maintenance_mode = 30
delay_after_vcsa_powered_on_and_connected = 30
For example, to increase the delay to 60 seconds each, change the values to the following:
delay_after_exit_maintenance_mode = 60
delay_after_vcsa_powered_on_and_connected = 60
235
Troubleshooting
Nutanix Troubleshooting
NOTE: The troubleshooting items below are only applicable when Nutanix support is enabled, and
are to be used along with VMware Troubleshooting.
Cluster Connection
If the connection to your Nutanix Cluster or Nutanix Controller Virtual Machines is lost, the following log
messages and exceptions may appear in the error.log:
Nutanix Cluster not available for any cluster service stop operations
This error may occur if the Cluster is down when PowerChute attempts to stop the Cluster. This could also
happen if your Nutanix Cluster credentials have changed after configuring PowerChute. Ensure the correct
Cluster/Controller VM credentials are provided via the PowerChute Setup wizard, or the Nutanix Settings
screen.
"Could not connect to the Nutanix Cluster. Cannot stop Nutanix Cluster services."
This can be caused by an unsuccessful attempt to stop AFS or an unsuccessful attempt to power off all User
VMs. To resolve this issue, ensure you configure a sufficient duration to successfully stop AFS and power off
all the User VMs.
Cluster may not start if the time drift is incorrectly set. To check if the time between the individual Controller
VMs is correctly synchronized, execute the following command:
236
PowerChute Network Shutdown: VMware User Guide
allssh date
For information on configuring time synchronization for your Nutanix Cluster, see the following
recommendations from Nutanix.
This could also happen if your Nutanix Cluster credentials have changed after configuring PowerChute.
Ensure the correct Cluster/Controller VM credentials are provided via the PowerChute Setup wizard, or the
Nutanix Settings screen.
If AFS cannot be successfully stopped, the Cluster cannot be stopped and Controller VMs cannot be
gracefully shut down. To resolve this issue, increase the AFS stop duration. It is recommended that you
manually test the time needed to stop AFS on your Cluster and specify that as the duration in the
PowerChute UI.
To do this, connect to any Controller VM while AFS is running, and use the following command:
Note the duration it takes for the AFS service to fully stop and use this as the AFS Shutdown Duration in
the Virtualization Settings screen in the PowerChute UI.
Protection Domain
For information on why this did not abort, refer to the error message generated in the error.log.
237
Troubleshooting
Metro Availability may not be disabled if Metro Availability was not correctly set up on the Cluster.
For more information, refer to the error message generated in the error.log.
Metro Availability may not be re-enabled if Metro Availability was not correctly set up on the Cluster.
For more information, refer to the error message generated in the error.log.
238
PowerChute Network Shutdown: VMware User Guide
NOTE: The troubleshooting items below are only applicable when HPE SimpliVity support is
enabled, and are to be used along with VMware Troubleshooting.
Cluster Connection
If the connection to your HPE SimpliVity OmniStack Virtual Controller (OVC) VMs is lost, the following log
messages and exceptions may appear in the error.log:
"One or more OmniStack Virtual Controllers are offline. We cannot apply configuration for offline
controllers."
Ensure the correct credentials are provided via the PowerChute Setup wizard, or the Communication
Settings screen. Additionally, check that all OVCs in your HPE SimpliVity Cluster are powered on and have
the correct IP addresses assigned, and provide a sufficient Shutdown Duration value to allow the Cluster
Services to star successfully,
vCenter Server displays the same IP address for all OmniStack Virtual Controller VMs
After vCenter Server is restarted, VMware Tools installed on the VM incorrectly displays the same IP
address for all OmniStack Virtual Controller VMs in the HPE SimpliVity Cluster. When this issue occurs,
OmniStack Virtual Controller VMs cannot be shut down and no error message is logged to the Event Log.
PowerChute may also report that it cannot communicate with the OmniStack Virtual Controller VMs as
PowerChute cannot connect to the IP addresses reported by VMware Tools.
To resolve the issue, restart the OmniStack Virtual Controller VMs one at a time using the HPE vSphere
plugin options:
1. Right-click on the Host with the required OmniStack Virtual Controller VM.
2. Click "All HPE SimpliVity actions" and click "Shut Down Virtual Controller..."
The correct IP addresses will be displayed after the OVC VMs have restarted.
239
Troubleshooting
To successfully shut down HPE SimpliVity OmniStack Virtual Controller (OVC) VMs, HA Compliance must
be reached and the first OVC VM must have completed its shut down process before the subsequent OVC
VMs in the Cluster can be powered off.
Also ensure that you configure a sufficient duration to successfully shut down all OmniStack Virtual
Controller VMs in the Cluster.
"Insufficient time configured for OVC shutdown. Please increase OVC Shutdown Duration."
If the OmniStack Virtual Controller VMs in the Cluster cannot be started, ensure that you configure a
sufficient duration to successfully start up all OmniStack Virtual Controller VMs in the Cluster.
240
PowerChute Network Shutdown: VMware User Guide
HyperFlex Troubleshooting
NOTE: The troubleshooting items below are only applicable when HyperFlex support is enabled,
and are to be used along with VMware Troubleshooting.
Cluster Connection
If your HyperFlex credentials are incorrect and PowerChute cannot connect to HyperFlex, the following log
messages may appear in the error.log:
If your HyperFlex credentials were updated on HyperFlex and not PowerChute, the following log messages
may appear in the error.log:
Ensure the correct credentials are provided via the PowerChute Setup wizard, or the Communication
Settings screen.
If the Controller VMs in your HyperFlex cluster are not available (for example, they are not fully powered on),
the following log messages may appear in the error.log:
Ensure that all Controller VMs in your HyperFlex Cluster are powered on and have the correct IP addresses
assigned.
If your HyperFlex Cluster cannot be shut down, ensure that you configure a sufficient duration to
successfully stop the cluster service and shut down the cluster. For more information, consult the error.log.
241
Troubleshooting
If your HyperFlex Cluster cannot be started, ensure that you configure a sufficient duration to successfully
start the cluster service and start up the cluster.
Controller VM
To successfully shut down Controller VMs, ensure that you configure a sufficient duration to successfully
shut down all Controller VMs in the Cluster.
If "Failed to retrieve VM entity for Controller VM" is written to the PoweChute error.log, increase the value of
the "VMware_read_timeout" setting in the PowerChute configuration file (pcnsconfig.ini). The default
value is 15 seconds, and it is recommended you increase this value to 30 seconds:
[HostConfigSettings]
VMware_connect_timeout = 10
VMware_read_timeout = 30
If the Controller VMs in the Cluster cannot be started, ensure that you configure a sufficient duration to
successfully start up all Controller VMs in the Cluster.
242
PowerChute Network Shutdown: VMware User Guide
243
Troubleshooting
Browser Troubleshooting
The PowerChute Web UI is accessed using a browser. For a list of supported browsers please view the Operating
System Compatibility chart.
PowerChute requires cookies and JavaScript to be enabled in the browser in order to function correctly. If cookies
are being blocked this will prevent logging into the PowerChute UI. To avoid this, allow cookies for the PowerChute
URL.
• IE Enhanced Security is enabled by default for most Windows operating systems and this can block
JavaScript for the PowerChute Application - to avoid this add the PowerChute URL to the Trusted Sites List
under Tools - Internet Options - Security.
244
PowerChute Network Shutdown: VMware User Guide
• When the user session times out or the PowerChute service restarts, clicking on the edit or delete icons on
the SSH List View screen will result in an error message being shown on screen. Click on any of the menu
items to return to the log in screen.
245
Troubleshooting
SNMP Troubleshooting
The Network Management System (NMS) cannot connect to PowerChute via SNMPv1:
1. Verify that there is a network connection between the NMS and PowerChute.
2. Verify that the SNMP Port specified during installation (161 by default) is not blocked for inbound
communications by a firewall.
4. Verify that the Community Name specified in PowerChute matches the Community Name used by the
NMS. The Community Name is case sensitive.
5. Verify that the NMS IP or Hostname specified in PowerChute matches the IP/Hostname of the NMS.
6. Verify that the Access Type specified in PowerChute is set to Read for SNMP Get requests, or Read/Write
for SNMP Set requests.
The Network Management System (NMS) cannot connect to PowerChute via SNMPv3:
1. Verify that there is a network connection between the NMS and PowerChute.
2. Verify that the SNMP Port specified during installation (161 by default) is not blocked for inbound
communications by a firewall.
4. Verify that the User Name specified in PowerChute matches the User Name used by the NMS. The user
name is case sensitive.
5. Verify that the Authentication Protocol. Authentication Passphrase, Privacy Protocol and Privacy
Passphrase used by the NMS match those specified in PowerChute.
6. Verify that the Access Type specified in PowerChute is set to Read for SNMP Get requests, or Read/Write
for SNMP Set requests.
1. Verify that there is a network connection between PowerChute and the NMS.
• Verify that the UDP Port specified (162 by default) is not blocked for outbound communications by
a firewall.
• Verify that the SNMPv1 Community Name, or SNMPv3 User Profile used to send the Trap is
configured in the NMS.
• Verify that the Privacy Protocol selected is compatible with the Java JRE used by PowerChute:
246
PowerChute Network Shutdown: VMware User Guide
General Troubleshooting
The PowerChute service does not start if m11.cfg file is missing
If the m11.cfg file is moved, renamed, or deleted, the PowerChute service cannot start. If the m11.bak file is
present, PowerChute will restore the m11.cfg file using this backup file when the PowerChute service is started.
However, you will need to start the PowerChute service again after the m11.cfg file is restored.
If both the m11.cfg and m11.bak files are not present, you must uninstall and reinstall PowerChute.
Administrator access is required on all operating systems to open and edit the m11.cfg file.
Ensure that the m11.cfg file is not modified in any way.
247
APC by Schneider Electric
Worldwide Customer Support
Customer support for this or any other APC by Schneider Electric product is available at no charge in
any of the following ways:
• Visit the APC by Schneider Electric web site, www.apc.com to access documents in the APC
Knowledge Base and to submit customer support requests.
– www.apc.com (Corporate Headquarters)
Connect to localized APC by Schneider Electric web site for specific countries, each of which
provides customer support information.
– www.apc.com/support/
Global support searching APC Knowledge Base and using e-support.
• Contact the APC by Schneider Electric Customer Support Center by telephone or e-mail.
– Local, country specific centers: go to www.apc.com/support/contact for contact information.
– For information on how to obtain local customer support, contact the APC by Schneider
Electric representative or other distributor from whom you purchased your APC by Schneider
Electric product.
© 2020 Schneider Electric. All Rights Reserved. Schneider Electric, APC and PowerChute are trademarks and the
property of Schneider Electric SE, its subsidiaries and affiliated companies. All other trademarks are property of their
respective owners.
990-4595G-001 11/2020