3.1.2 Matrix Server Command Reference
Chapter 1: Matrix Server Commands 29
Copyright © 1999-2006 PolyServe, Inc. All rights reserved.
mxsancheck – check server’s SAN access
Synopsis
/opt/polyserve/bin/mxsancheck
Description
The mxsancheck command determines whether a server has SAN access and
is ready to mount filesystems. The command is intended to be used in scripts
and returns 0 on success and 1 on failure.
mxsanconf – configure FC switches
Synopsis
/opt/polyserve/sbin/mxsanconf <FC-switch ...>
Description
When a matrix is configured to use fabric-based fencing, mxconfig runs the
mxsanconf command on each node to configure the list of FibreChannel
switches that will be managed by Matrix Server. The command creates or
updates the files /etc/opt/polyserve/psSAN.cfg and /var/opt/polyserve/FCswitches.
<FC-switch> is either the name or IP address of a switch to be managed. All
switches to be configured must be specified in the same command. The node
must be unfenced when the command is run. If the <FC-switch> parameter is
not specified, the command uses the FC switches listed in
/var/opt/polyserve/FCswitches (if that file exists).
In general, this command should not be run directly.
mxsanlk – show SAN ownership locks
Synopsis
/opt/polyserve/tools/mxsanlk
Description
Matrix Server uses a set of disk-based data structures called SANlocks to
protect filesystem integrity. If a problem causes a matrix to split into two or
more network partitions, the SANlocks ensure that only one of the resulting
network partitions has access to the SAN. Each SANlock is stored in a