HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Populating AUTO in LIF header of mirrored boot...
Operating System - HP-UX
1834232
Members
2456
Online
110066
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 01:55 AM
12-06-2005 01:55 AM
Populating AUTO in LIF header of mirrored boot device in VPar
Hi,
I cold installed this VPar from a Golden Image from an Ignite server on another VPar (i.e. cloning).
Since I haven't yet written a post install script for the Ignite server that would automatically build LVM RAID1 of vg00 with alt boot disk, I semi-manually followed the usual procedure (pvcreate -B, vgextend, mkboot, lvextend).
Because this one is running as a VPar I am not quite sure how to set the AUTO string correctly for a VPar.
From the boot devs I see that they differ and most likely need to be fixed.
Also somehow the alt boot dev already had a special AUTO where a vpmon kernel seems first to get loaded (I guess this is the virtualizer)
# vgdisplay -v vg00|awk '/PV Name/{print$NF}'|xargs -n1 -IPV lifcp PV:AUTO -
hpux
hpux /stand/vpmon -a
Assuming that the intermediate loading of /stand/vpmon is correct I still would like to intertwine the quorum deactivation switch.
On a non-vpared box I would simply issue this
# mkboot -a "hpux -lq /stand/vpmon -a" /dev/rdsk/c0t6d0
# vgdisplay -v vg00|awk '/PV Name/{print$NF}'|xargs -n1 -IPV lifcp PV:AUTO -
hpux -lq /stand/vpmon -a
hpux /stand/vpmon -a
But with those prevelant VPars I'm in doubt if one can do it that simple, or some tinkering with vpmon or vpmodify commands is necessary.
Thx
Ralph
I cold installed this VPar from a Golden Image from an Ignite server on another VPar (i.e. cloning).
Since I haven't yet written a post install script for the Ignite server that would automatically build LVM RAID1 of vg00 with alt boot disk, I semi-manually followed the usual procedure (pvcreate -B, vgextend, mkboot, lvextend).
Because this one is running as a VPar I am not quite sure how to set the AUTO string correctly for a VPar.
From the boot devs I see that they differ and most likely need to be fixed.
Also somehow the alt boot dev already had a special AUTO where a vpmon kernel seems first to get loaded (I guess this is the virtualizer)
# vgdisplay -v vg00|awk '/PV Name/{print$NF}'|xargs -n1 -IPV lifcp PV:AUTO -
hpux
hpux /stand/vpmon -a
Assuming that the intermediate loading of /stand/vpmon is correct I still would like to intertwine the quorum deactivation switch.
On a non-vpared box I would simply issue this
# mkboot -a "hpux -lq /stand/vpmon -a" /dev/rdsk/c0t6d0
# vgdisplay -v vg00|awk '/PV Name/{print$NF}'|xargs -n1 -IPV lifcp PV:AUTO -
hpux -lq /stand/vpmon -a
hpux /stand/vpmon -a
But with those prevelant VPars I'm in doubt if one can do it that simple, or some tinkering with vpmon or vpmodify commands is necessary.
Thx
Ralph
Madness, thy name is system administration
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 02:03 AM
12-06-2005 02:03 AM
Re: Populating AUTO in LIF header of mirrored boot device in VPar
Hi Ralph,
Check this
Swlist â l fileset | grep â i mir
pvcreate â B /dev/rdsk/c7t6d0
vgextend /dev/vg00 /dev/dsk/c7t6d0
mkboot â l /dev/rdsk/c7t6d0
mkboot â a â hpux (;0)/stand/vpmon â aâ /dev/rdsk/c7t6d0
pvdisplay â v /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol1 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol2 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol3 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol4 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol5 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol6 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol7 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol8 /dev/dsk/c7t6d0
lvlnboot â r /dev/vg00/lvol3 /dev/vg00
lvlnboot â b /dev/vg00/lvol1 /dev/vg00
lvlnboot â s /dev/vg00/lvol2 /dev/vg00
lvlnboot â d /dev/vg00/lvol2 /dev/vg00
lvlnboot â R
mkboot â b /usr/sbin/diag/lif/updatediaglif2 â p ISL â p AUTO â p HPUX â p PAD â p LABEL /dev/rdsk/c7t6d0
There are 3 possibilities to set the bootpath:
1) setboot
set primary bootpath : setboot â p 1/0/0/3/0.6.0
set alternate bootpath : setboot â a 1/0/1/0/0/1/1.6.0
2) vparcreate
When we create the vpar.
vparcreate â p varx ..... â a io:1.0.0.3.0.6.0/BOOT â a io:1.0.1.0.0.1.1.6.0:ALTBOOT
3) vparmodify
When the partition exist yet vparmodify:
vparmodify â p vparx .... â a io:1.0.0.3.0.6.0:BOOT â a io:1.0.1.0.0.1.1.6.0:ALTBOOT
How to boot ?
from a shell :
vparboot â p vparx â B pri
vparboot â p vparx â B alt
from virtual partition monitor (MON):
Vparload â p vparx (for primary path)
Vparload â p vparx â B 1.0.1.0.0.1.1.6.0 (for alternate path)
Check this
Swlist â l fileset | grep â i mir
pvcreate â B /dev/rdsk/c7t6d0
vgextend /dev/vg00 /dev/dsk/c7t6d0
mkboot â l /dev/rdsk/c7t6d0
mkboot â a â hpux (;0)/stand/vpmon â aâ /dev/rdsk/c7t6d0
pvdisplay â v /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol1 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol2 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol3 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol4 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol5 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol6 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol7 /dev/dsk/c7t6d0
lvextend â m 1 /dev/vg00/lvol8 /dev/dsk/c7t6d0
lvlnboot â r /dev/vg00/lvol3 /dev/vg00
lvlnboot â b /dev/vg00/lvol1 /dev/vg00
lvlnboot â s /dev/vg00/lvol2 /dev/vg00
lvlnboot â d /dev/vg00/lvol2 /dev/vg00
lvlnboot â R
mkboot â b /usr/sbin/diag/lif/updatediaglif2 â p ISL â p AUTO â p HPUX â p PAD â p LABEL /dev/rdsk/c7t6d0
There are 3 possibilities to set the bootpath:
1) setboot
set primary bootpath : setboot â p 1/0/0/3/0.6.0
set alternate bootpath : setboot â a 1/0/1/0/0/1/1.6.0
2) vparcreate
When we create the vpar.
vparcreate â p varx ..... â a io:1.0.0.3.0.6.0/BOOT â a io:1.0.1.0.0.1.1.6.0:ALTBOOT
3) vparmodify
When the partition exist yet vparmodify:
vparmodify â p vparx .... â a io:1.0.0.3.0.6.0:BOOT â a io:1.0.1.0.0.1.1.6.0:ALTBOOT
How to boot ?
from a shell :
vparboot â p vparx â B pri
vparboot â p vparx â B alt
from virtual partition monitor (MON):
Vparload â p vparx (for primary path)
Vparload â p vparx â B 1.0.1.0.0.1.1.6.0 (for alternate path)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 02:43 AM
12-06-2005 02:43 AM
Re: Populating AUTO in LIF header of mirrored boot device in VPar
Hi Luk,
looks like your "-" char maps oddly
(or maybe me browser has some inferior rendering char set?).
I can only see garbled signs where a minus sign ought to appear.
Anyway, all of what you outlined was already set up by me.
The only thing that left me puzzled was the significance (and correctness) of the LIF AUTO string on the boot disks.
looks like your "-" char maps oddly
(or maybe me browser has some inferior rendering char set?).
I can only see garbled signs where a minus sign ought to appear.
Anyway, all of what you outlined was already set up by me.
The only thing that left me puzzled was the significance (and correctness) of the LIF AUTO string on the boot disks.
Madness, thy name is system administration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 03:19 AM
12-06-2005 03:19 AM
Re: Populating AUTO in LIF header of mirrored boot device in VPar
Hi,
I really doubt if Vpar uses LIFs. I am not sure how the AUTO LIF was created. Depending on the versions of Vapr and IG-UX , I would cross check the support for LIFs is added or not. Assuming the support is added , I feel there should one entry for vpmon with required attributes as we do for non-Vpar disks
AS per my understanding, the way kernel boots up under vpar is little different than the usual way without vpar.
In case of vpar , first of all ,"hpux" is primarily used for loading the "vpmon" only.Then with the a specific vpar , various boot option could be passed on through vparload.
So we have :
hpux /stand/vpmon vparload -p vpar1 -b -o "lq" -B
In case of problem with one vpar , you can use vparmodify command from another vpar to change above options.
If you don't have other vpar , then you have to do it manually at the ISL prompt.
I really doubt if Vpar uses LIFs. I am not sure how the AUTO LIF was created. Depending on the versions of Vapr and IG-UX , I would cross check the support for LIFs is added or not. Assuming the support is added , I feel there should one entry for vpmon with required attributes as we do for non-Vpar disks
AS per my understanding, the way kernel boots up under vpar is little different than the usual way without vpar.
In case of vpar , first of all ,"hpux" is primarily used for loading the "vpmon" only.Then with the a specific vpar , various boot option could be passed on through vparload.
So we have :
hpux /stand/vpmon vparload -p vpar1 -b
In case of problem with one vpar , you can use vparmodify command from another vpar to change above options.
If you don't have other vpar , then you have to do it manually at the ISL prompt.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP