This command displays and configures power groups and schedules for compute nodes and I/O modules.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or pwrprofile command errors for a list of error messages that are specific to the pwrprofile command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display all power groups and schedules | Displays all power groups and schedules configured for the Lenovo Flex System chassis. | pwrprofile | Primary CMM:
|
Display power group | Displays information for the specified power group. | pwrprofile
-group_index where group_index is the index number that identifies the power group. Index numbers are assigned automatically at group creation and can be seen in the "Display all power groups and schedules" list. |
Primary CMM:
|
Add power group | Adds a power group with the specified name for
the specified key group of compute nodes and
I/O modules. Note:
|
pwrprofile
-add -n name -key group_key -servers server_group where:
|
Primary CMM:
|
Add power group (continued) |
This command can only be run by users who have
one or more of the following command authorities:
|
||
Add power schedule and assign to power group | Adds a power schedule, assigned to a specific power
group, with the specified name for the specified key group of compute nodes or
I/O modules. Important: The power group index must be
the first command option specified (for example, pwrprofile
-1 -add -s enabled -a on -f once -d 11202015 ).
Note:
|
pwrprofile
-group_index -add -s status -a action -f freq -d day -t time where:
This command can only be run by users who have
one or more of the following command authorities:
|
Primary CMM:
|
Modify power group | Changes values for the specified power group. Important: The power group index must be the first command
option specified (for example, pwrprofile -1 -n group2 ).
Note: You
can modify any valid subset of values for the power group.
|
pwrprofile
-group_index -n name -key group_key -servers server_group where:
For example:
This command can only be run by users who
have one or more of the following command authorities:
|
Primary CMM:
|
Modify power schedule | Changes values for the specified power schedule. Note:
|
pwrprofile
-i index -s status -a action -f freq -d day -t time where:
This command can only be run by users who have
one or more of the following command authorities:
|
Primary CMM:
|
Delete power group | Deletes the specified power group. Important: The power group index must be the first command
option specified (for example, pwrprofile -1 -clear ).
|
pwrprofile
-group_index -clear where group_index is the index number that identifies the power group. Index numbers are assigned automatically at group creation and can be seen in the "Display all power groups and schedules" list. This command
can only be run by users who have one or more of the following command
authorities:
|
Primary CMM:
|
Delete power schedule | Deletes the specified power schedule. | pwrprofile -clear
-i index where index is the index number that identifies the power schedule. Index numbers are assigned automatically at schedule creation and can be seen in the "Display all power groups and schedules" list. This command can only be
run by users who have one or more of the following command authorities:
|
Primary CMM:
|
Example:
pwrprofile
pwrprofile -add -n g1 -key by -servers blade(1,2),switch(3)
pwrprofile -1 -add -s enabled -a on -f once -d 11202015 -t 1111
pwrprofile -i 1 -clear
The following example shows the information that is returned from these commands:
system:mm[2]> pwrprofile No group found system:mm[2]> pwrprofile -add -n g1 -key by -servers blade(1,2),switch(3) Group 1 added system:mm[2]> pwrprofile 1. g1 key: by servers: blade(1,2),switch(3) power schedules: Not Available system:mm[2]> pwrprofile -1 -add -s enabled -a on -f once -d 11202015 -t 1111 Power schedule 1 added system:mm[2]> pwrprofile 1. g1 key: by servers: blade(1,2),switch(3) power schedules: -i 1 -s enabled -a on -f once -d 11/20/2015 -t 1111 system:mm[2]> pwrprofile -i 1 -clear OK system:mm[2]> pwrprofile 1. g1 key: by servers: blade(1,2),switch(3) power schedules: Not Available system:mm[2]> pwrprofile -1 -clear OK system:mm[2]> pwrprofile No group found system:mm[2]>