Running the IaaS upgrade process on the primary web server node with load balancing enabled fails. You might see these error messages: "System.Net.WebException: The operation has timed out" or "401 - Unauthorized: Access is denied due to invalid credentials."

Problem

Upgrading IaaS with load balancing enabled can cause an intermittent failure. When this happens, you must run the vRealize Automation upgrade again with load balancing disabled.

Solution

  1. Revert your environment to the pre-update snapshots.
  2. Open a remote desktop connection to the primary IaaS web server node.
  3. Navigate to the Windows hosts file at c:\windows\system32\drivers\etc.
  4. Open the hosts file and add this line to bypass the web server load balancer.

    IP_address_of_primary_iaas_website_node vrealizeautomation_iaas_website_lb_fqdn

    Example:

    10.10.10.5 vra-iaas-web-lb.domain.com

  5. Save the hosts file and retry the vRealize Automation update.
  6. When the vRealize Automation update competes, open the hosts file and remove the line you added in step 4.