Operating System - HP-UX
1829749 Members
1825 Online
109992 Solutions
New Discussion

quorum string on boot drives

 
SOLVED
Go to solution
Rick Garland
Honored Contributor

quorum string on boot drives

Hi all:

Got HPUX 11.11 on PA and 11.23 on IA.
Have a project to check the quorum strings on the mirrored boot drives. Check the override quorum. (Not really sure what is being asked so I put it out here.)

Anyway, what the goal is to check the mirrored boot drives to ensure that all configurations are correct and in place for failover boot.

Looking for some guidance/opinions on how I would proceed.

From what I have gathered, I would be using the 'lifcp' and 'lifls' commands, but what I am looking for?

Obviously the ultimate test for mirrored boot drives is to bounce the box and switch the drives. This is not doable, I need to be able to run commands and see the output.

Many thanks
9 REPLIES 9
Patrick Wallek
Honored Contributor
Solution

Re: quorum string on boot drives

Find the boot devices for the machine, then do:

lifcp /dev/dsk/c1t0d0:AUTO -

(Note the between the O in AUTO and the '-')

This copies the boot string in the AUTO file in the lif area to STDOUT. What you should see is:

hpux -lq

If you have mirrored disks, then BOTH disks need to have the '-lq' so that either can boot if the other disk fails.
Ivan Krastev
Honored Contributor

Re: quorum string on boot drives

For IA systems :

efi_cp -d /dev/rdsk/c2t1d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.pri

cat /tmp/AUTO.pri

Note: change c2t1d0 with you actual disk.

this is from knowledge base doc for mirroring root disk for IA.

regards,
ivan
Rick Garland
Honored Contributor

Re: quorum string on boot drives

Thanks Patrick - so al I am looking for is the hpux -lq

Correct?
A. Clay Stephenson
Acclaimed Contributor

Re: quorum string on boot drives

First,

do a lifls /dev/dsk/c1t2d0 and make sure that an AUTO file exists -- using the desired disk device, of course.

Next, copy the AUTO file to a UNIX file.

lifcp /dev/dsk/c1t2d0:AUTO /var/tmp/auto

cat /var/tmp/auto and see if the "-lq" option is specified.

Normally, I add the -lq option to hpux via mkboot -a on both the primary and alternate boot drives; otherwise the machine becomes less likely to boot unassisted should a drive fail because both mirrors would be required without this option. The downside to setting -lq on both drives is that it is possible to overlook the failure of a drive BUT any sysadmin that allows any failed drive to go unnoticed for any significant period of time should be shown the job egress door.
If it ain't broke, I can fix that.
Torsten.
Acclaimed Contributor

Re: quorum string on boot drives

Hi Rick,

your test on an Integrity disk (see Ivan's post) should return this result:

boot vmunix -lq

for the quorum mode.

You may set this mode with this commands:

# echo "boot vmunix -lq" > /tmp/AUTO.lq
# efi_cp -d /dev/rdsk/c3t2d0s1 /tmp/AUTO.lq /EFI/HPUX/AUTO

(replace c3t2d0 if needed)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sandman!
Honored Contributor

Re: quorum string on boot drives

Another thing to make sure is that the alternate boot path, autosearch and autoboot are listed and enabled by running setboot on the command line.

~cheers
Rick Garland
Honored Contributor

Re: quorum string on boot drives

Reopening this thread.

I am having trouble with the IA systems.
I have posted my commands and results here. Essentially I am getting the message that my boot devices are not efi partition. I know this particular system boots because it was bounced last night. No, did not test the mirror boot.

Per the posts from above, I should be see the "boot vmunix -lq" message. But instead I am see the "invalid efi partition" message.

Any clues?
Thanks


# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t0d0s2 (0/1/1/0.0.0) -- Boot Disk
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
Root: lvol3 on: /dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
Swap: lvol2 on: /dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
Dump: lvol2 on: /dev/dsk/c2t0d0s2, 0

# lifls /dev/rdsk/c2t0d0s2
ISL AUTO HPUX PAD LABEL

# efi_cp -d /dev/rdsk/c2t0d0s2 -u /EFI/HPUX/AUTO /tmp/AUTO
Invalid EFI partition: /dev/rdsk/c2t0d0s2
efi_cp: invalid efi device
# efi_cp -d /dev/rdsk/c2t1d0s2 -u /EFI/HPUX/AUTO /tmp/AUTO
Invalid EFI partition: /dev/rdsk/c2t1d0s2
efi_cp: invalid efi device
Rick Garland
Honored Contributor

Re: quorum string on boot drives

No hits - open new thread.
Torsten.
Acclaimed Contributor

Re: quorum string on boot drives

The "s2" is HP-UX. "s1" is EFI.

You must use cxtydzs1 (note "s1") in the command.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!