Chinaunix首页 | 论坛 | 博客
  • 博客访问: 91763
  • 博文数量: 17
  • 博客积分: 560
  • 博客等级: 中士
  • 技术积分: 175
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-31 15:58
文章分类

全部博文(17)

文章存档

2013年(2)

2012年(3)

2011年(6)

2010年(4)

2009年(2)

我的朋友

分类: 系统运维

2012-08-06 13:18:05

In Oracle Solaris 11 release, power management configuration has moved into an SMF configuration repository. The new poweradm command is used to manage system power management properties directly rather than using a combination of power-related command, daemon, and configuration file. These changes are part of a wider set of changes to modernize the power management framework in Oracle Solaris 11.

The following power management features are no longer available:

  • /etc/power.conf

  • pmconfig and powerd

  • Device power management

Two new properties describe the power configuration that manage time components:

  • time-to-full-capacity – Defines the maximum time the system is allowed to reach its full capacity, from any lower-capacity or less-responsive state, while the system is active.

  • time-to-minimum-responsiveness – Defines how long the system is allowed to return to its active state.

You can display poweradm properties by using the following command:

# poweradm list active_control/administrative-authority smf=platform, current=platform suspend/suspend-enable smf=false, current=false active_config/time-to-full-capacity platform=250, current=250 active_config/time-to-minimum-responsiveness platform=0, current=0 disabled platform=false

In the above output, the active_control/administrative-authority indicates the source of the configuration with two settings:

  • platform – Configuration for power management comes from the platform. This is the default value.

  • smf – Allows the other power management properties to be set using the poweradm command.

If you previously enabled S3-support in the /etc/power.conf file to suspend and resume your system, similar poweradm syntax is:

# poweradm set suspend-enable=true

The suspend-enable property is set to false by default.

Use the following syntax to disable power management:

# poweradm set administrative-authority=none

Disabling the following SMF power management service does not disable power management:

online Sep_02 svc:/system/power:default

For more information, see .

How to Recover from Power Service in Maintenance Mode

If administrative-authority is set to smf before both time-to-full-capacity and time-to-minimum-responsiveness have been set, the service will go into maintenance mode.

  1. Become an administrator.
  2. Set administrative-authority to none.# poweradm set administrative-authority=none
  3. Set both time-to-full-capacity and time-to-minimum-responsiveness to their desired values.# poweradm set time-to-full-capacity=value # poweradm set time-to-minimum-responsiveness=value
  4. Clear the service.# svcadm clear power
  5. Set administrative-authority to smf.# poweradm set administrative-authority=smf
阅读(1427) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~