Go to main content

Oracle® Solaris Cluster Geographic Edition Data Replication Guide for Oracle GoldenGate

Exit Print View

Updated: September 2015
 
 

Preparing the Oracle GoldenGate User

  1. On all cluster nodes, create the user gg.

    Ensure that the user gg has access to the MySQL log directories. Use the same group as that of the MySQL owner.

    root@pnyca:~# useradd -u 2000 -g dba -m -s /usr/bin/bash -d /export/home/gg gg
    root@pnycb:~# useradd -u 2000 -g dba -m -s /usr/bin/bash -d /export/home/gg gg
    root@psfoa:~# useradd -u 2000 -g dba -m -s /usr/bin/bash -d /export/home/gg gg
    root@psfob:~# useradd -u 2000 -g dba -m -s /usr/bin/bash -d /export/home/gg gg
    
  2. Add LD_LIBRARY_PATH to the environment of gg on all nodes.

    In this example, the /gg entry is the only one in the .profile file.

    LD_LIBRARY_PATH=/gg
    export LD_LIBRARY_PATH
    
  3. Sync all the home directories with the new .profile file.

    root@pnycb# scp -rp /export/home/gg root@pnyca:/export/home
    root@pnycb# scp -rp /export/home/gg root@psfoa:/export/home
    root@pnycb# scp -rp /export/home/gg root@psfob:/export/home