This chapter describes how to deploy and configure the Oracle GoldenGate Veridata agent for the Oracle WebLogic Server domain.
After installing Oracle GoldenGate Veridata Agent using Oracle Universal Installer, you must deploy the agent to a non Oracle Home location and configure the agent before running comparison jobs using a deployment script provided in the installation.
The following table describes the directories and the variables that are used when referring to those directories in this section.
Table 6-1 Directories in an Oracle GoldenGate Veridata Installation
Directory Variable | Directory Path |
---|---|
|
/install_location |
|
/ |
|
/ |
|
This is the location where the Veridata Agent is deployed in the WebLogic Server domain. Note that this location should be outside the |
The agent_config.sh|.bat
script located in the AGENT_ORACLE_HOME
directory is used for deploying the Veridata Agent.
agent_config.sh|.bat AGENT_DEPLOY_LOCATION
The AGENT_DEPLOY_LOCATION can be an absolute path or a path relative to the location from where the script is running.
Note:
You must deploy the Oracle GoldenGate Veridata Agent in a directory outsideORACLE_HOME
.For debugging issues with the Veridata Agent deployment, run the agent_config
script with an additional command line argument as follows:
agent_config.sh|.bat AGENT_DEPLOY_LOCATION true
When this option is true, the debug logs are printed on the screen.
On Windows platform, after installing the Oracle GoldenGate Veridata Agent, run the agent as a service. The scripts are located in AGENT_DEPLOY_LOCATION
\service
. The README.txt
file in the service
directory describes the procedure to run the agent as a service.
To install as a Windows service:
Go to the Oracle GoldenGate Veridata Agent installation directory.
Open the Set_Veridata_Agent_Env.bat
file in an editor.
Locate the '_VERIDATA_SERVICE_NAME
' property, and edit it to add a service name for the agent. The name should not contain spaces or any other special characters. Only alphabets and numbers are allowed.
Change the value of '_RUN_AS_SERVICE
' property to true
.
Save and close the file.
Open the command prompt and navigate to the directory where the agent is installed. Run the Install_veridata_Agent.bat
script.
To uninstall the agent service:
Open the command prompt and navigate to the directory where the agent is installed. Run the Uninstall_veridata_Agent.bat
script.
Revert changes made in the Set_Veridata_Agent_Env.bat
file.
Open the Set_Veridata_Agent_Env.bat
file in an editor.
Change the value of '_RUN_AS_SERVICE
' property to false.
Save and close the file.
To start and stop the Veridata agent:
Open the command prompt and navigate to the directory where the agent is installed.
Run one of the following commands:
agent.sh|bat start or agent.sh|bat stop
To reload logging properties of the Veridata agent:
Open the command prompt and navigate to the directory where the agent is installed.
Run the following command to load the AGENT_ORACLE_HOME/config/odl.xml
configuration file:
agent.sh|bat reloadLog