This content has been marked as final.
Show 1 reply
-
1. Re: Multiple Clusters In Multiple Grid Environments
pjaromin Jun 9, 2004 2:48 PM (in response to jiwils)FWIW, I am in the process of migrating to 3.2.4. I currently use maven to generate our new server instances and have been using token replacement for this particular property up to now.
I've employed a system property strategy (-Dtomcat.id with corresponding edits to the tomcat server.xml file) for the jvmRoute and thought I would test your idea to do the same with the cluster partition name. I made the following edits in my test environment:
in deploy/cluster-service.xml:changed : <attribute name="PartitionName">DefaultPartition</attribute> to: <attribute name="PartitionName">${partition.name}</attribute>
and in deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/META-INF/jboss.webchanged: <cluster-config> <partition-name>DefaultPartition</partition-name> </cluster-config> to: <cluster-config> <partition-name>${partition.name}</partition-name> </cluster-config>
Then I passed in -Dpartition.name to the startup. This had the expected results -- the cluster was setup with the passed in name.
These are the only clustered services installed in my test server, but I assume the same would work for others.