Site Recovery Manage provides dependency feature where you can configure the virtual machine which are dependent on each other. So that when you recover virtual machine at the recovery site virtual machines will be started in order specified in dependency.
If a virtual machine depends on services that run on another virtual machine in the same protection group, you can configure a dependency between the virtual machines. By configuring a dependency, you can ensure that the virtual machines start on the recovery site in the correct order. Dependencies are only valid if the virtual machines have the same priority.
A dependency requires that before a virtual machine can start, a specific other virtual machine must already be running. For example, a virtual machine named “Server-App” can be configured to have a dependency on a virtual machine named “Server-DB” – Site Recovery Manager will wait until “Server-DB” starts before powering on “Server-App”. VMware Tools heartbeats are used to validate when a virtual machine has started successfully.
So let’s see How to configure VM Dependencies :
Login to vSphere web client.
Go to Site Recovery.
Click “OPEN Site Recovery” to access the Site Recovery Manager configuration.
Go to Recovery Plans Tab.
Select the Recovery Plan.
Select the Virtual Machine which is dependent on another VM.
Click “CONFIGURE RECOVERY”
Expand the VM Dependencies.
Here you will see Virtual Machines listed.
Select the virtual machine which you want first started.
Click OK to save.
Here you can see under Dependencies that which VM has dependency on VM.
That’s it, Using this way you can easily configure VM Dependencies in SRM. So your dependent virtual machine will start first and second vm will start only when first vm is started successfully. Make sure you configure dependency after making a plan of dependent virtual machines.
That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.