System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Alternate boot paths are not configured to use LVM boot mirrors

SOLVED
Go to solution
study unix
Regular Advisor

Alternate boot paths are not configured to use LVM boot mirrors

Hi,
HP finds one issue for Alternate boot paths are not configured to use LVM boot mirrors and give below comment, but I don't understand using setboot>code> to point to the mirror copies,
what does it mean? How to config it? Thanks for all support!


This rule indicates that the root filesystem is mirrored however the alternate boot paths have not been configured using setboot>code> to point to the mirror copies.

Note: This rule may be disregarded if a high-availability alternate boot path (HAA) is setup via PDC or Boot Console Handler (BCH) interface.


Evidence: List of LVM Logical Volumes not defined using setboot: Disk Path
/dev/dsk/c6t6d0 1/0/0/2/0.6.0


Rule Basis: Rule is based on data gathered from:
/usr/sbin/lvlnboot -v
/usr/sbin/setboot


6 REPLIES
Manix
Honored Contributor

Re: Alternate boot paths are not configured to use LVM boot mirrors

regarding lvlnboot

lvlnboot creates pointers towards "stand" lvol1 "swap & dump " lvol2 & "root" lvol3 to boot the machine when kernel loader can`t read lvm information as it`s not loaded at that stage

Check the settings using :-
# lvlnboot â v

to create pointers use commands below :-
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2

regarding setboot :-

setboot set primary /alternate / Ha paths
so that system may detect all the boot paths
& boot from mirrors if needed.

check settings using #setboot -v

to set paths use below commands:-
setboot -p < hw path > is for primary
setboot -a < hw path > is for secondary boot disk

Hope this helps.

Thanks

Manix


HP-UX been always lovable - Mani Kalra
Torsten.
Acclaimed Contributor
Solution

Re: Alternate boot paths are not configured to use LVM boot mirrors

Please run and post results:

# model

# lvlnboot -v

# setboot

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!   
Ismail Azad
Esteemed Contributor

Re: Alternate boot paths are not configured to use LVM boot mirrors

Hi,

lvlnboot is used for seeing the contents of your BDRA.

If you fire a command boot alt on PDC/BCH , command executes depending on the alternate boot path configured. > boot alt. This command on PDC will not execute if setboot doesn't reflect the alternate boot disk path in setboot. At the end of the day , your operating system and PDC firmware should be "aware" of the alternate boot path right.... I can have mutiple disks that are capable of booting but the alternate boot path would be preferred over all of them unless there is an HAA.

The sequence is primary then HAA then alternate (has to be configured) and in case you want to boot from HAA you would fire a > boot haa and to configure it setboot -h {adding to manix comments}. When the system boots, on an automatic boot, it boots from the primary boot path and at times you do a manual boot and in that case you can boot from alternate which would typically be your mirror but not always.

Note:- The HAA path is not capable on all models of servers. I don't know which ones but I have seen it documented in a lot of places. Don't forget to assign points.

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
study unix
Regular Advisor

Re: Alternate boot paths are not configured to use LVM boot mirrors

Hi,
the detail as below,and who give your comment for below content,how to use "setboot>code> to point to the mirror copies"

This rule indicates that the root filesystem is mirrored however the alternate boot paths have not been configured using setboot>code> to point to the mirror copies.


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


# setboot -v
Primary bootpath : 0/1/1/0.0.0
Alternate bootpath : 0/1/1/0.1.0

Autoboot is ON (enabled)
Autosearch is ON (enabled)

TEST CURRENT SUPPORTED DEFAULT NEXT BOOT
---- ------- --------- ------- ---------
all off yes on off
SELFTESTS off yes on off
early_cpu off yes on off
late_cpu off yes on off
FASTBOOT off yes on off
full_memory off yes on off
PDH off yes on off
CEC off yes on off
Torsten.
Acclaimed Contributor

Re: Alternate boot paths are not configured to use LVM boot mirrors

The paths are already set:

# setboot -v
Primary bootpath : 0/1/1/0.0.0
Alternate bootpath : 0/1/1/0.1.0


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!   
study unix
Regular Advisor

Re: Alternate boot paths are not configured to use LVM boot mirrors

closed,