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

Chapter 6 Backing Up and Restoring> 6.2 Backing Up and Restoring a System Disk through an Alternative Boot Environment

6.2.5 Configuring an Environment

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 "System Configuration."

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 "System Configuration."

2-1) Register the disks with the root class.

# sdxdisk -M -c System -d c2t0d0=Proot1,c3t0d0=Proot2,c2t0d1=Pvar1,c3t0d1=Pvar2


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

 

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 "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


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   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.


Contents PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2005