IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this forum will no longer be available. More details available on our FAQ.
Topic
  • 7 replies
  • Latest Post - ‏2018-09-17T10:01:24Z by msardana
jungjun.lim
jungjun.lim
1 Post

Pinned topic How could I monitor WebSphere Liberty application on Bluemix with APMSaaS?

‏2017-03-16T06:40:22Z |

Hi all.

We all know there're some monitoring alternatives like Monitoring & Analytics + Availability Monitoring in Bluemix public.

But to perform diagnostics and in-depth analysis for application, currently we should use APMSaaS. - APM advanced.

How could I set up APM advanced for WebSphere Liberty instances? Any documentation?

 

Thank you.

-JJ-

  • CarmelBurgess
    CarmelBurgess
    131 Posts

    Re: How could I monitor WebSphere Liberty application on Bluemix with APMSaaS?

    ‏2017-03-22T14:58:07Z  

    We are checking the documentation around this integration for you and you will have a response soon.

  • RuairiOS
    RuairiOS
    5 Posts

    Re: How could I monitor WebSphere Liberty application on Bluemix with APMSaaS?

    ‏2017-03-28T11:58:52Z  

    Hi Jung Jun,

    Thanks for your query and your patience. With the upcoming SaaS release of APM V. 8.1.3.2., you will be able to monitor your Bluemix-hosted Liberty instances on the APM dashboards. I recommend that you consider this solution when APM V8.1.3.2 is released.

    While monitoring of Bluemix-hosted Liberty apps on APM SaaS 8131 is not officially supported, it is possible to test this function out by following the steps below. This method is for test purposes only. If you want to monitor your production environment, then you must use APM 8.1.3.2 when it is released.

     

    To connect to the IBM Performance Management Cloud service, complete the following steps:
    1. Create a service request for the IBM Performance Management SaaS team to create the Bluemix Integration feature on your IBM Performance Management SaaS server.
    2. If the IBM Performance Management Cloud service runs in HTTPS mode, create the key files for the application. The IBM Performance Management SaaS team can send these files to you.
    3. Save the key file on an HTTP server so that the Monitoring and Analytics service can access it and use it to communicate with the IBM Performance Management SaaS server.

    Ensure that your application is bound to the Monitoring and Analytics service.

     
    Configure the required environmental variables. You can create these environmental variables from the UI or you can use the command line interface. Alternatively, you can modify the manifest file for the application.

    If your IBM Performance Management server is running in http mode, set the following environmental variables.

     

    APM_BM_GATEWAY_URL=<apm_http_address>

    where <apm_http_address> is the address of your IBM Performance Management server. For example:

     

    APM_BM_GATEWAY_URL=https://1.23.456.78.91

     

    If your IBM Performance Management server is running in HTTPS mode, set the following variables:

    APM_BM_GATEWAY_URL=<apm_http_address>
    APM_KEYFILE_URL=http://<http_server>:<http_port>/keyfile.jks

    Where <http_server> and <http_port> are the server name and port number for the HTTP server that you set up in step 3 above.

     

    APM_KEYFILE_PSWD=<password>

    Where <password> is the key file password that the you got from step 2.

    If you change the owner name on your IBM Performance Management server, you also need to add the following variable: APM_SNI=<owner_name>

    For example:
    APM_SNI=default_server
     

    If you have any further questions, please post them here.

    Kind regards,

    Rúairí

    Updated on 2017-03-28T12:28:32Z at 2017-03-28T12:28:32Z by RuairiOS
  • muhansun
    muhansun
    87 Posts

    Re: How could I monitor WebSphere Liberty application on Bluemix with APMSaaS?

    ‏2017-05-11T07:51:20Z  

    Hi Jung Jun,

     

    Since APM (on Cloud) 8.1.3.2 has been released, you can check the formal documentation at https://www.ibm.com/support/knowledgecenter/SSMKFH/com.ibm.apmaas.doc/install/bluemix_liberty_config_dc.htm.

     

    Hope it helps.

  • msardana
    msardana
    4 Posts

    Re: How could I monitor WebSphere Liberty application on Bluemix with APMSaaS?

    ‏2018-09-12T07:51:53Z  
    • muhansun
    • ‏2017-05-11T07:51:20Z

    Hi Jung Jun,

     

    Since APM (on Cloud) 8.1.3.2 has been released, you can check the formal documentation at https://www.ibm.com/support/knowledgecenter/SSMKFH/com.ibm.apmaas.doc/install/bluemix_liberty_config_dc.htm.

     

    Hope it helps.

     From the procedure, It seems like we need to push our own customized liberty server along with the application to integrate APM with bluemix Application ? What if my application is running with liberty build pack available on the PaaS environment. Is there anyway to enable that for the APM integration ?

     

    Thanks

    Manoj

  • bstern
    bstern
    18 Posts

    Re: How could I monitor WebSphere Liberty application on Bluemix with APMSaaS?

    ‏2018-09-12T14:59:07Z  
    • msardana
    • ‏2018-09-12T07:51:53Z

     From the procedure, It seems like we need to push our own customized liberty server along with the application to integrate APM with bluemix Application ? What if my application is running with liberty build pack available on the PaaS environment. Is there anyway to enable that for the APM integration ?

     

    Thanks

    Manoj

    You would need to update your build pack and add in the lightweight Liberty Data Collector.  The Liberty Data Collector has been open sourced and is available on Github, or you can download it via Passport Advantage.

  • msardana
    msardana
    4 Posts

    Re: How could I monitor WebSphere Liberty application on Bluemix with APMSaaS?

    ‏2018-09-13T04:03:32Z  
    • bstern
    • ‏2018-09-12T14:59:07Z

    You would need to update your build pack and add in the lightweight Liberty Data Collector.  The Liberty Data Collector has been open sourced and is available on Github, or you can download it via Passport Advantage.

    Thanks for the quick response. Is there any stats/guidelines on the extra load data collector put on the application. We need to understand if it can be enabled in production. Also is there any configuration which can tweak/enable/disable the data collection in runtime in case we start facing performance issues due to the extra load ?

  • msardana
    msardana
    4 Posts

    Re: How could I monitor WebSphere Liberty application on Bluemix with APMSaaS?

    ‏2018-09-17T10:01:24Z  
    • bstern
    • ‏2018-09-12T14:59:07Z

    You would need to update your build pack and add in the lightweight Liberty Data Collector.  The Liberty Data Collector has been open sourced and is available on Github, or you can download it via Passport Advantage.

    I followed the step mentioned in the below link to configure the data connectors.

    https://www.ibm.com/support/knowledgecenter/SSMKFH/com.ibm.apmaas.doc/install/was_config_liberty_dc_bluemix.htm#was_config_liberty_dc_bluemix

     

    Unfortunately I am not able make it work still. While CF push is successful, application seems like not working at all. On SSHing to the container, all file looks to exist except .gdc directory.  Can you please give example of Entries in bootstrap.properties, jvm.properties and server.env files.