官术网_书友最值得收藏!

Installing Oracle GoldenGate in a x86_64 Linux-based environment

This recipe will show you how to install Oracle GoldenGate in a x86_64 Linux-based environment.

Getting ready

In order to install Oracle GoldenGate, we must have downloaded the binaries from the Oracle Technology Network website for your Linux platform. We have downloaded Oracle GoldenGate Version 11.2.0.1.0.1 in this recipe. Ensure that you check the checksum of the file once you have downloaded it.

Tip

You can find the Oracle GoldenGate binaries for x86_64 Linux at http://www.oracle.com/technetwork/middleware/GoldenGate/downloads/index.html?ssSourceSiteId=ocomen.

How to do it...

Oracle GoldenGate binaries are installed in a directory called GoldenGate Home. This directory should be owned by the OS user (ggate) which will be the owner of GoldenGate binaries. This user must be a member of the dba group. After you have downloaded the binaries, you need to uncompress the media pack file by using the unzip utility as given in the following steps:

  1. Log in to the server using the ggate account.
  2. Create a directory with this user as shown in the following command:
    mkdir installation_directory
    
  3. Change the directory to the location where you have copied the media pack file and unzip it. The media pack contains the readme files and the GoldenGate binaries file. The GoldenGate binaries file for the 64-bit x86 Linux platform is called fbs_ggs_Linux_x64_ora11g_64bit.tar.
  4. Extract the contents of this file into the GoldenGate Home directory as shown in the following command:
    tar –xvf fbs_ggs_Linux_x64_ora11g_64bit.tar –C installation_directory
    
  5. Create GoldenGate directories as follows:
    cd installation_directory
    ./ggsci
    create subdirs
    exit
    
    Note

    You must have Oracle database libraries added to the shared library environment variable, $LD_LIBRARY_PATH before you run ggsci. It is also recommended to have $ORACLE_HOME & $ORACLE_SID set to the correct Oracle instance.

How it works...

Oracle provides GoldenGate binaries in a compressed format. In order to install the binaries you unzip the compressed file, and then expand the archive file into a required directory. This unpacks all the binaries. However, GoldenGate also requires some important subdirectories under GoldenGate Home which are not created by default. These directories are created using the CREATE SUBDIRS command. The following is the list of the subdirectories that get created with this command:

Note

Oracle GoldenGate binaries need to be installed on both the source and target systems. The procedure for installing the binaries is the same in both environments.

主站蜘蛛池模板: 永新县| 乌兰浩特市| 阳信县| 永济市| 清水河县| 宝坻区| 互助| 红河县| 鲁甸县| 德庆县| 古丈县| 江川县| 临高县| 齐齐哈尔市| 乌拉特后旗| 麟游县| 怀宁县| 贵阳市| 通榆县| 陆良县| 固阳县| 新蔡县| 武邑县| 钟祥市| 合水县| 阜平县| 六枝特区| 阜平县| 晋城| 巴中市| 绵竹市| 玛纳斯县| 兴安盟| 满城县| 佳木斯市| 肇源县| 阳谷县| 韶山市| 钟祥市| 景德镇市| 海阳市|