Author: azeez
Date: Tue Oct 27 18:11:30 2009
New Revision: 830275
URL: http://svn.apache.org/viewvc?rev=830275&view=rev
Log:
Added information about the applicationDomain entry of the dynamic load balance
membership handler.
Modified:
synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml
Modified: synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml?rev=830275&r1=830274&r2=830275&view=diff
==============================================================================
--- synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml (original)
+++ synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml Tue Oct 27 18:11:30
2009
@@ -1382,7 +1382,7 @@
<p>Enable clustering and load balancing in the <Synapse installation
directory>/ repository/conf/axis2.xml file. This can be done by setting the
"enable" attribute of the "cluster" and
"loadBalancer" elements. Also provide the IP address of you machine
as the values of the "mcastBindAddress" and
"localMemberHost" parameters. </p>
<p>Start Synapse with sample configuration 57. (i.e. synapse -sample 57) </p>
<p>Deploy the LoadbalanceFailoverService by switching to <Synapse
installation directory>/samples/axis2Server/src/LoadbalanceFailoverService
directory and running ant. </p>
-<p>Enable clustering in the <Synapse installation
directory>/samples/axis2Server/ repository/conf/axis2.xml file. This can be
done by setting the "enable" attribute of the "cluster"
element. Also provide the IP address of you machine as the values of the
"mcastBindAddress" and "localMemberHost" parameters. Then
Start three instances of sample Axis2 server on HTTP ports 9001, 9002 and 9003
and give some unique names to each server. </p>
+<p>Enable clustering in the <Synapse installation
directory>/samples/axis2Server/ repository/conf/axis2.xml file. This can be
done by setting the "enable" attribute of the "cluster"
element. Also provide the IP address of you machine as the values of the
"mcastBindAddress" and "localMemberHost" parameters. Make
sure that the "applicationDomain" of the membershipHandler is the same as the
domain name specified in the axis2.xml files of the Axis2 servers. Then Start
three instances of sample Axis2 server on HTTP ports 9001, 9002 and 9003 and
give some unique names to each server. </p>
<p>Example commands to run sample Axis2 servers from the <Synapse
installation directory>/samples/axis2Server directory in Linux are listed
below: </p>
<pre xml:space="preserve">./axis2server.sh -http 9001 -https 9005 -name
MyServer1
./axis2server.sh -http 9002 -https 9006 -name MyServer2