Restore the GFS configuration information to the copy destination servers.
Note
This procedure is required when using a GFS Shared File System on the copy source servers.
Reinitialize the management partition on the one node of the copy destination servers.
Example: Initializing the /dev/sfdsk/gfs/rdsk/control file as the management partition.
# sfcsetup -cf /dev/sfdsk/gfs/rdsk/control
Reregister the information of the configuration node on each node.
# sfcsetup -a /dev/sfdsk/gfs/rdsk/control
On the one node of the copy destination servers, redo the settings for the startup method of the sfcfrmd daemon as recorded in "Backup of the configuration information of GFS" in Step 3.
Example: For setting the startup method of sfcfrmd daemon to wait_bg
# sfcsetup -m wait_bg
Note
This procedure is required when changing the startup method of the sfcfrmd daemon from the default value wait.
Confirm that the management partition is reinitialized.
The path name of the management partition for which the settings were made can be confirmed by executing the "sfcsetup(1M)" command with the -p option.
# sfcsetup -p
/dev/sfdsk/gfs/rdsk/control
The registered node information can be confirmed by executing the "sfcsetup(1M)" command without any option.
# sfcsetup
HOSTID CIPNAME MP_PATH
80380000 fuji4RMS yes
80380001 fuji5RMS yes
The startup method of the sfcfrmd daemon can be confirmed by executing the"sfcsetup(1M)" command with the -m option.
# sfcsetup -m
wait_bg
Start the sfcfrmd daemon by executing the following command on all nodes.
# sfcfrmstart
Set the GFS Shared File System.
Without copying the data on the shared disk
Create the GFS Shared File System.
See
For details on how to create a GFS Shared File System, see "Creating a file system" and "Selecting a communication protocol" of "Creation" of "File System Operations (Command)" in "PRIMECLUSTER Global File Services Configuration and Administration Guide."
Copying the data on the shared disk
Restore the information of the management partition.
Execute the shell script edited in "I.1.1 Backing up the GFS Configuration Information" on any one node.
# sh _backup_file_
get other node information start ... end
Confirm that restoration of the management partition of GFS was successful by running the "sfcinfo(1M)" command and the "sfcrscinfo(1M)" command.
# sfcinfo -a
/dev/sfdsk/gfs01/dsk/volume01:
FSID special size Type mount
1 /dev/sfdsk/gfs01/dsk/volume01(15000000021) 14422 META -----
1 /dev/sfdsk/gfs01/dsk/volume01(15000000021) 5116 LOG -----
1 /dev/sfdsk/gfs01/dsk/volume01(15000000021) 95112 DATA -----
# sfcrscinfo -m -a
/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 host4
1 AC stop - 0 0 0 host4
1 MDS(S) stop - 0 0 0 host5
1 AC stop - 0 0 0 host5
Mount the GFS Shared File System on all nodes.
# sfcmntgl <mount point>