PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Solaris(TM) 10 Operating System) |
Contents
Index
![]() ![]() |
Chapter 11 File System Operations (Command) | > 11.5 Change (shared node information) | > 11.5.3 Changing shared node information |
Described below is the procedure for using sfcnode(1M) to add node information (moony) to an existing file system (/dev/sfdsk/gfs01/rdsk/volume01). Execute the command on any one of the nodes where the file system is shared.
1. Check that the target file system is unmounted on all nodes sharing the file system.
You can do this by checking that "STOP" is displayed in all status fields of the sfcinfo(1M) outputs.
# sfcinfo -n /dev/sfdsk/gfs01/dsk/volume01 <Enter> /dev/sfdsk/gfs01/dsk/volume01: FSID hostID status hostname 1 80a4f75b STOP sunny |
2. Add the node information.
# sfcnode -a moony /dev/sfdsk/gfs01/rdsk/volume01 <Enter> |
3. Confirm that the node information has been added.
You can do this by checking that the moony field is newly displayed.
# sfcinfo -n /dev/sfdsk/gfs01/dsk/volume01 <Enter> /dev/sfdsk/gfs01/dsk/volume01: FSID hostID status hostname 1 80a4f75b STOP sunny 1 80960096 STOP moony |
4. Set the added node as MDS node.
# sfcadm -g ,moony /dev/sfdsk/gfs01/rdsk/volume01 <Enter> |
5. Check if the node to the node where an MDS is configured has been added.
If moony is displayed as MDS(S), the node has been added.
# 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 sunny 1 AC stop - 0 0 0 sunny 1 MDS(S) stop - 0 0 0 moony 1 AC stop - 0 0 0 moony |
Contents
Index
![]() ![]() |