Configuring Appliance HCX-WAN-NE ... GenerateAndPostConfig Failed. Reason: Unknown.HCX requires active name resolution to be available throughout the appliance update process. If the HCX Manager loses name resolution because the DNS server is unreachable (due to the network extension being down during the upgrade), it cannot complete the configuration, and the upgrade fails.
To recover from this state, you must manually define temporary DNS entries in the /etc/hosts files of both the vCenter and HCX Manager to ensure they can resolve required connections. Once resolution is restored, you can perform a redeploy task for the NE appliance.
Open an SSH session to the vCenter server as root.
Edit the /etc/hosts file and add entries for the HCX Manager and every ESXi host in the deployment cluster using the following format: <IP address> <short name> <fqdn>
Example: 192.168.0.1 example example.com
Open an SSH session to the HCX Manager as admin.
Switch to root using the "su -" command.
Edit the /etc/hosts file and add entries for every ESXi host, the HCX Cloud Manager, and vCenter: <IP address> <short name> <fqdn>
Example: 192.168.0.1 example example.com
Log in to the HCX Manager (port 9443) via a web browser.
Confirm the network connection to vCenter shows a green circle (connected).
Perform a redeploy of the NE appliance that previously failed. Ensure the "force" option is selected.
Once the redeployment completes, network connectivity over the extended network will be restored.