Huawei MA5600 Manual page 102

Access network product cases
Table of Contents

Advertisement

MSAN UA5000 Cases
Chapter 6 iManager N2000 BMS Cases
separately in the partitions of the disk.
The second disk has two partitions. The N2000 BMS and the Sybase database are installed
separately in these two partitions.
To synchronize the partitions of the third disk with the partitions of the first disk, run the
following command:
#prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t2d0s2
In the preceding command, c0t0d0s2 indicates the existing disk and c0t2d0s2 indicates the
mirrored disk.
To synchronize the partitions of the fourth disk with the partitions of the second disk, run the
following command:
#prtvtoc /dev/rdsk/c0t1d0s2| fmthard -s - /dev/rdsk/c0t3d0s2
In the preceding command, c0t1d0s2 indicates the existing disk and c0t3d0s2 indicates the
mirrored disk.
Section 2 Mirroring Application Disks
To mirror disk c1t1d0s2 (data disk) to disk c1t3d0s2, run the following commands:
#d50 -m d51 d52 1
#d51 1 1 c1t1d0s5
#d52 1 1 c1t3d0s5
#d60 -m d61 d62 1
#d61 1 1 c1t1d0s6
#d62 1 1 c1t3d0s6
#metattach d50 d52 //Perform synchronization
#metattach d60 d62 //Perform synchronization
By running the metastat command, you can query the progress of the synchronizations. The
synchronizations take about two hours. After the synchronizations are complete, you can
perform operations in section 3.
Section 3: Mirroring the System Disk
To mirror disk c1t0d0s2 (system disk) to disk c1t2d0s2, run the following commands:
#metainit -f d11 1 1 c1t0d0s0
#metainit -f d12 1 1 c1t2d0s0
#metainit d10 -m d11
#metaroot d10 //The preceding two commands must be mounted on the root partitions.
#lockfs -fa
#metainit -f d21 1 1 c1t0d0s1
#metainit -f d22 1 1 c1t2d0s1
#metainit d20 -m d21
#metainit -f d31 1 1 c1t0d0s3
#metainit -f d32 1 1 c1t2d0s3
#metainit d30 -m d31
#metainit -f d41 1 1 c1t0d0s7
#metainit -f d42 1 1 c1t2d0s7
#metainit d40 -m d41
After entering the commands, modify the /etc/vfstab file that is shown as follows:
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes -
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s1 - - swap - no -
/dev/md/dsk/d10 /dev/md/rdsk/d10 / ufs 1 no -
/dev/dsk/c1t0d0s7 /dev/rdsk/c1t0d0s7 /export/home ufs 2 yes -
/dev/dsk/c1t0d0s3 /dev/rdsk/c1t0d0s3 /opt ufs 2 yes -
/dev/dsk/c1t1d0s6 /dev/rdsk/c1t1d0s6 /opt/n2000 ufs 2 yes -
/dev/dsk/c1t1d0s5 /dev/rdsk/c1t1d0s5 /opt/sybase ufs 2 yes -
swap - /tmp tmpfs - yes -
The /etc/vfstab file should be modified as follows:
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes -
97
Confidential Information of Huawei. No Spreading without Permission

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ma5600t

Table of Contents