-
1. Re: Deploying to a cluster
brian.stansberry Dec 11, 2008 9:55 PM (in response to jessev)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. -
2. Re: Deploying to a cluster
jessev Dec 15, 2008 2:00 PM (in response to jessev)Thanks Brian.
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?
Thanks again. -
3. Re: Deploying to a cluster
brian.stansberry Dec 15, 2008 2:11 PM (in response to jessev)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. -
4. Re: Deploying to a cluster
brian.stansberry Dec 15, 2008 2:21 PM (in response to jessev)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.
-
5. Re: Deploying to a cluster
jessev Dec 15, 2008 3:46 PM (in response to jessev)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!