For Horizon View and Citrix-based resources, 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 configType, type as a comma separated list of the primary View Connector Server host names that are listed in the View Pools page in the administration console. For XENAPP configType, type as a comma separated list of XenFarm 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 pod1vcs1.domain.com,pod2vcs1.hs.trcint.com -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 Connection Servers. In this example, the command would be hznAdminTool failoverConfiguration -configType VIEW -configuration pod2vcs1.hs.trcint.com, pod1vcs1.domain.com -orgId 1 -serviceInstanceId 103
The resources failover database table is set up for each data center.
What to do next
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.