PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment) |
Contents Index |
Part 3 Global File Services Shared File System | > Chapter 22 File System Operations (Command) | > 22.8 Change (MDS operational information) |
In the GFS Shared File System, information about all nodes that operate MDS is retained.
Use sfcadm(1M) to change information about nodes on which MDS is placed.
For details on sfcadm(1M) options, see Appendix F.2.2, "sfcadm(1M)."
The following shows how to change information about nodes on which MDS is placed using sfcadm(1M).
1. Check the current file system configuration. Two nodes (mikan and karin) are currently in the MDS placement range.
# sfcinfo -n /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: FSID hostID status hostname 1 80807658 STOP mikan 1 807e7937 STOP karin 1 80804266 STOP mango 1 80b6324a STOP ringo# sfcinfo -c /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: node=mikan,karin
2. Change the MDS placement range to all shared hosts.
# sfcadm -c all /dev/sfdsk/gfs/rdsk/volume1
3. Confirm that the MDS placement range has been changed. "all" is now displayed to confirm that the MDS placement range includes all nodes.
# sfcinfo -c /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: node=mikan,karin,mango,ringo mdsnode=all
If all nodes are set in the MDS placement range, an added node is automatically integrated into the range when a shared node is subsequently added using sfcnode(1M).
Specify the MDS placement range using the number of nodes from the first node in the shared host list specified at file system creation.
1. Check the current file system configuration. "all" is currently displayed to confirm that the MDS placement range includes all nodes.
# sfcinfo -n /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: FSID hostID status hostname 1 80807658 STOP mikan 1 807e7937 STOP karin 1 80804266 STOP mango 1 80b6324a STOP ringo# sfcinfo -c /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: node=mikan,karin,mango,ringo mdsnode=all
2. Change the MDS placement range from all nodes to three nodes (mikan, karin, and mango).
# sfcadm -c 3 /dev/sfdsk/gfs/rdsk/volume1
3. Confirm that the MDS placement range has been changed.
# sfcinfo -c /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: node=mikan,karin,mango
1. Check the current file system configuration.
# sfcinfo -n /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: FSID hostID status hostname 1 80807658 STOP mikan 1 807e7937 STOP karin 1 80804266 STOP mango 1 80b6324a STOP ringo# sfcinfo -c /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: node=mikan,karin,mango
2. Change the priorities of nodes on which MDS is placed.
# sfcadm -g mango,ringo,mikan /dev/sfdsk/gfs/dsk/volume1
3. Confirm that the MDS placement range has been changed.
# sfcinfo -c /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: node=mango,ringo,mikan
Contents Index |