can anyone help me in the issue discribed above ?
Are these the actual IP addresses? If so, it looks like a recipe for routing problems. Can the two boxes "ping" each other?
No, these are not the actual IP addresses.
Yes, both the boxes are able to ping and do telnet to each other without any issue.
Guys, can anyone help with this issue as it seems that starting a cluster in JBoss AS7 is not so easy as it looks or been explained.
Please let me know if I have missed anything from myside? Or is this a Bug?
this is nothing about cluster it is a domain mode issue.
So I suppose you run the domain- and controller on a different machine, right?
You did not change the authentication, so U use the mgmt-users.properties.
add a user (the name must be the name of the host-element of host-contoller) with password.
use bin/add-user.sh script.
security-realm="ManagementRealm"to the <remote host=.. > element
<secret value="<password base 64>"/>
The password that you have given here is for that domain-controller user above and it must be bas64 encoded (find a base64 encoder via google or use 'base64' linux command.
think that's it.
...or you can use just set of standalone servers by running in HA mode:
./bin/standalone.sh -c standalone-ha.xml
The defaults take care of everything.
Something to clarify and avoid that we talk about different issues:
The subject is about cluster and the first post is about domain.
These are two different things!
A domain is a administrative collection of JBoss instances that must have a domain-controller and can have a couple of host-controller (if there are different physical boxes). This will be a new feature of AS7.
Each of such controller might have 0..* server instances which handle application requests.
These server instances might act as cluster but there is no must, all can have different autonomic instances.
A cluster is a collection of JBoss instances that deploy the same bunch of applications and have loadbalancing and share the data.
Such cluster can be achieved by having a number of AS7 standalone server where every instance must be administrated seperate as this is for former JBoss versions.
Or by setting up the new domain.