In most failure scenarios, you can fail back to the primary data center once that data center is functioning again.

Procedure

  1. Modify the global load balancer or the DNS record to point to the load balancer in the primary data center.
  2. Clear the cache in the secondary data center.

    Run the following REST API from a REST client such as Postman:

    PATH: /SAAS/jersey/manager/api/removeAllCaches

    Method: POST

    Add Headers:

    Authorization: HZN <cookie_value>
    Accept: application/vnd.vmware.horizon.manager.cache.removal.response+json
    Content-type: application/vnd.vmware.horizon.manager.cache.removal.request+json’

    Add in Body (raw) section:

    {
    "cacheNames”:[ 
    ]
    }

    Empty cacheNames indicates remove all caches.

    Another way to clear cache is to reboot the virtual appliances.