Display all power groups and schedules | Displays all power groups and schedules configured for the Lenovo Flex System chassis. | pwrprofile | Primary CMM: - mm[p]
- mm[P]
- mm[x]
- where x is the primary CMM bay number.
|
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: - mm[p]
- mm[P]
- mm[x]
- where x is the primary CMM bay number.
|
Add power group | Adds a power group with the specified name for the specified key group of compute nodes and I/O modules.- All parameters must be specified when creating a power group.
- The index number for the power group is assigned automatically and can be seen in the
Display all power groups and schedules list.
| pwrprofile -add -n name -key group_key -servers server_group where: - name is a alphanumeric string up to 63 characters in length that can include periods ( . ) and underscores ( _ ). Each of the 32 group names must be unique.
- group_key is:
- tm for type/model
- sn for serial number
- by for bay number
- server_group is:
- Type/model or serial number (maximum 31 characters). The wildcard character (*) is accepted.
- Bay designations that meet the following criteria:
- Maximum string length of 127 characters.
- One or more bay-type keywords (blade and switch are the only keywords supported at this time), each followed by a comma delimited list of bay numbers or range of bay numbers (two bay numbers separated by a dash) surrounded by parentheses.
- Bay-type keywords can be in any order separated by a comma.
(continued on next page) | Primary CMM: - mm[p]
- mm[P]
- mm[x]
- where x is the primary CMM bay number.
|
Add power group (continued) | | - server_group(continued):
- Bay designations (continued):
- Individual bay numbers and ranges can be in any order. Overlapping ranges and whitespace are allowed.
For example: - blade (1, 3, 4-6, 8, 2-5, 12, 13-14)
- blade (3), blade (5-9, 2)
- switch (1-2) ,blade (1), switch (4)
This command can only be run by users who have one or more of the following command authorities: - Supervisor
- Chassis account management
- Chassis log management
- Chassis administration
- Chassis configuration
See Commands and user authority for additional information. | |
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.The power group index must be the first command option specified (for example, pwrprofile -1 -add -s enabled -a on -f once -d 11202015 ). - The power group index, -s, -a, and -f parameters must be specified when creating a power schedule.
- If the frequency (-f) is set to once, you must specify either a time (-t), a date (-d), or both a time and date. If only a date is specified, the scheduled action will take place when the system switches to the date indicated.
- If the frequency (-f) is set to daily, you must specify a time (-t).
- If the frequency (-f) is set to weekly, you must specify both a time (-t) and a day (-d).
- Up to four power schedules can be assigned to a power group.
- The index number for the power schedule is assigned automatically and can be seen in the
Display all power groups and schedules list.
| pwrprofile -group_index -add -s status -a action -f freq -d day -t time where: - where group_index is the index number that identifies the power group where this schedule will be applied. Index numbers are assigned automatically at group creation and can be seen in the
Display all power groups and schedules list. - status is a power schedule status of enabled or disabled.
- action is the power action to perform: on, off, cycle, or softoff.
- freq is how often the schedule is applied: once, daily, or weekly.
- day is:
- For frequency of once, a date in mmddyyyy format.
- For weekly frequency: mon, tues, wed, thur, fri, sat, or sun.
- time is the time of day in hhmm format.
This command can only be run by users who have one or more of the following command authorities: - Supervisor
- Chassis account management
- Chassis log management
- Chassis administration
- Chassis configuration
See Commands and user authority for additional information. | Primary CMM: - mm[p]
- mm[P]
- mm[x]
- where x is the primary CMM bay number.
|
Modify power group | Changes values for the specified power group.The power group index must be the first command option specified (for example, pwrprofile -1 -n group2 ). You can modify any valid subset of values for the power group. | pwrprofile -group_index -n name -key group_key -servers server_group where: - where group_index is the index number that identifies the power group to modify. Index numbers are assigned automatically at group creation and can be seen in the
Display all power groups and schedules list. - name is a alphanumeric string up to 63 characters in length that can include periods ( . ) and underscores ( _ ). Each of the 32 group names must be unique.
- group_key is:
- tm for type/model
- sn for serial number
- by for bay number
- server_group is:
- Type/model or serial number (maximum 31 characters). The wildcard character (*) is accepted.
- Bay designations that meet the following criteria:
- Maximum string length of 127 characters.
- One or more bay-type keywords (blade and switch are the only keywords supported at this time), each followed by a comma delimited list of bay numbers or range of bay numbers (two bay numbers separated by a dash) surrounded by parentheses.
- Bay-type keywords can be in any order separated by a comma.
- Individual bay numbers and ranges can be in any order. Overlapping ranges and whitespace are allowed.
For example: - blade (1, 3, 4-6, 8, 2-5, 12, 13-14)
- blade (3), blade (5-9, 2)
- switch (1-2), blade (1), switch (4)
This command can only be run by users who have one or more of the following command authorities: - Supervisor
- Chassis account management
- Chassis log management
- Chassis administration
- Chassis configuration
See Commands and user authority for additional information. | Primary CMM: - mm[p]
- mm[P]
- mm[x]
- where x is the primary CMM bay number.
|
Modify power schedule | Changes values for the specified power schedule.- You can modify any valid subset of values for the power schedule.
- If the frequency (-f) is set to once, you must specify either a time (-t), a date (-d), or both a time and date. If only a date is specified, the scheduled action will take place when the system switches to the date indicated.
- If the frequency (-f) is set to daily, you must specify a time (-t).
- If the frequency (-f) is set to weekly, you must specify both a time (-t) and a day (-d).
| pwrprofile -i index -s status -a action -f freq -d day -t time where: - where index is the index number that identifies the power schedule to modify. Index numbers are assigned automatically at schedule creation and can be seen in the
Display all power groups and schedules list. - status is a power schedule status of enabled or disabled.
- action is the power action to perform: on, off, cycle, or softoff.
- freq is how often the schedule is applied: once, daily, or weekly.
- day is:
- For frequency of once, a date in mmddyyyy format.
- For weekly frequency: mon, tues, wed, thur, fri, sat, or sun.
- time is the time of day in hhmm format.
This command can only be run by users who have one or more of the following command authorities: - Supervisor
- Chassis account management
- Chassis log management
- Chassis administration
- Chassis configuration
See Commands and user authority for additional information. | Primary CMM: - mm[p]
- mm[P]
- mm[x]
- where x is the primary CMM bay number.
|
Delete power group | Deletes the specified power group.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: - Supervisor
- Chassis account management
- Chassis log management
- Chassis administration
- Chassis configuration
See Commands and user authority for additional information. | Primary CMM: - mm[p]
- mm[P]
- mm[x]
- where x is the primary CMM bay number.
|
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: - Supervisor
- Chassis account management
- Chassis log management
- Chassis administration
- Chassis configuration
See Commands and user authority for additional information. | Primary CMM: - mm[p]
- mm[P]
- mm[x]
- where x is the primary CMM bay number.
|