Lee_Sargeant
Enthusiast
Enthusiast

Server Hardware Affinity

Hello Everyone,

We have recently added more hosts to our HA/DRS cluster and the new hosts have faster processors. Now we would like to make our database servers use these faster processors. Is there a way to create a hardware affinity and make guests use the better processors without having two seperate clusters? We considered using shares but this only guarantees more access to resources, not the better resources.

Many Thanks

Lee

0 Kudos
4 Replies
rriva
Expert
Expert

you could configure your VM to have CPU Affinity

Riccardo Riva

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Thank You!

RRiva | http://about.me/riccardoriva | http://www.riccardoriva.com
0 Kudos
Lee_Sargeant
Enthusiast
Enthusiast

We considered this but we would like the VM's to DRS as needed between the more powerful servers and for processors to be reallocated as they become quiet. Also in the event of a disasterous failure the more powerful boxes would be the ones left on so we would not want all the processors to be fully utilised by the DB servers. Thanks.

0 Kudos
rriva
Expert
Expert

you can play with "DRS Affinity Rules" e "CPU Affinity Rules" to try to keep VMs separated on the various host, you couls also create one or more Resource Pools to grant a CPU reservation for your DBServers VMs.

If you use a high reservation I think it's very probable that your DBServer VMs will run mostly on the more recent

In case of hardware failure you could disable the resource pools settings to ensure a right CPU aomunt for all your VMs.

Riccardo Riva

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Thank You!

RRiva | http://about.me/riccardoriva | http://www.riccardoriva.com
0 Kudos
weinstein5
Immortal
Immortal

Remember DRS looks the speed (MHz) of a processor as a pool of cycles - so it sees a quad 2 GHz host has a pool of 8 GHz vs a host with quad 3 GHz as a pool of 12 GHz - so DRS as your database VMs will require more DRS will move it to the host that has the available CPU cycles via VMotion - and since DRS uses VMotion you correct not to set CPU Affinity as that will prevent VMotion and not allow DRS to work -

I think the best solution is to create a Resource Pool for your database VMs - this way you can gaurantee a pool of CPU cycles to the VMs - DRS will determine which host the vm will run for optimum perfomance -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos