1834745 Members
2757 Online
110070 Solutions
New Discussion

bring up vpars

 
SOLVED
Go to solution
IT_2007
Honored Contributor

bring up vpars

I have 4 vpars running and how do I set priority to bring them up?

Like vpar1 - first
vpar2- second
vpar4 - third
vpar3 - last
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: bring up vpars

If you configure autostart, all vpars will boot at the same time (simultaneous).

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!   
Jeff Schussele
Honored Contributor

Re: bring up vpars

Hi,

One *very* important thing to keep in mind with vPars is that you don't use the "standard" startup command like hpux -lq /stand/vmunix.
You *must* use the following to start the vPars:

hpux -lq /stand/vpmon -a

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
V.Manoharan
Valued Contributor

Re: bring up vpars

Hi Srini,
To Boot the vpar1 first when the server is powered on, mention the hadware path of Vpar1 bootdisk as primary path in the BCH. Then you can write a script in the vapr1 server to start vpar2,vpar4 & vpar3.

setboot can't be used to set as primary boot since setboot command on vpar systems will not read/write on the stable storage. So any settign to be done need to be configured in the BCH.

Regards
Mano
IT_2007
Honored Contributor

Re: bring up vpars

Jeff,

I know that bootstring has to setup like "hpux -lq /stand/vpmon -a" to bring up vpars automatically. But I want to bring up vpar1 first then remaining ones should come up.
Torsten.
Acclaimed Contributor

Re: bring up vpars

From the manual:

"At the ISL prompt, boot the Monitor and the first virtual partition.
Example:
ISL> hpux /stand/vpmon vparload -p winona1
"

(you can use this as autoboot string)


Use "vparboot" to start the other vpars from your running OS (even as script).

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!   
Jeff Schussele
Honored Contributor
Solution

Re: bring up vpars

OK, then you should *only* setup vPar1 to auto boot and then on vPar1 setup a startup script linked from /sbin/rc3.d to /sbin/init.d that goes something like...

for i in 2 4 3
do
/usr/sbin/vparboot -p vpar$i
sleep 60 #or whatever time you want/need
done

You get the idea.

HTH,
Jeff

PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
IT_2007
Honored Contributor

Re: bring up vpars

Jeff,

That's what exactly I thought.

Thanks,
Srini
IT_2007
Honored Contributor

Re: bring up vpars

got idea.