Top
PRIMECLUSTER Global Disk Services  Configuration and AdministrationGuide 4.6
FUJITSU Software

6.11.5 Setting up Copy Destination System

Take the following procedure on the copy destination system.

  1. Deleting the configuration information of the system disk mirroring

    When copying the system disk data while mirroring the system disk, start the system from an installation CD of OS to delete the configuration information of the system disk mirroring.

    For how to delete, see "Resolution" of "(4) System cannot be booted. (Failure of all boot disks)" in "D.1.5 System Disk Abnormality [EFI]" In this step, you do not need to replace the physical disk and restore the backup data. Additionally, when starting the system after exiting the rescue mode, start the system in single user mode.

  2. Start the system in single user mode.

    Because the console cannot be used in a cloud environment (except an FJcloud-Baremetal environment), do not select single user mode. In this case, take the following procedure to restrict the automatic startup of the PRIMECLUSTER service.

    1. Restrict the automatic startup of the PRIMECLUSTER service.

      Restrict the automatic startup of the PRIMECLUSTER service by executing the following command on all nodes.

      # /opt/FJSVpclinst/bin/pclservice off
    2. Restart the system.

      Restart the system on all nodes.

      # /sbin/shutdown -r now
  3. Deleting the configuration information of the local class

    Take the following procedure on all nodes.

    This section explains the example when the class name is Class1.

    1. Delete the configuration of the class name from the /etc/opt/FJSVsdx/sysdb.d/class.db file.

      # cd /etc/opt/FJSVsdx/sysdb.d
      # vim class.db
      Class1    <-Delete all the entries of the class name
      ...
      # Disk Class List
    2. Delete all the files of the class name under the /etc/opt/FJSVsdx/sysdb.d directory.

      # rm Class1
    3. Delete the configuration information of the class from the /etc/sysconfig/devlabel file.

      # cd /etc/sysconfig
      # vim devlabel
      ...
      /etc/opt/FJSVsdx/.devlabel/Class1/sdx_dev...    <- Delete the class configuration information
    4. Delete all the directories of the class name under the /etc/opt/FJSVsdx/.devlabel directory.

      # cd /etc/opt/FJSVsdx/.devlabel
      # rm -rf Class1
  4. Deleting the management information of the physical disk

    # cat /dev/null > /etc/opt/FJSVsdx/sdx.udev
  5. Correcting the excluded device list

    If the physical disk name differs between the original system and the copy destination system, correct the physical disk name of the disk that is excluded from GDS management described in the excluded device list (/etc/opt/FJSVsdx/lib/exdevtab file) to be the same as the physical disk name in the copy destination system.

    For details on the excluded device list, see "6.1 Creating Excluded Device List."

  6. Restart the system in multi-user mode.

    In a cloud environment (except an FJcloud-Baremetal environment), take the following procedure to cancel restricting the automatic startup of the PRIMECLUSTER service.

    1. Configure the automatic startup of the PRIMECLUSTER service.

      Execute the following command on all nodes and change the PRIMECLUSTER service settings back to the state they were in before they were restricted in step 2.

      # /opt/FJSVpclinst/bin/pclservice on
    2. Restart the system.

      Restart the system on all nodes.

      # /sbin/shutdown -r now

    From this procedure, the example shows that the class name is Class1, and the configuration file path is the /var/tmp/Class1.conf.

  7. Changing the physical disk name in the configuration file

    If the physical disk name to be registered in the local class differs between the original system and the copy destination system, change the physical disk name in the configuration file to the physical disk name of the copy destination system.

    Here is the example when the physical disk name of the original system is sdf, and the physical disk name of the copy destination system is sdh.

    # sdxconfig Convert -e replace -c Class1 -p sdf=sdh -i /var/tmp/Class1.conf -o /var/tmp/Class1.conf -e update
  8. Restoring the object configuration information in the local class

    1. When copying the data of the private slice

      # sdxconfig Restore -c Class1 -i /var/tmp/Class1.conf -e chkps
    2. When not copying the data of the private slice

      # sdxconfig Restore -c Class1 -i /var/tmp/Class1.conf
  9. Restart the system.

  10. Setting up the system disk mirroring

    Set up the system disk mirroring.

    For how to set up, see "6.5 System Disk Mirroring Settings [EFI]."