[HPADM] MirrorDisk/UX 11.00

From: Thomas Northup (thomaslnorthup@yahoo.com)
Date: Fri Nov 07 2003 - 16:16:15 EST


Admins,
I have already installed MirrorDisk/UX 11.00 on my HP-UX 11.00 system and now I want to create the mirrors.

I have outlined the steps that I think I need to take below. Have I missed anything? Is there anything in the steps that are not necessary?
Thanks
Tom

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GMAN3735MC
                         /dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 73.4GATLAS10K3_73_SCA
                         /dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
 
Note: c1t2d0 is the boot disk and c2t2d0 is the mirrored disk.
      
1) Initialize the disk and make it bootable
        pvcreate -B /dev/rdsk/c2t2d0
            Note: the -B parameter tells pvcreate that this will be a bootable disk.
      
2) Add the physical volume to the volume group
            vgextend /dev/vg00 /dev/dsk/c2t2d0
      
3) Use mkboot to place the boot utilities in the boot area and add the AUTO file.
            mkboot /dev/dsk/c2t2d0
            mkboot -a "hpux -lq" /dev/rdsk/c2t2d0
      
4) Use mkboot to update the AUTO file on the primary boot disk.
            mkboot -a "hpux -lq" /dev/rdsk/c1t2d0
      
5) Mirror the stand, root and swap logical volumes
            lvextend -m 1 /dev/vg00/lvol1
            lvextend -m 1 /dev/vg00/lvol2
            lvextend -m 1 /dev/vg00/lvol3

Note: LVM will resynchronize the new mirror copies.

Repeat the lvextend for all other logical volumes on the boot mirror.
            lvextend -m 1 /dev/vg00/lvol4
            lvextend -m 1 /dev/vg00/lvol5
            lvextend -m 1 /dev/vg00/lvol6
            lvextend -m 1 /dev/vg00/lvol7
            lvextend -m 1 /dev/vg00/lvol8

6) Modify your alternate boot path to point to the mirror copy of the boot disk.
Note: Use the Hardware path for your new boot disk.
            setboot -a 0/0/2/0.2.0

---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:36 EDT