PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Solaris(TM) 10 Operating System)
Contents Index PreviousNext

Chapter 11 File System Operations (Command)> 11.7 Change (MDS operational information)

11.7.2 Changing the 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 sfcadm(1M).

The following example shows how to change the priority of nodes where an MDS is configured to karin and mikan, using sfcadm(1M).

1. Check the current file system configuration.

# sfcrscinfo -m /dev/sfdsk/gfs01/rdsk/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 shared nodes are mikan and karin from the result of sfcrscinfo -m executed.

2. Change the priority of nodes where an MDS is configured.

# sfcadm -g karin,mikan /dev/sfdsk/gfs01/rdsk/volume01 <Enter>

3. Check if the priority of nodes where an MDS is configured has been changed.

# sfcrscinfo -m /dev/sfdsk/gfs01/rdsk/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

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006