Top
PRIMECLUSTER Global Disk Services  Configuration and AdministrationGuide 4.6
FUJITSU Software

7.11.3 Restoring from Backup Disks

9) Stopping services

Stop applications using application volume Volume1 on nodes Node1 and Node2 in the primary domain.

When using Volume1 as a file system, unmount the file system.


10) Stopping the application volume

On Node1 and Node2 in the primary domain, stop application volume Volume1. Execute the following command on Node1 or Node2

# sdxvolume -F -c Class1 -v Volume1 -e allnodes

11) Deleting the class

In the primary domain, delete class Class1 to which application volume Volume1 belongs. Execute the following command on Node1 or Node2 in the primary domain.

# sdxvolume -R -c Class1 -v Volume1
# sdxgroup -R -c Class1 -g Group1
# sdxclass -R -c Class1

12) Restoring data back from the backup disks

Restore data from backup disks sdc and sdd, as copy sources, respectively back to application disks sda and sdb, as copy destinations, with disk unit's copy functions.

See

For the restore methods, see the manuals of disk units for information regarding copy functions.


13) Parting the backup disks (suspending synchronization)

After the restore process is completed, part backup disks sdc and sdd from application disks sda and sdb.

See

For the methods for suspending synchronization, see the manuals of disk units for information regarding copy functions.


14) Restoring the object configuration of the class

On Node1 or Node2 in the primary domain, according to the configuration table in the configuration file "/var/tmp/Class1.conf" created in step 3) of "7.11.2 Backing Up," restore the object configuration of Class1.

After restoring the object configuration, reboot the restored node.

# sdxconfig Restore -c Class1 -i /var/tmp/Class1.conf -e chkps
# shutdown -r now

15) Changing the class type and expanding the class scope

If the backed up class, Class1, is a shared class, change the type and scope attributes of Class1. For the scope of backed up class Class1, check the SCOPE field of the class information output by the sdxinfo command and saved in step 3) of "7.11.2 Backing Up." In this example, the scope of backed up class Class1 is Node1:Node2.

15-1) Stop the volume in the class.

# sdxvolume -F -c Class1

15-2) Change the class type and expand the class scope.

# sdxattr -C -c Class1 -a type=shared,scope=Node1:Node2

16) Starting the application volume

On Node1 or Node2 in the primary domain, start application volume Volume1. Execute the following command on Node1 or Node2.

# sdxvolume -N -c Class1 -v Volume1

17) Resuming the services

When the file system on application volume Volume1 was unmounted in step 8) of "7.11.2 Backing Up," unmount it again.

Start the applications using Volume1.