System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Increase memory in vmguest !!

 
titu
Regular Advisor

Increase memory in vmguest !!

Hi all ,

How can I in crease memory to the VM guest.

I have assisgned 8 gb memory to each vm guest ,
I want to make it 16 gb.

I have more then 64 gb memory available in vm host.


Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
guest1 1 HPUX On (OS) 2 29 1 8 GB 0
guest2 2 HPUX On (OS) 2 18 1 8 GB 0
guest3 2 HPUX On (OS) 2 8 1 8 GB 0

when I try # hpvmmodify -P -r 16G
It say insufficient memory.


Thanks in advance
Titu
12 REPLIES
Torsten.
Acclaimed Contributor

Re: Increase memory in vmguest !!

see my post in

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1324891

and provide the information.

Looks like not enough memory available.

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!   
Tingli
Esteemed Contributor

Re: Increase memory in vmguest !!

Your guests servers takes away about 24g memory, the remaining memory will be enough for the increased 8 g memory. The next step is you need to check your swap space first, make sure it has enough room for the increased memory. Increase it as you can, (sometimes you need to reboot the host system to increase the swap space, a pain of ...) then you should be possible to increase the guest's memory.
titu
Regular Advisor

Re: Increase memory in vmguest !!

Hi ,

Please see the attachment for output from

# hpvmstatus -s

Thanks

Titu
Torsten.
Acclaimed Contributor

Re: Increase memory in vmguest !!

Available memory = 1545 Mbytes

This is all you have ...

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!   
titu
Regular Advisor

Re: Increase memory in vmguest !!

Thanks , this I got it now.

But still I am new to HPVM so where all the memory has been utilized , any guess ?
Thanks

Titu
Torsten.
Acclaimed Contributor

Re: Increase memory in vmguest !!

All the memory that is not assigned to guests but also not available for guests is used by the host.

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!   
titu
Regular Advisor

Re: Increase memory in vmguest !!

Hi ,

How to check the memory used by the VM host ?

Thanks

Titu
Torsten.
Acclaimed Contributor

Re: Increase memory in vmguest !!

total memory
- amount assigned to guests
- available for hosts

= used by the host

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: Increase memory in vmguest !!

or some more complicated:

(each HPVM version has a slightly different formula, this for version B.04.00)

Sufficient physical memory (RAM), including the following:
- 750MB + 8.5% of memory beyond the first GB (that is, 8.5%of (total physical memory
- 1 GB))
- Total aggregate memory required for each guest (operating system and application
requirements)
HP-UX 11i v2May 2005 requires a minimum of 1 GB of memory, so a guest running
HP-UX must be configured with at least that much memory.
- Additional 8% of aggregate guest memory for overhead for guests less than or equal
to 4 GB and between 8% and 8.3% for guests larger than 4 GB.
For example, for a VMHost with 16 GB of memory and two VMs configured with 3 GB
of memory each, the memory requirements would be calculated as follows:
- 2 GB for the VM Host (750 MB plus 8.5% of 15 GB)
- 6.48 GB total guest requirement (108% of 6 GB)
- Total requirements = 8.48 GB of memory
This leaves 7.52 GB of memory for additional guests.

...

taken from

user manual, Table 2-1 Requirements for Installing Integrity VM

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!   
titu
Regular Advisor

Re: Increase memory in vmguest !!

Thanks for this much information.

I have some problem seems as kernel is utilizing almost more then 20gb memory.

Thanks
Titu
Torsten.
Acclaimed Contributor

Re: Increase memory in vmguest !!

Did you check if 1 of your modification attempts was successful already and now the change is pending until the next reboot of the guest?

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!   
titu
Regular Advisor

Re: Increase memory in vmguest !!

Hi ,

I just reboot the box even after reboot the same thing kernel is utilizing 21 gb.

Thanks

Titu