9) Stopping services
If application volume Volume1 is volume of local class, stop applications using application volume Volume1.
When using Volume1 as a file system, unmount the file system.
If application volume Volume1 is volume of shared class, perform the following procedure:
9-1) Stop RMS.
Execute the following in any one of the nodes of cluster system.
# hvshut -a |
Check if RMS has stopped.
# hvdisp -a
hvdisp: RMS is not running |
9-2) Suppress the automatic startup of RMS.
Execute the following on all of the nodes of cluster system.
Check the current automatic startup settings of RMS.
# hvsetenv HV_RCSTART
1 |
If 1 is displayed, suppress the automatic startup of RMS.
# hvsetenv HV_RCSTART 0 |
Check that the automatic startup of RMS is suppressed (0 is displayed).
# hvsetenv HV_RCSTART
0 |
10) Stopping the application volume
If application volume Volume1 is volume of local class, stop application volume Volume1.
# 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 c3t1d1 and c4t1d1, copy sources, as respectively back to application disks c1t1d1 and c2t1d1, 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 c3t1d1 and c4t1d1 from application disks c1t1d1 and c2t1d1.
See
For the methods for suspending synchronization, see the manuals of disk units for information regarding copy functions.
14) Attach a label to the application disk.
Execute this operation on all the nodes of the cluster system.
Example) Attach a label to c1t1d1.
# format c1t1d1 |
15) 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 "6.7.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 -y -i6 -g0 |
16) 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 "6.7.2 Backing Up." In this example, the scope of backed up class Class1 is Node1:Node2.
16-1) Stop the volume in the class.
# sdxvolume -F -c Class1 |
16-2) Change the class type and expand the class scope.
# sdxattr -C -c Class1 -a type=shared,scope=Node1:Node2 |
17) Starting the application volume
If application volume Volume1 is volume of local class, start application volume Volume1.
# sdxvolume -N -c Class1 -v Volume1 |
18) Resuming the services
If application volume Volume1 is volume of local class, and when the file system on application volume Volume1 is unmounted in step 9), unmount it again.
And, if the application volume Volume1 is volume of local class, start the applications using Volume1.
If application volume Volume1 is volume of shared class, perform the following procedures.
18-1) Configure shared class in order to use as RMS resource.
Execute the following in any one of the node included in the scope of shared class.
# /opt/SMAW/SMAWRrms/bin/hvgdsetup -a Class1 ... Do you want to continue with these processes ? [yes/no] yes |
Check that the settings are correct (enabled on RMS is displayed).
# /opt/SMAW/SMAWRrms/bin/hvgdsetup -l
Class1 is enabled on RMS. |
18-2) Set the automatic startup of RMS.
Configure the following on all of the nodes of cluster system.
# hvsetenv HV_RCSTART 1 |
Check that the automatic startup of RMS is configured (1 is displayed).
# hvsetenv HV_RCSTART
1 |
18-3) Start RMS.
Execute the following on any one of the nodes of cluster system.
# /opt/SMAW/SMAWRrms/bin/hvcm -a |
Check that RMS is activated.
# hvdisp -a
Local System: node01RMS
Configuration: /opt/SMAW/SMAWRrms/build/config.us
Resource Type HostName State StateDetails
------------------------------------------------------------------------
node02RMS SysNode Online
node01RMS SysNode Online
userApp_0 userApp Online
Machine001_userApp_0 andOp node02RMS
Machine000_userApp_0 andOp node01RMS Online
:
: |