Goldengate Veridata 23c Agent Installation
Updated: Oct 24
Install agent on each of the DB servers in your Goldengate environment that you gonna compare as source and target
Shell |
[root@ora11204 ~] mkdir -p /ogg/soft [root@ora11204 ~] mkdir -p /ogg/vdt23c [root@ora11204 ~] chown -R oracle:oinstall /ogg [root@ora11204 ~] chmod -R 755 /ogg
[oracle@ora11204 soft]$ unzip -q goldengate-veridata-23.1.0.0.0.zip [oracle@ora11204 soft]$ export DISPLAY=192.168.6.101:0.0 [oracle@ora11204 soft]$ cd fbo_oggvdt_linux_services_shiphome/Disk1/ [oracle@ora11204 Disk1]$ ./runInstaller Starting Oracle Universal Installer... |
Create Directories on the target database
Shell |
mkdir -p /u02/install /u02/vdt23c chown -R oracle:oinstall /u02 chmod -R 775 /u02 |
Install Java 17
Shell |
[root@dparcp ~] cd /media/ [root@dparcp media]#ls -ltr total 0 drwxrwx---. 1 root vboxsf 0 Mar 27 22:17 sf_PRIMARY_JAVA [root@dparcp media] cd sf_PRIMARY_JAVA/ [root@dparcp sf_PRIMARY_JAVA] ls -ltr total 415276 -rwxrwx---. 1 root vboxsf 242755651 Mar 26 21:02 jdk-24_linux-x64_bin.rpm -rwxrwx---. 1 root vboxsf 182484307 Mar 27 12:54 jdk-17.0.12_linux-x64_bin.rpm [root@dparcp sf_PRIMARY_JAVA] which java /usr/bin/java [root@dparcp sf_PRIMARY_JAVA] java version Error: Could not find or load main class version [root@dparcp sf_PRIMARY_JAVA] java -version java version "1.7.0_151" OpenJDK Runtime Environment (rhel-2.6.11.0.0.1.el6_9-x86_64 u151-b00) OpenJDK 64-Bit Server VM (build 24.151-b00, mixed mode) [root@dparcp sf_PRIMARY_JAVA] rpm -ivh jdk-17.0.12_linux-x64_bin.rpm warning: jdk-17.0.12_linux-x64_bin.rpm: Header V3 RSA/SHA256 Signature, key ID ad986da3: NOKEY Preparing... ########################################### [100%] 1:jdk-17 ########################################### [100%] [root@dparcp sf_PRIMARY_JAVA]# |
Set JAVA_HOME
Shell |
[root@dparcp sf_PRIMARY_JAVA]# which java /usr/bin/java [root@dparcp sf_PRIMARY_JAVA]# java -version java version "17.0.12" 2024-07-16 LTS Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286) Java HotSpot(TM) 64-Bit Server VM (build 17.0.12+8-LTS-286, mixed mode, sharing) [root@dparcp sf_PRIMARY_JAVA]# [root@dparcp sf_PRIMARY_JAVA]# ls -l /usr/bin/java lrwxrwxrwx. 1 root root 22 Mar 27 22:50 /usr/bin/java -> /etc/alternatives/java [root@dparcp sf_PRIMARY_JAVA]# [root@dparcp sf_PRIMARY_JAVA]# ls -l /etc/alternatives/java lrwxrwxrwx. 1 root root 44 Mar 27 22:50 /etc/alternatives/java -> /usr/lib/jvm/jdk-17.0.12-oracle-x64/bin/java [root@dparcp sf_PRIMARY_JAVA]# [root@dparcp sf_PRIMARY_JAVA]# export JAVA_HOME=/usr/lib/jvm/jdk-17.0.12-oracle-x64 [root@dparcp sf_PRIMARY_JAVA]# |
Copy Goldengate Veridata Binaries and Perform Installation on Target
Shell |
unzip -q goldengate-veridata-23.1.0.0.0.zip export DISPLAY=:0 cd fbo_oggvdt_linux_services_shiphome/Disk1/ ./runInstaller |
Configure Agent
Shell |
[oracle@dparcp vdt23c]$ cd agent [oracle@dparcp agent]$ pwd /u02/vdt23c/agent [oracle@dparcp agent]$ ls -ltr total 992 -rw-------. 1 oracle oinstall 172 Oct 16 2024 ReadMe.txt -rw-------. 1 oracle oinstall 980988 Oct 16 2024 JavaAgent.jar -rwx------. 1 oracle oinstall 1615 Oct 16 2024 configure_agent_ssl_int.sh -rw-------. 1 oracle oinstall 737 Oct 16 2024 agent-manifest.jar -rwx------. 1 oracle oinstall 2421 Oct 16 2024 agent_int.sh -rwx------. 1 oracle oinstall 1634 Oct 16 2024 agent_config.sh drwxr-xr-x. 2 oracle oinstall 4096 Mar 27 23:00 templates drwxr-xr-x. 4 oracle oinstall 4096 Mar 27 23:00 lib drwxr-xr-x. 2 oracle oinstall 4096 Mar 27 23:00 drivers [oracle@dparcp agent]$ [oracle@dparcp agent]$ export JAVA_HOME=/usr/lib/jvm/jdk-17.0.12-oracle-x64 ./agent_config.sh /u03/agent_target_oggdb1 true
[oracle@dparcp agent_target_oggdb1]$ pwd /u03/agent_target_oggdb1 [oracle@dparcp agent_target_oggdb1]$ cd /u02/vdt23c/agent/ [oracle@dparcp agent]$ ls -ltr total 992 -rw-------. 1 oracle oinstall 172 Oct 16 2024 ReadMe.txt -rw-------. 1 oracle oinstall 980988 Oct 16 2024 JavaAgent.jar -rwx------. 1 oracle oinstall 1615 Oct 16 2024 configure_agent_ssl_int.sh -rw-------. 1 oracle oinstall 737 Oct 16 2024 agent-manifest.jar -rwx------. 1 oracle oinstall 2421 Oct 16 2024 agent_int.sh -rwx------. 1 oracle oinstall 1634 Oct 16 2024 agent_config.sh drwxr-xr-x. 2 oracle oinstall 4096 Mar 27 23:00 templates drwxr-xr-x. 4 oracle oinstall 4096 Mar 27 23:00 lib drwxr-xr-x. 2 oracle oinstall 4096 Mar 27 23:00 drivers [oracle@dparcp agent]$ [oracle@dparcp agent]$ export JAVA_HOME=/usr/lib/jvm/jdk-17.0.12-oracle-x64 [oracle@dparcp agent]$ ./agent_config.sh /u03/agent_target_oggdb1 true May 01, 2026 11:14:31 PM com.goldengate.veridata.util.VeridataZipUtil main FINE: zipFIlePath = /u02/vdt23c/agent/templates/oracle.veridata.agent.template.jar May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil main FINE: unzipPath = /u03/agent_target_oggdb1 May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Trying to Extract ... /u03/agent_target_oggdb1/agent.properties.sample May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Extracting file to ... /u03/agent_target_oggdb1/agent.properties.sample May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Trying to Extract ... /u03/agent_target_oggdb1/ReadMe.txt May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Extracting file to ... /u03/agent_target_oggdb1/ReadMe.txt May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Trying to Extract ... /u03/agent_target_oggdb1/config/ May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Creating Directory ... /u03/agent_target_oggdb1/config/ May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Trying to Extract ... /u03/agent_target_oggdb1/config/agent-jps-config.xml May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Extracting file to ... /u03/agent_target_oggdb1/config/agent-jps-config.xml May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Trying to Extract ... /u03/agent_target_oggdb1/config/odl.xml May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Extracting file to ... /u03/agent_target_oggdb1/config/odl.xml May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Trying to Extract ... /u03/agent_target_oggdb1/config/certs/ May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Creating Directory ... /u03/agent_target_oggdb1/config/certs/ May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Trying to Extract ... /u03/agent_target_oggdb1/config/certs/serverIdentity.jks May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Extracting file to ... /u03/agent_target_oggdb1/config/certs/serverIdentity.jks May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Trying to Extract ... /u03/agent_target_oggdb1/config/certs/serverTrust.jks May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Extracting file to ... /u03/agent_target_oggdb1/config/certs/serverTrust.jks May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Trying to Extract ... /u03/agent_target_oggdb1/agent.sh May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Extracting file to ... /u03/agent_target_oggdb1/agent.sh May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Adding execute permission :agent.sh May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Trying to Extract ... /u03/agent_target_oggdb1/configure_agent_ssl.sh May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Extracting file to ... /u03/agent_target_oggdb1/configure_agent_ssl.sh May 01, 2026 11:14:32 PM com.goldengate.veridata.util.VeridataZipUtil unzip FINE: Adding execute permission :configure_agent_ssl.sh Successfully deployed the agent. [oracle@dparcp agent]$ |
Set Agent Properties
Shell |
[oracle@dparcp ~]$ cd /u03/agent_target_oggdb1/ [oracle@dparcp agent_target_oggdb1]$ ls -ltr total 28 -rw-r-----. 1 oracle oinstall 61 Mar 27 23:14 VAOH.sh -rw-r-----. 1 oracle oinstall 172 Mar 27 23:14 ReadMe.txt drwxr-x---. 3 oracle oinstall 4096 Mar 27 23:14 config -rwxr-----. 1 oracle oinstall 304 Mar 27 23:14 agent.sh -rwxr-----. 1 oracle oinstall 261 Mar 27 23:14 configure_agent_ssl.sh -rw-r-----. 1 oracle oinstall 4779 Mar 27 23:14 agent.properties.sample [oracle@dparcp agent_target_oggdb1]$ [oracle@dparcp agent_target_oggdb1]$ cp agent.properties.sample agent.properties [oracle@dparcp agent_target_oggdb1]$
[oracle@dparcp agent_target_oggdb1]$ vi agent.properties
server.port=7850 server.jdbcDriver=ojdbc11-23.2.0.0.jar database.url=jdbc:oracle:thin:@dparcp:1521/oggdb1 |
Start Agent
Shell |
[oracle@dparcp agent_target_oggdb1]$ ls -ltr total 36 -rw-r-----. 1 oracle oinstall 61 Mar 27 23:14 VAOH.sh -rw-r-----. 1 oracle oinstall 172 Mar 27 23:14 ReadMe.txt drwxr-x---. 3 oracle oinstall 4096 Mar 27 23:14 config -rwxr-----. 1 oracle oinstall 304 Mar 27 23:14 agent.sh -rwxr-----. 1 oracle oinstall 261 Mar 27 23:14 configure_agent_ssl.sh -rw-r-----. 1 oracle oinstall 4779 Mar 27 23:14 agent.properties.sample -rw-r-----. 1 oracle oinstall 4800 Mar 27 23:20 agent.properties [oracle@dparcp agent_target_oggdb1]$ ./agent.sh start [oracle@dparcp agent_target_oggdb1]$ [oracle@dparcp agent_target_oggdb1]$ ./agent.sh reloadLog [VERIAGT-BOOT] INFO Looking for home directory. [VERIAGT-BOOT] INFO Found bootstrap class in file:/u02/vdt23c/agent/JavaAgent.jar!/com/goldengate/veridata/agent/BootstrapNextGen.class. [VERIAGT-BOOT] INFO Home directory: /u02/vdt23c/agent [VERIAGT-BOOT] INFO Preparing classpath. [VERIAGT-BOOT] INFO Driver location: /u02/vdt23c/agent/drivers [VERIAGT-BOOT] INFO Drivers to load: ojdbc11-23.2.0.0.jar [VERIAGT-BOOT] INFO Classpath: [VERIAGT-BOOT] INFO /u02/vdt23c/agent/JavaAgent.jar [VERIAGT-BOOT] INFO /u02/vdt23c/agent/drivers/ojdbc11-23.2.0.0.jar [VERIAGT-BOOT] INFO /u02/vdt23c/agent/agent-manifest.jar [VERIAGT-BOOT] INFO Initializing. [VERIAGT-BOOT] INFO Invoking startup method: public static void com.goldengate.veridata.agent.VeridataAgentNextGen.main(java.lang.String[]) 2025-05-01 23:20:33.193 NOTIFICATION OGGV-60150 Configuring logging. 2025-05-01 23:20:33.275 NOTIFICATION OGGV-60151 Config file for logger is /u03/agent_target_oggdb1/config/odl.xml 2025-05-01 23:20:33.497 NOTIFICATION OGGV-60162 Reset log request complete: OK [oracle@dparcp agent_target_oggdb1]$ |
Comments