This documentation is for WSO2 API Manager 1.8.0 View documentation for the latest release.
Page Comparison - Publishing API Runtime Statistics (v.31 vs v.32) - API Manager 1.8.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 30

...

  1. Download WSO2 BAM 2.5.0 from location: http://wso2.com/products/business-activity-monitor.
  2. Apply an offset of 3 to the default BAM port by editing the <BAM_HOME>/repository/conf/carbon.xml file.

    Code Block
    languagehtml/xml
    <Offset>3</Offset>

    This increments all ports used by the server by 3, which means the BAM server will run on port 9446. Port offset is used to increment the default port by a given value. It avoids possible port conflicts when multiple WSO2 products run in same host.

  3. Anchor
    point3
    point3
    In <BAM_HOME>/repository/conf/datasources/bam_datasources.xml file, copy/paste WSO2AM_STATS_DB definition from the API Manager's master-datasources.xml file. You edited it in step 2. WSO2AM_STATS_DB is used to fetch analytical data from the database. 

  4. TipTip: If you are running BAM on a different server than the server that the API Manager runs on, add the IP address of the server instead of localhost under the <thriftDataReceiver><hostName> element in the 

    Uncomment the hostName element in <BAM_HOME>/repository/conf/data-bridge/data-bridge-config.xml file and give the IP address instead of localhost.

    Code Block
    languagexml
     <thriftDataReceiver>
        <hostName>
          <!-- Give the BAM host IP -->   
    If you are using BAM 2.4.1 or older, be sure to uncomment this element.
    
        </hostName>
        <port>7611</port>
        <securePort>7711</securePort>
    </thriftDataReceiver>
  5. Open  <BAM_HOME>/repository/conf/etc/hector-config.xml file and change the port to  localhost:9163 . This is because you incremented the BAM port by 3 in step 1.

    Code Block
    languagexml
    <Nodes externalCassandra="false">localhost:9163</Nodes>
  6. Restart BAM server by running <BAM_HOME>/bin/wso2server.[sh/bat].

...