macOS

この項では、Oracle Management Agentを設定し、OMAインストーラを使用してmacOSホストにJMSプラグインをデプロイするステップについて説明します。

オンプレミスmacOSへの管理エージェントの手動インストールを参照してください。

ステップ

  1. 圧縮ファイルと構成ファイルを新しいフォルダにコピーします。
  2. 圧縮ファイルを新しいフォルダに解凍します。たとえば、jms_setup_v9.0.57_macos-x86_64.tar.gzを抽出すると、新しいフォルダ内にjms_setup_v9.0.57_macos-x86_64という名前のフォルダが作成されます。
  3. (オプションの診断チェック):
    • JMS_configuration.rspファイルにjms.diagnostic = trueを追加します。
    • ステップ2から抽出したフォルダに移動し、rootユーザーとして./setupJMS.shを実行します。
    オペレーティング・システムおよびエージェント・タイプに応じて、結果は次のようになります。

    診断に失敗しました:

    ======================================================================================================
    Diagnostic Summary
    ======================================================================================================
    User has sudo/root privileges? : Yes
    Certified OS? : Yes
    Meets minimum disk requirements? : Yes
    Meets minimum memory requirements? : Yes
    Able to reach OCI endpoint? : Yes
    Certificate verification has been passed? : Yes
    Is clock sync with OCI platform? : Yes
    Available Java for agent installation ? : Yes
    Management Agent installer available? : No
    	Script JMS_YourFleetName_macos.sh can't find the Management Agent installer /kkk.
    	Check if the path /kkk exists and check the '--use-agent-installer-path' parameter.
    Existing Management Agent has been detected? : No
    ================================================================================
    Diagnostics have failed. Please resolve all issues and run the jms setup installer again.
    Please refer troubleshooting guide https://docs.oracle.com/en-us/iaas/jms/doc/troubleshooting.html for more details.
    
    A copy of this installation log can be found at /Library/Oracle/JMSInstallScript/JMSInstallScriptLogs-<date>.log
    
    診断は正常に完了:
    ======================================================================================================
    Diagnostic Summary
    ======================================================================================================
    User has sudo/root privileges? : Yes
    Meets minimum disk requirements? : Yes
    Meets minimum memory requirements? : Yes
    Able to reach OCI endpoint? : Yes
    Certificate verification has been passed? : Yes
    Is clock sync with OCI platform? : Yes
    Existing Management Agent has been detected? : No
    Available Java for agent installation ? : Yes
    Management Agent installer available? : Yes
    ======================================================================================================
    Diagnostics have finished running and no error occurred.

    診断中にチェックされる条件の完全なリスト、および解決策または推奨事項については、エージェント・インストール診断の実行を参照してください。

  4. ステップ2から抽出したフォルダに移動し、rootユーザーとして./setupJMS.shを実行します。
  5. インストールが完了すると、同様のメッセージが表示されます。
    Verifying status of JMS installation...
    Management Agent installation has been completed with 'Java Management service plugin (Service.plugin.jm)'    
        JMS advanced features will be enabled on this instance.
    Management Agent was successfully registered using key <JMS_YourFleetName>(ocid1.managementagentinstallkey.oc1.iad.<ocid hash>).
    Instance has been assigned to JMS fleet <JMS_YourFleetName>(ocid1.managementagentinstallkey.oc1.iad.<ocid hash>)
    A copy of this installation log can be found at /Library/Oracle/JMSInstallScript/JMSInstallScriptLogs-<date>.log
    Removing the temporary files.
    The JMS installer and configuration file can be removed from the machine.
    /Library/Oracle/JMSInstallScript/JMSInstallerLogs-<date>.log contains the install log.
    Agent is successfully installed and is running.

ログ・ファイルは、/Library/Oracle/JMSInstallScript/ディレクトリにあります。