You're going to need 3 partitions -- "Group1", "Group2" and "DefaultPartition" 
(which JBoss provides for you).  Chapter 3 in the Clustering docs explain how 
to configure a partition.  You'd need to deploy your, for example, 
group1-partitiion-service.xml on nodes 1 and 2, and your 
group2-partition-service.xml on nodes 3 and 4.  Farming can't help you with 
this.

You can also create your own separate instance of the farming service that will 
work with your new partitions.  Chapter 7 of the Clustering docs explain how to 
do this.  You'd have a farm service associated with your group1 partition, 
which would look in a directory called, for example, group1-farm for files to 
deploy to its partition.  Equivalent thing for group2.  You'd need to deploy 
your, for example, group1-farm-service.xml on nodes 1 and 2, and your 
group2-farm-service.xml on nodes 3 and 4.  Again, the default farming can't 
help you with this, as you need to restrict deployment to certain nodes.

Once all this is done, you can drop your Group1EJB1 in your group1-farm 
directory and it will be deployed on nodes1 and 2.  Equivalent thing for 
Group1EJB2.  SharedEJB3 is deployed to the standard farm folder.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902648#3902648

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902648


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to