Installing Mirrored Systems | CentreVu CMS Release 3 Version 8 | |
How to upgrade an Enterprise platform to disk mirroring | 18 | |
|
|
|
Step 5: Create the state database replicas
Step 6: Create the md.tab table entries
8.Enter: y
The partition> prompt returns.
9.Enter: partition> q
The format> prompt returns.
10. To select the next disk to be partitioned, enter: format> disk and return to item 2.
If you have finished partitioning all the new disks, enter: format> q and continue with the next step.
1.Alter your path by entering the following commands:
#export PATH=$PATH:/usr/opt/SUNWmd/sbin:/olds
2.Create two state database replicas on slice 1 of boot disk 2:
#metadb
(where <device> is the target number of boot disk 2)
3.Verify that the replicas were created by entering the following command:
# metadb
The system lists the state database replicas currently on the system. The following sample output shows two replicas on c0t2:
| flags | first blk | block count |
|
a | u | 16 | 1034 | /dev/dsk/c0t2d0s1 |
a | pc luo | 16 | 1034 | /dev/dsk/c0t2d0s1 |
|
|
|
|
|
Make sure the list includes the two replicas you just created.
1.Make copies of essential system files by entering these commands:
#cp /etc/opt/SUNWmd/md.tab /etc/opt/SUNWmd/md.tab.orig
#cp /etc/vfstab /etc/vfstab.orig
#cp /etc/system /etc/system.orig
2.Edit /etc/opt/SUNWmd/md.tab and insert entries for the root and /cms metadevices. If your system is running CMS load r3v6aj.c or later, you must also create a section for the swap metadevice.