C H A P T E R  9

Power Monitoring and Management of Hardware Interfaces

Topics

Description

Links

Identify power monitoring and management feature updates per ILOM firmware point release

CLI procedures for power monitoring and management of hardware interfaces



Related Topics

 

 

For ILOM

Chapter or Section

Guide

  • Concepts
  • Power Consumption Management Interfaces

Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide (820-6410)

  • Web interface
  • Monitoring Power Consumption

Oracle Integrated Lights Out Manager (ILOM) 3.0 Web Interface Procedures Guide (820-6411)

  • IPMI and SNMP hosts
  • Monitoring Power Consumption

Oracle Integrated Lights Out Manager (ILOM) 3.0 Management Protocols Reference Guide (820-6413)

  • Feature Updates
  • Power Management Feature Updates

Oracle Integrated Lights Out Manager (ILOM) 3.0 Features Updates and Release Notes (820-7329).

The ILOM 3.0 Documentation Collection is available at: http://docs.sun.com/app/docs/prod/int.lights.mgr30#hic.



Summary of Power Management Feature Updates

TABLE 9-1 identifies the common power management feature enhancements and documentation updates made since ILOM 3.0.


TABLE 9-1 Power Management Feature Updates per ILOM Firmware Point Release

New or Enhanced Feature

Firmware Point Release

Documentation Updates

For Updated CLI Procedures, see:

Monitor Power Consumption Metrics

ILOM 3.0

  • New terms and definitions for Power Management Metrics
  • New System Monitoring --> Power Management Consumption Metric properties
  • New CLI and web procedures added for monitoring device power consumption

Configure Power Policy Properties

ILOM 3.0

  • New power policy properties explained.
  • New CLI and web procedures added for configuring power policy settings

Monitor Power Consumption History

ILOM 3.0.3

  • New power consumption history metrics
  • New CLI and web procedures added for monitoring power consumption

Configure Power Consumption Notification Thresholds

ILOM 3.0.4

  • New power consumption notification threshold settings
  • New CLI and web procedures added for configuring the power consumption thresholds

Monitor Allocation Power Distribution Metrics

ILOM 3.0.6

  • New component allocation distribution metrics
  • New CLI and web procedures added for monitoring power allocations
  • New CLI and web procedures added for configuring permitted power for blade slots

Configure Power Budget Properties

ILOM 3.0.6

  • New power budget properties
  • New CLI and web procedures added for configuring power budget properties

Configure Power Supply Redundancy Properties for CMM Systems

ILOM 3.0.6

  • New power supply redundancy properties for CMM system.
  • New CLI and web procedures added for configuring power supply redundancy properties on CMM systems

CLI Update for CMM Power Management

ILOM 3.0.10

  • New top-level tab added to ILOM web interface for Power Management
  • Revised CLI commands for CMM
  • Power Management Metrics tab removed from CMM ILOM web interface
  • Updated CLI procedure for configuring a grant limit for blade slots (previously known as allocatable power)


Monitoring System Power Consumption


Topics

Description

Links

Platform Feature Support

Monitor power consumption

  • x86 system server SP
  • SPARC system server SP
  • CMM

Monitor power consumption history

  • x86 system server SP
  • SPARC system server SP
  • CMM

Before You Begin



Note - The power consumption features described in this chapter might not be implemented on your platform server or CMM. To determine whether the power consumption features described in this section are supported on your server or CMM, see the ILOM Supplement or Administration guide provided for your server.




Note - Power consumption history is provided using the ILOM CLI and web interfaces. This information is not available through IPMI or SNMP.



procedure icon  Monitor Total System Power Consumption

1. Log in to the ILOM SP CLI or the ILOM CMM CLI.

2. Type the show command to display the total power consumption.

For example:

-> show /SYS/VPS

-> show /CH/VPS


 /CH/VPS
    Targets:
        history
 
    Properties:
        type = Power Unit
        ipmi_name = VPS
        class = Threshold Sensor
        value = 898.503 Watts
        upper_nonrecov_threshold = N/A
        upper_critical_threshold = N/A
        upper_noncritical_threshold = N/A
        lower_noncritical_threshold = N/A
        lower_critical_threshold = N/A
        lower_nonrecov_threshold = N/A
        alarm_status = cleared
 
    Commands:
        cd
        show
 

The following table lists and describes the properties of the Total Power Consumption sensor for CLI.


Property

Value

type

Threshold values are platform specific. Refer to your platform documentation for details.

class

value

upper_nonrecov_threshold

upper_critical_threshold

upper_noncritical_threshold

lower_noncritical_threshold

lower_critical_threshold

lower_nonrecov_threshold



procedure icon  Monitor Actual Power Consumption

1. Log in to the ILOM server SP CLI or ILOM CMM CLI.

2. Type the show command to display the actual power consumption.

For example:

-> show /SP/powermgmt actual_power

-> show /CMM/powermgmt actual_power



Note - The actual_power is the same as /SYS/VPS. The actual_power is the value returned by the sensor.



procedure icon  Monitor Individual Power Supply Consumption

1. Log in to the ILOM server SP CLI or ILOM CMM CLI.

2. Type the show command to display the individual power supply consumption.

For example:

-> show /SYS/platform_path_to_powersupply/INPUT_POWER|OUTPUT_POWER

-> show /CH/platform_path_to_powersupply/INPUT_POWER|OUTPUT_POWER

The following table lists and describes the properties of the CLI sensors. Both sensors, INPUT_POWER and OUTPUT_POWER, have the same properties.


Property

Value

type

Power Unit

class

Threshold Sensor

value

<total consumed power in watts, for example "1400">

upper_nonrecov_threshold

N/A

upper_critical_threshold

N/A

upper_noncritical_threshold

N/A

lower_noncritical_threshold

N/A

lower_critical_threshold

N/A

lower_nonrecov_threshold

N/A




Note - Power sensors are not supported on server modules (blades).



procedure icon  Monitor Available Power

1. Log in to the ILOM server SP CLI or the ILOM CMM CLI.

2. Type the show command to display the available power.

For example:

-> show /SP/powermgmt available_power

-> show /CMM/powermgmt available_power


procedure icon  Monitor Server Hardware Maximum Power Consumption

1. Log in to the ILOM server SP CLI.

2. Type the show command to display the hardware configuration maximum power consumption.

For example:

-> show /SP/powermgmt hwconfig_power

procedure icon  Monitor Permitted Power Consumption

1. Log in to the ILOM Server SP CLI or the ILOM CMM CLI.

2. Type the show command to display the permitted power consumption.

For example:

-> show /SP/powermgmt permitted_power

-> show /CMM/powermgmt permitted_power


procedure icon  Monitor Power Consumption History

1. Log in to ILOM the server SP CLI or the ILOM CMM CLI.

2. Use the show command to view actual power consumption.

For example:

->show /SYS/VPS

->show /CMM/BLn/VPS

3. Use the show command to display 15-, 30-, and 60-second rolling power usage average, and to display a choice of targets for average consumption history.

For example:

->show /SYS/VPS/history

->show /CH/VPS/history


->show /CH/VPS/history
 
 /CH/VPS/history
    Targets:
        0 (1 Minute Average, 1 Hour History)
        1 (1 Hour Average, 14 Day History)
 
    Properties:
        15sec_average = 1210.000
        30sec_average = 1400.000
        60sec_average = 1800.000
 
    Commands:
        cd
        show

4. Use the show command to display average consumption history by the minute or hour respectively, type the following command with the appropriate target named.

For example

->show /SYS/VPS/history/0

For example:


->show /CH/VPS/history/0
 
/CH/VPS/history/
   Targets:
       list
 
   Properties:
       average = 1500.000
       minimum = 1500.000 at Mar  4 08:51:24
       maximum = 1500.000 at Mar  4 08:51:23
       period = 1 Minute Average
       depth = 1 Hour History
 
   Commands:
       cd
       show 

5. Use the show command to display sample set details such as time stamp and power consumed in watts.

For example:


Configuring Power Policy Settings to Manage Server Power Usage


Topics

Description

Links

Platform Feature Support

Configure power policy

  • x86 system server SP (prior to ILOM 3.0.4)
  • SPARC system server SP

Before You Begin



Note - The power policy feature described in this section might not be implemented on the platform server or CMM that you are using. To determine whether the power consumption feature described in this section are supported on your server or CMM, see the ILOM Supplement or Administration guide provided for your server.



procedure icon  Configure Server SP Power Policy

1. Log in to the ILOM server SP CLI.

2. Type the set command to set the power policy:

-> set /SP/powermgmt policy=Performance|Elastic

3. Type the show command to display the power policy:

-> show /SP/powermgmt policy


Configuring Power Consumption Threshold Notifications


Topics

Description

Links

Platform Feature Support

View or configure power consumption notification thresholds

  • x86 system server SP
  • SPARC system server SP
  • CMM

Before You Begin


procedure icon  View and Configure Notification Thresholds Using the CLI

1. Log in to ILOM server SP CLI or the ILOM CMM CLI.

2. To view the current settings, type:

-> show /SP/powermgmt

or

-> show /CMM/powermgmt

3. To set the value for notification thresholds, type:

-> set threshold1|2=n

Where n represents watts.



Note - Setting the notification threshold value to 0 (zero) will disable the notification threshold option.



Monitoring Component Power Allocation Distributions


Topics

Description

Links

Platform Feature Support

View component allocation metrics for server or CMM

  • x86 system server SP
  • SPARC system server SP
  • CMM

Before You Begin

Where:


procedure icon  View Server Power Allocations for All System Components

1. Log in to the ILOM server SP CLI.

2. To view the sum of power allocated to all components in the system, type the following command:

-> show /SP/powermgmt allocated_power


procedure icon  View Server Component Power Allocations

1. Log in to the ILOM server SP CLI.

2. To view power allocated to a component category (fans, CPUs, and so forth), type the following command:

-> show /SP/powermgmt/powerconf/component_type

Where component_type is the name of the component category.

For example, to view the power allocated to all CPUs (component category), you would type:

-> show /SP/powermgmt/powerconf/CPUs



Note - For each command, the read-only value for the maximum power consumed by the component is returned, measured in watts.


3. To view the power allocated to a specific component, type the following command:

-> show /SP/powermgmt/powerconf/component_type/component_name

For example, to view the power allocated to a specific CPU, you would type:

-> show /SP/powermgmt/powerconf/CPUs/CPUn

Where n is the installed location number of the CPU.

Other rackmount server components can include:

Other server module components can include:


procedure icon  View CMM Power Allocations for All Chassis Components

1. Log in to the ILOM CMM CLI.

2. To view the sum of power allocated to all chassis system components, do one of the following:

-> show /CMM/powermgmt allocated_power

-> show /CMM/powermgmt granted_power

3. To view the remaining power available to allocate to blade slots, type the following command:

-> show /CMM/powermgmt allocatable_power


procedure icon  View CMM Component Power Allocations

1. Log in to the ILOM CMM CLI.

2. To view power allocated to a component category (fans, blade slots, and so forth), type the following command:

-> show /CMM/powermgmt/powerconf/component_type

Where component_type is the name of the component category.

For example, to view the power allocated to all blade slots (component category), you would type:

-> show /CMM/powermgmt/powerconf/bladeslots



Note - For each command, the read-only value for the maximum power consumed by the component is returned, measured in watts.


3. To view the power allocated to a specific component, type the following command:

-> show /CMM/powermgmt/powerconf/component_type/component_name

Where component_type is the name of the component category.

Where component_name is the name of the component.

For example, to view the power allocated to a specific blade slot, you would type:

-> show /CMM/powermgmt/powerconf/bladeslots/BLn

Where n is the location number of the blade slot.

Other CMM components can include:


procedure icon  View Blade Slots Granted Power or Reserved Power as of ILOM 3.0.10

1. Log in to the ILOM CMM CLI.

2. To view the sum of power granted to all blade slots or the sum of power reserved for all auto-powered I/O blade slots, type the following command:

-> show /CMM/powermgmt/powerconf/bladeslots

The granted_power value and reserved_power value allocated to all blade slots appears, see example CLI output:


-> show /CMM/powermgmt/powerconf/bladeslots
/CMM/powermgmt/powerconf/bladeslots
    Targets:
        BL0
        BL1
        BL2
        BL3
        BL4
        BL5
        BL6
        BL7
        BL8
        BL9
Properties:
        granted_power = 952
        reserved_power = 876
Commands:
        cd
        show


procedure icon  View Granted Power or Grant Limit for Blade as of ILOM 3.0.10

1. Log into the ILOM CMM CLI.

2. To view the sum of power granted to an individual blade or to the grant limit value set for a blade, type the following command:

-> show /CMM/powermgmt/powerconf/bladeslot/BLn

Where n represents the slot location for the blade.

Example output:


-> show /CMM/powermgmt/powerconf/bladeslots/BL1
 
 /CMM/powermgmt/powerconf/bladeslots/BL1
    Targets:
 
    Properties:
        granted_power = 0
        grant_limit = 800
 
    Commands:
        cd
        set
        show


Configuring Power Limit Properties


Topics

Description

Links

Platform Feature Support

Configure server SP power limit properties

  • x86 system server SP
  • SPARC system server SP
  • CMM

Before You Begin

Where:


procedure icon  Configure Permitted Power for Blade Slots

1. Log in to the ILOM CMM CLI.

2. To configure the permitted (maximum) power that the CMM will allocate to a blade slot, do one of the following:

-> set /CMM/powermgmt/powerconf/bladeslots/bladeslotn permitted_power=watts

Where bladeslotn represents the blade slot that you want to configure.

For example:


-> set /CMM/powermgmt/powerconf/bladeslots/bladeslot1 permitted_power=1200
Set 'permitted_power' to '1200'

-> set /CMM/powermgmt/powerconf/bladeslots/bladeslotn grant_limit=watts

Where bladeslotn represents the blade slot that you want to configure.



Note - To prevent a server module from powering-on, set the permitted power value for the blade slot to 0.



procedure icon  Configure Server Power Budget Properties

1. Log in to the ILOM server SP CLI.

2. To view the current power budget settings, type the following command:

-> show /SP/powermgmt/budget

Example output:


 /SP/powermgmt/budget
    Targets:
Properties:
        activation_state = enabled
        status = ok
        powerlimit = 600 (watts)
        timelimit = default (30 seconds)
        violation_actions = none
        min_powerlimit = 150
        pendingpowerlimit = 600 (watts)
        pendingtimelimit = default
        pendingviolation_actions = none
        commitpending = (Cannot show property)
Commands:
        cd
        show
-> 

3. To configure power budget settings, type the following command:

-> set /SP/powermgmt/budget property=value

Where property=value represents one of the following:



Note - To set the powerlimit, timelimit and violation_action in the ILOM CLI, you must set the matching pending properties and then commit these three pending properties as a group. After these properties are committed by typing set /SP/powermgmt/budget commitpending=true, the new values will apply whenever the budget activation_state is set to enabled.


For example:


-> set /SP/powermgmt/budget activation_state=enabled
Set 'activation_state' to 'enabled' 
 


procedure icon  Configure Grant Limit for aBlade as of ILOM 3.0.10

1. Log in to the ILOM CMM CLI.



Note - To change the grant power limit for any blade in ILOM requires an Admin (a) role user account.


2. To configure the permitted (maximum) power that the CMM will allocate to a blade, type the following command:

-> set /CMM/powermgmt/powerconf/bladeslots/BLn grant_limit=watts



Note - To prevent a server module from powering-on, set the grant limit value for the blade to 0.




Note - The grant_limit value cannot be less than any amount already granted (granted_power).



Monitoring or Configuring CMM Power Supply Redundancy Properties


Topics

Description

Links

Platform Feature Support

Monitor or configure the CMM power supply redundancy properties

  • CMM

Before You Begin


procedure icon  Monitor or Configure CMM Power Supply Redundancy Properties

1. Log in to the ILOM CMM CLI.

2. To configure power management settings, type the following command:

-> set /CMM/powermgmt property=value

Where property=value represents the redundancy [none|n+n]

For example:


-> set /CMM/powermgmt redundancy=none
Set 'redundancy' to 'none'



Note - When you change the redundancy policy, this change affects the amount of power the CMM is permitted to allocate to server modules (blades). The chassis Permitted Power is set to the power that the available power supplies can provide minus the redundant power that is available. In addition, when there is no redundant power available to the system, a loss of a power supply will cause the system to reduce the Permitted Power. If the system reduces the Permitted Power below the power that had already been allocated, you should immediately take steps to turn off the server modules to reduce the allocated power.