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

How to allocate additional memory on Virtual Machines V4.1

 
cabloy
Advisor

How to allocate additional memory on Virtual Machines V4.1

Hi everyone,

I have installed guest (hostname: guest1) HP-UX V2. Virtual disk attached to guest1 is a physical disk (disk scsi 0 0 0 0 0 disk /dev/rdsk/c8t0d4). Installation went without problems, a guest1 is working ok.

So my question is: how to allocate the Memory/CPU Dynamically on Virtual Machine.


Your time and know-how will be appreciated,
Thanks
8 REPLIES
Steven E. Protter
Exalted Contributor

Re: How to allocate additional memory on Virtual Machines V4.1

Shalom,

You are not clear whether this is vpars.

If it is.

You must down the machine receiving the memory before issuing the vparmodify -p name -a .

Memory can not be dynamically allocated and CPU's can.

This applies even with vpar version 5.

If this is hpvm, I don't have an answer for you, zero point the post.

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
Torsten.
Acclaimed Contributor

Re: How to allocate additional memory on Virtual Machines V4.1

Thread title:

"Virtual Machines V4.1"

So it is not vPars.



Regarding this you should first read chapter

9.6 Dynamic Memory

Read, understand, follow procedures.


If you still have questions, come back to this thread.

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: How to allocate additional memory on Virtual Machines V4.1

Online:

http://docs.hp.com/en/T2767-90180/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!   
Johnson Punniyalingam
Honored Contributor

Re: How to allocate additional memory on Virtual Machines V4.1

Modify Memory resource assignment of VM Guest:
=============================================

hpvmhost# hpvmodify â P â r 4G
ï change memory to 4GB (need to reboot VM Guest)

Problems are common to all, but attitude makes the difference
Torsten.
Acclaimed Contributor

Re: How to allocate additional memory on Virtual Machines V4.1

This isn't dynamic.

You need to turn dynamic on, set a default "fixed" value, a minimum and maximum and a current fpr dynamic (see manual).


"...
Dynamic memory is an optional feature of Integrity VM that allows you to change the amount of physical memory in use by a virtual machine without rebooting the virtual machine. In this release of Integrity VM, dynamic memory is available on HP-UX 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!   
Johnson Punniyalingam
Honored Contributor

Re: How to allocate additional memory on Virtual Machines V4.1

Dynamic memory management from the guest is disabled by default and must be enabled from the VM Host. If the feature is not enabled, dynamic memory information can be displayed , but the memory size cannot be changed.

Use the hpvmcreate, hpvmmodify, or hpvmclone command and include the -x dynamic_memory_control option. Specify 1 as the argument to the option. For example, on the VM Host system, enter the following command to enable dynamic memory control on the guest named host1:


# hpvmmodify -P host1 -x dynamic_memory_control=1
Problems are common to all, but attitude makes the difference
cabloy
Advisor

Re: How to allocate additional memory on Virtual Machines V4.1

Thanks to all. I've already solved the problem.
cabloy
Advisor

Re: How to allocate additional memory on Virtual Machines V4.1

Thanks to all. I've just follow the documents and my environment is now working....