- Download WSO2 BAM 2.5.0 from location: http://wso2.com/products/business-activity-monitor.
Apply an offset of 3 to the default BAM port by editing the
Code Block language html/xml
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.
Anchor point3 point3
WSO2AM_STATS_DBdefinition from the API Manager's
master-datasources.xmlfile. You edited it in step 2.
WSO2AM_STATS_DBis used to fetch analytical data from the database.
Uncomment the hostName element in
and give the IP address instead of localhost
Tip: 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
Code Block language xml
<thriftDataReceiver> <hostName> <!-- Give the BAM host IP --> </hostName> <port>7611</port> <securePort>7711</securePort> </thriftDataReceiver>
<BAM_HOME>/repository/conf/etc/hector-config.xmlfile and change the port to localhost:9163 . This is because you incremented the BAM port by 3 in step 1.
Code Block language xml <Nodes externalCassandra="false">localhost:9163</Nodes>
If you are using BAM 2.4.1 or older, be sure to uncomment this element.
Restart BAM server by running