Adding host[port] from all the nodes to jgroups_cluster.property.in for each node

Complete this task for both vertical and horizontal clusters. You will need to complete this task for each node, starting with node 1.

About this task

The following configuration changes are applicable only if dynamic clustering is disabled by setting dynamic.cluster.enable=false in jgroups_cluster.property.in

Important: You must never override mcast_addr in the jgroup_cluster.properties.

Procedure

Complete the following steps to add the host [port] to the jgroups_cluster.property.in file:

  1. Navigate to the properties file directory for the node.
  2. Determine the initial_hosts port for each node:
    • Navigate to the properties file directory for the node.
    • Find the initial_hosts from the jgroups_cluster.property (initial_hosts=host{port}).
    • Record the value from the initial_hosts for each node.
  3. Open the jgroups_cluster.property.in file.
  4. Add the initial_hosts property to the file.

    For example, if node 1 is on host1 and node 2 is on host2. For node 1, you would add:

    initial_hosts=host1[port1],host2[port2]

    For node 2, you would add:

    initial_hosts=host2[port2],host1[port1]
  5. Save and close the file.