3.7.0 HP StorageWorks HP Scalable NAS File Serving Software command reference guide HP Scalable NAS for Linux (AG513-96003, October 2009)
mprepair – repair membership partitions
Synopsis
/opt/hpcfs/lib/mprepair <options>
Description
The mprepair utility can be used to repair any problems if a failure causes servers
to have inconsistent views of the membership partitions.
NOTE:
HP Scalable NAS cannot be running when you use mprepair. To stop the cluster,
issue the command # /etc/init.d/pmxs stop on each node.
Membership partition file
Each server in the cluster has a membership partition file, which is called the “local
MP list.” This file specifies the locations of the membership partitions. Each membership
partition also has its own MP list. Because the membership partitions control access
to the SAN, it is important that each server in the cluster have the same view of where
the partitions are located.
However, it is possible for these views to get out of sync if changes to the membership
partition configuration are made when all servers are not accessible. Therefore,
before a server can negotiate for control of the SAN, it must have a local MP list that
matches the membership lists stored on each of the membership partitions, and each
membership partition must be in the Active state. The mprepair utility can be used
to repair any problems if a failure causes servers to have inconsistent views of the
membership partitions.
View membership partitions and their status
To view the current membership partitions, run the following command:
mprepair --get_current_mps
This command lists the current membership partitions according to the membership
file maintained on the server where you are running the utility. Each server in the
cluster has a membership partition file, which is called the “local MP list.” Each SAN
Cluster commands30