Slide 69
Slide 69 text
例) APM Javaエージェントのプロビジョニングの実行例
Copyright © 2023, Oracle and/or its affiliates. All rights reserved.
69
[opc@wlsuite14c-wls-0 ~]$ sudo su - oracle
Last login: Tue Jan 4 18:01:04 GMT 2022 on pts/0
[oracle@wlsuite14c-wls-0 ~]$ mkdir /u01/data/domains/wlsuite14c_domain/apm
[oracle@wlsuite14c-wls-0 ~]$ /u01/app/oracle/jdk/bin/java -jar ./apm-java-agent-installer-1.3.1940.jar provision-agent -service-
name=wlsuite14c -destination=/u01/data/domains/wlsuite14c_domain/apm -private-data-key=ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567 -data-
upload-endpoint=https://xxxxxxxxxxxxxxxxxxxx.apm-agt.us-phoenix-1.oci.oraclecloud.com
APM Agent Installer log file can be found at /home/oracle/ApmAgentInstall.log
Action [provision-agent] completed successfully
********************************************
APM Agent has been provisioned successfully. To complete the setup, you need to
modify your destination's appserver startup script so that the APM Agent you
have just deployed can be started. Here is the general information on the
changes.
1. Make a backup copy of your appserver startup script.
2. Edit appserver startup script to add -javaagent argument of APM Agent
bootstrap library to java executable. For example:
java -javaagent:/oracle-apm-agent/bootstrap/ApmAgent.jar ${JAVA_OPTIONS} -cp ... ...
3. Stop and restart your appserver.
Additional configuration such as proxy settings, can be set by editing
/oracle-apm-agent/config//AgentConfig.properties
For more information, see
https://docs.oracle.com/iaas/application-performance-monitoring/doc/deploy-apm-java-agent.html
[oracle@wlsuite14c-wls-0 ~]$