+

Search Tips   |   Advanced Search

Deploy in a clustered WebSphere Application Server environment

We can deploy the Analytics Platform in a clustered WebSphere Application Server environment.

In previous topics, the term node is used as a general term to define a separate machine that runs an instance of the Analytics Platform. The term node in this topic is used to identify a node in a WebSphere Application Server cluster.

All clustering is handled by the Analytics Platform regardless of the topology that is configured in WebSphere Application Server. We must determine which machines in the cluster to be the master nodes and define them through a JNDI property. The list of master nodes are passed down to the WAR file, where the distribution of analytics data within the cluster is handled.

To use the Analytics Platform in a clustered environment on WebSphere Application Server, follow these steps.

  1. Identify the machines in the cluster to be the master nodes and record their IP addresses or host names.

  2. Deploy the analytics WAR file to the WebSphere Application Server cluster. Do not start the web application yet.

  3. Set the JNDI property for masternodes to a comma-separated list of the nodes in the cluster to be the host name. The following example shows possible values for the JNDI property:
    host:<port>,host:<port>,host:<port>
    192.168.1.32:9600,192.168.1.8:9600
    clusterhost1:9600,clusterhost2:9600,clusterhost3:9600

    The port value is the transport port, which by default is 9600. We can change this port through the JNDI property. See Ports used by the MPF Operational Analytics. The following image shows the environment entries for web modules:

  4. Set the remaining JNDI properties as appropriate. For more information on the JNDI properties, see Properties and configurations.

  5. Open the analytics console page on each cluster. When the console is accessed, each node in the cluster establishes a connection with each node listed in the masternodes list.


Results

We have deployed the Analytics Platform in a clustered WebSphere Application Server environment.


Parent topic: Set up a production cluster