Operating System - HP-UX
1753926 Members
9269 Online
108810 Solutions
New Discussion юеВ

Moving memory on vpar system

 
SOLVED
Go to solution
Mousa55
Super Advisor

Moving memory on vpar system

Hi

I have HP-UX system (11.23) with 2 vpars and this system has 12 GB memory. vpar1 has 8 GB and vpar2 has 4 GB, i want to move 2 GB memory from vpar1 to vpar2 how can i doing that ?
# swlist | grep Virtual
T1335BC A.04.06 HP-UX Virtual Partitions for 11.23

Thanks
11 REPLIES 11
Manix
Honored Contributor
Solution

Re: Moving memory on vpar system

Dynamic memory allocation is supported only with the latest Vpar version A.5.X , i don`t think that is supported on 11.23.

Check the admin guide for the release A.04.06
to cross check but AFAIK this is not possible with this version & platform
HP-UX been always lovable - Mani Kalra
Manix
Honored Contributor

Re: Moving memory on vpar system

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.
HP-UX been always lovable - Mani Kalra
Mousa55
Super Advisor

Re: Moving memory on vpar system

Hi,

Mean I can't using this commands

reduce vpar1 to 6 memory freeing up 2 memory:
# vparmodify -p vpar1 -a mem::2048
verify that there are now free memory
# vparstatus -A
increase vpar2's memory count to 6 memory
# vparmodify -p vpar2 -m -a mem::2048

and how i can increase memory on this case.

Thanks
Manix
Honored Contributor

Re: Moving memory on vpar system

Hello Nejad,

This us poosible and could be run on a
fly with the latest versions of vpars from 5.01 onwards.

But in this case you need to shutdown the target vpar first & then delete the memory

# vparmodify -p server2 -d mem::2048

Then you need to shutdown the vpar to which
you need to add memory.

# vparmodify -p server2 -a mem::2048

To quote from the vparmodify man page:

A vp_name in the monitor database must be in the Down state to add or delete resources, with one exception: CPU resources can be added to or deleted from a running virtual partition. This restriction may be relaxed for other types of resource management in a future release.
HP-UX been always lovable - Mani Kalra
Mousa55
Super Advisor

Re: Moving memory on vpar system

Hi,

Thanks for your support, but i have one question

is there any way to upgrade HP-UX Virtual Partitions from A.04.06 to 5.01 version ?.

and Is this the correct procedure to moving CLM memory from vpar to other ? when i have the required version of vpar.

1- shutdown vpar1 and executing this command
2- # modify -p vpar1 -d mem::2048

3- Then shutdown the vpar2

4- # vparmodify -p vpar2 -a mem::2048

Thanks and best regards
Manix
Honored Contributor

Re: Moving memory on vpar system

yes upgrade is possible !!

There is no CLM in vpars , CLM /ILM is at NPAR level.

Yes the process looks good now.
HP-UX been always lovable - Mani Kalra
Mousa55
Super Advisor

Re: Moving memory on vpar system

Hi,

Thanks, but how i can starting to upgrade HP-UX Virtual Partitions from A.04.06 to 5.01 version ?.

Thanks
Manix
Honored Contributor

Re: Moving memory on vpar system

Hello Nejad !!

You need to plan the upgrade carefully because first you need to 1 ) upgrade to 11.31 2 ) then to 5.01

The most important thing to be kept in mind
while upgrading vpars is that the "primary vpar" -which has vpmon loaded into the memory
over which other vpars are running needs to be upgraded first other wise other vpars may not be load on the old version of vpmon.

There is a very good thread you just need to upgrade the primary first then the other nodes.

http://h30499.www3.hp.com/t5/System-Administration/updating-from-vpar-A-04-xx-to-A-05-xx/m-p/4356914#M345586


Do revert for queries

Thanks
Manix

HP-UX been always lovable - Mani Kalra
Manix
Honored Contributor

Re: Moving memory on vpar system

looks @ the excellent post at HP -docstore

The first virtual partition is defined as the virtual partition that owns the boot disk from which the vPars Monitor was booted; you can use the vparstatus -m and vparstatus -v commands to determine which virtual partition this is.

http://docstore.mik.ua/manuals/hp-ux/en/T1335-90098/ch04s08.html
HP-UX been always lovable - Mani Kalra