Operating System - HP-UX
1833184 Members
2883 Online
110051 Solutions
New Discussion

Assinging vCPUs and Memory to VM on Integrity VM

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

Assinging vCPUs and Memory to VM on Integrity VM

Hi All,

I am using Integrity VM 4.1.

I have some questions on this.


1)If there is two pCPUs with four cores, so do we have to consider this as four pCPUs or two pCPUs?


2)If we have four pCPUs, then one VM can have maximum of four vCPUs, am i correct?


3)vCPUs/pCPU = 20, so totally i can have 80 vCPUs for 4pCPUs, am i correct?


4)If i am having 4pCPUs, so i can have up to 400% entitlements, so it should not exceed 400% when calculating all VMs entitlements, am i correct?

5)How to view assigned entitlements of existing VM?


6)If i have 16GB physical RAM, then we can assing upto 14GB to VMs, and it should not exceed 14GB when calculating all VMs memory, am i correct?
7 REPLIES 7
Emil Velez
Honored Contributor

Re: Assinging vCPUs and Memory to VM on Integrity VM

1. integrity VM does not support hyperthreading so if you have 2 cpus you have 2 CPUS. Hyperthreading is not supported with VM.


2. Since you have 2 CPUs the maximum amount of cpus you can have on a VM is 2 CPUs.

3. When you create a VM you specify the amount of overall CPU utilization with the HPVMCreate command.

4. The VM host needs 2+ GB of memory.
senthil_kumar_1
Super Advisor

Re: Assinging vCPUs and Memory to VM on Integrity VM

Hi All,

I have checked my intergrity server to see how may pCPUs are available.

# machinfo
CPU info:
2 Intel(R) Itanium 2 9100 series processors (1.42 GHz, 12 MB)
532 MT/s bus, CPU version A1
4 logical processors (2 per socket)



So as per above repor, there is only 2 pCPUs exist, am i correct?


And please give your valuable answers to my 3, 4, 5 and 6th questions.


7)I am having 16GB RAM, so that i can create 7 VMs with 2GB memory only? or how many VMs we can create for 16GB RAM if we want to assing 2GB for each VM.
johnsonpk
Honored Contributor
Solution

Re: Assinging vCPUs and Memory to VM on Integrity VM

Hi Senthil ,

Your machinfo says that you have 4 cores..so you can have maximum of 4 vCPU per Vm


2)If we have four pCPUs, then one VM can have maximum of four vCPUs, am i correct?
Let make it simple , if you have 4 cores ,you can have maximum of 4 vCPU per VM guest ..Dont confuse with socket and cores.(in your case ,you have 4 cores)

3)vCPUs/pCPU = 20, so totally i can have 80 vCPUs for 4pCPUs, am i correct?

The entitlement can range from 5% to 100% , so you can create 20 Vm by using 1 core with 5% entitlement per VM.

bottom line is you can go upto 80 vmguests on a VMhost having 4 cores (each Vm guest will have one vCPU and 5% entitlement.)

4)If i am having 4pCPUs, so i can have up to 400% entitlements, so it should not exceed 400% when calculating all VMs entitlements, am i correct?

yes ,there is some thumb rule while allocation entitlement..check ivm configuration guide for more details


5)How to view assigned entitlements of existing VM?


#hpvmstatus and hpvmstatus -r


7)I am having 16GB RAM, so that i can create 7 VMs with 2GB memory only? or how many VMs we can create for 16GB RAM if we want to assign 2GB for each VM.


you can calculate the amount of memory that can be allocated to all vm by the below equation

Total VM memory available for All Vms <= (total physical memory / 1.18 ) - 1.3


in your case you will have 13 GB available for all Vm ..you can decide about distributing that memory across different Vms

Thanks!
Johnson
senthil_kumar_1
Super Advisor

Re: Assinging vCPUs and Memory to VM on Integrity VM

Hi johnsonpk

Thanks a lot for your wonderful answers.


1)If i have assigned all entitlements to vCPUs of all VMs (400% entitlements for 4 pCPUs),so that, will i not be able to create any more vCPUs? will it give any error message about this while creating vCPUs?


2)Please explain about memory calculation, why you are dividing "total physical memory" by 1.8 to find "total memory available for all VMs"?

3)As you said if have assigned 13GB of memory to all VMs, then will not able to add any more memory to VMs, will it give any error?

4)Will the total use of entitlements and memory be calculated base on all active VMs (running VMs) only? or non-active VMs (non-running VMs)?

senthil_kumar_1
Super Advisor

Re: Assinging vCPUs and Memory to VM on Integrity VM

Could any one give their valuable answer to those questions.
Steven E. Protter
Exalted Contributor

Re: Assinging vCPUs and Memory to VM on Integrity VM

Shalom,

I have little stick time with this product.

If you try and exceed memory pool with assignment to a guest vm, you will get an error message.

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
senthil_kumar_1
Super Advisor

Re: Assinging vCPUs and Memory to VM on Integrity VM

Hi All,

Pleaes give your valuable answers to my questions (1, 2, 3 and 4)