A.1 general information – HP StorageWorks Scalable File Share User Manual
Page 296
CLI commands
A–2
A.1 General information
•
To start the CLI, enter the
sfsmgr
command.
•
In commands where it is appropriate, you can use either the singular or the plural form of the
component to which the command applies. For example, you can enter the
configure server
command in either of the following formats:
sfs> configure server server_name
or
sfs> configure servers server_names
•
Most of the CLI commands can be abbreviated. For example, the
configure server
command
can be abbreviated as follows:
sfs> conf serv server_name
You must enter enough letters to make the abbreviated command unique; if you do not, the command
will not work (the usage for the command will be displayed). For example, in the
show
command,
you cannot abbreviate the word
show
to
sh
, as this could be confused with the
shutdown
command; you can, however, abbreviate it to
sho
. Similarly, you can abbreviate the
show lun
and
the
show log
commands to
sho lu
and
sho lo
.
•
You can also enter the CLI commands at the command line, as shown in the following example:
# sfsmgr show lun
HP does not recommend running interactive commands such as the
configure server
and
configure system
commands at the command line. Commands that are suitable for running at
the command line include the
show
commands.
•
Some of the CLI commands prompt the user to enter values; these commands have built-in help text.
To display the help text, type in a question mark (
?
) when you are prompted to enter a value. The help
text is displayed and the prompt is then repeated.
•
When prompted by a CLI command to enter a value, you can enter an empty string by typing in two
double quotation marks (
""
). You can also use two double quotation marks to pass arguments
containing spaces to a command.
•
When using the commands that act on servers, you can specify the servers by number as well as by
name.
For example:
•
In a system called
south
where the server numbering starts at 1, the first server in the system is
south1
. To boot the second server in the system, you can enter the following command:
sfs> boot server 2
•
In a system called
south
, where the server numbering starts at 15, the first server in the system
is
south15
. To boot the second server in the system, you can enter the following command:
sfs> boot server 16
•
In a system called
sfs1
(that is, the system name ends in a digit) where the server numbering
starts at 1, the first server in the system is
sfs11
. To boot the second server in the system, you
can enter the following command:
sfs> boot server 2
Note that this facility applies only to the server commands (
boot server
,
configure server
,
disable server
,
enable server
,
set server
,
show server
,
shutdown server
).