Adding a OneData Instance to the Cluster
You can add more OneData instances to a cluster.
To add a OneData instance to the cluster
1. Install OneData in a cluster node.
For more information about installing OneData, see Installing webMethods Products.
Important: | If it is a vertical cluster, install OneData in a new directory in the cluster node on which the other OneData instances run. |
2. Locate the worker.properties file and open it in a text editor.
a. Add the following configuration details to the worker.properties file:
Note: | You must change the values for <HOST IP> and <AJP Port> in the below configuration based on the clustering you want to set up. |
# Set properties for new_worker (ajp13)
worker.new_worker.type=ajp13
worker.new_worker.host=<Host IP>
worker.new_worker.port =<AJP Port>
worker.new_worker.lbfactor=1
b. In the worker.properties file, edit the worker.balancer.balance_workers property to include the new worker name as below:
worker.balancer.balance_workers=worker1, worker2, new_worker
3. Save the changes in the file.
4. In the new OneData instance, navigate to <INSTALL_DIR>/profiles/ODE/configuration/tomcat/conf and add the following in server.xml file.
Note: | Use the <AJPport> based on the type of clustering that you want to set up. |
<Connector port="<AJPport>" enableLookups="false" redirectPort="8443"
protocol="AJP/1.3" /><Engine defaultHost="localhost"
jvmRoute="new_worker">
5. Go to the folder apache_server_root\conf and locate httpd.conf file.
6. In the Proxy tag, add the entry:
BalancerMember ajp://<Apache http server IP>:<New AJP-Port> min=10
max=100 route=node1 loadfactor=1
7. Reload the Apache configuration using the command httpd.exe.
The OneData instance is now added to the cluster.