1752596 Members
5023 Online
108788 Solutions
New Discussion юеВ

Question about mirroring

 
Waqar Razi
Regular Advisor

Question about mirroring

We have HP-UX 11.11 running on RP4440 server. The root volume group is mirrored using two disk. (c2t1d0 and c3t0d0). In our organization, a separate group does staging and we get servers whenever they are in production.

I want to make sure if the mirroring is setup correctly and even if one disk fails, we would be able to boot the system from the other disk available.

Please advice

Our current configuration:


# uname -a
HP-UX Apple B.11.11 U 9000/800 3825379729 unlimited-user license
# model
9000/800/rp4440

Contents of the auto file on both disks:

# lifcp /dev/rdsk/c3t0d0:AUTO -
hpux -lq
root@ITSSSA053 [/var/adm/syslog]
# lifcp /dev/rdsk/c2t1d0:AUTO -
hpux


# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 8680
Alloc PE 5594
Free PE 3086
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 504
Current LE 63
Allocated PE 126
Used PV 2

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 1024
Used PV 2

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 504
Current LE 63
Allocated PE 126
Used PV 2

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 1528
Current LE 191
Allocated PE 382
Used PV 2

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 4528
Current LE 566
Allocated PE 1132
Used PV 2

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 250
Allocated PE 500
Used PV 2

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 1024
Used PV 2

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 5120
Current LE 640
Allocated PE 1280
Used PV 2


--- Physical volumes ---
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 4340
Free PE 1543
Autoswitch On

PV Name /dev/dsk/c3t0d0
PV Status available
Total PE 4340
Free PE 1543
Autoswitch On


3 REPLIES 3
Mel Burslan
Honored Contributor

Re: Question about mirroring

lvlnboot -v

do you see the phrase "Boot Disk" next to each of the physical volumes making up vg00 ?

also make sure you see the h/w path of these disks in the output of

setboot

command.
________________________________
UNIX because I majored in cryptology...
mrmo07
Regular Advisor

Re: Question about mirroring

Hi,

see the attached doc. hope it will help.

Regards,
Mrmo07
Matti_Kurkela
Honored Contributor

Re: Question about mirroring

# lifcp /dev/rdsk/c3t0d0:AUTO -
hpux -lq

# lifcp /dev/rdsk/c2t1d0:AUTO -
hpux

If the disk c3t0d0 fails, the system should keep running because everything seems to be mirrored. But if the system is shut down while the disk c3t0d0 is in failed state, it cannot reboot automatically using only disk c2t1d0: the boot will stop because of the quorum requirement. In that situation, someone must interrupt the boot sequence and manually boot the system using the -lq option.

The "-lq" boot option should be set to the auto files on both disks.

MK
MK