When you try to configure a replication for an encrypted virtual machine, the process fails with an error.

The message that you see is: "The replication of encrypted virtual machines requires Secure LWD support. Secure LWD is not available for this VM.".

By default, when you power on the vSphere Replication appliance, a vSphere Installation Bundle (VIB) is installed on all supported ESXi hosts in the vCenter Server inventory where you deployed the appliance. The automatic installation of the VIB file might fail due to different reasons.

To configure a replication for the encrypted VM, you must verify that the VIB file is installed and running on the ESXi host of the source virtual machine. If not, you must manually install it.

Verify the VIB File Installation

Procedure

  1. Run the shell command esxcli software vib list on the source ESXi host.
  2. In the results, look for the vmware-hbr-agent VIB file.

What to do next

If the VIB file is not available on the source ESXi host, you must install it manually. See Manually Install the VIB.

Manually Install the VIB File

Solution

  1. Temporarily deactivate the firewall on the ESXi host.
  2. Establish an SSH connection to the ESXi Server.
  3. Run the following command: $ esxcli software vib install -v https://VR_APPLIANCE_IP:8043/vib/vmware-hbr-agent.vib
  4. Enable the firewall on the ESXi host.