To implement clustering successfully, meet its prerequisites.
Follow these steps:
By default, CA Service Catalog uses these ports for clustering, using the AJP protocol:
This address is the value of the mcastAddr attribute within the Membership tag. The default is 228.0.0.4, as shown in the following sample specification:
<Membership className="org.apache.catalina.tribes.membership.McastService"
address="228.0.0.4"
port="45564"
frequency="500"
dropTime="3000"/>
The default is 239.255.2.3:6155, as shown in the section that begins with the heading #JMS related configuration.
netsh interface ip show joins
The command lists all multicast addresses applicable to this computer.
Important! The port number must be the same on each computer in the cluster.
#multicast://default = multicast://239.255.2.3:6155 #static:(tcp://<host1>:<port>,tcp://<host2>:<port>,...) jms.networkConnectorUri = multicast://custom-ip-address:custom-port jms.discoveryUri = static: multicast://custom-ip-address:custom-port #jms.port = 7777 jms.port = custom-port
In the config.properties files on all clustered computers, edit the JMS-related configuration section mentioned earlier. Edit that section to specify the host and port for all other computers in the cluster, as shown in the following example.
The port number can be the same value on each computer in the cluster, or it can be different.
#multicast://default = multicast://239.255.2.3:6155 #static:(tcp://<host1>:<port>,tcp://<host2>:<port>,...) jms.networkConnectorUri = static:(tcp://host:custom-port) jms.discoveryUri = static:(tcp://host:custom-port) #jms.port = 7777 jms.port = custom-port
Note: Update the server.xml and config.properties files on all clustered computers before proceeding to the next step.
You have met the prerequisites.
| Copyright © 2013 CA. All rights reserved. |
|