Operating System - HP-UX
1833982 Members
1786 Online
110063 Solutions
New Discussion

Re: Vpar automatically boot from its alternate root disk

 
SOLVED
Go to solution
Alain Hamel_1
Occasional Advisor

Vpar automatically boot from its alternate root disk

Hello,

How can I setup a Vpar on a Superdome to automatically boot from its alternate root disk when its primary root is not available? (Without manual intervention)

The Npar is setup with a Primary Boot Path, Alternate Boot Path and HA Alternate boot path.

->setboot -v
Primary bootpath : 7/0/11/1/0.0.0
Alternate bootpath : 7/0/11/1/0.2.0

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

->vparstatus -v
[Virtual Partition Details]
Name: sh1qwit1
State: Up
Attributes: Dynamic,Autoboot
Kernel Path: /stand/vmunix
Boot Opts:

[CPU Details]
Min/Max: 1/4
Bound by User [Path]: 7.10
Bound by Monitor [Path]:
Unbound [Path]: 7.11
7.14

[IO Details]
7.0.0
7.0.1
7.0.14
7.0.6
7.0.1.1.0.0.0
7.0.1.1.0.0.0.0.0.0.0 BOOT
7.0.1.1.0.2.0, ALTBOOT

[Memory Details]
Specified [Base /Range]:
(bytes) (MB)
Total Memory (MB): 8192
[Virtual Partition Details]
Name: sh1qwit2
State: Up
Attributes: Dynamic,Autoboot
Kernel Path: /stand/vmunix
Boot Opts:

[CPU Details]
Min/Max: 1/4
Bound by User [Path]: 7.15
Bound by Monitor [Path]:
Unbound [Path]:

[IO Details]
7.0.11
7.0.12
7.0.4
7.0.11.1.0.0.0
7.0.11.1.0.2.0.0.0.0.0, ALTBOOT
7.0.11.1.0.0.0.0.0.0.0, BOOT

[Memory Details]
Specified [Base /Range]:
(bytes) (MB)
Total Memory (MB): 4096

12 REPLIES 12
melvyn burnard
Honored Contributor

Re: Vpar automatically boot from its alternate root disk

well the first this is to add in the alternate boot path as you would the primary path, using the following for vparcreate:
-a io:HWPathOfBootPathLBA:[BOOT | ALT]
-a io:HWPath:[BOOT | ALT]

and also remember to do the mkboot on the alternate disc to have the correct info in it to allow it to boot.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
RAC_1
Honored Contributor

Re: Vpar automatically boot from its alternate root disk

When server can not boot from primary disk, it will try to boot from secondary disk if it is set. you can do that through setboot.

Check it with setboot -v

You can also set it on PDC menu.

Anil
There is no substitute to HARDWORK
Alain Hamel_1
Occasional Advisor

Re: Vpar automatically boot from its alternate root disk

Thanks,

I configured my vpars with an alternate boot disk using:
vparmodify â a 7/0/11/1/0.2.0:ALTBOOT

I can force the vpar2 to boot from vpar1 the alternate disk:

->vparboot -p sh1qwit2 -B ALT

I did setup Autoboot and Autosearch flag in setboot for automatic reboot on alternate disk when primary is not workingâ ¦ But it's not booting automatically from the alternate when primary is pulled out. Here is the output of my setboot:

root@sh1qwit2:/
->setboot -v
Primary bootpath : 7/0/11/1/0.0.0
Alternate bootpath : 7/0/11/1/0.2.0

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

Note: The interpretation of Autoboot and Autosearch has changed for
systems that support hardware partitions. Please refer to the manpage.
TEST CURRENT SUPPORTED DEFAULT NEXT BOOT
---- ------- --------- ------- ---------
all partial partial partial partial
SELFTESTS on yes on on
early_cpu on yes on on
late_cpu on yes on on
FASTBOOT partial partial partial partial
full_memory off no off off
PDH on yes on on
CEC off no off off
Tom Danzig
Honored Contributor

Re: Vpar automatically boot from its alternate root disk

Remember that you must disable the LVM quorum check to boot from the alternate if the primary is not available.

mkboot -a "hpux -lq" /dev/rdsk/cXtYdZ

where /dev/rdsk/cXtYdZ is the device file for alternate boot disk.
Alain Hamel_1
Occasional Advisor

Re: Vpar automatically boot from its alternate root disk

Hi Tom,

On the LIF portion of my disk the server is configure to load VPMON

root@sh1qwit2:/
->lifcp /dev/dsk/c0t2d0:AUTO -
hpux -lq /stand/vpmon â a

I put the option « â lq » to disable the quorum in vparmrg option tab (Gui)

->vparstatus
[Virtual Partition]
Boot
Virtual Partition Name State Attributes Kernel Path Opts
============================== ===== ========== ========================= =====
sh1qwit1 Up Dyn,Auto /stand/vmunix -lq
sh1qwit2 Down Dyn,Auto /stand/vmunix
Alain Hamel_1
Occasional Advisor

Re: Vpar automatically boot from its alternate root disk

Sorry for the double replyâ ¦ My cut and paste did not work.

Both vpar the boot option does have a â â lqâ .

Any idea what I might be doing wrong? or maybe this feature simply does not work automatically for vpars like it does with the HA Alternate boot of the superd
Ranjith_5
Honored Contributor

Re: Vpar automatically boot from its alternate root disk

Hi Hamel,

Use "vparmodify"

With vparmodify we can change the resources and attributes of an existing vPar. So the
options are similar to the vparcreate command. The different here is to use the option -d to
delete a ressource or attribute. Another option is -m to modify the attributes or ressources in a
vPar.

For Example:
Modify the primary boot path to vpar1:
dbserver# vparmodify -p vpar1 -m io:0/8/0/0.5.0:BOOT
Set the alternate boot path:
dbserver# vparmodify -p vpar1 -a io:0/8/0/0.2.0:ALTBOOT

regards,
Syam
Mark Nieuwboer
Esteemed Contributor

Re: Vpar automatically boot from its alternate root disk

Hi Alain,

Use vparmodify to set your altboot.
But when i see your configuration you are not high availbe because both disk goes over the same bus. Best is to have root disks over 2 harware path's
Alain Hamel_1
Occasional Advisor

Re: Vpar automatically boot from its alternate root disk

Thanks for the info,

I executed the vparmodify for the ALTBOOT and it did work. I'm able to boot it using:

vparboot -p sh1qwit2 -B ALT

if I remove the primary root disk, my vpar is even not even trying to boot on the alternate disk.
--------------------------
vparboot -p sh1qwit2
vparboot: Booting sh1qwit2. Please wait...

Failed to open (7/0/11/1/0.0.0.0.0.0.0;)/stand/vmunix
Failed to load (7/0/11/1/0.0.0.0.0.0.0;)/stand/vmunix
[MON] sh1qwit2 has halted.
Sanjay_6
Honored Contributor
Solution

Re: Vpar automatically boot from its alternate root disk

Hi alain,

Maybe this is your problem.

http://www6.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000076088300

The doc id is UVPARKBRC00015359.

/quote/

vPars A.03.01 and earlier do not support automatic booting of alternate boot paths.

This will be fixed in the A.03.02 release of vpars software

/EndQuote/

Here is the link to 3.02 release of vpar on software.hp.com,

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1335AC

$$$ product.

Hope this helps.

Regds
Alain Hamel_1
Occasional Advisor

Re: Vpar automatically boot from its alternate root disk

Thanks for confirming that Iâ m not crazy (yetâ ¦). I guess all the documentation I read on the subject was unclear. My Npar will automatically use the HA alternate disk. Both disk points to /stand/vpmon, the vpar (configured to come up from the failed disk) wonâ t come up by itself.

Than again, like someone pointed out, both of my disks are on the same BUS, I still end up with a single point of failure.

I appreciated the help,

Thank
Alain Hamel_1
Occasional Advisor

Re: Vpar automatically boot from its alternate root disk

I'm closing this thread.