Operating System - HP-UX
1752808 Members
5904 Online
108789 Solutions
New Discussion юеВ

HPVM problems with dynamic memory

 
SOLVED
Go to solution
likid0
Honored Contributor

HPVM problems with dynamic memory

Hy,

I am triying to use dynamic memory with my guests
but the memory driver doesnt look like its loading on the guests.
Version A.03.50.00

with hpvmstatus I don't get all the info:
[Dynamic Memory Information]
NOTE: Dynamic data unavailable, configured values only
Type : driver
Minimum memory : 512 MB
Target memory : 5120 MB
Maximum memory : 5120 MB

And when I try to reduce memory I get:

/root# hpvmmodify -P vmf -x ram_target=4122
hpvmmodify: ERROR (vmf): Query to dynamic memory driver failed: Function is not available.
hpvmmodify: Failed to set ram_target.
hpvmmodify: Unable to modify the guest.

I have tried using any and driver with the same result.

-x ram_dyn_type={any|driver}

Any idea what module, daemon has to be loaded on the client get this working ?



Windows?, no thanks
12 REPLIES 12
likid0
Honored Contributor

Re: HPVM problems with dynamic memory

forgot to say, that on my guests I have the soft installed:

HPVM-Guest A.03.50 Integrity VM Guest
VMGuestLib A.03.50 Integrity VM Guest Support Libraries
VMProvider A.03.50 WBEM Provider for Integrity VM
Windows?, no thanks
VK2COT
Honored Contributor

Re: HPVM problems with dynamic memory

Hello,

What does this command show:

# hpvmmgmt -V -l ram

Did you run command on VM Host to start it
and enable dynamic memory capability:

# hpvmmgmt -x ram_target=start
# hpvmmodify -P guestXYZ -x ram_dyn_type=any

Cheers,

VK2COT
VK2COT - Dusan Baljevic
likid0
Honored Contributor

Re: HPVM problems with dynamic memory

Doesn't take does commands:

sdp:/opt/hpvm/bin# hpvmmgmt -x ram_target=start
ksh: hpvmmgmt: not found
sdp:/opt/hpvm/bin# hpvmdevmgmt -x ram_target=start
hpvmdevmgmt: Unrecognized option: -x.
hpvmdevmgmt: Unrecognized arguments.

sdprform:/root# hpvmmgmt -V -l ram
ksh: hpvmmgmt: not found
sdprform:/root# hpvmdevmgmt -V -l ram

Windows?, no thanks
Torsten.
Acclaimed Contributor

Re: HPVM problems with dynamic memory

From the manual:

hpvmmgmt: Manages the guest memory allocation. Runs on guests only.

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: HPVM problems with dynamic memory

Did you install the hpvm_guest_depot on the guest?

It's in

/opt/hpvm/guest-images/hpux/11iv2 or 11iv3/hpvm_guest_depot.11iv_x_.sd

on the host and needs to be installed on the guest.

Once installed on the guest the tool will be in

/opt/hpvm/bin

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

Re: HPVM problems with dynamic memory

This is what i get on the guest

vmfdb:/opt/hpvm/bin# ./hpvmmgmt -V -l ram
Dynamic memory driver not found on guest.
hpvmmgmt: Unable to continue.
vmfdb:/opt/hpvm/bin# ./hpvmmgmt -x ram_target=start
Failed to open dynamic memory driver, error: No such file or directory.
Failed to set dynamic value error: No such file or directory
hpvmmgmt: Unable to continue.

And Torsten yep i Have installed on the guest:

HPVM-Guest A.03.50 Integrity VM Guest
VMGuestLib A.03.50 Integrity VM Guest Support Libraries
VMProvider A.03.50 WBEM Provider for Integrity VM


Thnx for the help
Windows?, no thanks
Torsten.
Acclaimed Contributor

Re: HPVM problems with dynamic memory

Did you really enable dynamic memory? This is not enabled by default.

See chapter

9.6.1.1 Configuring a Virtual Machine to Use Dynamic Memory

Please provide

# hpvmstatus -V -P

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: HPVM problems with dynamic memory

see

http://docs.hp.com/en/T2767-90105/ch09s06.html

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

Re: HPVM problems with dynamic memory

On the host i did configure the dyn mem with driver:

[Dynamic Memory Information]
NOTE: Dynamic data unavailable, configured values only
Type : driver
Minimum memory : 512 MB
Target memory : 5120 MB
Maximum memory : 5120 MB


On the guest side, I tried loading the module:

vmf:/opt/hpvm/bin# kcmodule hpvmdynmem=loaded
* The automatic 'backup' configuration has been updated.
NOTE: No change to 'hpvmdynmem' was needed.
Module State Cause Notes
hpvmdynmem loaded explicit auto-loadable, unloadable
vmf:/opt/hpvm/bin# ./hpvmmgmt -V -l ram
Dynamic memory driver not found on guest.
hpvmmgmt: Unable to continue.

and checked that the filesets are configured:

# vmGuestLib
vmGuestLib.GUEST-LIB configured
# vmProvider
vmProvider.VM-PROV-CORE configured
# vmTools
vmTools.VMTOOLS-MAN configured
vmTools.VMTOOLS-RUN configured



The hole hpvmstatus output:

hpvmstatus -V -P vmf
[Virtual Machine Details]
Virtual Machine Name : vmf
Virtual Machine UUID : e735e2e8-5245-11dd-8804-001e0b8362e4
Virtual Machine ID : 9
Virtual Machine Label :
VM's Model Name : server Integrity Virtual Machine
VM's Serial Number : VM00829001
VM's Config Version : 3.50.0
VM's Config Label : HPVM A.03.50 PATCH_HPVM_35Q108 clearcase opt Wed Mar 12 2008 12h49m55s PDT
Operating System : HPUX
OS Version Number :
State : On (OS)
Start type : Auto
Console type : vt100-plus
Guest's hostname :
Guest's IP address : 10.7.115.153
EFI location : /opt/hpvm/guest-images/common/efi
Pattern File location : /opt/hpvm/guest-images/common/patterns.vmmpat
Guest revision : 1
Running on serverid : 0
Running on pid : 23904
Application controllers : NONE
Distributed : 0

[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:

[Virtual CPU Details]
Number Virtual CPUs : 2
Minimum Virtual CPUs : 1
Maximum Virtual CPUs : 4
Percent Entitlement : 25.0%
Maximum Entitlement : 100.0%

[Memory Details]
Total memory : 5120 MB
Minimum memory limit : 512 MB
Maximum memory limit : 64 GB
Reserved memory : 64 MB
Minimum reserved limit : 32 MB
Maximum reserved limit : 64 GB
VHPT Size : 1 MB

[Dynamic Memory Information]
NOTE: Dynamic data unavailable, configured values only
Type : driver
Minimum memory : 512 MB
Target memory : 5120 MB
Maximum memory : 5120 MB

[Storage Interface Details]
Guest Device type : disk
Guest Adaptor type : avio_stor
Bus : 0
Device : 0
Function : 0
Target : 2
Lun : 0
Physical Storage type : lv
Physical Device : /dev/vgvmroot/rvg00vmfdb

Guest Device type : dvd
Guest Adaptor type : scsi
Ioscan format : 0/0/2/0.0.0
Bus : 0
Device : 2
Function : 0
Target : 0
Lun : 0
Physical Storage type : file
Physical Device : /var/opt/iso-images/boot_helper.iso


[Network Interface Details]
Physical Storage type : vswitch
Guest Adaptor type : lan
Backing : apa2
Vswitch Port : 2
Ioscan format : 0/0/1/0
Bus : 0
Device : 1
Function : 0
Mac Address : 92-1b-1d-fa-5b-b4


[Misc Interface Details]
Guest Device type : serial
Guest Adaptor type : com1
Physical Storage type : tty
Physical Device : console


Windows?, no thanks