What is the exact condition to consider a VM up in Azure Site Recovery

Peter Szabo 1 Reputation point
2020-08-28T18:08:33.867+00:00

Azure Site Recovery offers groups in a recovery plan to control the order how the virtual machines are powered on. For exmaple, the database machines can be started before the VMs with the applications are comming up. I tried to find information about when exactly is a VM considered up before ASR starts the next group. I could not find any information publicly available about this. I want to know this for fine controlling the VM startups, maybe running a longer script too in the startup process of the VMs.
I assume it is different for the Windows and Linux virtual machines. What is the exact condition for a Windows or Linux machine to be considered up?

Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
720 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Didier3001 1,011 Reputation points Microsoft Employee
    2020-08-29T06:15:58.883+00:00

    Hi @Peter Szabo

    I'm pretty sure this is based on the communication with a service running locally on each protected server called "InMage Scout Application Service"

    When using Recovery Plans in ASR, you can leverage the pre-steps and / or post-steps before or after you start a group of VMs.
    You can add simple script to just pause for x seconds or add something a bit sophisticated where you verify if confitions XYZ are before moving to the next group of VMs for example.
    https://learn.microsoft.com/en-us/azure/site-recovery/site-recovery-create-recovery-plans#add-a-script-or-manual-action

    In the Azure Automation runbooks Gallery, you will find example of scripts that you can import in your own subscription:
    https://learn.microsoft.com/en-us/azure/automation/automation-runbook-gallery

    --I hope this helps. Please Accept it as an answer and "Up-Vote" the answer or message(s) that helped you so that it can help others in the community looking for help on similar topics

    Regards,
    Didier3001

    0 comments No comments

  2. Vishal Gawale 1 Reputation point
    2020-08-29T06:30:36.95+00:00

    Azure Site Recovery offers ease of deployment, cost effectiveness and dependability. Deploy replication, failover and recovery processes through Site Recovery to help keep your applications running during planned and unplanned outages.
    and this type of condition azure site recovery for example : ext3, ext4, XFS, BTRFS.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.