Forum Stats

  • 3,814,956 Users
  • 2,258,936 Discussions
  • 7,892,896 Comments

Discussions

How to cap cores for all VMs in OVM platform?

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


[email protected]:~# 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


[email protected]:~# 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


[email protected]:~#


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

Tagged:

Answers