1) Mirroring system disks
In preparatory for alternative boot environment creation, mirror system disks. This sub-section describes the procedures for mirroring system disks in the configuration as shown in "7.5.1 System Configuration."
See
For details on GDS Management View, see "6.5.2.1 Setting with GDS Management View."
1-1) Exit all active application programs.
To ensure safe mirroring, exit all running application programs. If higher security is required, you should make backups of system disks.
1-2) Register system disks with the root class.
# sdxdisk -M -c System -a type=root -d sda=Root1:keep,sdb=Root2:undef,sdc=Var1:keep,sdd=Var2:undef |
1-3) Connect system disks to groups respectively.
# sdxdisk -C -c System -g Group1 -d Root1,Root2 -v 1=root:on,2=boot:on,3=efi:on # sdxdisk -C -c System -g Group2 -d Var1,Var2 -v 1=swap:on,2=var:on,3=usr:on |
1-4) Confirm that the mirror definition is complete.
# sdxroot -M -c System -d Root1,Var1 |
1-5) Reboot the system.
# shutdown -r now |
1-6) Confirm that mirroring is complete.
Use the mount(8) command or the sdxinfo command to verify that the system disks have been mirrored properly.
2) Creating proxy groups
Create the disk areas (proxy groups) for backing up system disks. The following describes the procedure for creating proxy groups in the configuration as shown in "7.5.1 System Configuration."
2-1) Register the disks with the root class.
# sdxdisk -M -c System -d sde=Proot1,sdf=Proot2,sdg=Pvar1,sdh=Pvar2 |
See
For details on GDS Management View, see "8.2.1.2 Class Configuration."
2-2) Connect the disks to groups respectively.
# sdxdisk -C -c System -g Proxy1 -d Proot1,Proot2 # sdxdisk -C -c System -g Proxy2 -d Pvar1,Pvar2 |
See
For details on GDS Management View, see "6.6.1.5 Group Configuration."
3) Joining the proxy groups
Copy data in system disks into the backup disks by joining a group of the backup disks (proxy group) to a group of the system disks (master group). The following describes the procedure for joining proxy groups in the configuration as shown in "7.5.1 System Configuration."
3-1) Join the proxy groups.
# sdxproxy Join -c System -m Group1 -p Proxy1 -a root=Proot:on,boot=Pboot:on,efi=Pefi:on # sdxproxy Join -c System -m Group2 -p Proxy2 -a swap=Pswap:on,var=Pvar:on,usr=Pusr:on |
See
For details on GDS Management View, see "6.10.1.1 Join."
3-2) Confirm that synchronization copying is complete.
# sdxinfo -S -c System
OBJ CLASS GROUP DISK VOLUME STATUS
------ ------- ------- ------- ------- --------
slice System Group1 Root1 root ACTIVE
slice System Group1 Root2 root ACTIVE
slice System Group1 Root1 boot ACTIVE
slice System Group1 Root2 boot ACTIVE
slice System Group1 Root1 efi ACTIVE
slice System Group1 Root2 efi ACTIVE
slice System Group2 Var1 swap ACTIVE
slice System Group2 Var2 swap ACTIVE
slice System Group2 Var1 var ACTIVE
slice System Group2 Var2 var ACTIVE
slice System Group2 Var1 usr ACTIVE
slice System Group2 Var2 usr ACTIVE
slice System Proxy1 Proot1 Proot STOP
slice System Proxy1 Proot2 Proot STOP
slice System Proxy1 Proot1 Pboot STOP
slice System Proxy1 Proot2 Pboot STOP
slice System Proxy1 Proot1 Pefi COPY
slice System Proxy1 Proot2 Pefi COPY
slice System Proxy2 Pvar1 Pswap STOP
slice System Proxy2 Pvar2 Pswap STOP
slice System Proxy2 Pvar1 Pvar COPY
slice System Proxy2 Pvar2 Pvar COPY
slice System Proxy2 Pvar1 Pusr COPY
slice System Proxy2 Pvar2 Pusr COPY |
If synchronization copying is in process, COPY is displayed in the STATUS field for slice information of the copy destination proxy group. If the STATUS of every slice in the proxy group is STOP, the synchronization copying is completed.
Information
On the GDS Management View main screen, slices composing proxy volumes are indicated as below.
If synchronization copying is in process, the status is "copy" and the icon color is blue.
After synchronization copying is completed, the status is "stop" and the icon color is black.