PRIMECLUSTER Global Disk Services Configuration and Administration Guide 4.1 (Solaris(TM) Operating System) |
Contents |
Chapter 6 Backing Up and Restoring | > 6.6 Backing Up and Restoring through an External Server | > 6.6.3 Backing Up and Restoring Using Snapshots from a Proxy Volume |
9) Stopping the services
Exit all applications using master volume Volume1 on Node1 and Node2 in the primary domain.
When Volume1 is used as a file system, it should be unmounted.
10) Stopping the master volume
Stop master volume Volume1 on Node1 and Node2 in the primary domain. Execute the following command on Node1or Node2.
# sdxvolume -F -c Class1 -v Volume1 -e allnodes |
11) Restoring from the proxy volume
In the primary domain, restore data from proxy volume Volume2 back to master volume Volume1. Execute the following command on Node1 or Node2.
# sdxproxy RejoinRestore -c Class1 -p Volume2 |
After returning from the command, synchronization copying from Volume2 to Volume1 is executed.
12) Resuming the services
After synchronization copying is started from proxy volume Volume2 to master volume Volume1 in step 11), the services can be resumed before the copy process is completed. The following procedure must be performed on the node that runs the services.
12-1) Activating the master volume
Activate master volume Volume1.
# sdxvolume -N -c Class1 -v Volume1 |
12-2) Reconfiguring the partition information of the sfxfs file system
When master volume Volume1 is used as the sfxfs file system, reconfigure the partition information.
# sfxadm /dev/sfdsk/Class1/rdsk/Volume1 |
12-3) Check and repair consistency of the sfxfs file system
When master volume Volume1 is used as the sfxfs file system, check and repair consistency of the file system.
# fsck -F sfxfs -y /dev/sfdsk/Class1/rdsk/Volume1 |
12-4) Resuming the services
When the file system on master volume Volume1 was unmounted in step 9), mount it again.
Start the applications using Volume1.
12-5) Viewing the copy status
The status of synchronization copying from proxy volume Volume2 to master volume Volume1 executed in step 11), can be viewed using the sdxinfo -S command. The slice of master volume Volume1 as the copy destination is in COPY status if copying is in progress and it will be in ACTIVE status after the copy process ends normally.
# sdxinfo -S -c Class1 -o Volume1 OBJ CLASS GROUP DISK VOLUME STATUS ------ ------- ------- ------- ------- -------- slice Class1 Group1 Disk1 Volume1 ACTIVE slice Class1 Group1 Disk2 Volume1 ACTIVE |
Master volume Volume1 and proxy volume Volume2 are made the joined state through step 11). If data in Volume1 is damaged while they are in the joined state, the proxy data is also damaged. Thus data cannot be restored from Volume2 back to Volume1. Therefore, once the synchronization copying from Volume2 to Volume1 is complete, it is recommended to part Volume2 from Volume1. For details on the procedure for parting a proxy volume, see step 3) described in "Backing Up."
Contents |