Running Performance Management release r20.2 and need to know the correct locations Java is installed and runs from on the Performance Management servers.
What is the correct location for Java on Performance Management servers?
All supported Performance Management releases
Other tools or OS installed Oracle Java versions not related to PM are installed.
While the versions of Java will change over time, generally the location we use to install and run it will remain the same.
The following information shows how to to determine:
Any version on the system not utilized by the product can be removed.
NOTE: The following samples are from an r3.7.10 release of Performance Management.
Where is Java installed?
To determine this run "locate -r bin/java$".
Example of the output from each system in Performance Management.
Performance Center:
[root@PC_HOST ~]# locate -r bin/java$
/opt/CA/PerformanceCenter/jre/bin/java
/opt/CA/jre/bin/java
/usr/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre/bin/java
[root@PC_HOST ~]#
Data Aggregator (with or without FT configuration):
[root@DA_HOST ~]# locate -r bin/java$
/opt/IMDataAggregator/jre/bin/java
/usr/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre/bin/java
[root@DA_HOST ~]#
Proxy Host for FT DA configuration:
[root@ProxyHost ~]# locate -r bin/java$
/opt/CA/daproxy/jre/bin/java
/usr/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre/bin/java
[root@ProxyHost ~]#
Data Collector:
[root@DC_HOST ~]# locate -r bin/java$
/opt/CA/IMDataRepository_vertica9/jre/bin/java
/opt/IMDataCollector/jre/bin/java
/usr/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre/bin/java
[root@DC_HOST ~]#
Data Repository:
[root@DR_HOST ~]# locate -r bin/java$
/opt/CA/IMDataRepository_vertica9/jre/bin/java
/usr/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.el7.x86_64/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.el7.x86_64/jre/bin/java
[root@DR_HOST ~]#
What Java versions are installed?
For any bin/java$ file found we should be able to run the following and see the specific version it represents. Run this for each one present on the server.
<PATH>/bin/java -version
Using the above Performance Center output as an example we can see that per the output results it has both Java 1.8.0_222 and Java version 1.8.0_222 present.
[root@PC_HOST ~]# /opt/CA/PerformanceCenter/jre/bin/java -version
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_222-b10)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
[root@PC_HOST ~]# /opt/CA/jre/bin/java -version
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_222-b10)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
[root@PC_HOST ~]# /usr/bin/java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
[root@PC_HOST ~]# /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre/bin/java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
Which Java version is in use by Performance Management system services?
Run the following command to determine the answer to this:
ps -ef | grep bin/java
Here we see sample output, again from Performance Center. We can see where the command indicates it's running out of the /opt/CA/jre/bin/java directory, one installed and owned by the product.
[root@PC_HOST ~]# ps -ef | grep bin/java
root 9178 8991 2 May26 ? 1-11:11:47 /opt/CA/jre/bin/java -Djetty.home=/opt/CA/PerformanceCenter/jetty -Djetty.base=/opt/CA/PerformanceCenter/DM -Djetty.http.port=8481 -XX:MaxMetaspaceSize=256m -Djava.awt.headless=true -Dorg.apache.jasper.compiler.disablejsr199=true -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:+ScavengeBeforeFullGC -XX:+ExplicitGCInvokesConcurrent -Dorg.eclipse.jetty.annotations.maxWait=300 -Djetty.logging.filename=/opt/CA/PerformanceCenter/DM/logs/DMService.log -Dprocess.name=DM -Djdk.tls.rejectClientInitiatedRenegotiation=true -Djdk.tls.ephemeralDHKeySize=matched -Xms256m -Xmx2641m -Djava.library.path=../lib -classpath ../lib/wrapper.jar:/opt/CA/PerformanceCenter/jetty/start.jar -Dwrapper.key=luqlCxyZx0jFRDZ7mjNeeRmeEzaUEsMA -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.disable_console_input=TRUE -Dwrapper.pid=8991 -Dwrapper.version=3.5.27-pro -Dwrapper.native_library=wrapper -Dwrapper.arch=x86 -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1 -Dwrapper.lang.domain=wrapper -Dwrapper.lang.folder=../lang org.tanukisoftware.wrapper.WrapperSimpleApp org.eclipse.jetty.start.Main -XX:-HeapDumpOnOutOfMemoryError
root 9191 8996 0 May26 ? 01:51:48 /opt/CA/jre/bin/java -Djetty.home=/opt/CA/PerformanceCenter/jetty -Djetty.base=/opt/CA/PerformanceCenter/sso -Djetty.http.port=8381 -XX:MaxMetaspaceSize=128m -Dorg.apache.jasper.compiler.disablejsr199=true -Dorg.eclipse.jetty.annotations.maxWait=300 -Djetty.logging.filename=/opt/CA/PerformanceCenter/sso/logs/SSOService.log -Djdk.tls.rejectClientInitiatedRenegotiation=true -Djdk.tls.ephemeralDHKeySize=matched -Xms64m -Xmx512m -Djava.library.path=../lib -classpath ../lib/wrapper.jar:/opt/CA/PerformanceCenter/jetty/start.jar -Dwrapper.key=luqlCxyZx0jFRDZ7mjNeeRmeEzaUEsMA -Dwrapper.port=32001 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.disable_console_input=TRUE -Dwrapper.pid=8996 -Dwrapper.version=3.5.27-pro -Dwrapper.native_library=wrapper -Dwrapper.arch=x86 -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1 -Dwrapper.lang.domain=wrapper -Dwrapper.lang.folder=../lang org.tanukisoftware.wrapper.WrapperSimpleApp org.eclipse.jetty.start.Main -XX:-HeapDumpOnOutOfMemoryError
root 15959 15921 6 May26 ? 4-04:09:48 /opt/CA/jre/bin/java -Djetty.home=/opt/CA/PerformanceCenter/jetty -Djetty.base=/opt/CA/PerformanceCenter/PC -Djetty.http.port=8181 -XX:MaxMetaspaceSize=256m -Djava.awt.headless=true -Dorg.apache.jasper.compiler.disablejsr199=true -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:+ScavengeBeforeFullGC -XX:+ExplicitGCInvokesConcurrent -Dorg.eclipse.jetty.annotations.maxWait=300 -Djetty.logging.filename=/opt/CA/PerformanceCenter/PC/logs/PCService.log -Dprocess.name=PC -Djdk.tls.rejectClientInitiatedRenegotiation=true -Djdk.tls.ephemeralDHKeySize=matched -Xms256m -Xmx2641m -Djava.library.path=../lib -classpath ../lib/wrapper.jar:/opt/CA/PerformanceCenter/jetty/start.jar -Dwrapper.key=10JenxQ-WU7F_oafsBiaIQ0pOuSDJboR -Dwrapper.port=32003 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.disable_console_input=TRUE -Dwrapper.pid=15921 -Dwrapper.version=3.5.27-pro -Dwrapper.native_library=wrapper -Dwrapper.arch=x86 -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1 -Dwrapper.lang.domain=wrapper -Dwrapper.lang.folder=../lang org.tanukisoftware.wrapper.WrapperSimpleApp org.eclipse.jetty.start.Main -XX:-HeapDumpOnOutOfMemoryError
root 103634 103631 0 May29 ? 03:26:32 /opt/CA/jre/bin/java -Djetty.home=/opt/CA/PerformanceCenter/jetty -Djetty.base=/opt/CA/PerformanceCenter/EM -Djetty.http.port=8281 -XX:MaxMetaspaceSize=256m -Djava.awt.headless=true -Dorg.apache.jasper.compiler.disablejsr199=true -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:+ScavengeBeforeFullGC -XX:+ExplicitGCInvokesConcurrent -Dorg.eclipse.jetty.annotations.maxWait=300 -Djetty.logging.filename=/opt/CA/PerformanceCenter/EM/logs/EMService.log -Dprocess.name=EM -Djdk.tls.rejectClientInitiatedRenegotiation=true -Djdk.tls.ephemeralDHKeySize=matched -Xms256m -Xmx3962m -Djava.library.path=../lib -classpath ../lib/wrapper.jar:/opt/CA/PerformanceCenter/jetty/start.jar -Dwrapper.key=7BtCd6C7GQEwICjHu1Q3EPc430afWerd -Dwrapper.port=32002 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.disable_console_input=TRUE -Dwrapper.pid=103631 -Dwrapper.version=3.5.27-pro -Dwrapper.native_library=wrapper -Dwrapper.arch=x86 -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1 -Dwrapper.lang.domain=wrapper -Dwrapper.lang.folder=../lang org.tanukisoftware.wrapper.WrapperSimpleApp org.eclipse.jetty.start.Main -XX:-HeapDumpOnOutOfMemoryError
As of release r3.7.3 we no longer install or utilize Oracle Java versions. We only use OpenJDK Open Source based Java releases.