5.2.1 Discovering an Oracle GoldenGate Enterprise Manager Plug-in Classic Instance using EM CLI

The discover_gg Verb is used to discover Oracle GoldenGate Classic targets.

Syntax

emcli discover_gg
[-configFile="configFile"]
[-debug]
[-check]
Options
-configFile
Path to the discovery input file. Ensure that this file contains the following parameters:
  • host - Hostname of Oracle GoldenGate Monitor Agent. For example, host00uaz.us.oracle.com.
  • port - Port of Oracle GoldenGate Monitor Agent. For example, 5559.
  • user - Username to connect to Oracle GoldenGate Monitor Agent. For example, oggmajmxusr.
  • password - Password to connect to Oracle GoldenGate Monitor Agent.
  • agentURL - Enterprise Manager Agent URL. For example, https://host00uaz.us.oracle.com:3872/emd/main/.
-debug
Runs the verb in verbose mode for debugging purposes.
-check
Runs discovery and displays the results. This does not add the targets.
Exit Codes
  • 0 - On success
  • Non-zero value - Verb processing was not successful.

Example

emcli discover_gg
-configFile="/scratch/input.conf"
-debug
-check