Open In App

How to Set up Azure Site Recovery?

Azure Site Recovery is a service provided by Microsoft Azure that contributes to an organization’s business continuity and disaster recovery (BCDR) strategy. It ensures that business-critical applications and workloads remain operational during both planned and unplanned outages.

What are the Components of Azure Site Recovery?

What Replication Capabilities Does Site Recovery Offer?

What are the Key Site Recovery Features?

Steps to Set up Azure Site Recovery

Step 1: Create a Resource Group.






az group create --name azgroup --location southeastasia

Step 2: Create a Virtual Machine.






az vm create --resource-group azgroup --name azvm --image Win2019Datacenter --admin-username deepansh --admin-password Hello@12345#

Step 3: Verify the creation of the Resource Group and Virtual Machine.

Step 4: Configuring Disaster Recovery.

Step 5: Navigating to the Replicated Items dashboard.

Note: Wait for the status to change to Protected before proceeding to the next step.

Step 6: Performing a Test Failover.

Step 7: Cleanup Test Failover.

Step 8: Performing Failover.

Once you have successfully failed over to Virtual Machine, you will have the following settings enabled:

  • Commit
  • Resynchronize
  • Change Recovery Point
  • Re-protect

Basic Troubleshooting

  1. I see this error when I open Disaster recovery.
    If you encounter an error when opening Disaster Recovery, it might be due to your VM still being created. Wait 4-5 minutes for the resource deployment to complete.
  2. Replication Failure occurs.
    Replication failure in Azure or cloud services occurs when copying data or resources encounters issues, preventing successful replication.
    Replication can fail for various reasons, including:
    • Resource Limitations: Resource limits, such as available storage, in the target environment may be exceeded.
    • Access Permissions: Incorrect permissions or access control issues can prevent data from being replicated.
    • Software or Configuration Errors: Errors in replication software or misconfigurations in replication settings can lead to failure.
    • Data Conflicts: Conflicts or inconsistencies in the data being replicated can cause issues.
  3. I don’t see a Recovery Point Objective when I open replicated items?
    It just means that Internal Synchronization is happening. Wait for the Status to change to Protected.

Frequently Asked Questions

1. Is it a good practice to store passwords in scripts?

Storing passwords in scripts is generally not recommended for security reasons. We have done that here for demo purposes only.

2. Will the Disaster Recovery wizard also create a Target VM when setting up a virtual network?

No, it won’t create a VM until we failover to it.

3. Where is Cache Storage Account created?

This storage account will be created in the same region as the source environment. All your Virtual Machine data will be copied to this Cache Account before it copies the data to the disk created in the Target environment.

4. What is High Churn?

Azure Site Recovery has an option of High Churn, enabling you to configure disaster recovery for Azure VMs having data churn up to 100 MB/s. This helps you to enable disaster recovery for more IO intensive workloads.

5. What is the difference between ‘Failover’ and ‘Test Failover’?

In a test failover, your source environment remains active.In a test failover, you’re not deleting or stopping your source environment. In a failover, you should stop your source environment to prevent consistency issues.


Article Tags :