There's no AS 5 replacement for the AS 4 farm service yet. Using scripts to deploy to a cluster is probably your best bet.
The ProfileService exists in AS 5 but the work to do clustered deployment using it remains to be done. JON does not support AS 5 yet.
I'm doing a major overhaul of the docs right now.
How do I specify a specific cluster upon start up? In 4.x I'd specify -g to have different clusters.
If I use the -g option to specify different clusters on AS5, the different servers still locate each other as members of the same cluster.
e.g. on server A
./run.sh -g cluster1
on server B
./run.sh -g cluster2
Server A and B form a cluster, when I did not want/expect that to happen. How do you differentiate the clusters on start up in AS5?
Hmm, that sounds very wrong; using -g should prevent that; if it doesn't it's a bug.
Do all channels form a group, or just some?
In general, using both -u and -g is the best way to isolate clusters. See http://www.jboss.org/community/docs/DOC-12460 and note the need to tweak a file to work around JBAS-6307 that's discussed in the "Isolating Channels in JBoss AS 5" section.
Note also the "Why isn't it sufficient to change the group name?" section on that page which explains why only using -g is not a good idea. That held true for 4.x and 3.x releases as well.
The problem was not specifying the multicast address with the -u option. I thought I remembered reading in the clustering guide that -g was sufficient enough, but that is surely not the case.
I'm not sure on which channels did or did not form a group, but the fact that the multicast address wasn't specified would definitely lead to a problem since that wouldn't be the proper way to start the server in a clustered environment.
Thanks again for your help!