OCIとオンプレミスのWindows
この項では、Oracle Management Agentを設定し、インストール・スクリプトを使用してOCIまたはオンプレミスのWindowsホストにJMSプラグインをデプロイするステップについて説明します。JMSフリートは、OCI Windows用のOracle Cloud Agentをサポートしていないため、スクリプトはすべてのWindowsプラットフォームにOMAをインストールします。
前提条件:
管理者権限でインストール・スクリプトを実行します。
ノート
デフォルトでは、インストール・スクリプトは次のようになります。
- WebLogicやTomcatなどのアプリケーション・サーバーで実行されているアプリケーションをより適切に識別するために
user.name
プロパティを収集する追加機能を使用して、使用状況トラッカを生成します。この機能を有効にしない場合は、インストール・スクリプトのパラメータ--enable-user-name=false
を更新します。将来、Java Usage Trackerプロパティ・ファイルを変更して、additionalProperties
セクションにuser.name
を追加または削除できます。 - JMSの低いテレメトリ頻度構成でエージェントをインストールします。
Windows 64ビット・システムでは、JMSの低いテレメトリ頻度ではなく、MACSのデフォルトのテレメトリ頻度を使用するオプションがあります。インストール・スクリプトで、パラメータ
low-telemetry-interval
の値をfalse
に変更します。デフォルト値はtrue
です。 OVERRIDE_VERSION_CHECK
環境変数が存在しない場合は作成し、Windows 10インスタンスでtrue
に設定して、管理エージェント・サービスのバージョン・チェックをオーバーライドします。管理エージェント・サービスは、Windows 10プラットフォーム上のJava管理サービスのみをサポートします。
--help
コマンドを実行して、ユーザー名、プロキシ設定の有効化または無効化などのオプションの説明を表示します。
-u, --uninstall Uninstall plug-ins, delete configuration files or restore originals from backups and exit.
-r, --reinstall Uninstall plug-ins, delete configuration files or restore originals from backups and continue installation.
-h, --help Print usage message end exit.
--diagnostic Determines if prerequisite conditions are met on the host machine to allow for successful agent installation or upgradation, and plug-in deployment.
Installation attempt will be skipped.
--enable-user-name Generate usage tracker with additional functionality to collect the 'user.name' property for better identification
of applications running on Application Servers like WebLogic and Tomcat servers.
Default value is 'true'.
--force-32bit-installer Force 32 bit Management Agent installation. Use this parameter to monitor a 32 bit Windows instance.
--ignore-unsupported The setup will proceed on an unsupported platform.
Installation might be successful, but not all functionality might work as intended.
--proxy-host Add proxy host to curl commands, add or replace line 'ProxyHost = VALUE' in install key before Management Agent setup.
Format is --proxy-host="VALUE" (for example, --proxy-host="100.0.0.10").
Default is no proxy.
--proxy-port Add proxy port to curl commands, add or replace line 'ProxyPort = VALUE' in install key before Management Agent setup.
Format is --proxy-port="VALUE" (for example, --proxy-port="8050").
--proxy-password Add proxy password to curl commands, add or replace line 'ProxyPassword = VALUE' in install key before Management Agent setup.
Format is --proxy-password="VALUE" (for example, --proxy-password="example").
--proxy-realm Add or replace line 'ProxyRealm = VALUE' in install key before Management Agent setup.
Format is --proxy-realm="VALUE" (for example, --proxy-realm="OC1").
--proxy-user Add proxy user to curl commands, add or replace line 'ProxyUser = VALUE' in install key before Management Agent setup.
Format is --proxy-user="VALUE" (for example, --proxy-user="opc").
--use-agent-installer-path Path to management agent installation file if it isn't in the same folder as the install script.
--use-java-path Specify the Oracle Java 8 installation path for agent installation;
if the path is not specified, the script will attempt to find a suitable Oracle Java 8 installation path from the file system.
Format is --use-java-path={CUSTOM_PATH}(for example, --use-java-path="C:\Program Files\Java\jdk1.8.0_361").
--low-metrics-frequency Installs the agent with low frequency telemetry configuration instead of MACS default frequency.
Default value is 'true'. Applicable on Windows 64 bit instances only.
--use-agent-display-name Specify the name to be displayed on the MACS console of your Management Agent.
If the name is not specified, the script will generate the name automatically.
ステップ
ログ・ファイルは、
C:\Oracle\mgmt_agent\plugins\jm\stateDir\log
ディレクトリにあります。