Deploying i2 Analyze with high availability

When you deploy i2 Analyze with high availability, there are a number of steps that you must complete.

About this task

To configure i2 Analyze for high availability, there are a number of extra configuration and deployment steps that you must complete in addition to a normal multiple server deployment. When you are deploying i2 Analyze into production with a high availability configuration, complete the following steps when you are in your pre-production, test, and production environments. After you create the high availability configuration, you can copy it between environments as usual.

Procedure

  1. Install any prerequisite software to prepare your servers for the pre-production environment.
    • For a deployment with high availability, use the multiple servers deployment topology with at least the minimum number of servers required for high availability of each component. For more information, see Deployment topologies.
    • To deploy with high availability, you must configure your database management system after you install it:
  2. Copy the toolkit\configuration directory from the configuration development environment, to the toolkit directory at the root of the deployment toolkit on one of the Liberty servers.
  3. Update the configuration to specify your remote database, follow the instructions in Specifying remote database storage to update the environment.properties and topology.xml files.
    1. If you are using Db2, you can specify any alternative database location information in the topology.xml.
      • If you are using an automated cluster-controller such as IBM Tivoli System Automation for Multiplatforms (TSAMP), then specify the hostname and port number of the cluster.
      • If you are not using an automated cluster-controller, in the <database> element for your Information Store, provide the hostname and port number of any standby databases in the alternate-hosts attribute.

        The host and port number must be separated by a colon (:), and each database server must be separated by a (,).

        For example, alternate-hosts="hostname:port_number,hostname:port_number".

    2. If you are using SQL Server, specify the hostname and port number of the availability group listener.
  4. Update the configuration to configure each component for high availability:
    1. Configuring ZooKeeper for HADR
    2. Configuring Solr for HADR
    3. Deploying a load balancer
    The environment.properties, http-server.properties, and topology.xml contain hostname and file path settings that you might need to update for the servers in your pre-production environment. For more information, see Configuration files reference.
  5. Deploy and start i2 Analyze with one Liberty server by following the instructions in Deploying i2 Analyze on multiple servers.
  6. After you deploy with one Liberty server, update the configuration on any other Liberty servers.
    1. Copy the configuration directory from the deployed Liberty server to the toolkit directory on any other Liberty servers in your environment.
    2. On each Liberty server, in the topology.xml file update the host-name and port-number attributes of the <application> element.
  7. Deploy and start the i2 Analyze application on each of the other Liberty servers:
    setup -t installLiberty
    setup -t deployLiberty
    setup -t startLiberty
After you deploy i2 Analyze, you can replicate any configuration changes that are not stored in the configuration of i2 Analyze on each Liberty server.

The security configuration must be the same on each server.

  1. Configure Liberty security for your environment. To do this, repeat any changes that you made to the Liberty configuration in the previous environment.
    This might involve copying the user registry file, or updating the server.xml file.
  2. After you deploy i2 Analyze, configure your database management system to replicate the Information Store database to your standby servers.
    1. If you are using Db2, configure high availability for the Information Store database and replicate it to any standby database instances.
      For more information, see Replicate the Information Store in Db2.
    2. If you are using SQL Server, add the Information Store to your availability group.
  3. Complete any configuration changes in the Information Store database on the primary server.
    1. If you created any rules or schedules to delete records by rule, replicate the rules and schedules that you created in the previous environment.
      On SQL Server, you must update the automated job creation schedule on every database instance. For more information see, Changing the automated job creation schedule.
    2. If you created any merged property values definition views for your ingestion process, replicate the view definition that you created in the previous environment.

What to do next

After you deploy i2 Analyze with high availability, return to perform the rest of the instructions for creating a deployment in your current environment: