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 "6.4.1 System Configuration."
See
For details on GDS Management View, see "5.2.1 System Disk Settings."
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 c0t0d0=Root1:keep,c1t0d0=Root2:undef,c0t0d1=Var1:keep,c1t0d1=Var2:undef |
1-3) Connect system disks to groups respectively.
# sdxdisk -C -c System -g Group1 -d Root1,Root2 -v 0=root:on,1=usr:on,3=home:on # sdxdisk -C -c System -g Group2 -d Var1,Var2 -v 0=swap:on,1=var:on,3=opt:on |
1-4) Confirm that the mirror definition is complete.
# sdxroot -M -c System -d Root1,Var1 |
1-5) Reboot the system.
# shutdown -y -g0 -i6 |
1-6) Confirm that mirroring is complete.
Use the mount(1M) 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 "6.4.1 System Configuration."
2-1) Register the disks with the root class.
# sdxdisk -M -c System -d c2t0d0=Proot1,c3t0d0=Proot2,c2t0d1=Pvar1,c3t0d1=Pvar2 |
See
For details on GDS Management View, see "5.4.1 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 "5.2.3.3 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 "6.4.1 System Configuration."
3-1) Join the proxy groups.
# sdxproxy Join -c System -m Group1 -p Proxy1 -a root=Proot:on,usr=Pusr:on,home=Phome:on # sdxproxy Join -c System -m Group2 -p Proxy2 -a swap=Pswap:on,var=Pvar:on,opt=Popt:on |
See
For details on GDS Management View, see "5.2.4.1 Join."
3-2) Confirm that synchronization copying is complete.
When using the OPC function, go on to step 3-3) without waiting until the synchronization copying is completed.
# 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 usr ACTIVE
slice System Group1 Root2 usr ACTIVE
slice System Group1 Root1 home ACTIVE
slice System Group1 Root2 home 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 opt ACTIVE
slice System Group2 Var2 opt ACTIVE
slice System Proxy1 Proot1 Proot STOP
slice System Proxy1 Proot2 Proot STOP
slice System Proxy1 Proot1 Pusr STOP
slice System Proxy1 Proot2 Pusr STOP
slice System Proxy1 Proot1 Phome COPY
slice System Proxy1 Proot2 Phome 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 Popt COPY
slice System Proxy2 Pvar2 Popt 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.
Information
ETERNUS Disk Storage System SAN Boot Environment
When using the OPC function, perform the following steps 3-3) through to 3-5). It is possible to perform steps 3-3) through to 3-5), 4), and 5) without waiting until the synchronization copying is completed. For conditions under which the OPC function is used, see "A.2.24 Instant Snapshot by OPC."
3-3) Break the relationship between the master and the proxy once.
# sdxproxy Break -c System -p Proxy1 -e force |
3-4) Set proxy volume access mode attributes to rw (read and write).
# sdxattr -V -c System -v Proot -a mode=rw # sdxattr -V -c System -v Pusr -a mode=rw # sdxattr -V -c System -v Phome -a mode=rw # sdxattr -V -c System -v Pswap -a mode=rw # sdxattr -V -c System -v Pvar -a mode=rw # sdxattr -V -c System -v Popt -a mode=rw |
3-5) Relate the master groups and the proxy groups again.
# sdxproxy Relate -c System -m Group1 -p Proxy1 # sdxproxy Relate -c System -m Group2 -p Proxy2 |