...
Deploy artifacts to each product deployment location (
<BPS_HOME>/repository/deployment/....
) by either manually copying the artifacts or using Deployment Synchronizer. On each BPS node, open<BPS_HOME>/repository/conf/carbon.xml
and install SVNKit (svnClientBundle-1.0.0.jar
) from http://dist.wso2.org/tools/svnClientBundle-1.0.0.jar to the<BPS_HOME>/repository/
components/dropins
folder.If you want automatic deployment of artifacts across the cluster nodes, you can enable the deployment synchronizer feature in the carbon.xml file.
Code Block language html/xml <DeploymentSynchronizer> <Enabled>true</Enabled> <AutoCommit>true</AutoCommit> <AutoCheckout>true</AutoCheckout> <RepositoryType>svn</RepositoryType> <SvnUrl>http://10.100.3.115/svn/repos/as</SvnUrl> <SvnUser>wso2</SvnUser> <SvnPassword>wso2123</SvnPassword> <SvnUrlAppendTenantId>true</SvnUrlAppendTenantId> </DeploymentSynchronizer>
Deployment synchronizer functions by committing the artifacts to the configured SVN location from one node (the node with
AutoCommit
option set totrue
) and sending cluster messages to all other nodes about the addition/change of the artifact. When the cluster message is received, all other nodes will do an SVN update resulting in obtaining the changes to relevant deployment directories. Now the server will automatically deploy these artifacts. For the master node, keepAutoCommit
andAutoCheckout
entries astrue
. For all other nodes, change theAutoCommit
entry tofalse
.Start the BPS nodes. Use the following if your nodes are worker nodes:
Code Block sh <BPS_HOME>/bin/wso2server.sh -DworkerNode=true
Performance tuning in the BPS cluster
...