Launch the Cluster with Nodes on Separate Machines
Scenario 1: Nodes on Separate Machines On node1, to launch JBoss: $ ./run.sh -c all -b 192.168.0.101 -Djboss.messaging.ServerPeerID=1 On node2, it’s the same except for a different -b value and ServerPeerID: $ ./run.sh -c all -b 192.168.0.102 -Djboss.messaging.ServerPeerID=2 The -c switch says to use the all config, which includes clustering support. The -b switch sets the address on which sockets will be bound. The -D switch sets the system property from which JBoss Messaging gets its unique id.