After you finish setting up the primary and secondary data centers, clear the caches in the secondary data center. This is in preparation for a failover. When you fail over to the secondary data center, caches in the secondary data center should be empty.
Use the REST API described here to clear the caches. Another way to clear cache is to reboot the virtual appliances.
Procedure
- ♦ 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.