In the GFS Shared File System, information about all nodes that operate MDS is retained.
Priority of nodes on which to place MDS as primary or secondary MDS
Use sfcadm(8) to change information about nodes on which MDS is placed.
See
For details on sfcadm(8) options, see sfcadm(8).
The following example shows how to change the priority of the MDS nodes is configured to karin and mikan, using sfcadm(8).
Check the current file system configuration.
# sfcrscinfo -m /dev/sfdsk/gfs01/dsk/volume01 <Enter> /dev/sfdsk/gfs01/dsk/volume01: FSID MDS/AC STATE S-STATE RID-1 RID-2 RID-N hostname 1 MDS(P) stop - 0 0 0 mikan 1 AC stop - 0 0 0 mikan 1 MDS(S) stop - 0 0 0 karin 1 AC stop - 0 0 0 karin |
You can check the priority of the MDS nodes are mikan and karin from the result of sfcrscinfo -m executed.
Change the priority of the MDS nodes is configured.
# sfcadm -g karin,mikan /dev/sfdsk/gfs01/dsk/volume01 <Enter> |
Check if the priority of the MDS nodes is configured has been changed.
# sfcrscinfo -m /dev/sfdsk/gfs01/dsk/volume01 <Enter> /dev/sfdsk/gfs01/dsk/volume01: FSID MDS/AC STATE S-STATE RID-1 RID-2 RID-N hostname 1 MDS(P) stop - 0 0 0 karin 1 AC stop - 0 0 0 karin 1 MDS(S) stop - 0 0 0 mikan 1 AC stop - 0 0 0 mikan |