Veritas Cluster Installation and Management
Setup of rootdisk Encapsulation and Mirroring ▀
Cisco ASR 5000 Series External Storage Server Installation and Administration Guide ▄
Setup of rootdisk Encapsulation and Mirroring
To setup the rootdisk encapsulation and mirroring:
Step 1 Log on as super user (root) on the first server. Execute format, and then select disk “1”.
Step 2 Type y when prompted for labeling the disk.
Step 3 Exit format, by pressing CTRL+D.
Step 4 Execute vxdiskadm, and select option “2”.
Step 5 Type list to see a list of available disks.
Step 6 Select the rootdisk, “c1t0d0” for encapsulation.
Step 7 Verify that the rootdisk is the desired disk to encapsulate.
Step 8 Specify rootdg, the default, as the disk group to add the rootdisk to. Then, confirm that rootdg should be created.
Step 9 When prompted, type n to specify that you do not wish to use the default disk name for the rootdisk. Then, confirm that
you wish to continue with the encapsulation.
Step 10 Enter a name for the rootdisk, and press ENTER to accept the default private region length.
Step 11 The rootdisk has been configured for encapsulation. Reboot the server using the following command:
#shutdown g0 y i6
Step 12 Repeat Step 1 through Step 11 on the second server.
Step 13 Initialize the second disk that was formatted in Step 2.
# vxdisksetup -i c1t1d0 format=sliced
Step 14 Add the disk to the rootdg disk group.
# vxdg -g rootdg adddisk rootmirror=c1t1d0s2
Step 15 Initialize the mirror process by executing the following command:
# vxrootmir -v rootmirror
The output should be similar to the following:
! vxassist -g bootdg mirror rootvol layout=contig,diskalign rootmirror
! vxbootsetup -g bootdg -v rootmirror
! vxmksdpart -f -v -g rootdg rootmirror-01 0 0x2 0x200
! vxpartadd /dev/rdsk/c1t1d0s2 0 0x2 0x200 20352 62918208