Manage UPSs
An Uninterruptible Power Supply (UPS) is a device that provides a stable power supply to electronic
equipment in the event of a power grid failure or interruption. It can provide power backup, adjust power quality, and filter electrical noise, ensuring correct operation and extended lifespan of critical equipment, and ensuring continuity and reliability of services. The management platform supports collaboration with UPSs, allowing for monitoring UPS status and checking the connectivity between servers and the UPS network. In addition, with the shutdown collaboration policy configured, the system can automatically shut down specific VMs after UPSs are started during power outages or electricity restrictions. This practice can prevent data loss and storage anomalies and reduce the workload of IT engineers.
Features
• Manage UPSs
• Customize OID repositories
• Attach UPSs to hosts
• Manage the shutdown collaboration policy
• View VMs shut down automatically
Manage UPSs
Perform this task to perform unified configuration and maintenance of UPSs managed by the
management platform, including adding, editing, and deleting UPSs. This feature helps users efficiently manage UPS lifecycle.
Add/Edit a UPS
Perform this task to perform unified incorporation of UPSs. You can use this feature to connect UPSs in physical environments to the management platform. This enables collaboration and real-time collection of key metrics such as power state, remaining power, power supply mode, and uptime.
-
On the top navigation bar, click Ops.
-
From the left navigation pane, select UPSs.
-
Click Add or click Edit in the Actions column for the target UPS.
-
Configure the parameters, and then click OK.
Parameters
• UPS Name: Enter the name of the UPS, used for identification and management.
• IP: Enter the IP address of the UPS, used for remote monitoring and communication.
• Version: Select an SNMP version. Options include SNMP v1, SNMP v2c, and SNMP v3. SNMPv3 provides authentication and encryption, providing higher security.
• Username: Specify the SNMPv3 username.
• Authentication: Select whether to enable SNMPv3 authentication and encryption. Options include:
○ Authentication & No Encryption: If you select this option, you must set the authentication algorithm and password.
○ Authentication & Encryption: If you select this option, you must set the authentication algorithm, authentication password, encryption algorithm, and encryption password.
○ No Authentication & No Encryption: If you select this option, you do not need to set the authentication algorithm, authentication password, encryption algorithm, or encryption password.
• Authentication Algorithm: Select an authentication algorithm. Options include MD5 and SHA.
• Authentication Password: Enter the authentication password.
• Encryption Algorithm: Select an encryption algorithm. Options include DES and AES.
• Encryption Password: Enter the encryption password.
• Context Name: Enter the context name. The system can monitor UPS instances by context name.
• Community: The combination of multiple SNMP entities and the SNMP protocol is called a community. SNMP entities are software located on network management workstations and various network elements that communicate via SNMP to manage the network. Enter the community name for the current UPS and the associated entities. Configure this field if you select SNMP v1 or SNMP v2c from the Version list.
• OID Repository: Select an Object Identifier (OID) repository. Options are APC, Standard, and Custom. An OID repository is an information repository for the OIDs of SNMP targets, used to define the managed objects in the MIB database. If you select different OID repositories, the MIB node IDs will be different.
Customize OID repositories
Perform this task to configure OIDs for MIB nodes as needed.
Procedure
-
On the top navigation bar, click Ops.
-
From the left navigation pane, select UPSs.
-
Click Custom OID Repository, and configure the parameters.
○ MIB Node for Remaining Power: Enter the OID for the MIB node for remaining power.
○ MIB Node for Remaining Time: Enter the OID for the MIB node for remaining time.
○ MIB Node for Output Status: Enter the OID for the MIB node for output status.
○ Output State Value When Battery Is Used: Enter the output state value of the UPS when the host uses a UPS.
-
Click OK to save the configuration.
-
(Optional.) To delete an OID repository, click Delete in the Actions column for the target OID repository.
-
(Optional.) To cancel the configuration, click Cancel.
Attach UPSs to hosts
Manage the shutdown collaboration policy
The shutdown collaboration policy contains key VM management and shutdown policy settings. After
you enable the shutdown collaboration policy, the system will shut down non-key VMs, shut down key VMs, and shut down the cluster as configured in the policy in sequence, but it will not shut down physical hosts if the UPSs are on battery power and the charge falls below the thresholds.
Procedure
-
On the top navigation bar, click Ops.
-
From the left navigation pane, select UPSs.
-
Click Shutdown Policy Collaboration.
-
(Optional.) In the Shut Down Non-key VMs row, set the power threshold and select whether to enable the action.
-
(Optional.) In the Shut Down Key VMs row, set the power threshold and select whether to enable the action. Click to select key VMs. To add or delete key VMs, click Add or Delete, respectively. To return to the Shutdown Policy Collaboration dialog box, click Close.
-
(Optional.) In the Secure Cluster Power row, set the power threshold and select whether to enable the action immediately.
• When a host is powered by both utility power and UPSs, do not enable the shutdown collaboration policy.
• If all the UPSs attached to a host are on battery power and the battery level of each UPS is lower than a threshold specified in the shutdown collaboration policy, the host will be ready for executing the corresponding action.
• If shutting down non-key VMs takes effect and a host is ready for executing the action, the non-key VMs on the host will be shut down.
• If shutting down key VMs takes effect and a host is ready for executing the action, the key VMs on the host will be shut down.
• If cluster shutdown takes effect and more than half of hosts in the cluster are ready for executing the action, the cluster will be shut down.
• To securely shut down a VM, make sure the VM has VMPtools installed. If a VM does not have VMPtools installed, the VM will be powered off and data on the VM might be lost. As a best practice, install VMPtools on all VMs.
View VMs shut down automatically
Perform this task to view VMs shut down automatically and start the VMs as needed.
-
On the top navigation bar, click Ops.
-
From the left navigation pane, select UPSs.
-
Click VMs Shut Down Automatically.
-
(Optional.) To start a VM, click Start.
-
(Optional.) To clear the VM list, click Clear.