Skip to Main Content

How to cap cores for all VMs in OVM platform?

User_Y2Y3IFeb 28 2021

Hi,
As for the Oracle licensing requirement, we have been making below restrictions on CPU/core capping on our ldom environment. For example below is from Solaris cdom

root@phxovm1-cdom:~# ldm list -o resmgmt,core oedby-ttzm3
NAME
oedby-ttzm3

CORE
CID CPUSET
10 (80, 81, 82, 83, 84, 85, 86, 87)
11 (88, 89, 90, 91, 92, 93, 94, 95)

CONSTRAINT
cpu=whole-core
max-cores=2
threading=max-throughput

root@phxovm1-cdom:~# ldm list -o resmgmt,core oedby-orazm1
NAME
oedby-orazm1

CORE
CID CPUSET
5 (40, 41, 42, 43, 44, 45, 46, 47)
6 (48, 49, 50, 51, 52, 53, 54, 55)

CONSTRAINT
cpu=whole-core
max-cores=2
threading=max-throughput

root@phxovm1-cdom:~#

We would want to have have similar config on OVM environment also, assuming that OVM is also based on ldom technology. Is there any way or command to check and make similar restriction for all the VM's we will make on this OVM?
VM Servers are Oracle VM, so I can't see ldm commands like we see them in Solaris.
Please suggest
Thanks

Comments
Post Details
Added on Feb 28 2021
1 comment
23 views