Войти:
Оценок - 2, средний балл: 3 ( )

Инструкция по эксплуатации ADTRAN, модель eXpeRAID

Производитель: ADTRAN
Размер: 137.86 kb
Название файла: bb395513-2929-49cd-a675-d5a209dda8b7.pdf
Язык инструкции:en
Перейти к скачиванию



Фрагмент инструкции


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 [Parameters of the CLI command] which can be executed as a single command under the command line of the OS. 2.2.2.1 CLI script Mode 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 9 OF 27 This non-interactive mode is implemented by calling the CLI command "RunScript". For example: In Sample1.sh(Included in the folder where CLI application is located) under Linux, it contains the following commands: ./acs_cli RunScript acs_sample1.script ./acs_cli RunScript acs_sample2.script Both acs_sample1.script and acs_sample2.script contain a bunch of CLI commands. 2.2.2.2 Shell script Mode This mode is implemented by executing all CLI commands following the format: acs_cli [Parameters of the CLI command] For example: In Sample2.sh under Linux, it contains commands like ./acs_cli CtrlIndex 0 ./acs_cli CheckPassword 00000000 … The first line sets the controller index to 0 and the second line verifies the password of the controller with index 0. To complete both Sample1.sh and Sample2.sh successfully, the active controller must have 4 Spare drives(On slot 1~4) connected. For both scripts, all 4 drives will be restored to Spare after completing the script successfully. 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 10 OF 27 3. CLI Command Line Configuration 3.1 CLI Command Format Command Name Command Description Command Parameter 1 Parameter Description [Format 1] Parameter 2 [Format 2] Parameter 3 … Parameter n Example [Format n] Command Format field description: Command Name: CLI Command Name. Parameter 1 ~ n: CLI Command Parameters. Command Description: Describe CLI Commands in brief. Parame...

Эта инструкция также подходит к моделям:
Сетевое оборудование - eXpeRAID (137.86 kb)
Сетевое оборудование - eXpeRAID (137.86 kb)
Сетевое оборудование - eXpeRAID (137.86 kb)
Сетевое оборудование - eXpeRAID (137.86 kb)

Напишите ваш отзыв об устройстве



Текст отзыва
Ваше имя:
Введите две цифры:
capcha





Категории