Hi All,
I tested the clustering functionality in the following way: Deployed the SA given in example in 'http://servicemix.apache.org/25-beginner-deploying-the-service-assembly.html' on both the cluster instances. I have used a single 'poller,sender' flesystem by making it a shared folder. I have changed the poller and sender endpoints in 'tutorial-file-su\src\main\resources\xbean.xml' on one of the instances to point to the shared folder. Now, when I put 6 files in the poller folder, some of the files are being processed by one service instance and others by the remote service instance. This indicates that load is being shared but it is not always happening in a round-robin fashion i.e.,equal load sharing. Does anyone know if there is any configuration necessary for doing this? Thanks, Deepika Deepika G wrote: > > > Thanks Gert. Is there any specific example in the Servicemix documentation > for this? > Also, was the configuration change I made in the <amq:networkConnectors> > tag enough for clustering to work or more changes are required? > > Thanks, > Deepika > > > Gert Vanthienen wrote: >> >> L.S., >> >> I guess the fastest way to test this would be by deploying a SA with >> an endpoint on one of the nodes and then try to send an exchange from >> a SA on the other cluster node. >> >> Regards, >> >> Gert Vanthienen >> ------------------------ >> Open Source SOA: http://fusesource.com >> Blog: http://gertvanthienen.blogspot.com/ >> >> >> >> On 15 February 2010 08:30, Deepika G <[email protected]> wrote: >>> >>> Hi All, >>> >>> I am running ServiceMix Version 3.3.1 on Windows. I have used the >>> information on 'http://servicemix.apache.org/clustering.html' to set up >>> clustering. >>> Now I have two servicemix instances running on two different windows >>> servers, the change I have done(according to the link) to the >>> 'servicemix >>> install dir\conf\activemq.xml' is to add below line in >>> <amq:networkConnectors>: >>> >>> <amq:networkConnector name="host1_to_host2" >>> uri="static://(tcp://10.11.20.198:61616)"/> >>> (10.11.20.198 is the host2, I have similar line in the 'activemq.xml' on >>> 10.11.20.198 that has the host1's ip which is 10.11.20.135). >>> >>> Both the servicemix instances are up and running. How do I test if >>> clustering is working? Are there any other changes required? >>> >>> Thanks, >>> Deepika >>> -- >>> View this message in context: >>> http://old.nabble.com/How-to-test-servicemix-cluster-functionality-tp27590319p27590319.html >>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>> >>> >> >> >> ----- >> --- >> Gert Vanthienen >> http://gertvanthienen.blogspot.com >> > > -- View this message in context: http://old.nabble.com/How-to-test-servicemix-cluster-functionality-tp27590319p27623142.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
