This is a known issue affecting VMware vSphere Replication until version 8.2.1 | OCT 29 2020 | Build 17079075. The vr2c-firewall VIB was required for clients that were using DR to Cloud functionality that was provided by vCloud Availability for vCloud Director. This VIB was deprecated from VMware vSphere Replication 8.2.1 | OCT 29 2020 | Build 17079075 release & is no longer available in higher versions of the appliance.
Workaround:
To workaround this issue, install the missing VIB file on each ESXi host that you plan to use as a replication source.
To install the missing VIB file on each ESXi host that you plan to use as a replication source:
Download the vr2c-firewall.vib package and copy it to the /tmp folder of the source ESXi host.
1. You can copy the VIB file from the vSphere Replication virtual appliance to the ESXi host by logging in the appliance and running the command:
scp /opt/vmware/hms/vib/vr2c-firewall.vib user@ESXi_host:/tmp
NOTE: ESXi firewall must be disabled before downloading the file. [root@ESXi70APR:] esxcli network firewall get
Default Action: DROP
Enabled: false
Loaded: true
Run this command to disable firewall on ESXi -
esxcli network firewall set --enabled false
esxcli network firewall set --enabled true
(Set it back to true after downloading the file)2. You can download the VIB file from the location https://vrappliance_address:8043/vib/vr2c-firewall.vib.
Note: You must use a machine that can connect to port 8043.
3. Install the package by using the esxcli utility to run this command:
esxcli software vib install -v /tmp/vr2c-firewall.vib
Alternatively, disable the automatic installation of the firewall VIB.
To disable the automatic installation of the firewall VIB & stop the continuous installation loop:
1. SSH to the vSphere Replication appliance and run one of the commands below depending on the version of replication appliance:
/opt/vmware/hms/bin/hms-configtool -cmd reconfig -property hms-auto-install-vr2c-vib=false - Use this command for 8.2 and below.
/opt/vmware/hms/bin/hms-configtool -cmd reconfig -property hms-auto-install-hbragent-vib=false - Use this command for 8.3 and above.
Note: Another workaround is to manually edit the hms-auto-install-vr2c-vib value at /opt/vmware/hms/conf/hms-configuration.xml to true or false to stop the VIB installation
root@VRMSPR [ / ]# cd /opt/vmware/hms/conf/
root@VRMSPR [ /opt/vmware/hms/conf ]#
Edit 'hms-configuration.xml' using vi and update the following entry from true to false.
<!-- Whether to install hbragent vib automatically when reconnecting to the hosts -->
<hms-auto-install-hbragent-vib>true</hms-auto-install-hbragent-vib>
NOTE: If replication traffic encryption is not used, we can change hms-auto-install-hbragent-vib to false in hms-configuration.xml and restart hms service. Then hms will not push the vib to ESX.Setting hms-auto-install-hbragent-vib to false can prevent installing it again. But we need to uninstall or stop it in ESX side.
2. Restart HMS by running the command : systemctl restart hms