[HPADM] MirrorDisk/UX 11.00

From: Thomas Northup (thomaslnorthup_at_yahoo.com)
Date: 11/07/03

  • Next message: Johnson, Craig E: "[HPADM] rpcupdate"
    Date: Fri, 7 Nov 2003 13:16:15 -0800 (PST)
    To: hpux-admin@dutchworks.nl
    
    

    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)
    

  • Next message: Johnson, Craig E: "[HPADM] rpcupdate"

    Relevant Pages

    • Solaris RAID failover problems
      ... My intent is to mirror the drives completely, ... Can't read disk label. ... WARNING: md: d10: needs maintenance ... WARNING: forceload of misc/md_trans failed ...
      (comp.unix.solaris)
    • Re: Huge Av Disk Queue Length
      ... Write performance = 130 per mirror ... Mixed performance at a 1:1 R:W ratio = 195 IOPS per mirror. ... (sort of like weighted fair queuing for disk performance). ... put a 3020 in each location with FCP shelves for the primary data and SATA ...
      (microsoft.public.exchange.admin)
    • SVM mirror not working , illegal major device number...
      ... second is Sun rant. ... I have a V890 that lost the boot disk. ... mirror the root disk to the letter. ...
      (comp.unix.solaris)
    • Re: how i locate swap area
      ... what you have with the command 'vgdisplay -v vg00'. ... Why Mirror Copies is 0? ... it seems that you have no disk mirroring. ... Primary Partition Table: ...
      (comp.sys.hp.hpux)
    • Re: Using mirroring to replace drive?
      ... I upgrade and rebuild it. ... drive which happens to be the system disk. ... and mirror the failing drive on the new drive. ... upgrade to 7.0 after establishing the new good drives). ...
      (freebsd-questions)