Operating System - HP-UX
1753784 Members
7151 Online
108799 Solutions
New Discussion юеВ

Re: Starting guest: insufficient host swap resources for this guest

 
SOLVED
Go to solution
Kasper_USB
Frequent Advisor

Starting guest: insufficient host swap resources for this guest

The following happens:
soravx1:/# hpvmstart -P vm-P-1
HPVM guest vm-P-1 configuration problems:
Warning 1: There are insufficient host swap resources for this guest.
These problems may prevent HPVM guest vm-P-1 from starting.
hpvmstart: Unable to continue.

Backroundinfo:
==============
soravx1:/# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
vm-K-1 1 HPUX On (OS) 4 3 2 40 GB 0
vm-P-1 2 UNKNOWN Off 4 3 3 40 GB 0


Can't start vm-P-1.

If i change the Memory
soravx1:/# hpvmmodify -P vm-P-1 -r 1G
soravx1:/# hpvmstart -P vm-P-1

runs good.

what is the problem and how can i solve it ?
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Starting guest: insufficient host swap resources for this guest

Shalom,

This sounds like an OS problem in the guest.

Swap must be set to minimum 50% of RAM or HP-UX might not want to boot.

If this is the case the guest may need to be re-installed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim Nelson
Honored Contributor
Solution

Re: Starting guest: insufficient host swap resources for this guest

What is your VMHost config ?

How much ram ?

How much swap is configured ?

Kasper_USB
Frequent Advisor

Re: Starting guest: insufficient host swap resources for this guest

soravx1:/# dmesg | grep Phys
Physical: 134186672 Kbytes, lockable: 108034012 Kbytes, available: 124515692 Kbytes

soravx1:/# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 25165824 0 25164000 0% 0 - 1 /dev/vg00/lvol2
dev 24576000 0 24576000 0% 0 - 2 /dev/vg01/lvol1
reserve - 42851776 -42851776
memory 134186672 52345572 81841100 39%
melvyn burnard
Honored Contributor

Re: Starting guest: insufficient host swap resources for this guest

Well you have what appears to be 132GB RAM, and only 49GB swap:
dev 25165824kb
dev 24576000kb
You have to configure enough physiacl swap space on the VM Host to cover the total memory to be used when starting your VM Guests.
In your case each VM has 40GB RAM, so you need a MINIMUM of 84GB (40 + 40 +4 for the host)
All documented in the HP IVM Manuals
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Tim Nelson
Honored Contributor

Re: Starting guest: insufficient host swap resources for this guest

With psuedo swap turned off on the Host ( It must be turned off ), you need to configure the VMHost correctly.

Please review the IVM admin guide.