From riftsaw-commits at lists.jboss.org Tue Mar 22 14:19:41 2011 Content-Type: multipart/mixed; boundary="===============3847646239247807949==" MIME-Version: 1.0 From: riftsaw-commits at lists.jboss.org To: riftsaw-commits at lists.jboss.org Subject: [riftsaw-commits] riftsaw SVN: r1323 - trunk/docs/docbook/userguide/src/main/en-US/module. Date: Tue, 22 Mar 2011 14:19:40 -0400 Message-ID: <201103221819.p2MIJeqW008166@svn01.web.mwc.hst.phx2.redhat.com> --===============3847646239247807949== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: objectiser Date: 2011-03-22 14:19:40 -0400 (Tue, 22 Mar 2011) New Revision: 1323 Modified: trunk/docs/docbook/userguide/src/main/en-US/module/clustering.xml Log: Updates to the documentation. Modified: trunk/docs/docbook/userguide/src/main/en-US/module/clustering.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/docs/docbook/userguide/src/main/en-US/module/clustering.xml 2011-= 03-21 05:29:45 UTC (rev 1322) +++ trunk/docs/docbook/userguide/src/main/en-US/module/clustering.xml 2011-= 03-22 18:19:40 UTC (rev 1323) @@ -7,9 +7,15 @@
Overview - In order to make riftsaw to be able to work in a clustering environment= , it has to be configured to a shared database for - all the nodes that among the clustering environment, because riftsaw pe= rsists all of process states into database. For the frontend, - it needs a load balancer to dispatch the soap message into nodes proper= ly.Below is the picture of riftsaw server deployment architecture for clust= ering. + To enable riftsaw to work in a clustered environment, all of the nodes = within the cluster must be + configured to use a shared database. This is to ensure all of the nodes= have access to the + shared information concerning the persistent state of process instances. + + = + + For the cluster to work correctly, it will also be necessary to employ = a load balancer to distribute + the incoming SOAP requests appropriately across all of the nodes in the= server, as shown in the + following diagram. = @@ -21,18 +27,27 @@ Installation = - In the $riftsaw/install folder, if you set the org_jboss_as_c= onfig=3Dall in the deployment.properties, = - it will deployed riftsaw-clustering libraries and files into JBoss AS. I= f you want to deploy the riftsaw clustering feature into other config, say = like you copied 'all' into 'node1', - you can run the following command, (which basically added '-Dclustering.= support=3Dtrue'). + There are two ways to install a clustered version of riftsaw. The first = approach is to simply + set the org_jboss_as_config property in the + ${RiftSaw}/install/deployment.properties file to all + before deploying riftsaw into the JBossAS server. + = - ant deploy -Dclustering.support=3Dtrue + However, if a different JBossAS config profile needs to be used, then it= will be necessary to + explicitly indicating that clustering is required. This is achieved by s= etting the system + property clustering.support to true, e.g. = + ant deploy -Dclustering.support=3Dtrue ....) + + = + - Please be noted that the riftsaw clustering support depends on the JBos= s AS Clustering's HAPartitionService, so please be sur= e that you have this service started if you = - use some customized config for JBoss AS. + The riftsaw clustering support depends on the JBossAS Clustering + HAPartitionService service, so please be sure that= you have this service + started if you use some customized config profile for JBossAS.
@@ -41,18 +56,21 @@ Deployment = - Deploying bpel artifact in clustering environment is different from depl= oying it into a single server. - You have to copy your bpel artifact (say hello_world.jar) into $JBossAS/server/$config (like all)/farm/, = - any artifacts deployed in this folder will be copied into all nodes that= in the clustering environment. + Deploying a BPEL process into a clustered environment is different from = deploying it into a single server. + You have to copy your BPEL artifact (say hello_world.jar) into a farm folder. This is + a special folder that the server uses to share deployable components acr= oss the nodes within the cluster. + For example, the default farm folder in JBossAS is = located here: + ${JBossAS}/server/all/farm. =
- Bpel Process Service Invocation + BPEL Process Service Invocation = - For the bpel service that you deployed in the clustering environment, if= you want to invoke that service, you should be specifying the lo= ad balancer's url - instead of the soap address that you specified in the wsdl file. + When invoking the BPEL service deployed in the clustering environment, y= ou should specify the + load balancer's url instead of the SOAP address spe= cified in the wsdl file. + The load balancer will then take care of deciding which server in the cl= uster to invoke.
= --===============3847646239247807949==--