webMethods, OneData, and Terracotta  10.2 | Managing Master Data with webMethods OneData | Administering webMethods OneData | Clustering OneData | Installing and Setting Up OneData Clustering | Setting up a OneData Cluster
 
Setting up a OneData Cluster
Prerequisites: Complete the steps described in Preparing Apache Web Server as a Load Balancer and Configuring Tomcat Workers for Load Balancing before setting up the OneData instances.
You can cluster OneData either vertically or horizontally based on your requirements and the resources available. This procedure describes how to cluster two instances of OneData horizontally or vertically. Based on these instructions, you can cluster the required number of instances in your environment.
* To set up a OneData cluster using Apache web server as load balancer
1. Install two instances of OneData (referred to here as OD-1 and OD-2) based on the cluster type required.
For more information on the installation steps, see Installing webMethods Products.
For...
Install...
Vertical clustering
OD-1 and OD-2 on the same cluster node in different installation directories.
*For OD-1:
*Cluster Node IP: HostIP-1
*HTTP Port: HTTPport-1
*AJP Port: AJPport-1
*For OD-2:
*Cluster Node IP: HostIP-1
*HTTP Port: HTTPport-2
*AJP Port: AJPport-2
Horizontal clustering
OD-1 and OD-2 on different cluster nodes in the same installation directory.
*For OD-1:
*Cluster Node IP: HostIP-1
*HTTP Port: HTTPport-1
*AJP Port: AJPport-1
*For OD-2:
*Cluster Node IP: HostIP-2
*HTTP Port: HTTPport-1
*AJP Port: AJPport-1
2. For each OneData instance, navigate to the directory, INSTALL_DIR/profiles/ODE/configuration/tomcat/conf, and modify the server.xml file as follows:
Note: Use the AJP port based on the type of clustering that you want to set up.
For OD-1 add the following to server.xml:
<Connector port="AJP port" enableLookups="false" redirectPort="8443"
protocol="AJP/1.3" />
<Engine defaultHost="localhost" jvmRoute="worker1">
For OD-2 add the following to server.xml:
<Connector port="AJPport" enableLookups="false" redirectPort="8443"
protocol="AJP/1.3" />
<Engine defaultHost="localhost" jvmRoute="worker2">
3. Start all OneData instances and the Apache web server.
Note: There is no mandatory start-up sequence. Essentially, to get the URL for the cluster, at least one OneData instance and the Apache web server must be running.
4. In the browser, provide the link http://LBHostIP/onedata/ to access the OneData on a cluster.

Copyright © 2011-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release