Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

The JMX agent for BAM is used to monitor JMX attributes of a required JMX enabled server (Ex- Carbon based servers) and store the monitored data in BAM. The user can install the JMX agent either on a BAM server or any Carbon based server. The monitored data is sent to the BAM server using the Thrift API of BAM.

...

  1. Download and setup WSO2 BAM or any other server you wish to install the JMX agent in. Installation instructions can be found in respective documentation.

    Info

    In this guide, JMX agent is installed on WSO2 BAM to monitor JMX attributes of BAM server itself and store related data in BAM. Similarly, JMX agent can be installed in any other Carbon-based server and use them to transfer data to WSO2 BAM.

  2. To start the BAM server, execute:
    • on Linux CARBON_HOME/bin/wso2server.sh
    • on MS Windows CARBON_HOME\bin\wso2server.bat
  3. In the management console, select Features under Configure menu. 
  4. In the window that opens, select the Repository Management tab. 
  5. Select a P2 repository either from a URL or a file. You need Carbon 4.0.5 feature repository or an earlier version (http://dist.wso2.org/p2/carbon/releases/4.0.5). Click Add.
     
  6. Navigate to Available Features tab on the same window and select the repository added above. Then click Find Features.  
  7. From the list of features that appears, select BAM JMX Agent Aggregate feature and click Install.
    If you select Group features by category option, the feature appears inside BAM Data Agents as follows:
    Image Modified 
  8. Restart the server. (Shutdown/restart sub menu of the Main menu in the management console).

...