Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes how to enable replication for on-premises physical servers for disaster recovery to Azure by using the Azure Site Recovery service - Modernized.
For information on how to set up disaster recovery in Azure Site Recovery Classic releases, see the tutorial.
This tutorial is the second in a series that shows you how to set up disaster recovery to Azure for on-premises physical servers. In the previous tutorial, you prepared the Azure Site Recovery replication appliance for disaster recovery to Azure.
This tutorial explains how to enable replication for a physical server.
Get started
Physical server to Azure replication includes the following procedures:
- Sign in to the Azure portal
- Prepare Azure account
- Create a recovery Services vault
- Prepare infrastructure
- Enable replication
Prepare infrastructure - set up Azure Site Recovery Replication appliance
To channel mobility agent communications, set up an Azure Site Recovery replication appliance on the on-premises environment.
Add details of physical server to an appliance
You can add details of the physical servers that you plan to protect when you first register the appliance or after registration. To add physical server details to the appliance, follow these steps:
After adding the vCenter details, expand Provide Physical server details to add the details of the physical servers that you plan to protect.
Select Add credentials to add credentials for the machines you plan to protect. Add all the details such as the operating system, friendly name for the credentials, username, and password. The user account details are encrypted and stored locally on the machine.
Select Add.
Select Add server to add physical server details. Provide the machine’s IP address, select the machine's credentials, and then select Add.
This process adds your physical server details to the appliance. You can enable replication on these machines by using any appliance that has a healthy or warning status.
To protect physical servers without credentials, you must manually install the mobility service and enable replication. Learn more.
Enable replication for physical servers
Protect the machines, after an Azure Site Recovery replication appliance is added to a vault.
Ensure that you meet the prerequisites across storage and networking.
Follow these steps to enable replication:
Under Getting Started, select Site Recovery.
Under VMware, select Enable Replication and select the machine type as Physical machines if you want to protect physical machines. The portal lists all the machines discovered by various appliances registered to the vault.
Search the source machine name to protect it and review the selected machines. To review, select Selected resources.
Select the desired machine and select Next. The portal opens the Source settings page.
Select the replication appliance and machine credentials. The appliance uses these credentials to push the mobility agent on the machine and complete enabling Azure Site Recovery. Ensure you choose accurate credentials.
Note
- For Linux OS, provide the root credentials.
- For Windows OS, add a user account with admin privileges.
- Use these credentials to push and install the mobility service on the source machine during the enable replication operation.
- You might be asked to provide a name for the virtual machine that you create.
Select Next and provide target region properties.
By default, the portal selects the Vault subscription and Vault resource group. You can choose a subscription and resource group of your choice. Your source machines are deployed in this subscription and resource group when you fail over in the future.
You can select an existing Azure network or create a new target network to use during failover.
If you select Create new, the portal redirects you to Create virtual network. Provide address space and subnet details. This network is created in the target subscription and target resource group you selected in the previous step.
Provide the test failover network details.
Note
Ensure that the test failover network is different from the failover network. This difference ensures that the failover network is readily available in case of an actual disaster.
Select the storage.
Cache storage account: Choose the cache storage account that Azure Site Recovery uses for staging purposes – caching and storing logs before writing the changes to the managed disks.
By default, Azure Site Recovery creates a new LRS v1 type storage account for the first enable replication operation in a vault. For the next operations, the portal reuses the same cache storage account.
Managed disks
By default, Standard HDD managed disks are created in Azure. Select Customize to customize the type of Managed disks. Choose the type of disk based on the business requirement. Ensure to choose the appropriate disk type based on the IOPS of the source machine disks. For pricing information, see managed disk pricing.
Note
If you install Mobility Service manually before enabling replication, you can change the type of managed disk at a disk level. Otherwise, you can choose one managed disk type at a machine level by default.
Create a new replication policy if needed.
A default replication policy is created under the vault within three days. Recovery point retention and app-consistent recovery points are disabled by default. You can create a new replication policy or modify the existing policy as per your RPO requirements.
- Select Create new and enter the Name.
- Enter a value ranging from 0 to 15 for the Retention period (in days).
- Enable App consistency frequency if you want to and enter a value for App-consistent snapshot frequency (in hours) based on your business requirements.
- Select OK to save the policy.
Use the policy to protect the chosen source machines.
Choose the replication policy and select Next. Review the Source and Target properties and select Enable Replication to start the operation.
A job is created to enable replication of the selected machines. To track the progress, go to Site Recovery jobs in the recovery services vault.