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 "IntroscopeStandaloneAgentPP126.96.36.199unix.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.
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.
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.
How to do this "just export the Java path to PATH as JAVAHOME before you run the installer"
See How to permanently set environmental variables - Unix & Linux Stack Exchange
as an example of exporting environment variables
Shall I install CA APM for WebServer using the standalone agent "IntroscopeStandaloneAgentPP188.8.131.52unix.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?
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.
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?
10(actual URL) * 4(servers) = 40 actual URL's?
You monitor each real server's status page.
What is real server's status page?
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.
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.
Load Balancer URLs:
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"/>
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
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.
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.
Thanks for the reply. I did the changes like below and I am able to get the Performance metrics.
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.
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.