Top
PRIMECLUSTER  Installation and Administration Guide 4.5
FUJITSU Software

M.1.1 Backing up the GFS Configuration Information

This section describes the items executed before cloning is applied while GFS Shared File System is used on the copy source server.

  1. Back up the management partition information of the GFS Shared File System from the copy source server.

    Execute the following command on any running node.

    # sfcgetconf _backup_file_

    In the above example, sfcgetconf(8) generates a shell script named _backup_file_ in the current directory.

    Note

    Execute the above procedure if you are going to copy data from a shared disk.

  2. Edit _backup_file_ you retrieved in Step 1.

    Change the names of the nodes written in the execution procedure of the "sfcadm" command contained in _backup_file_ to the node names on the destination server.

    Example: The node names on the copy source server are host2 and host3, and, the node names on the destination server are host4 and host5.

    [Before change]
    #!/bin/sh
    # This file is made by:
    # sfcgetconf _backup_file_
    # Thu May 26 09:23:04 2014
    #---- fsid : 1 ----
    # MDS primary (port) : host2 (sfcfs-1)
    # MDS secondory (port) : host3 (sfcfs-1)
    # MDS other :
    # AC : host2, host3
    # options :
    # device : /dev/sfdsk/gfs01/dsk/volume01
    sfcadm -m host2,host3 -g host2,host3 -p sfcfs-1,sfcfs-1 /dev/sfdsk/gfs01/dsk/volume01
    ...
    [After change]
    #!/bin/sh
    # This file is made by:
    # sfcgetconf _backup_file_
    # Thu May 26 09:23:04 2014
    #---- fsid : 1 ----
    # MDS primary (port) : host4 (sfcfs-1)
    # MDS secondory (port) : host5 (sfcfs-1)
    # MDS other :
    # AC : host4, host5
    # options :
    # device : /dev/sfdsk/gfs01/dsk/volume01
    sfcadm -m host4,host5 -g host4,host5 -p sfcfs-1,sfcfs-1 /dev/sfdsk/gfs01/dsk/volume01
    ...

    Note

    If there are multiple file systems, there also are multiple lines in the execution procedure of the "sfcadm" command. Modify the node names in all lines.

  3. Check the setup of the startup procedure of the sfcfrmd daemon.

    # sfcsetup -m
    wait_bg

    Record the output value.

    This value is used when restoring the GFS configuration information on the source destination server.