I suppose that there is no difference between 5.1 and 6.0.
If you have two nodes within the same subnet it should be a cluster by default if you use the 'all' configuration as base.
You should start with 'runn.sh -b <ip bind address> -g <a Partition name> -u <mcast ip>' to build a cluster different to default.
-u is a mcast address 224.x.x.x to 239.x.x.x
-g is a identifier for your cluster
Thanks for your reply. To confirm
Don't i need to do following things for cluster set-up?
1. after installing jboss-6.0.0.Final in two physical linux boxes, copied server/all directory in node1 in BOX1 and server/all directory in node2 in BOX2.
2. edit/add node1/deploy/mod_cluster.sar/META-INF/mod-cluster-jboss-beans.xml with IP address and port.
don't i need to similiar changes for EJB, JNDI, HTTP
The configuration is a bit wrong, because '-g PartitionA' and '-g PartitionB' will form two different clusters.
The -g parameter should be the same for both instances, than the nodes will build a cluster