User`s guide

2 Using the Command Line Utility
This chapter explains how to use the command line utility interactively or in batch mode. With interactive
mode, enter commands at the prompt. In batch mode, create scripts and run the script in the appropriate
shell, as described in the table below.
Table 1: ARCCONF Batch Environments
Run ScriptBatch FileEnvironment
CMD.EXE.batWindows
sh / bash.shLinux/Unix
In either mode, if your command fails, you immediately see an error message of Command failed. Other
script messages that you can get are Command completed successfully, or Command aborted.
The return values for each command are the same:
0x00: SUCCESS
0x01: FAILURE - The requested command failed
0x02: ABORT - The command was aborted because parameters failed
validation
0x03: INVALID_ARGUMENTS - The arguments are incorrect. (Displays COMMAND
help)
To view a list of commands at the command line, type ARCCONF and press Enter.
To access the online help for a specic command, type ARCCONF <command>, then press Enter.
ARCCONF Commands
The following commands are available in ARCCONF. The commands are described on the following
pages, in alphabetical order.
Table 2: ARCCONF Commands
setpowersaveconggetsmartstatsatapassword
setprioritysavesupportarchivegetstatuscopyback
setstatesetalarmgetversioncreate
setstatsdatacollectionsetcacheidentifydatascrub
setvmcredentialsetcongimageupdatedelete
tasksetcontrollermodekeydriverupdate
uninitsetcustommode
setmaxcache
modify
playcong
failover
getcong
setnamerescangetlogs
setncqresetstatisticscounters
getperform
setperformromupdate
Note: In the command syntax descriptions, <> indicates a required parameter and []
indicates an optional parameter.
15Proprietary and Condential to PMC-Sierra, Inc.
Document No.: CDP-00276-01-A Rev. A, Issue:
Adaptec RAID Controller Command Line Utility User's Guide