Resource Sharing in a Clustered Installation
ASI clustering locates resources throughout the cluster using the Java™ Naming Directory Interface (JNDI), which is a standard technology that enables configuration information to be shared locally and across a network.
These cluster resources include the application servers, adapters and many other components. Each node maintains a JNDI server for locating resources. When a node starts up, it registers by communicating its status to the database so that other nodes can find information about this node. Database tables store locations of slowly changing resources like adapters. The JNDI directory is refreshed from these tables. Problems in resource sharing, such as failed RMI (Remote Method Invocation) calls, are almost always due to either misconfigured ports or misconfigured adapters.
You must specify the RMI ports used between nodes of a cluster to prevent firewall rules from blocking ports between the nodes.
The following is an example of how to limit ports for two nodes, with base port 5000 on both nodes. The node1 IP address is 10.8.164.4, and the node2 IP address is 10.7.164.4. This example shows how you can add three more ports for RMI on the firewall (5101, 5102, 5103).
noapp.useSocketFactories=true noapp.jnp_host=10.8.164.4 noapp.jnprmiport=5101 noapp.jndirmiport=5102 noapp.jnprmiport2=5103 ops.jnp_host=10.8.164.4 ops.useSocketFactories=true ops.jnprmiport=5101 ops.jndirmiport=5102 ops.jnprmiport2=5103
noapp.useSocketFactories=true noapp.jnp_host=10.7.164.4 noapp.jnprmiport=5101 noapp.jndirmiport=5102 noapp.jnprmiport2=5103 ops.jnp_host=10.7.164.4 ops.useSocketFactories=true ops.jnprmiport=5101 ops.jndirmiport=5102 ops.jnprmiport2=5103