Recovery from loss of GPFS cluster configuration data file

This topic describes the procedure for recovering the cluster configuration data file in IBM Storage Scale.

A copy of the IBM Storage Scale cluster configuration data files is stored in the /var/mmfs/gen/mmsdrfs file on each node. For proper operation, this file must exist on each node in the IBM Storage Scale cluster. The latest level of this file is guaranteed to be on the primary, and secondary if specified, GPFS cluster configuration server nodes that were defined when the IBM Storage Scale cluster was first created with the mmcrcluster command.

If the /var/mmfs/gen/mmsdrfs file is removed by accident from any of the nodes, and an up-to-date version of the file is present on the primary IBM Storage Scale cluster configuration server, restore the file by issuing this command from the node on which it is missing:
mmsdrrestore -p primaryServer
where primaryServer is the name of the primary GPFS cluster configuration server.
If the /var/mmfs/gen/mmsdrfs file is not present on the primary GPFS cluster configuration server, but is present on some other node in the cluster, restore the file by issuing these commands:
mmsdrrestore -p remoteNode -F remoteFile
mmchcluster -p LATEST
where remoteNode is the node that has an up-to-date version of the /var/mmfs/gen/mmsdrfs file and remoteFile is the full path name of that file on that node.

One way to ensure that the latest version of the /var/mmfs/gen/mmsdrfs file is always available is to use the mmsdrbackup user exit.