Operating System - HP-UX
1837835 Members
2496 Online
110121 Solutions
New Discussion

Re: adding a cell to a vpar

 
Todd McDaniel_1
Honored Contributor

adding a cell to a vpar

guys,

I just need some confirmation of my plans. I am adding 2 cells. lets call them K and L. To Vpars E2 and F2. I will have all other vpars shutdown while I do my work, only 1 additional on each Npar I am working on which will be down.

1) In order to add the Cell first to the Npar, Can I run the parmodify command from my running Vpar then reboot the Vpar or do I have to reboot to standalone mode then run the parmodify command then reboot and then run my vparmodify to add the cell to the Vpar and reboot again?

Either way, once I get the Cell into the Npar. I will need to add it to the Vpar. I have a procedure for that but i think it requires 2 reboots.

As follows:

-----------------------------
shutdown -h 0
at MON> reboot

Once the npar goes through self-test, interrupt the boot at the 10 second prompt.
bo pri
Interact with ISL? Y
ISL> hpux /stand/vmunix

Once it boots up, type "vparmodify command here" at the prompt. Once your prompt comes back, reboot the box "shutdown -r 0" and it will come up as a Vpar with memory and cpu and i/o.


I am pretty sure I have too many reboots in there. I think it can be done with only 3 reboots possibly 4. I am just not totally sure.



Unix, the other white meat.
10 REPLIES 10
Todd McDaniel_1
Honored Contributor

Re: adding a cell to a vpar

Here are my planned commands. My Cell info is as follows:

"K" used Cabinet 0, Cell7 while "L" used Cabinet 1, Cell7.



Pht018e Npar command:
parmodify -p 4 -a 0/7:base:y:ri -B

vparmodify -p pht018e2 \
-a cpu::2 \
-a mem::16384 \
-a io:7.0.0 \
-a io:7.0.1 \
-a io:7.0.2 \
-a io:7.0.3 \
-a io:7.0.4 \
-a io:7.0.6 \
-a io:7.0.14 \
-a io:7.0.12 \
-a io:7.0.11 \
-a io:7.0.10 \
-a io:7.0.9 \
-a io:7.0.8




Pht018f Npar command:
parmodify -p 5 -a 1/7:base:y:ri -B

vparmodify -p pht018f2 \
-a cpu::2 \
-a mem::16384 \
-a io:15.0.0 \
-a io:15.0.1 \
-a io:15.0.2 \
-a io:15.0.3 \
-a io:15.0.4 \
-a io:15.0.6 \
-a io:15.0.14 \
-a io:15.0.12 \
-a io:15.0.11 \
-a io:15.0.10 \
-a io:15.0.9 \
-a io:15.0.8
Unix, the other white meat.
Torsten.
Acclaimed Contributor

Re: adding a cell to a vpar

Add the cell to the npartition and do a reconfig reboot or shutdown the npar and add the cell. Start the partition again in vPar mode. That's all for the npar. You can run the par management commands from whereever you want on this system.

Modify or add vPars as usually. The particular vpar has to be down for modifications. No need to boot without vPars.

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!   
Torsten.
Acclaimed Contributor

Re: adding a cell to a vpar

If you are not already aware of this, have a look at the system management homepage. It's a nice tool to view and modify your npar configuration:

https://servername:2381/parmgr


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!   
Todd McDaniel_1
Honored Contributor

Re: adding a cell to a vpar

When I do the RR, the reboot to reconfig all vpars will have to be down correct? yes i believe so.

so... to be clear...

parmodify
shutdown -h 0 # all vpars should be down at this point...
cntl B
do the reboot to reconfig and come up in Vpar mode.

then do the vparmodify
then reboot again?

And that should be it. right?
Unix, the other white meat.
Torsten.
Acclaimed Contributor

Re: adding a cell to a vpar

The easy way: shutdown all vpars in the npar, bring down the npar for reconfig. Issue the par-commands from another running npar or the sms. restart the npar. Now create the new vpar or modify existing vpars.

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!   
Torsten.
Acclaimed Contributor

Re: adding a cell to a vpar

BTW, if you configure the npar while the vpars are running on it, you have to

#shutdown -R

all of them (capital R !!)


See also
npartitions management guide
or

vpar management guide, section "Managing: Performing nPartition Operations"

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!   
Torsten.
Acclaimed Contributor

Re: adding a cell to a vpar

Perhaps this was not clear enough.
You have 2 possibilities.

method 1:
- shutdown all vpars
- go to GSP/MP and do a "RR"
- modify the npar from another running npar

method 2:
- modify the npar from a running vpar within
- shutdown all vpars with "-R"
- the vpar monitor will reboot automatically

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!   
Todd McDaniel_1
Honored Contributor

Re: adding a cell to a vpar


Why cant I shutdown all other Vpars and then reboot my vpar as an Npar then issue the parmodify then shutdown -R and let it reboot as a vpar? And then issue the vparmodify commands?

That seems like it will work to me.
Unix, the other white meat.
Torsten.
Acclaimed Contributor

Re: adding a cell to a vpar

This will work, but you will need several reboots and much more time. It's just not necessary, but possible.

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!   
santhanakrishnan_1
Frequent Advisor

Re: adding a cell to a vpar

As Torsten told, U can modify the npar from the other running Npar by giving parmodify .Do u reconfigurable reboot by issuing shutdown -R.This will work