I have singe physical machine that one NIC and I need to setup 3 clusters on the machine for 3 different applications.
My setup is: Linux JBoss 4.0.1SP1 JDK 1.4.2_03 Tomcat 5 My experience with clustering J2EE servers tells me that changing the mcast_addr in the cluster_services.xml and tc5-clustering-service.xml files to be unique to each cluster will separate the clusters and the clustering activity. My example will only use 2 servers since I can not even separate 2 clusters at this point. Server 1 - Cluster 1 cluster-service.xml | <UDP mcast_addr="228.1.2.41" mcast_port="45566" bind_addr="192.168.1.41" | ip_ttl="32" ip_mcast="true" | mcast_send_buf_size="800000" mcast_recv_buf_size="150000" | ucast_send_buf_size="800000" ucast_recv_buf_size="150000" | loopback="false" /> | tc5-cluster-service.xml | <UDP mcast_addr="230.1.2.41" mcast_port="45577" bind_addr="192.168.1.41" | ip_ttl="64" ip_mcast="true" | mcast_send_buf_size="150000" mcast_recv_buf_size="80000" | ucast_send_buf_size="150000" ucast_recv_buf_size="80000" | loopback="false"/> | Server 2 - Cluster 2 cluster-service.xml | <UDP mcast_addr="228.1.2.42" mcast_port="45566" bind_addr="192.168.1.42" | ip_ttl="32" ip_mcast="true" | mcast_send_buf_size="800000" mcast_recv_buf_size="150000" | ucast_send_buf_size="800000" ucast_recv_buf_size="150000" | loopback="false" /> | tc5-cluster-service.xml | <UDP mcast_addr="230.1.2.42" mcast_port="45577" bind_addr="192.168.1.42" | ip_ttl="64" ip_mcast="true" | mcast_send_buf_size="150000" mcast_recv_buf_size="80000" | ucast_send_buf_size="150000" ucast_recv_buf_size="80000" | loopback="false"/> | The results are as follows. The first server comes up no problem and deploys the expected packages in the deploy and farm directories. When I bring up the second server, it joins a cluster with server 1 and picks up all the files in server 1's farm directory. What else do I need to change to have 2 to n clusters on a single machine when each cluster is bound to a different IP address? Thank you in advance for any assistance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871142#3871142 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871142 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
