Javaエージェントディストリビューションのダウンロードと解凍

エージェント ダウンロード ウィザードからエージェントを取得できます。エージェントのインストールが初めての場合は、ウィザードから始めるとよいでしょう。ウィザードにより、ダウンロードするエージェントの構成ファイルがコントローラの接続設定に追加され、エージェントの設定が特定されます。エージェントをダウンロードしたら、そのエージェントを JVM にインストールできます。

その他の方法として、下記の方法でエージェントを手動でダウンロードすることもできます。

  1. Splunk AppDynamics ダウンロードセンター から Java エージェント ZIP ファイルをダウンロード。
  2. JVMの同一ユーザーまたは管理者として、ZIPファイルを宛先ディレクトリに抽出。
    次のことに注意してください:
    • Java エージェントは、コンテナ外のディレクトリまたはアプリケーションサーバーのランタイムディレクトリ(たとえば \usr\local\appdynamics\appagent)に抽出。
    • JVM を実行する際、ユーザがすべてのファイルを読み取れる必要がある。ユーザは Java エージェントホームの conflogs ディレクトリに対して書き込みの権限を持っている必要がある。そのためには、JVM を所有する同一ユーザまたはホストマシンの管理者としてエージェントをインストールする。
    • 同様に、アプリケーションサーバーのランタイムディレクトリもJavaエージェントによる書き込みができる必要がある。
Java エージェントのホームディレクトリのコンテンツに関する情報は、「Javaエージェントディレクトリ構造」を参照してください。

Download and Install the Java Agent from ZIP

You can download the Java agent by using the ZIP file:
  1. Download the Java Agent ZIP file from Splunk AppDynamics Download Center.
  2. Extract the ZIP file to the destination directory as the same user or administrator of the JVM.
    Note the following:
    • Extract the Java Agent to a directory that is outside of your container or application server runtime directories, such as to \usr\local\appdynamics\appagent .
    • All files should be readable by the user under which the JVM runs. The user must have write privileges to the conf and logs directories in the Java Agent home. One way to achieve this is to install the agent as the same user that owns the JVM or as an administrator on the host machine.
    • The Java Agent must have write access to the application server runtime directory.

Download and Install the Java Agent from RPM

You can install the Java agent by using the RPM file:
  1. Download the Java Agent RPM file from the Splunk AppDynamics Downloads portal.
  2. Run the installer using the following command:
    CODE
    yum localinstall <package_name>

Replace <package_name> with the name of the package you downloaded. The Java Agent gets extracted to set to appdynamics/opt/appdynamics/java-agent with the user and group.

For information on the contents of the Java Agent home directory, see Java Agent Directory Structure.