Operating System - HP-UX
1830250 Members
2635 Online
110000 Solutions
New Discussion

Re: Changing boot sequence for npar from a vpar

 
SOLVED
Go to solution
likid0
Honored Contributor

Changing boot sequence for npar from a vpar

hy i was wondering, how i can change the npar boot sequence( i mean when you reboot all vpars and get to bch) from a vpar.

I imagine with the setboot comand from the primary partition that has the bootdisk that loads the vpmon, you can change it?

or you have to go into npar mode change it and then reboot, or just change it from the bch.


thnx
Windows?, no thanks
6 REPLIES 6
IT_2007
Honored Contributor

Re: Changing boot sequence for npar from a vpar

parmodify command is used to changed boot sequence for Primary, Alternate and HA.

parstatus will show you what it has been set to. Change them like:

parmodify -b

parmodify -t

parmodify -s

If you want to boot into Npar mode instead of vpar mode then you have to change boot strings on boot disks for vpar which is booting initially and loads all other vpars using mkboot command.

change it from "hpux -lq /stand/vpmon" to "hpux -lq" like:

mkboot -a "hpux -lq"



likid0
Honored Contributor

Re: Changing boot sequence for npar from a vpar

Hy thnx for the answer , but what i was asking whas the opposite, is how to change the main BCH boot sequence(pri,alt,etc), from inside a vpar.


thnx again
Windows?, no thanks
IT_2007
Honored Contributor
Solution

Re: Changing boot sequence for npar from a vpar

Do you mean to change boot sequence which shows by setboot -v ?

If YES then use setboot command to set it.

# setboot -v
Primary bootpath : 0/0/2/0.6.0
Alternate bootpath :

Autoboot is ON (enabled)
Autosearch is OFF (disabled)

TEST CURRENT SUPPORTED DEFAULT NEXT BOOT
---- ------- --------- ------- ---------
all on yes on on
SELFTESTS on yes on on
early_cpu on yes on on
late_cpu on yes on on
FASTBOOT on yes on on
full_memory on yes on on
PDH on yes on on
CEC on yes on on

setboot -p
setboot -a

NOTE: Remember that by changing above parameters, you won't be able to boot vpar into Npar mode. Only way is boot vpar into Npar is change bootstrings for boot strings so that it won't load vpmon.
likid0
Honored Contributor

Re: Changing boot sequence for npar from a vpar

But what i cant change from inside the vpar is this:

from a vpar i did:

hid7:/# setboot -p 0/0/0/3/0.6.0
hid7:/# setboot -a 0/0/0/3/0.5.0

then shutdown -h now

mon>reboot

and when i get to the bch it only has the primary:


Firmware Version 23.1

Duplex Console IO Dependent Code (IODC) revision 2
--------------------------------------------------------------------------
(c) Copyright 1995-2005, Hewlett-Packard Company, All rights reserved
--------------------------------------------------------------------------


Cab/ Cell ------- Processor -------- Cache Size
Cell Slot State # Speed State Inst Data
---- ---- ------------ --- -------- ----------- ------ ------
0 0/0 Active 0A 1000 MHz Active 64 MB 64 MB
0B 1000 MHz Idle 64 MB 64 MB
1A 1000 MHz Idle 64 MB 64 MB
1B 1000 MHz Idle 64 MB 64 MB
2A 1000 MHz Idle 64 MB 64 MB
2B 1000 MHz Idle 64 MB 64 MB


Primary Boot Path: 0/0/0/3/0.5
Boot Actions: Boot from this path.
If unsuccessful, go to BCH.

HA Alternate Boot Path: 0/0/0/0/0/0/0/0.0
Boot Actions: Go to BCH.

Alternate Boot Path: 0/0/0/0/0/0/0/0.0
Boot Actions: Go to BCH.

Console Path: 0/0/0/0/1.0



so thats my question, how can i change this from inside a vpar.


thnx
Windows?, no thanks
IT_2007
Honored Contributor

Re: Changing boot sequence for npar from a vpar

How many vpar's running on this machine? If you read closely my first post about changing sequence using parmodify command then you would able to change it from running vpar on the same partition.

You need to issue parmodify command from any vpar which belongs to that Npar to change it.
likid0
Honored Contributor

Re: Changing boot sequence for npar from a vpar

ok, sorry, i didnt see that you where saying parmodify, i thought you ment vparmodify, ok perfect now i understand.


thnx a lot
Windows?, no thanks