-
1. Re: Deploying the application in selected nodes in a cluster
brian.stansberry Nov 27, 2007 11:52 AM (in response to vkviswanadh)The farm service won't do this for you. You'd need to do it manually or via a script.
-
2. Re: Deploying the application in selected nodes in a cluster
shoeb1981 Nov 30, 2007 3:03 AM (in response to vkviswanadh)I think you can do that and you can still use farming. In the cluster-config.xml, you will need to change the partition name of Node1 and Node3 to same value. Make sure you don't specify partition name for Node3 (ie. let it use default partition). If you don't want to play with the config files, start JBoss with the partition (see the exact value in manual) name using -D option.
You'll also probably need to create a multicast address and use that address when you are trying to start the jboss server. Check out the arguements that you can use when you start Jboss.
Now Node1 and node3 are the part of partition, so farming will deploy/undeploy ears in that partition only.
Hope that helps -
3. Re: Deploying the application in selected nodes in a cluster
viswanadhvk Dec 11, 2007 11:12 AM (in response to vkviswanadh)Hi Shoeb, thanks a lot for your mail.I am working in JBoss 4.2.1. I didn't find any file called cluster-config.xml and are you mentioning about the file with the name as "cluster-service.xml". If it is so please let me know ,where exactly i need to change in side that.
Thanks!
VVk -
4. Re: Deploying the application in selected nodes in a cluster
viswanadhvk Feb 8, 2008 2:48 PM (in response to vkviswanadh)I have been tring to do what you explained here.
I am using JBoss 4.2.1 server.
As you explained , in jboss there is folder called
all\deploy\cluster-service.xml file. I changed the
attribute called<attribute name="PartitionName">${jboss.partition.name:DefaultPartition}</attribute>
and I created 3 nodes Node1 , Node2 ,Node3
Now I would like to deploy an application in in
Node1,Node2 and not in Node3.
So under Node1\deploy\cluster-service.xml ,I changed
the above said attribute name as<attribute name="PartitionName">${jboss.partition.name:Node1}</attribute>
and also Node2\deploy\cluster-service.xml , I changed
the above said attribute name as<attribute name="PartitionName">${jboss.partition.name:Node1}</attribute>
(** In Node2 also I made it as Node1 as you said.you
said those should be same name).
I didn't changed any thing other than what I said
above.
Now I am trying to deploy the application in all\farm
folder ,so that it has to deploy in Node1,Node2.But
some how it is not deploying in the nodes.