Troubleshooting Azure Site Recovery (ASR) - Data Replication Initiation Issues - Part 2@20aman Jan 08, 2018
This is the second part of troubleshooting Azure Site Recovery (ASR) Data replication issues. Part 1 is located here: Troubleshooting Azure Site Recovery (ASR) - Data Replication Not Working
Go through the part 1 before this blog as that talks about the location of logs and various preliminary steps. This blog talks about the issue where you are not even able to enable Data Replication for a server.
Perform the following basic checks related to connectivity:
- Ensure that the ASR management server has connectivity with Azure.
- Ensure connectivity between the management server (process server) and the source machine which you are trying to replicate. Ensure that the source machine is accessible from the process server.
- You will also need to enable and allow “File and Printer Sharing” on the source machine in the Windows Firewall.
- Ensure that the account that you use for enabling the protection has administrator rights on the source machine. This is needed for installation of the Mobility services agent on the source machine.
- Also allow Windows Management Instrumentation (WMI) in the Windows Firewall, if not already.
- Disable remote User Account Control (UAC) if you are using local administrator account to install the mobility service.
Also, check whether the following services are running and configured correctly on the source machine:
- If Volume Shadow Copy(VSS) service Startup Type is set to Disabled, change it to Automatic.
- If COM+ System Application(COMSysApp) service Startup Type is to Disabled, change it to Automatic.
- If the Microsoft Distributed Transaction Coordinator Service (MSDTC) Startup Type is set to Disabled, change it to Automatic.
- If the service Startup Types were already set to Automatic, check if COM+ enumeration succeeds. a) You check COM+ enumeration by Component Services (comexp.msc) b) Browse to Component Service -> Computers -> My Computer -> COM+ Application. You should be able to expand the System Application node and see the contents under that node. c) Ensure that Volume Shadow Copy Service is listed under Component Service -> Computers -> My Computer -> DCOM config
If for any reason you can't enable any of the above steps, e.g. if you can't provide admin access to the service account on the source machine or disable remote UAC, then you have an alternative option. You can install the Mobility services agent on the source machine prior to enabling the protection. You will still need the services to be configured appropriately but will not need admin access while enabling the protection. To install the mobility services agent, you have various options:
- Install using software deployment tools like System Center Configuration Manager
- Install with Azure Automation and Desired State Configuration (Automation DSC)
- Install manually from the UI
- Install manually from a command prompt
- Install using the Site Recovery push installation
All these options are described in details here: Install the Mobility service
Restart the job after ensuring all the pre-requisites as described in previous sections. If you are still facing issues, revisit the Part 1 of the troubleshooting series as mentioned at the beginning of this blog. Let us know in comments below if the issue persists.