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":[]
    }
    Note:
    • You must run the API as the tenant administrator, that is, the administrator created in the System domain when you install VMware Identity Manager. Domain accounts synced from your enterprise directory cannot perform this function.
    • You can obtain the HZN cookie by logging into the VMware Identity Manager service as the tenant administrator, then accessing your browser's cookie cache.
    • Empty cacheNames indicates remove all caches.

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