Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: -DworkorNode=true should not be provided, user APIs will not work

...

  1. 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
    languagehtml/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 to true) 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, keep AutoCommit and AutoCheckout entries as true. For all other nodes, change the AutoCommit entry to false.

  2. 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

...