|
Facilidade de uso
The CLI is useful under environments where a graphical user interface (GUI) is not available. Through CLI, you can perform most of the storage management tasks that you perform with the eXpeRAID storage manager GUI. CLI commands can be executed under either interactive or non-interactive (script) mode, providing higher level API functionalities. 1.2 Supported Operating Systems • Windows: XP, 20xx, Vista, …, etc. • Linux: Fedora Code, SuSE, Debian, …, etc. • Mac: Mac Pro, G5 …, etc. CLI supports both 32-bit and 64-bit versions. Be sure you are using the correct version. 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 7 OF 27 2. Using CLI 2.1 Pre-action Before using CLI, make sure the controller(s) has been connected to the host and the driver(s) of the controller(s) has been installed on the OS properly. Under Linux, you may need to execute the following command to let CLI find the controller normally: mknod /dev/ACS_CDEVi c NUM i where number NUM is determined by referencing the Character devices listed in /proc/devices in which the string ACS_CDEV is located. The number i should be 0 when only one controller is found. If other controllers are found, use 1, 2.. for i to make node of each controller one by one. Anyway, the necessity of this procedure depends on how the driver is installed. Example for Linux special case: 1. Type: insmod acs_ame.ko [Enter] under the folder where the driver “acs_ame.ko” is located. 2. Type: cat /proc/devices [Enter], a list of Character devices will appear, in which the device number of ACS_CDEV is 253(The value alters through different systems.) 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 8 OF 27 3. Type: mknod /dev/ACS_CDEV0 c 253 0 [Enter], a device file “ACS_CDEV0” will be created and CLI will be able to find the controller through this device file. 2.2 Execution Mode There are two methods to run CLI commands - interactive mode and non-interactive mode. For each mode, all commands and parameters must follow the CLI command format to be executed normally. 2.2.1 Interactive Mode To trigger CLI interactive mode, simply run the CLI execution file under the command line of the OS. If the controller has been found, a password verification prompt for the default controller will appear. After inputting the correct password, the CLI prompt “CLI>” will appear. All CLI commands can be executed under this prompt. 2.2.2 Non-interactive Mode There are two types of non-interactive mode for CLI. One calls the CLI command "RunScript" to execute pre-written script files which contain bunches of CLI commands. The other one calls CLI commands by adding them as the parameter of the CLI execution file individually. The scripts of both types of non-interactive mode are written based on the following format: acs_cli
Equipamento de rede - eXpeRAID (137.86 kb)
Equipamento de rede - eXpeRAID (137.86 kb)
Equipamento de rede - eXpeRAID (137.86 kb)
Equipamento de rede - eXpeRAID (137.86 kb)