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/
. You can also set multiple secondary agentURLs that are comma separated. For example, the first url in the list that is UP and running will be considered as the primary agentURL and the rest are all secondary URLs. For example,https://phoenix93982.dev3sub2phx.databasede3phx.oraclevcn.com:3872/emd/main/
,https://london57277.dev1sub1lhr.databasede02lhr.oraclevcn.com:3872/emd/main
,https://phoenix95679.dev3sub2phx.databasede3phx.oraclevcn.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.
- host - Hostname of Oracle GoldenGate Service
Manager. For example,
Example
emcli discover_ggma [-configFile="/path/gg_discovery_input_file.properties"] [-debug] [-check]For more information about troubleshooting Discovery-related issues, see Troubleshooting Discovery.