Quick Reference Guide
RAIDCFG 99
Setting Environment Variables
Table 4-8 lists the RAIDCFG options, parameters, and predefined arguments for setting the
CLI environment.
Table 4-9 lists the function calls of the setenvironment option.
Table 4-8. Setting Environment
Mandatory Options
and Arguments
Optional
Parameter
Valid Parameter
Arguments
Description
-se -envn=
<string> -envc=
<function>
or
setenvironment
envname=
<string>
envcommand=
<function>
NA NA Sets a user-defined environment variable to the value returned
from the
getcontrollerslots function call.
This option combination is mandatory.
Example:
A:>raidcfg -se -envn=CNTRL -envc=
getcontrollerslots
CNTRL=0 1 2
RAIDCFG command successful!
-se -envn=
<string> -envc=
<function>
or
setenvironment
envname=
<string>
envcommand=
<function>
-f
or
filename
<filename> When used, this option captures the environment output to
the given filename. This option either appends the information
to an existing file or creates a new file.
-se -envn=
<string> -envc=
<function> -c=id
or
setenvironment
envname=
<string>
envcommand=
<function>
controllerid=id
NA NA Sets a user-defined 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!