This sub-section describes the method to migrate a server to a new server on the system where GDS is used.
Setting mistakes during migration can be prevented and servers can be migrated efficiently by backing up and restoring object configuration information by using the sdxconfig command.
The migration procedure is as follows:
1) Back up and delete the GDS configuration on the migration source server.
1-1) Back up object configuration information of local and shared classes. (sdxconfig Backup command)
1-2) Stop the volumes of local and shared classes. (sdxvolume -F command)
1-3) Convert shared classes to local classes. (sdxattr -C command)
1-4) Remove object configuration information of local classes (including the classes converted in step 1-3). (sdxconfig Remove command)
1-5) When the system disk is being mirrored, cancel the system disk mirroring. (Unmirror System Disk of the Management View)
2) Remove the storage unit and the internal disks registered with local classes from the migration source server and connect them to the migration destination server.
Information
If the internal disk cannot be connected to the migration destination server, back up the volume data of a local class before performing step 1) on the migration source server, and then restore it on the migration destination server after performing step 4).
3) Install and set up the OS and software on the migration destination server.
4) Restore the GDS configuration on the migration destination server.
4-1) When storage is a shared disk in the cluster system, register the disk with the PRIMECLUSTER resource database. (clautoconfig command)
4-2) When mirroring the system disk, set the system disk mirroring. (System Disk Settings of the Management View)
4-3) Convert the physical disk names described in the configuration files backed up in step 1) to physical disk names on the migration destination server. (sdxconfig Convert command)
4-4) Restore object configuration information of local and shared classes. (sdxconfig Restore command)
4-5) When storage is a shared disk in the cluster system, convert the restored class to a shared class. (sdxattr -C command)
See
For the method of using the sdxconfig command, see "D.13 sdxconfig - Object configuration operations" and "6.9 Backing Up and Restoring Object Configurations."
For the method of using the clautoconfig command, see the manual pages or "PRIMECLUSTER Cluster Foundation (CF) Configuration and Administration Guide."