PRIMECLUSTER Global Disk Services Configuration and Administration Guide 4.1 (Solaris(TM) Operating System)
Contents PreviousNext

Chapter 6 Backing Up and Restoring> 6.5 Backing Up and Restoring through Disk Unit's Copy Functions

6.5.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
# sdxdisk R -c Class1 -d Disk1
# sdxdisk R -c Class1 -d Disk2

 

12) Restoring data back from the backup disks

Restore data from backup disks c3t1d1 and c4t1d1, copy sources, as respectively back to application disks c1t1d1 and c2t1d1, as copy destinations, with disk unit's copy functions.


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 c3t1d1 and c4t1d1 from application disks c1t1d1 and c2t1d1.


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 "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
# shutdown -y -i6 -g0

 

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 "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 Nore1 or Node2.

16-1) Starting the application volume

Start application volume Volume1.

# sdxvolume -N -c Class1 -v Volume1


16-2) Reconfiguring the partition information of the GFS Local File System

When using application volume Volume1 as the GFS Local File System, reconfigure the partition information.

# sfxadm /dev/sfdsk/Class1/rdsk/Volume1

 

17) Resuming the services

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

Start the applications using Volume1.



Contents PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2005