2 Installing Oracle GoldenGate Classic Architecture
This chapter explains how to install Oracle GoldenGate Classic Architecture with various supported databases.
For installation prerequisites specific to your database, see Database Requirements.
Topics:
Installing Classic Oracle GoldenGate for Oracle Database
Learn how to install the Oracle GoldenGate Classic Architecture for Oracle Database for the first time.
Installing Oracle GoldenGate installs all of the components that are required to run and manage the processing (excluding any components required from other vendors, such as drivers or libraries) and it installs the Oracle GoldenGate utilities.
- Performing an Interactive Installation with OUI
- Performing a Silent Installation with OUI
- Specifying a Custom Manager Name for Windows
- Installing Manager as a Windows Service
Parent topic: Installing Oracle GoldenGate Classic Architecture
Performing an Interactive Installation with OUI
The interactive installation provides a graphical user interface that prompts for the required installation information. These instructions apply to new installations as well as upgrades. However, to perform an upgrade to Oracle GoldenGate, follow the instructions in Upgrading Oracle GoldenGate, which includes a prompt to run OUI at the appropriate time.
Parent topic: Installing Classic Oracle GoldenGate for Oracle Database
Performing a Silent Installation with OUI
These instructions apply to new installations, as well as upgrades.
You can perform a silent installation from the command console if the system has no X-Windows interface or to perform an automated installation. Silent installations can ensure that multiple users in your organization use the same installation options when they install your Oracle products.
You perform a silent installation by running a response file. You can create a response file by selecting the Save Response File option during an interactive OUI session or by editing a template.
- To run a response file, use the following command:
runInstaller -silent -nowait -responseFile absolute_path_to_response_fileThe response files and the template are stored in the response subdirectory of the Oracle GoldenGate installation directory. The Oracle GoldenGate response file contains a standard set of Oracle configuration parameters in addition to parameters that are specific to Oracle GoldenGate. These parameters correspond to the fields in the interactive session.
Note:
If you are upgrading an existing Oracle GoldenGate installation with the silent option, then you might get the following warning:
WARNING:OUI-10030:You have specified a non-empty directory to install this product. It is recommended to specify either an empty or a non-existent directory. You may, however, choose to ignore this message if the directory contains Operating System generated files or subdirectories like lost+found. Do you want to proceed with installation in this Oracle Home?
- Press ENTER to continue.
Parent topic: Installing Classic Oracle GoldenGate for Oracle Database
Specifying a Custom Manager Name for Windows
If you plan to install the Manager process as a Windows service and either of the following is true, then you must specify a custom name for the Manager service:
-
You are installing the Manager as a Windows service and want to use a service name other then the default, which is
GGSMGR. -
You want to have multiple Manager processes running as Windows services on this system. Each Manager service on a system must have a unique name.
To specify a custom Manager service name:
-
From the Oracle GoldenGate installation directory, run
ggsci.exefrom the Oracle GoldenGate directory. -
Issue the following command:
EDIT PARAMS ./GLOBALS
Note:
The
./portion of this command must be used, because theGLOBALSfile must reside at the root of the Oracle GoldenGate installation file. -
In the file, add the following line, where
nameis a unique, one-word name for the Manager service.MGRSERVNAMEname -
Save the file. The file is saved automatically with the name
GLOBALS, but without a file extension. Do not move this file because it is used during installation of the Windows service and during data processing.
Parent topic: Installing Classic Oracle GoldenGate for Oracle Database
Installing Manager as a Windows Service
By default, Manager is not installed as a service and can be run by a local or domain account. However, when run this way, Manager will stop when the user logs out. When you install Manager as a service, you can operate it independently of user connections, and you can configure it to start manually or at system startup.
Installing Manager as a service is required on a Windows Cluster, but optional otherwise.
To install Manager as a Windows service:
-
Click Start, then Run, and then type
cmdin the Run dialog box. -
Go to the directory that contains the Manager program that you are installing as a service, then run the
INSTALLutility with the following syntax:installoption[...]Where
optionis one of the following:Table 2-1 INSTALL Utility Options
Option Description ADDEVENTSAdds Oracle GoldenGate events to the Windows Event Manager.
ADDSERVICEAdds Manager as a service with the name that is specified with theMGRSERVNAMEparameter in theGLOBALSfile, if one exists, or theGGSMGRdefault. TheADDSERVICEconfigures the service to run as the Local System account, the standard for most Windows applications because the service can be run independently of user logins and password changes. To run Manager as a specific account, use theUSERandPASSWORDoptions.Note:
A user account can be changed by selecting the Properties action from the Services applet of the Windows Control Panel.The service is installed to start at system boot time (see
AUTOSTART). To start it after installation, either reboot the system or start the service manually from the Services applet in the Control Panel.AUTOSTARTSets the service that is created with
ADDSERVICEto start at system boot time. This is the default unlessMANUALSTARTis used.MANUALSTARTSets the service that is created with
ADDSERVICEto start manually through GGSCI, a script, or the Services applet in the Control Panel. The default isAUTOSTART.USERnameSpecifies a domain user account that executes Manager. For the
name, include the domain name, a backward slash, and the user name, for exampleHEADQT\GGSMGR.By default, the Manager service is installed to use the Local System account.
PASSWORDpasswordSpecifies the password for the user that is specified with
USER. -
If Windows User Account Control (UAC) is enabled, you are prompted to allow or deny the program access to the computer. Select Allow to enable the
INSTALLutility to run.The
INSTALLutility installs the Manager service with a local system account running with administrator privileges. No further UAC prompts will be encountered when running Manager if installed as a service.
Note:
If Manager is not installed as a service, Oracle GoldenGate users will receive a UAC prompt to confirm the elevation of privileges for Manager when it is started from the GGSCI command prompt. Running other Oracle GoldenGate programs also returns a prompt.
Parent topic: Installing Classic Oracle GoldenGate for Oracle Database
Installing Oracle GoldenGate Classic Architecture for Non-Oracle Databases
Before beginning installation, see the Database Requirements relevant for your database.
-
Copy the Oracle GoldenGate installation file to the system and directory where you want to install Oracle GoldenGate, and then unzip it.
Note:
The installation path cannot contain any spaces.
-
Create a GLOBALS file (all CAPS and no file extension) in the Oracle GoldenGate installation directory. Edit this file to include the
GGSCHEMAparameter, providing a valid schema name that exists in the database. The GLOBALS file andGGCHEMAparameter are used by most Oracle GoldenGate installations and is necessary when Oracle GoldenGate objects are created in the database. The value ofGGSCHEMAshould be a dedicated schema only used by Oracle GoldenGate processes.Here's a sample of the GLOBALS file:GGSCHMA schema_name -
From this directory, run GGSCI. For Linux and UNIX, open a command shell to run
ggsci.sh.For Windows, it may be necessary to run
ggsci.exeas an Administrator based on the systems User Account Control settings. Right-click the executable file then select Run as administrator. -
In GGSCI, issue the following command to create the Oracle GoldenGate working directories.
CREATE SUBDIRS -
Create the Manager parameter file and provide at a minimum, an unused TCP/IP port for the Manager to run under. For example:
EDIT PARAMS MGR PORT 7809 -
Save and close the Manager parameter file.
-
For Manager running interactively as the current user on Linux, start the Manager process in GGSCI.
START MGRNote:
For Manager running on Windows, review the optional instructions for Specifying a Custom Manager Name for Windows and Installing Manager as a Windows Service. -
Exit GGSCI.
EXIT
- Specifying a Custom Manager Name for Windows
- Installing Manager as a Windows Service
- Installing Oracle GoldenGate on a NonStop System
Parent topic: Installing Oracle GoldenGate Classic Architecture
Specifying a Custom Manager Name for Windows
If you plan to install the Manager process as a Windows service and either of the following is true, then you must specify a custom name for the Manager service:
-
You are installing the Manager as a Windows service and want to use a service name other then the default, which is
GGSMGR. -
You want to have multiple Manager processes running as Windows services on this system. Each Manager service on a system must have a unique name.
To specify a custom Manager service name:
-
From the Oracle GoldenGate installation directory, run
ggsci.exefrom the Oracle GoldenGate directory. -
Issue the following command:
EDIT PARAMS ./GLOBALS
Note:
The
./portion of this command must be used, because theGLOBALSfile must reside at the root of the Oracle GoldenGate installation file. -
In the file, add the following line, where
nameis a unique, one-word name for the Manager service.MGRSERVNAMEname -
Save the file. The file is saved automatically with the name
GLOBALS, but without a file extension. Do not move this file because it is used during installation of the Windows service and during data processing.
Installing Manager as a Windows Service
By default, Manager is not installed as a service and can be run by a local or domain account. However, when run this way, Manager will stop when the user logs out. When you install Manager as a service, you can operate it independently of user connections, and you can configure it to start manually or at system startup.
Installing Manager as a service is required on a Windows Cluster, but optional otherwise.
To install Manager as a Windows service:
-
Click Start, then Run, and then type
cmdin the Run dialog box. -
Go to the directory that contains the Manager program that you are installing as a service, then run the
INSTALLutility with the following syntax:installoption[...]Where
optionis one of the following:Table 2-2 INSTALL Utility Options
Option Description ADDEVENTSAdds Oracle GoldenGate events to the Windows Event Manager.
ADDSERVICEAdds Manager as a service with the name that is specified with theMGRSERVNAMEparameter in theGLOBALSfile, if one exists, or theGGSMGRdefault. TheADDSERVICEconfigures the service to run as the Local System account, the standard for most Windows applications because the service can be run independently of user logins and password changes. To run Manager as a specific account, use theUSERandPASSWORDoptions.Note:
A user account can be changed by selecting the Properties action from the Services applet of the Windows Control Panel.The service is installed to start at system boot time (see
AUTOSTART). To start it after installation, either reboot the system or start the service manually from the Services applet in the Control Panel.AUTOSTARTSets the service that is created with
ADDSERVICEto start at system boot time. This is the default unlessMANUALSTARTis used.MANUALSTARTSets the service that is created with
ADDSERVICEto start manually through GGSCI, a script, or the Services applet in the Control Panel. The default isAUTOSTART.USERnameSpecifies a domain user account that executes Manager. For the
name, include the domain name, a backward slash, and the user name, for exampleHEADQT\GGSMGR.By default, the Manager service is installed to use the Local System account.
PASSWORDpasswordSpecifies the password for the user that is specified with
USER. -
If Windows User Account Control (UAC) is enabled, you are prompted to allow or deny the program access to the computer. Select Allow to enable the
INSTALLutility to run.The
INSTALLutility installs the Manager service with a local system account running with administrator privileges. No further UAC prompts will be encountered when running Manager if installed as a service.
Note:
If Manager is not installed as a service, Oracle GoldenGate users will receive a UAC prompt to confirm the elevation of privileges for Manager when it is started from the GGSCI command prompt. Running other Oracle GoldenGate programs also returns a prompt.
Integrating Oracle GoldenGate into a Cluster in Classic Architecture
To learn about integrating Oracle GoldenGate with Oracle RAC, Oracle Clusterware, and Oracle Database File System (DBFS) or Oracle ASM Cluster File System (ACFS), see the white paper Oracle GoldenGate Classic Architecture with Oracle Real Application Clusters Configuration Best Practices.
Parent topic: Installing Oracle GoldenGate Classic Architecture