Working with 3ware cli, Using the command interface interactively – Avago Technologies 3ware SAS 9750-4i User Manual
Page 13

Working with 3ware CLI
www.lsi.com/channel/products
5
•
Use a GUI.
If you are using a graphical user interface, insert and mount
the 3ware CD.
Under Linux
, at the 3ware menu, click
Install Software
. If the 3ware
menu does not appear automatically, open a command window and type
./autorun from the CD directory.
The installer application will start in graphical mode.
Step through the pages of the installation wizard. On the 3ware Disk
Management Tools screen, make sure that Command Line Interface
(tw_cli) is selected. The default directory location used by 3ware is
/opt/3ware/CLI/tw_cli.
Working with 3ware CLI
You can work with the 3ware CLI in different ways:
•
Interactively, entering commands at the main prompt
•
As a series of single commands
•
By creating a script—an input file with multiple commands
The next few topics shows examples of these different methods.
•
“Using the command interface interactively” on page 5
•
“Using a single command with output” on page 6
•
“Using an input file to execute a script” on page 6
•
“Outputting the CLI to a Text File” on page 7
Examples shown in the CLI Syntax Reference chapter reflect the interactive
method.
Using the command interface interactively
You can use 3ware CLI interactively, entering commands at the main prompt
and observing the results on the screen.
To use the CLI interactively
1
If necessary, change to the directory that contains CLI.
2
Enter the following command:
tw_cli
(Under Linux, if the directory containing the CLI is not in your path, you
may need to type ./tw_cli )