3.7.0 HP StorageWorks HP Scalable NAS File Serving Software command reference guide HP Scalable NAS for Linux (AG513-96003, October 2009)
• The fourth field, default, specifies that this server will be connected to by default
if a server name is not specified on the command line. Specifying a default server
is optional.
Blank lines and lines beginning with a # character are ignored.
Notes regarding the .matrixrc file
When working with the .matrixrc file, you should be aware of the following:
• When editing the .matrixrc file by hand, you need to put quotation marks
around user names or passwords that contain spaces. If there are backslashes
or quotation marks inside the quotation marks, they must be escaped with the
backslash character. For example, if the password is fr”12 \ad, enter it as “fr\”12
\\ad”. When saving a bookmark on the HP Scalable NAS Connect dialog, the
escape characters are added automatically as necessary.
• Comments can be lost when the .matrixrc file is edited via the HP Scalable
NAS Connect window.
• In HP Scalable NAS releases earlier than 3.x, the mx command cannot interpret
encrypted passwords. If you are using mx and connect to a cluster running one
of these versions, you will be asked whether you want HP Scalable NAS to create
a temporary .matrixrc file that contains clear passwords. The temporary file
will be deleted when the mx command is complete.
Specify servers in the .matrixrc file
If you need to control which server is used for the mx connection, list the servers
individually in the matrixrc file or use the mx --matrix command-line option.
If any server can be used, you can group the servers.
List servers individually
Add a line to the file for each server for which you want mx access and specify the
appropriate username and password. This example specifies that srv3 is the default.
srv1 root secret1
srv2 root secret1
srv3 root secret2 default
When you issue a mx command without specifying a server name, as in the following
example, it connects to the machine specified as the default in the .matrixrc file.
mx server status
mx commands86