Cisco UCS Central CLI Configuration Guide, Release 1.0
Managing Power in Cisco UCS
Downloads: This chapterpdf (PDF - 329.0KB) The complete bookPDF (PDF - 2.17MB) | The complete bookePub (ePub - 408.0KB) | Feedback

Managing Power in Cisco UCS

Managing Power in Cisco UCS

This chapter includes the following sections:

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

Procedure
      Command or Action Purpose
    Step 1 UCSC# connect policy-mgr  

    Enters policy manager mode.

     
    Step 2 UCSC(policy-mgr)# scope domain-group domain-group  

    Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

     
    Step 3 UCSC(policy-mgr) /domain-group # create cap-policy 

    Creates global power allocation policy for the specified domain group.

     
    Step 4 UCSC(policy-mgr) /domain-group/cap-policy* # commit-buffer 

    Commits the transaction to the system.

     

    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

    Procedure
        Command or Action Purpose
      Step 1 UCSC# connect policy-mgr  

      Enters policy manager mode.

       
      Step 2 UCSC(policy-mgr)# scope domain-group domain-group  

      Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

       
      Step 3 UCSC(policy-mgr) /domain-group # delete cap-policy 

      Deletes global power allocation policy for the specified domain group.

       
      Step 4 UCSC(policy-mgr) /domain-group/cap-policy* # commit-buffer 

      Commits the transaction to the system.

       

      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

      Procedure
          Command or Action Purpose
        Step 1 UCSC# connect policy-mgr  

        Enters policy manager mode.

         
        Step 2 UCSC(policy-mgr)# scope domain-group domain-group  

        Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

         
        Step 3 UCSC(policy-mgr) /domain-group # scope cap-policy 

        Enters the global power allocation mode.

         
        Step 4 UCSC(policy-mgr) /domain-group/cap-policy # set cap-policy policy-driven-chassis-group-cap 

        Specifies global power allocation policy for chassis group in the domain group.

         
        Step 5 UCSC(policy-mgr) /domain-group/cap-policy* # commit-buffer 

        Commits the transaction to the system.

         

        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

        Procedure
            Command or Action Purpose
          Step 1 UCSC# connect policy-mgr  

          Enters policy manager mode.

           
          Step 2 UCSC(policy-mgr)# scope domain-group domain-group  

          Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

           
          Step 3 UCSC(policy-mgr) /domain-group # scope cap-policy 

          Enters the global power allocation mode.

           
          Step 4 UCSC(policy-mgr) /domain-group/cap-policy # set cap-policy manual-blade-level-cap 

          Enables manual blade server level power allocation.

           
          Step 5 UCSC(policy-mgr) /domain-group/cap-policy* # commit-buffer 

          Commits the transaction to the system.

           

          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

          Procedure
              Command or Action Purpose
            Step 1 UCSC# connect policy-mgr  

            Enters policy manager mode.

             
            Step 2 UCSC(policy-mgr)# scope domain-group domain-group  

            Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

             
            Step 3 UCSC(policy-mgr) /domain-group # create psu-policy 

            Creates the power policy from the domain group.

             
            Step 4 UCSC(policy-mgr) /domain-group* # commit-buffer 

            Commits the transaction to the system.

             

            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

            Procedure
              Step 1   UCSC# connect policy-mgr

              Enters policy manager mode.

              Step 2   UCSC(policy-mgr)# scope domain-group domain-group

              Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

              Step 3   UCSC(policy-mgr) /domain-group # delete psu-policy

              Deletes the power policy from the domain group.

              Step 4   UCSC(policy-mgr) /domain-group* # commit-buffer

              Commits the transaction to the system.


              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 You Begin

              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.

              Procedure
                  Command or Action Purpose
                Step 1 UCSC# connect policy-mgr  

                Enters policy manager mode.

                 
                Step 2 UCSC(policy-mgr)# scope domain-group domain-group  

                Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

                 
                Step 3 UCSC(policy-mgr) /domain-group # scope psu-policy 

                Enters the power policy mode.

                 
                Step 4 UCSC(policy-mgr) /domain-group # set descr power-policy-description-text 

                Specifies the description for the power policy.

                 
                Step 5 UCSC(policy-mgr) /domain-group # set redundancy grid | n-plus-1 | non-redund  

                Specifies the redundancy for the power policy for Grid (grid), N-Plus-1 (n-plus-1), or non-redundancy (non-redund).

                 

                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

                Procedure
                    Command or Action Purpose
                  Step 1 UCSC# connect policy-mgr  

                  Enters policy manager mode.

                   
                  Step 2 UCSC(policy-mgr)# scope domain-group domain-group  

                  Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

                   
                  Step 3 UCSC(policy-mgr) /domain-group # show psu-policy 

                  Enters the power policy mode.

                   

                  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 #