The Storage Command Line Tool supports the following command to change the Dimmer Switch® setting. The
Dimmer Switch is the power-saving policy for the virtual drive

Here is the command syntax:

storcli /cx/vx set ds=<default | auto | none | max | maxnocache>

You can use the following combinations for the dimmer switch commands:

storcli /cx set ds=off type=1|2|3|4
storcli /cx set ds=on type=1|2 [properties]
storcli /cx set ds=on type=3|4 defaultldtype=<value> [properties]
storcli /cx set ds=on [properties]


The following table describes the power-saving options.

Option Value range Description
dimmerswitch or ds on|off Turns the dimmer switch option on.
type 1: Unconfigured
2: Hot spare
3: Virtual drive
4: All

Specifies the type of drives that the dimmer switch feature is applicable. By default, it is activated for
unconfigured drives, hot spare drives and virtual drives.
 
defaultldtype auto: Logical device power savings are managed by the firmware.
none: No power saving policy.
max: Logical device uses maximum power savings.
maxnocache: Logical device does not cache write to maximise power savings.

Specifies the default logical drive type that is created by
the dimmer switch option; set to none automatically.

properties
disableldps: Interval in hours or time in hh:mm format
spinupdrivecount: Valid enclosure number (0 to 255)
SpinUpEncDelay: Valid time in seconds
Sets the interval or time in which the power-saving
policy for the logical drive is turned off.
Specifies the number of drives in the enclosure that are spun up.
Specifies the delay of spin-up groups within an enclosure in seconds.


Here are some command examples:

Show current dimmer switch setting

This command shows the current dimmer switch setting for the controller.

# storcli64 /c0 show ds                  
Controller = 0
Status = Success
Description = None

Controller Properties :
=====================

--------------------------
Ctrl_Prop    Value        
--------------------------
SpnDwnUncDrv Enabled      
SpnDwnHS     Enabled      
SpnDwnTm     30 minute(s)
--------------------------

Storcli set dimmer switch to default

storcli /c0/v0 set ds=default

Storcli set dimmer switch to off for one of the type

Set unconfigured drive to dimmer switch off

# storcli64  /c0 set ds=off type=1
Controller = 0
Status = Success
Description = None


Controller Properties :
=====================

----------------------
Ctrl_Prop    Value    
----------------------
SpnDwnUncDrv Disabled
----------------------

Where, type:

1: Unconfigured
2: Hot spare
3: Virtual drive
4: All

Similarily, you can also set hot spare drive dimmer switch to off by running(if LP supports):

# storcli64  /c0 set ds=off type=1

Storcli set dimmer switch to on for unconfigured and hot spare drives

storcli /cx set ds=on type=1|2 [properties]

Where properties are :

disableldps: Interval in hours or time in hh:mm format
spinupdrivecount: Valid enclosure number (0 to 255)
SpinUpEncDelay: Valid time in seconds

Storcli set dimmer switch to on for Virtual drive and all drives

The command is pretty much same as unconfigured and hot spare drives, just added a defaultdtype

storcli /cx set ds=on type=3|4 defaultldtype=<value> [properties]

Where defaultdtype are:

auto: Logical device power savings are managed by the firmware.
none: No power saving policy.
max: Logical device uses maximum power savings.
maxnocache: Logical device does not cache write to maximise power savings.

Storcli set dimmer switch to on for Virtual drive and all drives

The command is :

storcli /cx set ds=on [properties]

Where properties are :

disableldps: Interval in hours or time in hh:mm format
spinupdrivecount: Valid enclosure number (0 to 255)
SpinUpEncDelay: Valid time in seconds