You must configure the failover order of resources in both the primary and secondary data centers to make the appropriate resources available from any data center.

You use the hznAdminTool command to create a database table with the failover order for resources in your organization per service instance. The configured failover order is followed when a resource is launched. You run the hznAdminTool failoverConfiguration in both data centers to set up the failover order.

When VMware Identity Manager is deployed in multiple data centers, the same resources are also set up in each data center. Each application or desktop pool in the View Pods or Citrix-based XenFarms is considered as a different resource in the VMware Identity Manager catalog. To prevent duplication of the resource in the catalog, make sure that you enabled Do not sync duplicate applications in the View Pools or Published Apps - Citrix pages in the administration console page.


Using a ssh client, log in to the VMware Identity Manager appliance as the root user.


To view a list of the server instances, type hznAdminTool serviceInstances.

A list of the service instances with the ID number assigned displays, as in this example.



For each service instance in your organization, configure the failover order for View and Citrix-based resources, type hznAdminTool failoverConfiguration -configType <configType> -configuration <configuration> -serviceInstanceId <serviceInstanceId> [-orgId <orgId>]




Type the resource type being configured for failover. Values are either VIEW or XENAPP.


Type the failover order. For VIEW config type, type as a comma separated list of the primary View Connector Server host names that are listed in the View Pools page from the Connector Services Admin page. For XENAPP config type, type as a comma separated list of XenFarm names. XenFarm names are not displayed in the Workspace Connector Services Admin pages. Contact your XenApp administrator for the list of names.


Type the ID of the service instance for which the configuration is set. The ID can be found in the list displayed in Step 2, "id":


(Optional). If left blank, the configuration is set for the default organization.

For example, hznAdminTool failoverConfiguration -configType VIEW -configuration, -orgId 1 -serviceInstanceId 1.

When you type this command for VMware Identity Manager instances in the secondary data center, reverse the order of the View Connector Servers. In this example, the command would be hznAdminTool failoverConfiguration -configType VIEW -configuration, -orgId 1 -serviceInstanceId 103

The resources failover database table is set up for each data center.

To see the existing failover configuration for each of the View and Citrix-based resources, run hznAdminTool failoverConfigurationList -configType <configtype> -<orgId).

The value for <configtype> is either VIEW or XENAPP. The following is an example output of hznAdminTool failoverConfiguraitonList with configType VIEW.