Accusys eXpeRAID manual Example CLICtrlName Ctrl1 Enter

Page 13

 

 

 

 

 

 

 

ACCUSYS, INC.

 

 

 

 

 

 

 

 

 

5F, 38 TAIYUAN ST, JHUBEI, HSINCHU, TAIWAN, R.O.C.

 

 

 

 

 

 

 

 

 

 

 

 

 

TITLE

 

EXPERAID COMMAND LINE INTERFACE USER GUIDE

 

 

 

 

PROJECT

 

 

“DESKTOP RAID”

DOCUMENT STATUS

OFFICIAL RELEASE

 

 

REV.

 

G–05-NOV-2007

 

 

 

 

PAGE 13 OF 27

 

3.3.1.4

 

 

 

 

 

 

 

 

 

 

Command Name

 

Command Description

 

 

 

SetPassword

 

 

 

Use this command to set password of the active controller.

 

 

Parameter 1

 

 

 

Parameter Description

 

 

 

Password:

 

 

 

Password:

 

 

 

 

 

<CHARS>

 

 

 

CHARS must be an 8-character alphabetic string.

 

 

 

 

 

 

 

 

 

 

 

 

 

3.3.1.5

 

 

 

 

 

 

 

 

 

 

Command Name

 

Command Description

 

 

 

CtrlName

 

 

 

Use this command to set controller name of the active controller.

 

 

Parameter 1

 

 

 

Parameter Description

 

 

 

Controller Name:

 

Controller Name:

 

 

 

 

 

<CHARS>

 

 

 

CHARS may not exceed 16 characters.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Example

 

 

 

 

 

 

 

 

 

 

 

CLI>CtrlName Ctrl1 [Enter]

 

 

 

 

 

 

 

 

 

The controller name will be set to ‘Ctrl1’. If the number of characters

 

 

 

 

 

 

 

in parameter 1 is more than 16, the additional characters will be

 

 

 

 

 

 

 

ignored.

 

 

 

 

 

3.3.1.6

 

 

 

 

 

 

 

 

 

 

Command Name

 

Command Description

 

 

 

RunScript

 

 

 

Use this command to run CLI commands from a pre-written script file.

 

 

Parameter 1

 

 

 

Parameter Description

 

 

 

File Path:

 

 

 

File Path:

 

 

 

 

 

<[DIR] <FileName>>

 

Specify an existing script file(FileName) located in the specified

 

 

 

 

 

 

 

directory.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Example(Under Linux environment)

 

 

 

 

 

 

 

 

 

CLI> RunScript /tmp/script1 [Enter]

 

 

 

 

 

 

 

 

 

CLI will start to run commands written in the script file ‘script1’

 

3.3.1.7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command Name

 

Command Description

 

 

 

Exit

 

 

 

Use this command to quit CLI command line interface.

 

 

 

 

 

 

 

 

Parameter Description

 

 

 

 

 

 

 

 

 

N/A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Image 13
Contents Nov 05 Version EXpeRAID Command Line Interface User GuideRevision History Contents Basic Array Configuration Commands Appendix UpdateSystemCode UpdateBootCode UpdateBIOSEFISupported Operating Systems OverviewExample for Linux special case Pre-actionInteractive Mode Execution ModeNon-interactive Mode ACCUSYS, INC Command Syntax CLI Command FormatCommand Name Format 1 …Format n Format ConventionsCLI Reply Status InBandController command success InBand command failedBasic CLI Commands CLI Command SetCommand Name Command Description CLICheckPassword 00000000 EnterExample CLICtrlName Ctrl1 Enter CLIDumpArrayInfo 1 Enter Information Display Commands2.7 2.62.8 2.93.1 Basic Array Configuration CommandsRAID Level Level=R0R1R5R6 R0 RAID Level R01 R1 RAID Level R5 RAID LevelCLISetSlice Array=1 Slice=0 Size=120 Enter CLIDeleteArray 1 EnterCLISetLunMap Lun=0 Array=1 Slice=0 Enter CLISetLunMap Lun=0 JBOD=1 EnterCLIExpandArray Array=1 DriveCnt=3 Enter Advanced Array Configuration CommandsCLIMigrateArray Array=1 TargetLevel=R5 DriveCnt=4 Enter Example CLIRefreshArray Array=1 State=StartEnter Example CLIRebuildParity Array=1 State=Start EnterMirror Snapshot Configuration Commands CLISplitScheduling Shot=1 Year=07 Month=12 Day=15 Hour=0 Parameter ExampleMin=0 Enter Parameter EnableDisable Enable / Disable Disk Lag Proof mode 6.2 Miscellaneous CommandsEnableDisable Enable / Disable NCQ mode 6.3 5.6EnableDisable Enable / Disable Equalization Mode 6.7 EnableDisable Enable/Disable controller beeper 6.6EnableDisable Enable/Disable controller cache 6.8 EnableDisable Enable/Disable Synchronize Cache mode6.9 CtrlTime Use this command to set controller timeMonth Month =1~12 Day Day =1~317.1 Firmware Update CommandsR0 N Disks Array Migration MatrixR1 N Disks R5 N Disks R0+1 N Disks