Operating System - HP-UX
1748224 Members
4442 Online
108759 Solutions
New Discussion юеВ

Set the partition to vPar mode

 
SOLVED
Go to solution
joseph51
Regular Advisor

Set the partition to vPar mode

Hi..
Some one please tell me how to set the partition to vPar mode

I know the below command will set the partition to npar mode from the OS

vparenv -m nPars .

As per my understanding after issuing the command if we try to reboot the system It will not boot .

Then How we can boot the system . How we will switch the partition to vparmode
9 REPLIES 9
Zygmunt Krawczyk
Honored Contributor
Solution

Re: Set the partition to vPar mode

If it is Integrity, you need to go to the EFI schell, cd to \efi\hpux directory and issue command

vparconfig reboot vPars
joseph51
Regular Advisor

Re: Set the partition to vPar mode

HI ..
I also Like to know what is the Use if we switch the partition to nPar mode for any maintaince
Benoy Daniel
Trusted Contributor

Re: Set the partition to vPar mode

In the AUTO file you need to set

hpux /stand/vpmon -a. Then set vparconfig -m vpars and reboot the box. Box will boot in vpar mode during next boot.
Manix
Honored Contributor

Re: Set the partition to vPar mode

commands to change the mode on IA machines !!

1 ) vparenv Unix shell command that allows you to set the mode (vPars or nPars) for the next
reboot of the nPartition or to set the memory granularity unit size in firmware


2 ) vparconfig EFI command that allows you to set the mode (vPars or nPars) and forces a reboot of
the nPartition.
Note that vparconfig is not a built-in EFI command; you will need to go to the
fsN:\> disk prompt to execute this command.

HPUX> boot vpmon

for PA-RICS the only way i gues is

BCH> bo pri
interact with IPL: y
ISL> hpux /stand/vpmon vparload -all

or ISL> hpux /stand/vpmon
MON>

The usage of booting into NPAR mode is to
upgrade the entire enclosure or do NPAR level modification like moving cells etc.
HP-UX been always lovable - Mani Kalra
joseph51
Regular Advisor

Re: Set the partition to vPar mode

Hi manix,
Thank you very much for your reply , i would lik eto know one more thing like , what are the Npar level modifications , whether the addition of physical memory included in the Npar level modification .Please give some examples
Torsten.
Acclaimed Contributor

Re: Set the partition to vPar mode

One of the strange things in most ia64 servers is, if you add a physical CPU, you need to boot in nPars mode, then switch to vPars mode and reboot.

Then you can assign and use the new CPU.

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!   
Manix
Honored Contributor

Re: Set the partition to vPar mode

Hello Binu,

As far memory allocation / reallocation for vpars is concerned you may not need to go to the npar mode.

Dynamic Memory allocation :-


This is called Dynamic Memory Migration, and is possible in vPars software versions A.05.01 and above. Memory must be configured as Base or Float. Base memory can be added while the vPar is running, but not removed; Float memory can be added or removed. Unless specified otherwise, all memory assigned to a vPar will be assumed to be Base memory.

exapmples :-


#vparmodify -p pcvp1103 -d mem::8192
#vparmodify -p pcvp1103 -a mem::8192:float /base

CPU Allocation :-

At vPars software version A.04.01, the distinction of Bound/Unbound CPUs was removed.

With the newer versions, one of the vPar's processors (cores) is designated as the Boot processor; all the rest are Dynamic. You cannot remove the Boot processor (core) from the vPar without shutting down the vPar; you are free to add/remove any of the Dynamic ones while the vPar is running, if you wish.

In vPars software A.03.xx, you can only add or remove Unbound CPUs while the vPar is running; to add/remove Bound CPUs, the vPar must be stopped.

So it looks most of the work can be done
at vpar level .If we are assigning resources
between npars ,like moving cell boards ,
adding cell based based memory we need to go down to npar mode.

Suggest you to read the docs below :-


HP-UX Virtual Partitions Ordering and Configuration Guide:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02018819/c02018819.pdf

vPar Administration Guide:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01941263/c01941263.pdf
HP-UX been always lovable - Mani Kalra
223848
Frequent Advisor

Re: Set the partition to vPar mode

Hi,
From any one of the vpar you can give the command
vparenv -m nPars
The do the shutdown -hy 0 in all the vpars

Then go to the MP menu and boot only the npar which you required to got to npar mode.

Interrupt at the EFI level and boot to /stand/vmunix

Then it will be booting to the nparmode
joseph51
Regular Advisor

Re: Set the partition to vPar mode

Thank you for all for your valuable response