5.2.2 Discovering an Oracle GoldenGate Enterprise Manager Plug-in Microservices Instance using EM CLI

The discover_ggma Verb is used to discover Oracle GoldenGate Microservices targets. Targets discovered using this emcli verb are auto promoted.

For more information about the prerequisites to discover secure Microservices, see Prerequisites to Discover Secure Oracle GoldenGate Microservices Instances.

Syntax

emcli discover_ggma
[-configFile="configFile"]
[-debug]
[-check]
Options
-configFile
Path to the discovery input file. This file contains the following parameters:
  • host - Hostname of Oracle GoldenGate Service Manager. For example, host00smz.us.oracle.com
  • port - Port of Oracle GoldenGate Service Manager.
  • user - Username to connect to Oracle GoldenGate Service Manager. For example, oggmasmusr.
  • password - Password to connect to Oracle GoldenGate Service Manager.
  • agentURL - Enterprise Manager Agent URL. For example, https://host00uaz.us.oracle.com:3872/emd/main/.
  • targetNamePrefix - Enter the target name prefix. For example, test_env_orcl_src. The target name prefix is appended with colon (":") and this gets prefixed to all target names. For example, test_env_orcl_src:targetName. This is an optional field.
-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_ggma
[-configFile="/path/gg_discovery_input_file.properties"]
[-debug]
[-check]
For more information about troubleshooting Discovery-related issues, see Troubleshooting Discovery.