Deployment Guide

Table Of Contents
Mandatory Options and
Arguments
Optional Parameters Valid Parameters
Arguments
Description
-envc=<function>
or
setenvironment
envname=<string>
envcommand=<function
>
information to an existing le or creates a new
le.
-se -envn=<string>
- envc=<function> -
c=id
or
setenvironment
envname=<string>
envcommand=<function
>
controllerid=id
NA NA
Sets a user-dened environment variable to the
value returned from the getfirmware,
getcontrollertype, getadisks,
getadiskcount,
getfreeadisks,getfreeadiskcount,
getfreeadisksize, or gethotspares
function call. This option combination is
mandatory.
Example:
A:>raidcfg -se -envn=FIRMWARE
-envc=getfirmware -c=2
FIRMWARE=531T
RAIDCFG Command successful!
Function Calls of Setenvironment Option
The following table lists the function calls of the setenvironment option.
Table 325. Function Calls of the setenvironment Option
Function Call Description
getfirmware
Returns the rmware version of the specied controllers.
Example:
A:>raidcfg -se -envn=FIRMWARE -envc=
getfirmware -c=2
FIRMWARE=531T
RAIDCFG Command successful!
getcontrollertype
Returns LSI for LSI controllers and ADAP for Adaptec controllers.
Example:
A:>raidcfg -se -envn=CONTROLLERTYPE -envc=
getcontrollertype -c=2
CONTROLLERTYPE=LSI
RAIDCFG Command successful!
getadisks
Returns the array disks attached to the controller.
169