webMethods OneData 10.11 | Managing Master Data with webMethods OneData | Administering webMethods OneData | Clustering webMethods OneData | Installing and Setting Up webMethods OneData Clustering | Setting up a webMethods OneData Cluster
 
Setting up a webMethods 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 webMethods OneData instances.
You can cluster webMethods OneData either vertically or horizontally based on your requirements and the resources available. This procedure describes how to cluster two instances of webMethods OneData horizontally or vertically. Based on these instructions, you can cluster the required number of instances in your environment.
*To set up a webMethods OneData cluster using Apache web server as load balancer
1. Install two instances of webMethods 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 On Premises.
Cluster Type
Installation Guidance
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 webMethods 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" address="0.0.0.0" secretRequired="false"
enableLookups="false" redirectPort="8443" allowedRequestAttributesPattern=".*"
protocol="AJP/1.3" />
<Engine defaultHost="localhost" jvmRoute="worker1">
For OD-2 add the following to server.xml:
<Connector port="AJP port" address="0.0.0.0" secretRequired="false"
enableLookups="false" redirectPort="8443" allowedRequestAttributesPattern=".*"
protocol="AJP/1.3" />
<Engine defaultHost="localhost" jvmRoute="worker2">
3. Start all webMethods 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 webMethods OneData instance and the Apache web server must be running.
4. In the browser, provide the link http://LBHostIP/onedata/ to access the webMethods OneData on a cluster.