1833589 Members
4028 Online
110061 Solutions
New Discussion

vmguest memory

 
SOLVED
Go to solution
masood bt
Regular Advisor

vmguest memory

yesterday it was like:
xx-yyy101:/ # hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
xx-cie101 1 HPUX On (OS) 2 1 1 8 GB 0
xx-gwa101 3 HPUX On (OS) 2 1 1 4 GB 0
hhln-b01-por101 5 HPUX On (OS) 2 1 1 6 GB 0
xx-por101 2 HPUX On (OS) 2 1 1 6 GB 0
hhln-b01-gwa101 6 HPUX On (OS) 2 1 1 4 GB 0
hhln-b01-cie101 7 HPUX On (OS) 2 2 1 8 GB 0
xx-cie201 10 HPUX On (OS) 2 3 1 7 GB 0
xx-cie203 11 HPUX On (OS) 2 3 1 7 GB 0
xx-por201 12 HPUX Off 1 3 1 3 GB 0
xx-lds201 13 HPUX On (OS) 1 3 1 3 GB 0
xx-yyy101:/ # hpvmstatus -s
[HPVM Server System Resources]

Processor speed = 1599 Mhz
Total physical memory = 65468 Mbytes
Total number of processors = 7
Available memory = 3119 Mbytes
Available swap space = 26161 Mbytes

I wanted to bring down xx-cie203 memory from 7G to 6G

#hpvmmodify -P xx-cie203 -r 6G

The mistake I did is instead of using small r I used R (upper case R)
hpvmmodify -P xx-cie203 -R 6G
It executed the command.
In man hpvmmodify I found -R is for reserve mem and -r is for memory

now when i start the vm guest it gives me the error

xx-yyy101:/ # hpvmmodify -P xx-cie203 -r 6G
xx-yyy101:/ # hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
xx-cie101 1 HPUX On (OS) 2 1 1 8 GB 0
xx-gwa101 3 HPUX On (OS) 2 1 1 4 GB 0
hhln-b01-por101 5 HPUX On (OS) 2 1 1 6 GB 0
xx-por101 2 HPUX On (OS) 2 1 1 6 GB 0
hhln-b01-gwa101 6 HPUX On (OS) 2 1 1 4 GB 0
hhln-b01-cie101 7 HPUX On (OS) 2 2 1 8 GB 0
xx-cie201 10 HPUX On (OS) 2 3 1 7 GB 0
xx-cie203 11 HPUX Off 2 3 1 6 GB 0
xx-por201 12 HPUX Off 1 3 1 3 GB 0
xx-lds201 13 HPUX On (OS) 1 3 1 3 GB 0
xx-yyy101:/ # hpvmstart -P xx-cie203
HPVM guest xx-cie203 configuration problems:
Warning 1: There is insufficient free host memory for this guest.
These problems may prevent HPVM guest xx-cie203 from starting.
hpvmstart: Unable to continue.
xx-yyy101:/ # hpvmstatus -s
[HPVM Server System Resources]

Processor speed = 1599 Mhz
Total physical memory = 65468 Mbytes
Total number of processors = 7
Available memory = 10424 Mbytes
Available swap space = 33396 Mbytes
Maximum vcpus for an HP-UX virtual machine = 4
Maximum vcpus for a Windows virtual machine = 4
Maximum vcpus for a Linux virtual machine = 4
Available entitlement for a 1 way virtual machine = 1599 Mhz
Available entitlement for a 2 way virtual machine = 1599 Mhz
Available entitlement for a 3 way virtual machine = 1599 Mhz
Available entitlement for a 4 way virtual machine = 1599 Mhz
yyy101:/ #


any suggestions?
The vmguest should start after I reduced the memory.#
But earlier because of using -R ...is this the reason vmguest is not coming up?
If yes..how to undo the changes ?

much need help..awaiting..
Behind every Great fortune, there is a crime
5 REPLIES 5
Richard Hepworth
Esteemed Contributor
Solution

Re: vmguest memory

Masood,

Check one of your other VM's:

hpvmstatus -P xx-cie101

and check for Reserved Memory value there (I think 64Mb is default). If so just hpvmmodify again:

hpvmmodify -P xx-cie203 -R 64M

masood bt
Regular Advisor

Re: vmguest memory

Richard...
yeah you were right...Before I saw your reply I was thinking that may be I should change reserve mem to its old value.. but i was not sure what its old value is...

so I did -R 512M
Then I saw your suggestion to change it to -R 64M (default)

However as it worked for -R 512M I didnt changed it again...

By the way..
(1)where can I see reserve mem?

(2) By using "-P vmguestname -R 6G" did i changed VMguests' reserve mem or VMhosts reserve mem?

(3)
hhln-b00-cie203:/ # swapinfo -tam(after -R 512M)
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 16384 0 16384 0% 0 - 1 /dev/vg00/lvol2
reserve - 640 -640
memory 6136 1371 4765 22%
total 22520 2011 20509 9% - 0 -
hhln-b00-cie203:/ #

Where is the reserve mem? 640M?

However for your valuable answer and quick response I am assigning points to you...
Behind every Great fortune, there is a crime
likid0
Honored Contributor

Re: vmguest memory


You can list it with:

hpvmstatus -v -P hpivirtual
....
[Memory Details]
Total Reserved
Memory Memory
======= ========
5120 MB 64 MB

The default is 64Mb

Windows?, no thanks
masood bt
Regular Advisor

Re: vmguest memory

Great.

Yeah..I see all my vmguests have 64M as reserve mem..
and the guest on which I worked shows 512M because I did -R 512M

[Memory Details]
Total Reserved
Memory Memory
======= ========
6 GB 512 MB



Thats okay I suppose anyways
Thank you Richard and orange!
Behind every Great fortune, there is a crime
masood bt
Regular Advisor

Re: vmguest memory

The default reserve memory is 64Mb
Behind every Great fortune, there is a crime