How to build clusters in JBoss?
Execute from your jboss bin directory:
$ ./run.sh -c all -g DocsPartition -u 239.255.100.100 -b 192.168.0.101 -Djboss.messaging.ServerPeerID=1
- ./run.sh = the executable
- -c all = use server in jboss_home/server/all directory
- -g DocsPartition = this is the partition name, use whatever but should be the same across nodes
- -u 239.255.100.100 = this is the multicast address, ususally just pick anything in the 239.255.x.y range and you should be ok
- -b 192.168.0.101 = this is the ip of the machine the node is on
- -Djboss.messaging.ServerPeerID=1 = this is the peerid, it must be unique for each node.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.