I'm trying to run two clusters (development / production) on the same network. I've read several suggestions in the forums indicating that I need to change the multi-cast address in cluster-service.xml, ie:
<UDP mcast_addr="184.108.40.206" mcast_port="45566"... to
<UDP mcast_addr="...something else..." ...
this seems easy enough. I was just wondering, is there a way to tell JBoss to grab the value from a System property? I'd like to launch JBoss with, say -Dmcast_addr=... as it would make distinguishing between partitions much easier.
On a related and probably easier note, how do the clients differentiate between the clusters? There's no cluster-service.xml in the client of course, so how do they know which one to use?
Thanks for any help you can offer.
No, there's no system property for mcast_addr. The problem is that a JBoss node can be member of multiple clusters, then you wouldn't be able to use a single system prop.