This task uses PDomain_0 as an example. You must have the admin role (a) to complete this task.
SPARC M8 and M7 servers show similar output with watt variance due to power supply differences.
-> show /Servers/PDomains/PDomain_0/SP/powermgmt/budget
/Servers/PDomains/PDomain_0/sp/powermgmt/budget
Targets:
Properties:
activation_state = disabled
status = ok
powerlimit = 3588 (watts)
timelimit = default (30 seconds)
violation_actions = none
min_powerlimit = 1318
pendingpowerlimit = 3588 (watts)
pendingtimelimit = default
pendingviolation_actions = none
commitpending = (Cannot show property)
...
->
You must enable the power allocation feature before you can set a new power limit.
-> set /Servers/PDomains/PDomain_0/SP/powermgmt/budget activation_state=enabled Set 'activation_state' to 'enabled' ->
You can set the power limit to be between the minimum power limit, which is the value of the min_powerlimit property, and the maximum power limit, which is the value of the powerlimit property. You can express the power limit value in either watts, wattsw, or as a percentage (percent%) between the valid range, as in the following example.
-> set /Servers/PDomains/PDomain_0/SP/powermgmt/budget pendingpowerlimit=75% Set 'pendingpowerlimit' to '75%' [75 (%)] ->
The time limit is the grace period during which the power limit is allowed to be exceeded after it is initially achieved. You can set this value to default (30 seconds) or a value in seconds (0–99999).
-> set /Servers/PDomains/PDomain_0/SP/powermgmt/budget pendingtimelimit=60 Set 'pendingtimelimit' to '60' ->
This property instructs the SP what to do if the time limit property is exceeded. The possible values are none or hardpoweroff.
-> set /Servers/PDomains/PDomain_0/SP/powermgmt/budget pendingviolation_actions=hardpoweroff Set 'pendingviolation_actions' to 'hardpoweroff' ->
You must perform this step for the changes to take effect.
-> set /Servers/PDomains/PDomain_0/SP/powermgmt/budget commitpending=true Set 'commitpending' to 'true' ->
-> show /Servers/PDomains/PDomain_0/SP/powermgmt/budget
/Servers/PDomains/PDomain_0/SP/powermgmt/budget
Targets:
Properties:
activation_state = enabled
status = ok
powerlimit = 75 (%)
timelimit = 60
violation_actions = hardpoweroff
min_powerlimit = 658
pendingpowerlimit = 75 (%)
pendingtimelimit = 60
pendingviolation_actions = hardpoweroff
commitpending = (Cannot show property)
...
->