We are all guilty of doing this, we design and install a beautifully crafted vSphere 5 environment following best practises for HA, host isolation responses and we setup our admission control to meet the clients requirements. When then pass the VMware environment back to the client to manage and maintain themselves.
The client has a hardware failure and the VM’s are restarted on an alternative host, excellent we say. However the client is far from happy as we didn’t mention or configure ‘virtual machine restart priority’ and they encountered complications as the VM’s came up in the wrong order.
In essence virtual machine restart priority enables selected virtual machines to start before other virtual machines over riding the clusters default settings. To configure virtual machine restart priority:
– Right Click Cluster
– Edit Settings
– Virtual Machine Options
– Virtual Machine Settings > VM Restart Priority
Lets look at the following scenario.
Client has VMware Standard licensing, which means they don’t have DRS. They have two Exchange 2010 email servers, one running the CAS/Hub role and the other running Mailbox role. They reside on the same host as someone thought this would a ‘good idea’.
The physical host fails and it’s a free for all for the VM’s to restart, as a result the CAS/Hub server comes up before the Mailbox server. As a result Outlook Client connectivity, OWA and Active Sync take longer than anticipated to connect resulting in an extended downtime.
Same client has configured virtual machine restart priority with the following settings:
Mailbox server – High
CAS/Hub server – Medium
The VM’s restart in the right order and the client has less downtime.
Naturally every environment is different, but as a general rule of thumb, I recommend using the following guidelines.
– CAS/Hub – High Priority
– Mailbox – Medium Priority
– If FSMO role holder – High Priority
– If Global Catalogue – High Priority
– SQL Server – High Priority
– Applications relying on SQL e.g. BES – Medium Priority
– Data Collector – High Priority
– Web Server – Medium Priority
– License Server – Medium Priority
– Farm Members – Low Priority (as you want everything else to be up and running before users login).
3 thoughts on “Virtual Machine Restart Priority”
Another excellent post. Thank you for sharing. I think you can use vApps for multi tier application
You are spot on Preetam, vApps are another way to go.