done this... then what? Load Balancers pointed to Apache, Apache http1 pointed to JBoss AS1, http2 pointed to AS2, etc. AS1 log show only 1 node, same with AS2. Where can I see clustering?
On node1, to launch JBoss:
$ cd /var/jboss/bin $ ./run.sh -c all -g DocsPartition -u 239.255.100.100 \ -b 192.168.0.101 -Djboss.messaging.ServerPeerID=1
On node2, it's the same except for a different -b
value and ServerPeerID:
$ cd /var/jboss/bin $ ./run.sh -c all -g DocsPartition -u 239.255.100.100 \ -b 192.168.0.102 -Djboss.messaging.ServerPeerID=2