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
cmd
in the Run dialog box. -
Go to the directory that contains the Manager program that you are installing as a service, then run the
INSTALL
utility with the following syntax:install
option
[...]Where
option
is one of the following:Table 2-4 INSTALL Utility Options
Option Description ADDEVENTS
Adds Oracle GoldenGate events to the Windows Event Manager.
ADDSERVICE
Adds Manager as a service with the name that is specified with theMGRSERVNAME
parameter in theGLOBALS
file, if one exists, or theGGSMGR
default. TheADDSERVICE
configures 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 theUSER
andPASSWORD
options.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.AUTOSTART
Sets the service that is created with
ADDSERVICE
to start at system boot time. This is the default unlessMANUALSTART
is used.MANUALSTART
Sets the service that is created with
ADDSERVICE
to start manually through GGSCI, a script, or the Services applet in the Control Panel. The default isAUTOSTART
.USER
name
Specifies 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.
PASSWORD
password
Specifies 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
INSTALL
utility to run.The
INSTALL
utility 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.