3.7.0 HP StorageWorks HP Scalable NAS File Serving Software command reference guide HP Scalable NAS for Linux (AG513-96003, October 2009)
try the other servers in the list. If “default” is omitted, the mx command will attempt
to connect to the servers in the order that they are specified in the list.
# production cluster
prod root secret1 default {
srv1
srv2
srv3 root secret1 default
srv4 root secret2
}
mx syntax
The mx utility has the following syntax:
mx [mx_options] class command [command_options]
The mx_options affect an entire mx command session. The options are:
--help
Displays a command summary.
--matrix <hostname>
Specifies the cluster that you want to connect with. hostname can be any node
in the cluster.
--config <file>
Specifies the configuration file to be consulted for server, user, and password
information. The file must have the same format as matrixrc.
--file <file>
Executes the commands from the specified file. If you specify – instead of a file,
the commands will be read from standard input. You can also specify --con-
tinue to tell mx to continue processing the batch file if an error occurs.
--prompt <prompt>
Specifies the prompt string that will be printed when mx is ready for another
command. This option is useful when you initiate an interactive session with the
--file - option. For example, if you invoke an interactive session with the
following command, mx will print a % prompt when it completes a command.
mx --prompt ’%’ --file –
--numeric
Causes hosts to be specified by their numeric IP addresses instead of by their
hostnames.
--user <username>
mx commands88