Running servers in a cluster when started in standalone mode in EAP 6

Solution Verified - Updated -

Issue

  • Running servers in a cluster when started in standalone mode
  • Running multiple clusters on single machine when started in standalone mode
  • How to set up a cluster in EAP 6 using standalone mode ?
  • How to set up a standalone-based cluster in EAP 6?
  • We are migrating our application from jboss eap 5 to eap 6.2 . Our application works in clustered environment by using Jgroups to distribute work on another node.
    • I'm attempting to set up clustering in standalone-ha.xml file. Although I can get each server to start, it seems as though the cluster is not working. Do you have an example standalone-ha.xml file I can reference in setting up the cluster. It's a two system cluster.
  • We need your assistance to configure cluster environment.
    Previously, in jboss eap 5 we had used the following command for two node cluster
./run.sh -c production -b machine1  -Djboss.messaging.ServerPeerID=0 -Djboss.service.binding.set=ports-default -u 230.1.202.124  -g BasePartition 

./run.sh -c production -b machine2 -Djboss.messaging.ServerPeerID=0 -Djboss.service.binding.set=ports-default -u 230.1.202.124  -g BasePartition

Please assist us , how can we make cluster in jboss eap 6.2 .
As we mentioned earlier , in our application we use jgroups to distribute work on another node .

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content