Top
PRIMECLUSTER  Installation and Administration Guide 4.5
FUJITSU Software

M.3.5 Restoring the GFS Configuration Information

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.

  1. Reinitialize the management partition on the one node of the copy destination servers.

    Example: Initializing the /dev/sfdsk/gfs/dsk/control file as the management partition.

    # sfcsetup -cf /dev/sfdsk/gfs/dsk/control
  2. Reregister the information of the configuration node on each node.

    # sfcsetup -a /dev/sfdsk/gfs/dsk/control
  3. On the one node of the copy destination servers, redo the settings for the startup method of the sfcfrmd daemon as recorded in "M.1.1 Backing up the GFS Configuration Information" 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.

  4. 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(8)" command with the -p option.

    # sfcsetup -p
    /dev/sfdsk/gfs/dsk/control

    The registered node information can be confirmed by executing the "sfcsetup(8)" command without any option.

    # sfcsetup
    HOSTID          CIPNAME         MP_PATH
    80000000        fuji4RMS        yes
    80000001        fuji5RMS        yes

    The startup method of the sfcfrmd daemon can be confirmed by executing the"sfcsetup(8)" command with the -m option.

    # sfcsetup -m
    wait_bg
  5. Start the sfcfrmd daemon by executing the following command on all the nodes.

    # sfcfrmstart
  6. If you are not going to copy the data on the shared disk, create a GFS Shared File System.

    See

    For details on how to create a GFS Shared File System, see "Creating a file system" or both "Creating a file system" and "Selecting a communication protocol" in "PRIMECLUSTER Global File Services Configuration and Administration Guide."

  7. If you are going to copy the data on the shared disk, restore the information of the management partition.

    Execute the shell script you edited in "M.1.1 Backing up the GFS Configuration Information" of the nodes on the copy destination servers.

    # sh _backup_file_
    get other node information start ... end

    Confirm that restoration of the management partition of GFS was successful by running the "sfcinfo(8)" command and the "sfcrscinfo(8)" command.

    # sfcinfo -a
    /dev/sfdsk/gfs01/dsk/volume01: FSID special size Type mount 1 /dev/sfdsk/gfs01/dsk/volume01(1e721) 14422 META ----- 1 /dev/sfdsk/gfs01/dsk/volume01(1e721) 5116 LOG ----- 1 /dev/sfdsk/gfs01/dsk/volume01(1e721) 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
  8. Mount the GFS Shared File System on all the nodes.

    # sfcmntgl <mount point>