vCenter Server experience intermittent host disconnections and triggers "Host connection and power state" alarms for managed ESXi hosts. These events typically occur when the managing system attempts to install or update VIB packages (such as vr2c-firewall.vib).
While network connectivity appears stable, the following errors are observed in the ESXi vpxa.log:
Result:
(vim.fault.PlatformConfigFault) {
faultCause = (vmodl.MethodFault) null,
faultMessage = <unset>,
text = "/usr/sbin/esxupdate returned with exit status: 7"
msg = "An error occurred during host configuration: /usr/sbin/esxupdate returned with exit status: 7."
}
Args:
Arg metaUrls:
(string) []
Arg bundleUrls:
(string) []
Arg vibUrls:
(string) [
"https://#.#.#.#:8043/vib/vr2c-firewall.vib"
]
Arg spec:
(vim.host.PatchManager.PatchManagerOperationSpec) {
proxy = "VCENTER01.com",
port = 80,
userName = <unset>,
password = <unset>,
cmdOption = <unset>
}
Task arguments reveal a proxy configuration missing a protocol prefix (e.g., proxy = "VCENTER01.com" instead of http://VCENTER01.com).
VMware vCenter Server
VMware vSphere Replication
To stop the recurring installation failures and clear the vCenter alarms, follow these steps to disable the automatic installation of the Host-Based Replication (HBR) agent:
/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. systemctl restart hmsNote: If you are using vSphere Replication for traffic encryption, you must manually install the VIB on the participating ESXi hosts after disabling this setting. If you upgrade vSphere Replication in the future, you may need to temporarily set this value back to true or perform a manual VIB update.