9.2 Start and Stop a Target
You can use the start, stop, or kill the Extract or Replicat targets, for which the credentials have been set.
To start, stop, or kill the targets:
- EMCLI Commands on Oracle GoldenGate Targets
Thegg_execute
Verb is used to execute commands on the Oracle GoldenGate Classic as well as Microservices targets.
Parent topic: Monitor
9.2.1 EMCLI Commands on Oracle GoldenGate Targets
The gg_execute
Verb is used to execute commands on the
Oracle GoldenGate Classic as well as Microservices targets.
Syntax
emcli gg_execute -command="<name of the command>" -target_type="<type of the target>" -target_name="<name of the target>" -options=""
- Explanation of the Command
-
- command : Valid values are start, stop, or kill. Based on the command passed, appropriate action is taken on the process.
- target_type: Valid values are either of the
following:
oracle_goldengate_extract
ororacle_goldengate_replicat
. - target_name : Fully qualified name of the process or target as shown in the following example:
- options : It is an optional argument. Currently,
valid for
START
command. For example,-options="ATCSN 12456"
Note:
Before you execute this command, ensure that the preferred credential is already set (either using the UI or the EMCLI, else an error gets displayed when thegg_execute
command is
executed.
Example
emcli gg_execute -command="start" -target_type="oracle_goldengate_extract" -target_name="extract:hostname:port:EOBEY"
Parent topic: Start and Stop a Target