jskfan
asked on
Vmware Affinity Rules
When configuring Affinity rules so that 2 VMs will always stay on the same ESX host, then the host fails and the VMs will not find another ESX host that has enough resources for the 2 VMs together, what will happen ? and how do you ensure that there is always enough resources on other ESX hosts for the 2 VMs together?
Thank you
Thank you
ASKER
If you reserve CPU/MEMORY capacity: 25%
then will the Cluster be able to move around other VMs between ESX hosts to make room for the 2VMs together on one ESX host ?
then will the Cluster be able to move around other VMs between ESX hosts to make room for the 2VMs together on one ESX host ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
To simplify the example:
Let's say I have 4 Hosts with 4GHZ and 4GB RAM each
I have 8 Vms on the Cluster. each VM is allocated 2GB RAM and 2GHZ CPU
Let's say I have 4 Hosts with 4GHZ and 4GB RAM each
I have 8 Vms on the Cluster. each VM is allocated 2GB RAM and 2GHZ CPU
Okay, so you have 4 Hours, with 4GHz and 4GB RAM, RAM will always be the bottleneck.
You have 8 VMs, I assume, these are allocated as
Host 1 - 2 VMs with 2GB and 2GHz - Total 4GB and 4GHz
Host 2 - 2 VMs with 2GB and 2GHz -Total 4GB and 4GHz
Host 3 - 2 VMs with 2GB and 2GHz -Total 4GB and 4GHz
Host 4 - 2 VMs with 2GB and 2GHz - Total 4GB and 4GHz
If also the assumption is that ALL Host are 100% Utilised
So if a Host A was to fail, what do you think would happen ?
In a standard created HA Cluster with Default Settings ?
You have 8 VMs, I assume, these are allocated as
Host 1 - 2 VMs with 2GB and 2GHz - Total 4GB and 4GHz
Host 2 - 2 VMs with 2GB and 2GHz -Total 4GB and 4GHz
Host 3 - 2 VMs with 2GB and 2GHz -Total 4GB and 4GHz
Host 4 - 2 VMs with 2GB and 2GHz - Total 4GB and 4GHz
If also the assumption is that ALL Host are 100% Utilised
So if a Host A was to fail, what do you think would happen ?
In a standard created HA Cluster with Default Settings ?
ASKER
I believe If you reserve 25% in admission control, resources will not use 100%
What was the answer to the question ?
ASKER
I meant with 25% reserved in Admission Control then, that will guarantee the 2 VMs can stay on one host if they get vmotioned
do you require any further assistance to close this question?
ASKER
Thank you
depends on how rigid you have Admission Control configured, if you have it configured such that it breaks the rule, the VMs will not be allowed to startup on other hosts, because it would break the rules.
Management and Checking Capacity.
see here
https://pubs.vmware.com/vsphere-55/index.jsp#com.vmware.vsphere.resmgmt.doc/GUID-793013E2-0976-43B7-9A00-340FA76859D0.html