DX Application Performance Management

  • 1.  Installation and configuration of CA APM agent for IHS, Apache and tomcat.

    Posted Nov 30, 2018 08:32 AM

    can someone help me by indicating me how to install and configure an apache, tomcat and IHS agent with CA APM?



  • 2.  Re: Installation and configuration of CA APM agent for IHS, Apache and tomcat.
    Best Answer

    Broadcom Employee
    Posted Nov 30, 2018 08:36 AM


  • 3.  Re: Installation and configuration of CA APM agent for IHS, Apache and tomcat.

    Posted Nov 30, 2018 02:41 PM

    Sergio 

     

    Do you have a simple manual or examples of installation and configuration of a CA APM agent for IHS, apache and tomcat monitoring?

     

    Hervin A.



  • 4.  Re: Installation and configuration of CA APM agent for IHS, Apache and tomcat.

    Broadcom Employee
    Posted Dec 03, 2018 09:19 AM

    Hi Hervin,

     

    Yes, I have created in the past a simple test environment with multiple webservers and install the webserver extension, you can find below my notes but please note that every environment is different, use this information as reference only, for more exact details you should always refer to docops

     

    ++++

    Webserver monitor steps

     

    Option 1) If Agent version = 10.7+

    - Apply pre-requisites in the webserver side, see Install and Configure CA APM for Web Servers - CA Application Performance Management - 10.5 - CA Technologies Documentat… 

    - Download and install Infrastructure Agent from support.ca.com
    - go to \extensions\Webserver-monitor
    - Open config/WebServerConfig.xml
    - add the below webserver configuration

    <WebServer Type="Apache" Enabled="true" ServerURL="http://127.0.0.1:90" DisplayName="Apache-2.2.2" RefreshFrequencyInSeconds="15"/>
    <WebServer Type="Apache:IBM_HTTP_SERVER" Enabled="true" ServerURL="http://127.0.0.1:85" DisplayName="IBM-HTTP 8.5.0" RefreshFrequencyInSeconds="15"/>
    <WebServer Type="Sun-ONE" Enabled="true" ServerURL="http://127.0.0.1:95" DisplayName="Sun-61SP9"/>
    <WebServer Type="Microsoft-IIS" Enabled="true" ServerURL="http://127.0.0.1" DisplayName="IIS-75"/>

    - If IIS, Open IIS\VBScript.bat and update it as below:

    Replace
    cscript /nologo "<path to VBScript>" /output:"<path to publish stats page>" /frequency:15

    With:
    cscript /nologo "C:\Infrastructure-Agent\apmia_<version>\extensions\Webserver-monitor\IIS\PublishIISStats.vbs" /output:"C:\inetpub\wily\iis-stats.html" /frequency:15

     

     

    Option 2) If Agent version = pre-10.7:

    - Apply pre-requisites in the webserver side, see Installing and Configuring CA APM for Web Servers - CA Application Performance Management - 10.3 - CA Technologies Docum… 

    - Download and install Introscope Powerpacks. It is a available from support.ca.com > Introscope Standlone executable package.

    C:\Program Files\CA APM\IntroscopeX.X.X.X\PPWebServers

    - Open config/WebServerConfig.xml
    - add the below webserver configuration

    <WebServer Type="Apache" Enabled="true" ServerURL="http://127.0.0.1:90" DisplayName="Apache-2.2.2" RefreshFrequencyInSeconds="15"/>
    <WebServer Type="Apache:IBM_HTTP_SERVER" Enabled="true" ServerURL="http://127.0.0.1:85" DisplayName="IBM-HTTP 8.5.0" RefreshFrequencyInSeconds="15"/>
    <WebServer Type="Sun-ONE" Enabled="true" ServerURL="http://127.0.0.1:95" DisplayName="Sun-61SP9"/>
    <WebServer Type="Microsoft-IIS" Enabled="true" ServerURL="http://127.0.0.1" DisplayName="IIS-75"/>

    - Open \jsw-3.2.3\conf\wrapper.conf , update the below lines:
    wrapper.java.command=c:\PROGRA~1\Java\jdk1.7.0_25\bin\java

    - (optional) Append the agent version to the below lines:
    wrapper.ntservice.name=PowerPack for Web Servers 10.1.0
    wrapper.ntservice.displayname=PowerPack for Web Servers - Agent 10.1.0

    - Open Command prompt, go to the C:\Program Files\CA APM\Introscope <version>\PPWebServers, execute: RegisterWSService.bat
    In the WSPPService.log, you will see the below line:
    015/03/28 09:39:55 | PowerPack for Web Servers - Agent *** installed.

    - If IIS, Open IIS\VBScript.bat and update it as below:

    Replace
    cscript /nologo "<path to VBScript>" /output:"<path to publish stats page>" /frequency:15

    With:
    cscript /nologo "C:\Program Files\CA APM\Introscope<version>\PPWebServers\IIS\PublishIISStats.vbs" /output:"C:\inetpub\wily\iis-stats.html" /frequency:15

     

     

    Regarding the tomcat agent configuration, it is simple, I suggest you to refer to these links:

     

    Apache Tomcat - CA Application Performance Management - 10.7 - CA Technologies Documentation 

    Configure Apache Tomcat to Use the Java Agent 

     

    I hope this helps,

    Sergio