Discover Autonomous Databases Using EM CLI

You can discover Autonomous Databases using the Oracle Enterprise Manager Command Line Interface (EM CLI) verb add_cloud_db_target in the Oracle Enterprise Manager 13.3 release with the EM DB Plug-in Bundle Patch 13.3.2.0.190731.

Format

emcli add_cloud_db_target -target_name="<target name>"
      -target_type="<oracle_cloud_atp>" -host="<agent host name>" 
      -zip_file_location="<client credentials wallet .zip file location>"  
      -credentials="UserName:adbsnmp;password:<password>;Role:Normal" 
      -service="<dbname>_tp" -is_dedicated="true" -protocol="tcp"

Options

  • -target_name: Name of the Autonomous Database.
  • -target_type: Type of Autonomous Database. The target type value for Autonomous Transaction Processing – Dedicated database is oracle_cloud_atp.
  • -host: Host on which the agent that you are using to discover the Autonomous Database is installed and running.
  • -zip_file_location: Location of the downloaded client credentials wallet .zip file.
  • -credentials: adbsnmp user credentials.
  • -service: Preconfigured database service name, for example, tp, high, and medium. tp is the default value, for example, <dbname>_tp.
  • -is_dedicated: True if it is a dedicated database.
  • -protocol: Network communication protocol. tcp is the default value. For more information, see About Connecting to an Autonomous Transaction Processing Instance in Using Oracle Autonomous Transaction Processing Dedicated Deployments.

Example

emcli add_cloud_db_target -target_name="emcli_atp" 
      -target_type="oracle_cloud_atp" -host="myhostname.example.com"
      -zip_file_location="/u01/oracle/atpd/wallet_ATPD1.zip"
      -credentials="UserName:adbsnmp;password:adbsnmp;Role:Normal"
      -service="ATPD1_tp" -is_dedicated="true" -protocol="tcp"