Set up the source environment for VMware to Azure replication
This article describes how to set up your source on-premises environment, to replicate VMware VMs to Azure. The article includes steps for selecting your replication scenario, setting up an on-premises machine as the Site Recovery configuration server, and automatically discovering on-premises VMs.
Prerequisites
The article assumes that you have already:
- Planned your deployment with the help of Azure Site Recovery Deployment Planner. This helps you to allocate sufficient bandwidth, based on your daily data-change rate, to meet your desired recovery point objective (RPO).
- Set up resources in the Azure portal.
- Set up on-premises VMware, including a dedicated account for automatic discovery.
Choose your protection goals
- In Recovery Services vaults, select the vault name. We're using ContosoVMVault for this scenario.
- In Getting Started, select Site Recovery. Then select Prepare Infrastructure.
- In Protection goal > Where are your machines located, select On-premises.
- In Where do you want to replicate your machines, select To Azure.
- In Are your machines virtualized, select Yes, with VMware vSphere Hypervisor. Then select OK.
Set up the configuration server
You can set up the configuration server as an on-premises VMware VM through an Open Virtualization Application (OVA) template. Learn more about the components that will be installed on the VMware VM.
- Learn about the prerequisites for configuration server deployment.
- Check capacity numbers for deployment.
- Download and import the OVA template to set up an on-premises VMware VM that runs the configuration server. The license provided with the template is an evaluation license and is valid for 180 days. Post this period, customer needs to activate the windows with a procured license.
- Turn on the VMware VM, and register it in the Recovery Services vault.
Azure Site Recovery folder exclusions from Antivirus program
If Antivirus software is active on Source machine
If source machine has an Antivirus software active, installation folder should be excluded. So, exclude folder C:\ProgramData\ASR\agent for smooth replication.
If Antivirus Software is active on Configuration server
Exclude following folders from Antivirus software for smooth replication and to avoid connectivity issues
- C:\Program Files\Microsoft Azure Recovery Services Agent.
- C:\Program Files\Microsoft Azure Site Recovery Provider
- C:\Program Files\Microsoft Azure Site Recovery Configuration Manager
- C:\Program Files\Microsoft Azure Site Recovery Error Collection Tool
- C:\thirdparty
- C:\Temp
- C:\strawberry
- C:\ProgramData\MySQL
- C:\Program Files (x86)\MySQL
- C:\ProgramData\ASR
- C:\ProgramData\Microsoft Azure Site Recovery
- C:\ProgramData\ASRLogs
- C:\ProgramData\ASRSetupLogs
- C:\ProgramData\LogUploadServiceLogs
- C:\inetpub
- Site Recovery server installation directory. For example: E:\Program Files (x86)\Microsoft Azure Site Recovery
If Antivirus Software is active on scale-out Process server/Master Target
Exclude following folders from Antivirus software
- C:\Program Files\Microsoft Azure Recovery Services Agent
- C:\ProgramData\ASR
- C:\ProgramData\ASRLogs
- C:\ProgramData\ASRSetupLogs
- C:\ProgramData\LogUploadServiceLogs
- C:\ProgramData\Microsoft Azure Site Recovery
- Azure Site Recovery load balanced process server installation directory, Example: C:\Program Files (x86)\Microsoft Azure Site Recovery
If Antivirus Software is active on the Linux Master Target
Exclude following folders from Antivirus software
- /usr/local/ASR
- /usr/local/InMage
- /var/log/vxlogs
- /var/log
- /var/log/ApplicationPolicyLogs
- /var/log/ASRsetuptelemetry
- /var/log/ASRsetuptelemetry_uploaded