add_cloud_db_target

add_cloud_db_targetを使用すると、Oracle Enterprise ManagerでAutonomous Databaseを検出できます。

書式

emcli add_cloud_db_target
                -name="target_name"
                -type="target_type"
                -host="agent_host"
                -zip_file_location="cred_file_zip_location"
                -credentials="UserName:<db_username>;password:<db_password>;Role:<db_user_role>"
                -wallet_password="wallet_password"
                -service_name="tns_service_name"
                [-is_dedicated="is_dedicated"]
                [-standby_agent_host="standby_agent_host"]

[ ]  indicates that the parameter is optional

オプション

  • -name

    Autonomous Databaseのターゲットの名前。

  • -type

    Autonomous Databaseのタイプ。Autonomous Data Warehouseデータベースのターゲット・タイプ値はoracle_cloud_adwAutonomous Transaction Processingデータベースの値はoracle_cloud_atpです。

  • -host

    Autonomous Databaseを検出するために使用するエージェントがインストールおよび実行されているホスト。

  • -zip_file_location

    Oracle Cloud Infrastructureクライアント資格証明(ウォレット)の.zipファイルの場所。この.zipファイルの場所は、OMSホストからアクセスできる必要があります。

  • -credentials

    ユーザー資格証明を監視します。adbsnmpユーザー・アカウントの使用をお薦めします。ユーザー・アカウントについてを参照してください。

  • -wallet_password

    OCIクライアント資格証明ウォレットのダウンロード時に、Oracle Cloud Infrastructure Consoleで設定されたウォレット・パスワード。

  • -service_name

    Autonomous Databaseの事前定義済データベース・サービス名。lowデータベース・サービスは、デフォルト値であり、モニタリング・タスクと管理タスクを実行します。このlowデータベース・サービスの使用をお薦めします。

    データベース・サービス名の詳細は、検出するAutonomous Databaseのドキュメントの事前定義済データベース・サービス名に関する項を参照してください。

    ノート:

    Oracle Enterprise Managerでは、TLSプロトコルを使用するAutonomous Database (専用)についてはTCPとTCPSの両方をサポートし、TLSプロトコルを使用するAutonomous Database (共有)についてはTCPSのみをサポートします。Autonomous Database (専用)のデフォルトのプロトコルはTCPです。
  • -is_dedicated

    Autonomous Database (専用)の場合はTrue、Autonomous Database (共有)の場合はFalseです。このパラメータに値が指定されていない場合は、Autonomous Database-共有にデフォルト設定されます。
  • -standby_agent_host

    バックアップ・エージェントがインストールされるホスト。プライマリ・エージェントが停止またはクラッシュした場合、バックアップ・エージェントはターゲットを監視します。これはオプションのパラメータです。

この例では、タイプoracle_cloud_adwの新しいクラウド・データベース・ターゲットを追加します。

emcli add_cloud_db_target
                -name="ATPD1"
                -type="oracle_cloud_atp"
                -host="myhostname.example.com"
                -zip_file_location="/u01/oracle/atpd/wallet_ATPD1.zip"
                -credentials="UserName:adbsnmp;password:password;Role:Normal"
                -wallet_password="password"
                -service_name="ATPD1_low"
                -is_dedicated="True"
                -standby_agent_host="standbyhostname.example.com"