I am not sure as to how this setting would help you. But for clustering you need to take care of the following things.
- Create two copies of a configuration i.e. create two copies of either all/production/default etc.
- You need different ports for each node. (Quite possible by editing Bindingservicebeans.xml under conf\bindingservice.beans\META-INF directory) (Guess the file name is correct)
- In each of the configuration you can edit the port number set by changing the node numbers by selecting either of (default, 01, 02, 03). What happens is to the defalut set of port numbers if you choose 01 then 100 gets added. So your Admin port would be 8180 and not 8080 and RMI port becomes 1199 and not 1099. Be careful not to edfit the portnumbers directly else they would be difficult to handle.
- start the servers now. Hope this should work.
Do keep an eye on the memory utilization cause you need real good RAM to run both your servers parallely
in addition while starting up give a name to you cluster with "-g MyCluster". This prevents other JBOSS instances running in your network from participating in your cluster.
Hope this helps
bindings-jboss-beans.xml 29.0 KB
Thanks Much Raghav..