For each VM planned to be replicated, perform the below:
- Open Remote Access ports and enable services, ex, RDP, SSH.
- Install VMware Tools.
-
For Windows VM, configure the SAN policy as Online All. Use the diskpart.exe utility and execute this command
san policy=onlineall. This will prevent the auto-assignment and preserve the source disk letters after the replication/ failover to Azure VM. - For Linux Machine, make sure the kernel version is supported, refer to the Azure Site Recovery support matrix.
- Disable VM UEFI Secure Boot from the Virtual machine settings.
-
Install Mobility service agent
- Locate installer files on the Configuration server, refer to Microsoft Docs here.
- Move installer to the VM selected to be replicated, extract and execute the installer.
- After installed, the agent has to be connected to the Configuration Server (CS), three Fields needed here: CS IP address (This is the one configured in the previous section ), Passphrase (Refer to Generate configuration server passphrase), and Port (443).
- If Antivirus Software is Active, exclude the ASR agent Folder, check here for detailed steps.