Configure the commands to be executed for the UPS device in the event that a power outage is detected.
Use the swrba_notifyevent command to execute the Automated Operation Process. Configure the swrba_notifyevent command in accordance with the UPS device or management software specifications so that it is called in the event that a power outage is detected.
swrba_notifyevent -msgID ESXShutdown -host hostname -comment comment -key access key
Configure the following settings for each of the swrba_notifyevent command parameters.
Parameter name | Setting |
---|---|
msgID | Specify "ESXShutdown". |
host | The specified value is arbitrary. |
comment | The specified value is arbitrary. |
key | Specify the access key for the Automated Operation Process of this template. |
A specification example of the parameters is shown below.
-msgID ESXShutdown -host Server -comment "a power outage has been detected" |
See
Refer to the Systemwalker Runbook Automation Operation Guide for information on checking the access key.