Managing Power in Cisco UCS
This chapter includes the following sections:
- Power Policies
- Configuring Global Power Allocation Equipment Policies
- Configuring Equipment Power Policies
Power Policies
Cisco UCS Central supports global equipment policies defining the global power allocation policy (based on policy driven chassis group cap or manual blade level cap methods), power policy (based on grid, n+1 or non-redundant methods). Registered Cisco UCS domains choosing to define power management and power supply units globally within that client's policy resolution control will defer power management and power supply units to its registration with Cisco UCS Central.
Configuring Global Power Allocation Equipment Policies
Creating a Global Power Allocation Policy
The following example shows how to create a global power allocation policy for a domain group:
UCSC# connect policy-mgr UCSC(policy-mgr)# scope domain-group dg1 UCSC(policy-mgr) /domain-group # create cap-policy UCSC(policy-mgr) /domain-group/cap-policy* # commit-buffer UCSC(policy-mgr) /domain-group/cap-policy #
Deleting a Global Power Allocation Policy
The following example shows how to delete a global power allocation policy for a domain group:
UCSC# connect policy-mgr UCSC(policy-mgr)# scope domain-group dg1 UCSC(policy-mgr) /domain-group # delete cap-policy UCSC(policy-mgr) /domain-group/cap-policy* # commit-buffer UCSC(policy-mgr) /domain-group/cap-policy #
Configuring a Global Power Allocation Policy for a Chassis Group
The following example shows how to configure a global power allocation policy for a chassis group:
UCSC# connect policy-mgr UCSC(policy-mgr) /domain-group # scope domain-group dg1 UCSC(policy-mgr) /domain-group # scope cap-policy UCSC(policy-mgr) /domain-group/cap-policy # set cap-policy policy-driven-chassis-group-cap UCSC(policy-mgr) /domain-group/cap-policy* # commit-buffer UCSC(policy-mgr) /domain-group/cap-policy #
Configuring a Global Power Allocation Policy Manually for a Blade Server
The following example shows how to configure manual power allocation policy for a blade server:
UCSC# connect policy-mgr UCSC(policy-mgr) /domain-group # scope domain-group dg1 UCSC(policy-mgr) /domain-group # scope cap-policy UCSC(policy-mgr) /domain-group/cap-policy # set cap-policy manual-blade-level-cap UCSC(policy-mgr) /domain-group/cap-policy* # commit-buffer UCSC(policy-mgr) /domain-group/cap-policy #
Configuring Equipment Power Policies
Creating an Equipment Power Policy
The following example shows how to create an equipment power policy:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group dg1 UCSC(policy-mgr) /domain-group # create psu-policy UCSC(policy-mgr) /domain-group* # commit-buffer UCSC(policy-mgr) /domain-group #
Deleting an Equipment Power Policy
The following example shows how to delete an equipment power policy:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group dg1 UCSC(policy-mgr) /domain-group # delete psu-policy UCSC(policy-mgr) /domain-group* # commit-buffer UCSC(policy-mgr) /domain-group #
Configuring an Equipment Power Policy
Before configuring a power equipment policy under a domain group, this policy must first be created. Policies under the Domain Groups root were already created by the system and ready to configure.
The following example scopes the domain group dg1 and configures the equipment power policy for that domain group:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group dg1 UCSC(policy-mgr) /domain-group/psu-policy # set descr "Power policy for sector 24" UCSC(policy-mgr) /domain-group/psu-policy* # set redundancy grid UCSC(policy-mgr) /domain-group/psu-policy* # commit-buffer UCSC(policy-mgr) /domain-group/psu-policy #
Viewing an Equipment Power Policy
The following example shows how to create an equipment power policy:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group dg1 UCSC(policy-mgr) /domain-group # scope psu-policy UCSC(policy-mgr) /domain-group/psu-policy # show PSU Policy: Domain Group Redundancy Description ------------ ---------- ----------- root/dg1 NPlus1 UCSC(policy-mgr) /domain-group #