DX Application Performance Management

Expand all | Collapse all

CA APM for Webservers - Apache

  • 1.  CA APM for Webservers - Apache

    Posted 02-09-2016 05:00 PM

    Hi All,

     

    I have a requirement to install ca wily agent in linux server with apache web server instance. I tried to install CA APM for WebServer using the standalone agent "IntroscopeStandaloneAgentPP9.5.0.0unix.bin" but I end up with the below error message.

     

    Preparing to install...

    Extracting the installation resources from the installer archive...

    Configuring the installer for this system's environment...

    No Java virtual machine could be found from your PATH environment variable.  You must install a VM prior to running this program.

     

    I guess there is no JVM in these servers. Any advice will be helpful to overcome this issue.

     

    Note: We have CA APM 9.5 MOM and 4 Collectors in Linux environment.

     

    Thanks,

     

    Best Regards,

    Thamil



  • 2.  Re: CA APM for Webservers - Apache

    Posted 02-09-2016 05:11 PM

    Hi Thamil,

    As the message says there is a explicit requirement for the JRE to be installed on the server where you are installing the powerpack both to install as well as run it later on.

    Please deploy a 1.6 Oracle JRE on the system and make sure it's on the system PATH and then re run the installer to address this issue.

     

    Regards,

    Kulbir.



  • 3.  Re: CA APM for Webservers - Apache

    Posted 02-09-2016 05:13 PM

    If, for some reason, that you do not in fact have Java installed on your Linux server you can run CA APM for Web Servers from any host that does. This agent is designed to run remotely to connect to your web servers to fetch data.

     

    If you do have Java installed, just export the Java path to PATH as JAVAHOME before you run the installer.



  • 4.  Re: CA APM for Webservers - Apache

    Posted 02-09-2016 05:17 PM

    Hi Davis,

     

    How to do this "just export the Java path to PATH as JAVAHOME before you run the installer"

     

    Regards,

    Thamil



  • 5.  Re: CA APM for Webservers - Apache

    Posted 02-09-2016 05:24 PM

    See How to permanently set environmental variables - Unix & Linux Stack Exchange  

     

    as an example of exporting environment variables



  • 6.  Re: CA APM for Webservers - Apache

    Posted 02-09-2016 05:36 PM

    Shall I install CA APM for WebServer using the standalone agent "IntroscopeStandaloneAgentPP9.5.0.0unix.bin" in my APM server itself where I have the MOM and collectors. From there I can configure the webserver details in WebServerConfig.xml file. Will it work?



  • 7.  Re: CA APM for Webservers - Apache

    Posted 02-09-2016 08:03 PM

    You can install on any Linux machine as long as it has java and there is a route to the server where your web server is located.



  • 8.  Re: CA APM for Webservers - Apache

    Posted 02-17-2016 03:21 PM

    Thank You all. I have installed the APM Web-server and configured the Apache web-server URL's

     

    Now I have a different question. They have 10 sites with different URLs hosted in 4 servers and using loadbalancer URL. My question is "what URL I need to use in WebServerConfig.xml to monitor the Apache performance metrics" What is the correct and best way to get the deep analysis metrics.

     

    10 loadbalancer URL?

    (or)

    10(actual URL) * 4(servers) = 40 actual URL's?

     

    Please confirm!



  • 9.  Re: CA APM for Webservers - Apache

    Posted 02-17-2016 03:24 PM

    You monitor each real server's status page.



  • 10.  Re: CA APM for Webservers - Apache

    Posted 02-17-2016 03:33 PM

    Hi Davis,

     

    What is real server's status page?



  • 11.  Re: CA APM for Webservers - Apache

    Posted 02-17-2016 03:38 PM

    One each Web server, you need to configure them to display the status or extended status as directed in the guide. Once completed, you to configure the Web server agent to poll each server's status and report the data.



  • 12.  Re: CA APM for Webservers - Apache

    Posted 02-17-2016 03:55 PM

    Yes I did this step already "You need to configure them to display the status or extended status as directed in the guide".

    what URLs I need to provide in WebServerConfig.xml. That is my question. As I mentioned earlier they have a loadbalancer URL for 10 sites.

     

    For example:

    Load Balancer URLs:

    http://ABCDEX-wet.COM

    http://ABCDEX-jet.COM

    http://ABCDEX-met.COM

    ....

     

    Individual URLs:

    Server1

    http://ABCDEX-wet.prod1.com

    http://ABCDEX-jet.prod1.com

    http://ABCDEX-met.prod1.com

     

    Server2

    http://ABCDEX-wet.prod2.com

    http://ABCDEX-jet.prod2.com

    http://ABCDEX-met.prod2.com

     

    Same for Server3 and Server 4.

     

    Now tell me what URL I need to provide in WebServerConfig.xml with the above example.

     

    <WebServer Type="Apache" Enabled="true" ServerURL="???" DisplayName="ABCDEX-WET" RefreshFrequencyInSeconds="30"/>

     

    Thank You!



  • 13.  Re: CA APM for Webservers - Apache

    Posted 02-18-2016 11:16 AM

    Hi Thamil,

     

    10(actual URL) * 4(servers)

     

    When you say each server serves 10 URL, that does mean you have single apache server serving 10 application URL's?

     

    If this is the case, then you are not monitoring applications hosted on web servers. This monitors the status of webservers. So you need to configure like below

     

    ServerURL="http://<apache_server_ip>:80"

     

    Likewise you should configure for other three servers.

     

    And I hope you should have configured server-status page for these apache servers to pull the statistics.

    Let me know how it goes.

     

    Thanks,

    Karthik



  • 14.  Re: CA APM for Webservers - Apache

    Posted 02-18-2016 11:52 AM

    Karthik is right. The agent does not care about your sites. It only cares about the web server. One configuration per physical web server, not per site.



  • 15.  Re: CA APM for Webservers - Apache

    Posted 02-18-2016 12:23 PM

    Hi Karthik,

     

    Thanks for the reply. I did the changes like below and I am able to get the Performance metrics.

     

    ServerURL="http://<apache_server_ip>:80"

     

    Can you clarify what is the difference if I use the application URL vs the Apache server:80. Why because I am getting metrics for the both the configurations. I just want to confirm whether AM I pulling the correct data which helps the application team to monitor the Apache performance.

     

    Thank You!

     

    Best Regards,

    Thamil



  • 16.  Re: CA APM for Webservers - Apache

    Posted 02-19-2016 05:55 AM

    Hi Thamil,

     

    I am surprised when you say you get metrics for application URL's. so in that case those URL's mght be redirecting to port 80 of apache server.

     

    The agent is designed to pull performance metrics of web servers not the applications(URL's) hosted on it. So when you configure apache_server:80, you are pulling web server performance and availability metrics which you are doing in right way.

     

    Thanks,

    Karthik