---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/it-operations-management

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Oracle GoldenGate

# Oracle GoldenGate discovery {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 Minuten Lesedauer

The ServiceNow
Discovery and Service Mapping applications find Oracle GoldenGate version 12c components using the Oracle Golden Gate pattern. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

Discovery uses the Oracle Golden Gate pattern to perform
horizontal discovery to collect data into the `$report_file` file. Service Mapping performs top-down discovery on the `$report_file`
file to find outgoing Oracle Golden Gate connections.

The Oracle Golden Gate pattern supports the following platforms: AIX, Linux
Hewlett Packard, and Solaris.

You can use this pattern on the ServiceNow AI Platform using Kingston, London, or Madrid.

## Request apps on the Store {#oracle-golden-gate-discovery__section_gvb_cql_rlb}

Visit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the [ServiceNow Store version history release notes](https://docs.servicenow.com/bundle/store-release-notes/page/release-notes/store/sn-store-release-notes.html).{#oracle-golden-gate-discovery__inline-send-to-store}

## Prerequisites {#oracle-golden-gate-discovery__section_hv3_24j_mgb}

Credentials
:   Configure the SSH credentials, for the operating system of the server that hosts the
    Oracle Golden Gate Server.

User access
:   Give the UNIX OS user permissions to read the
    `$report_file`. The `$report_file` is the report file
    that is extracted from the Oracle Golden Gate
    `manager/replicat/extract` process, with the extension
    `.rpt`. For example:  
    Configuration file:

        /base/ggs_beta/oracle/bt01pims/ggs/dirprm/mgr.prm REPORTFILE 

    Report file:

        /base/ggs_beta/oracle/bt01pims/ggs/dirrpt/MGR.rpt PROCESSID MGR

Permissions to run commands
:   The OS user must have permissions to run the relevant OS commands for each supported
    platform.
:   Give the UNIX OS user permissions to run the following commands
    against the Oracle Golden Gate Server:{#oracle-golden-gate-discovery__table_pw3_lgn_zfb__entry__3}

    | Command | Mandatory/Optional | Description |
    |-|-|-|
    | `$sudo + " ls -d " + $rpt_base_dir + "*.rpt | sort " ` | Mandatory | List all report files under the Oracle Golden Gate report base directory. |
    | `$sudo + " ls -d " + $prm_base_dir + "*.prm| sort " ` | Mandatory | List all parameter files under the Oracle Golden Gate parameter base directory. |
    [ ]

    {#oracle-golden-gate-discovery__table_pw3_lgn_zfb}

Retrieve data
:   Retrieve data by parsing:

    * The Oracle Golden Gate manager report file (report_file) to retrieve related configuration item (CI) names and counter information.
    * Variables in the process command line to retrieve the install folder, manager process name, configuration file, and parameters file.
    * Variables in the Oracle Golden Gate installation folder to retrieve a list of parameter and configuration files.
    {#oracle-golden-gate-discovery__ul_hqw_dxy_dhb}

EVAL closure functions
:   Use the following EVAL closure functions to remove duplicate entries from the extract process and the replicat process.

    * var tableWithoutDuplicates = '';tableWithoutDuplicates = DuplicateRemover.removeDuplicates(${extracts},\["name"\]);CTX.setAttribute("extracts", tableWithoutDuplicates);
    * var tableWithoutDuplicates = '';tableWithoutDuplicates = DuplicateRemover.removeDuplicates(${replicats},\["name"\]);CTX.setAttribute("replicats", tableWithoutDuplicates);
    {#oracle-golden-gate-discovery__ul_a5y_szy_dhb}

    Use the following EVAL closure functions to count the number of extract processes and replicat processes.

        return ${cmdb_ci_appl_ora_gg_replicat[*].config_file}.size()
        return ${cmdb_ci_appl_ora_gg_extract[*].config_file}.size()


    Use the following EVAL closure function to return the privileged command.

        return ${ctx}.getDiscoveryProvider(com.snc.sw.dto.ProviderType.SSH).getPrivilegedCommand();


    Use the following EVAL closure function to return the discovery type.

        ctx.getWork().getDiscoveryType();


    Use the following EVAL closure function to extract the version from the installation directory path if it is empty.

        inst_dir = ${install_directory}if(inst_dir.isEmpty()){return ${version}}if(inst_dir.startsWith('/')){return inst_dir.replaceAll('/.*/','')}if(!inst_dir.startsWith('/') && !inst_dir.isEmpty()){return inst_dir.replaceAll('.*\\\\','')}

Applicative credentials
:
    1. Navigate to DiscoveryCredentials.
    2. Click New.
    3. Click Applicative Credentials.
    4. On the form, fill in the fields.  
       {#oracle-golden-gate-discovery__table_vkj_ft3_hhb__entry__2}

       | Field | Description |
       |-|-|
       | Name | Credential name. An example is oracle_db_user. |
       | Active | Option for enabling this credential for discovery. Select this check box to enable discovery. |
       | Applies to | Credentials that you may or may not want to apply to All MID servers in your network, or to one or more Specific MID servers. Select Specific MID servers. |
       | MID Servers | MID Servers that the credentials apply to. Select the required MID Server. This field appears when Specific MID servers is selected from the Applies to field. |
       | Order | Order in which the platform tries this credential as it attempts to log on to devices. A smaller number indicates that the credential appears higher in the list. Establish the credential order when using large numbers of credentials or when security locks out users after three failed login attempts. If all the credentials have the same order number, or none, the instance tries the credentials in a random order. The default value is 100. |
       | User name | Name of the user of this applicative credential. An example is oracle_db_user. You can use any user for the credential for this pattern, because the information is extracted from a local cache. |
       | Password | Not required. You can leave this field blank or enter any value. |
       | CI type | CI type for which this credential is used: Storage Server \[cmdb_ci_storage_server\]. Hinweis: ServiceNow applications refer to devices and applications that comprise a service instance as configuration items (CIs). |
       [Tabelle : 1. Applicative Credentials form]

       {#oracle-golden-gate-discovery__table_vkj_ft3_hhb}
    5. Click Submit.
    {#oracle-golden-gate-discovery__ol_exd_ljv_2hb}

Entry point

:   For top-down discovery, use the Oracle Golden Gate IP address and
    specify the MID Server.

## Data collected by Discovery during horizontal discovery {#oracle-golden-gate-discovery__section_znx_t1h_vgb}

Discovery uses the Oracle Golden Gate pattern to collect the
data described in the following table.  
{#oracle-golden-gate-discovery__table_j52_1bh_vgb__entry__2}

| Table and field | Description |
|-|-|
| Main CI cmdb_ci_appl_oracle_golden_gate ||
| Name \[name\] | Name of the CI in the CMDB (\<process name\>@\<source db\>). |
| Version \[version\] | Version of the Oracle Golden Gate installation. |
| Source DB \[source_db\] | Manager process source database system identifier (SID). |
| Replicats count \[count_replicat\] | Counter of replicat processes that are managed by the Oracle Golden Gate manager instance. |
| Extracts count \[count_extract\] | Counter of extract processes that are managed by the Oracle Golden Gate manager instance. |
| Configuration file \[config_file\] | Parameter file of the Oracle Golden Gate process. Specify the path to the configuration file and the file name, \<name\>.prm |
| Report File \[report_file\] | Report file of the Oracle Golden Gate process. Specify the path to the report file and the file name, \<name\>.rpt |
| Type \[type\] | Type of the Oracle Golden Gate installation. Specify the Oracle Golden Gate for Oracle technologies. |
| Installation directory \[install_directory\] | Folder that contains all the Oracle Golden Gate setup, configuration, libraries, and executable files. |
| Related CI cmdb_ci_appl_ora_gg_replicat ||
| Name \[name\] | Name of the CI in the CMDB (\<process name\>@\<source db\>). |
| Report file \[report_file\] | Replicat process report file. Specify the path to the report file and the file name \<name\>.rpt |
| Configuration file \[config_file\] | Parameter file of the replicat process. Specify the path to the configuration file and the file name \<name\>.prm |
| Installation directory \[install_directory\] | Folder that contains all the Oracle Golden Gate setup, configuration, libraries, and executable files. |
| Version \[version\] | Version of the Oracle Golden Gate installation. |
| Source DB \[source_db\] | Manager process source database SID. |
| Operational status \[operational_status\] | Operational status of the CI. Select Operational. |
| Related CI cmdb_ci_appl_ora_gg_extract ||
| Name \[name\] | Name of the CI in the CMDB (\<process name\>@\<source db\>). |
| Report File \[report_file\] | Report file of the replicat process. |
| Configuration file \[config_file\] | Parameter file of the extract process. |
| Version \[version\] | Version of the Oracle Golden Gate installation. |
| Installation directory \[install_directory\] | Folder that contains all the Oracle Golden Gate setup, configuration, libraries, and executable files. |
| Source DB \[source_db\] | Manager process source database SID. |
| Operation status \[operational_status\] | Operational status of the CI. Select Operational. |
[ ]

{#oracle-golden-gate-discovery__table_j52_1bh_vgb}  
The Dependency Views map shows discovered load balancer CIs and the relationships between them.  

## CI relationships {#oracle-golden-gate-discovery__section_id1_n2q_vgb}

These relationships are created to support Oracle Golden Gate discovery.  
{#oracle-golden-gate-discovery__table_vkt_ywd_rdb__entry__3}

| CI | Relationship | CI |
|-|-|-|
| Main cmdb_ci_appl_oracle_golden_gate |||
| cmdb_ci_appl_oracle_golden_gate | Manages::Managed by | cmdb_ci_appl_ora_gg_replicat cmdb_ci_appl_ora_gg_extract |
| cmdb_ci_appl_oracle_golden_gate | Runs on::Runs | cmdb_ci_hardware |
| cmdb_ci_appl_oracle_golden_gate | Extends from | cmdb_ci_appl |
| Related CI cmdb_ci_appl_ora_gg_replicat |||
| cmdb_ci_appl_ora_gg_replicat | Managed by::Manages | cmdb_ci_appl_oracle_golden_gate |
| cmdb_ci_appl_ora_gg_replicat | Runs on::Runs | cmdb_ci_hardware |
| cmdb_ci_appl_ora_gg_replicat | Extends from | cmdb_ci_appl |
| Related CI cmdb_ci_appl_ora_gg_extract |||
| cmdb_ci_appl_ora_gg_extract | Managed by::Manages | cmdb_ci_appl_oracle_golden_gate |
| cmdb_ci_appl_ora_gg_extract | Runs on::Runs | cmdb_ci_hardware |
| cmdb_ci_appl_ora_gg_extract | Extends from | cmdb_ci_appl |
[ ]

{#oracle-golden-gate-discovery__table_vkt_ywd_rdb}

## Data collected by Service Mapping during top-down discovery {#oracle-golden-gate-discovery__section_g2q_tk4_vgb}

To discover the Oracle Golden Gate process, use the TCP entry point with the
proper host and port of the Oracle Golden Gate process.  
{#oracle-golden-gate-discovery__table_i4v_1l4_vgb__entry__2}

| Table and field | Description |
|-|-|
| Main CI cmdb_ci_appl_oracle_golden_gate ||
| Name \[name\] | Name of the CI in the CMDB (\<process name\>@\<source db\>). |
| Version \[version\] | Version of the Oracle Golden Gate installation. |
| Installation directory \[install_directory\] | Folder that contains all the Oracle Golden Gate setup, configuration, libraries, and executable files. |
| Configuration file \[config_file\] | Parameter file of the Oracle Golden Gate process. |
| Report file \[report_file\] | Report file of the Oracle Golden Gate replicat process. |
| Source database \[source_db\] | Manager process source database SID. |
| Extract process count \[count_extract\] | Counter of extract processes that are managed by the Oracle Golden Gate manager instance. |
| Replicat process count \[count_replicat\] | Counter of replicat processes that are managed by the Oracle Golden Gate manager instance. |
[ ]

{#oracle-golden-gate-discovery__table_i4v_1l4_vgb}

