goldengate12c for linux64bit安装部署过程

1、goldengate12c后,提供图形化界面安装部署,首先从https://edelivery.oracle.com


 http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/images/edelivery02.png

同时,需要从linux上面下载:rlwrap-0.37-1.el6.i686.rpm进行安装部署

并且需要安装readline-devel-6.0-4.el6.x86_64.rpm

官网说这个是必须的。


2、 Installing the readline wrapper

Use the terminal window connected as root to install the readline wrapper utility. Change directory to /stage and use the yum command to install rlwrap:

Host01 - Linux

[root@host01 ~]#  cd /stage

[root@host01 stage]# yum install rlwrap-0.37-1.el6.i686.rpm

Loaded plugins: refresh-packagekit, security

Setting up Install Process

Examining rlwrap-0.37-1.el6.i686.rpm: rlwrap-0.37-1.el6.i686

Marking rlwrap-0.37-1.el6.i686.rpm to be installed

Resolving Dependencies

--> Running transaction check

---> Package rlwrap.i686 0:0.37-1.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

===================================================================================================================

 Package                            Arch               Version                Repository                    Size

===================================================================================================================

Installing:

 rlwrap                             i686               0.37-1.el6             /rlwrap-0.37-1.el6.i686      191 k

 

Transaction Summary

===================================================================================================================

Install       1 Package(s)

 

Total size: 191 k

Installed size: 191 k

Is this ok [y/N]: y

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : rlwrap-0.37-1.el6.i686                                                                          1/1

  Verifying  : rlwrap-0.37-1.el6.i686                                                                          1/1

 

Installed:

  rlwrap.i686 0:0.37-1.el6                                                                                         

 

Complete!

[root@host01 stage]#  

Use the terminal window connected as oracle to add the "alias" commands which enable rlwrap. You must edit the bashrc hidden file, located in the default directory for the oracle user to add the alias commands. Since bashrc is a hidden file, you must prefix its name with a dot (.) - use either vi or gedit to edit the file. Change directory to the oracle default (cd ~) edit the bashrc file and add the alias to invoke sqlplus and the Oracle GoldenGate Software Command Interface (ggsci)

Host01 - Linux

[oracle@host01 stage]$ cd ~

[oracle@host01 ~]$ vi .bashrc

# .bashrc

 

# Source global definitions

if [ -f /etc/bashrc ]; then

        . /etc/bashrc

fi

 

# User specific aliases and functions

alias sqlplus="rlwrap sqlplus"

alias ggsci="rlwrap ./ggsci"

Save the file leaving the editor. Source the new version of the bashrc file and make sure the two new alias commands have been defined:

Host01 - Linux

[oracle@host01 ~]$ . .bashrc

[oracle@host01 ~]$ alias

alias ggsci='rlwrap ./ggsci'

alias l.='ls -d .* --color=auto'

alias ll='ls -l --color=auto'

alias ls='ls --color=auto'

alias sqlplus='rlwrap sqlplus'

alias vi='vim'

alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'

[oracle@host01 ~]$

Note the double dot separated by a space in the first line. The first dot instructs the shell to source the file. The second dot is necessary because bashrc is a hidden file.

 

3、 Installing the Oracle GoldenGate software for the replication source

The Oracle Database 12c software is already installed on the computer, as per requirement listed in the "Prerequisites" section. It is assumed that the database software has been installed following the Optimal Flexible Architecture (OFA) standard, and that ORACLE_HOME is located at /u01/app/oracle/product/12.1.0/dbhome_1.

You will install the Oracle GoldenGate software for the replication source in the directory /u01/app/oracle/product/ogg_src, which you must create.

Use the terminal window connected as oracle. Create the /u01/app/oracle/product/ogg_src directory.

Host01 - Linux

[oracle@host01 ~]$ mkdir /u01/app/oracle/product/ogg_src

[oracle@host01 ~]$ ls /u01/app/oracle/product

12.1.0  ogg_src

[oracle@host01 ~]$

Run the Oracle GoldenGate 12.1.2.0.0 installer as the oracle user. The installer is located in the /stage/fbo_ggs_Linux_x64_shiphome/Disk1 directory.

Host01 - Linux

[oracle@host01 ~]$ cd /stage

[oracle@host01 stage]$ cd fbo_ggs_Linux_x64_shiphome

[oracle@host01 fbo_ggs_Linux_x64_shiphome]$ ls

Disk1

[oracle@host01 fbo_ggs_Linux_x64_shiphome]$ cd Disk1/

[oracle@host01 Disk1]$ ls

install  response  runInstaller  stage

[oracle@host01 Disk1]$ ./runInstaller

Starting Oracle Universal Installer...

 

Checking Temp space: must be greater than 120 MB.   Actual 11011 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 3967 MB    Passed

Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-01-24_12-19-47AM. Please wait ...

The installer starts, and after a few second the "Install Wizard - Step 1 of 5" window appears on screen:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/images/install01.png

Select "Oracle GoldenGate for Oracle Database 12c (506.0MB)" and click Next.

The "Install Wizard - Step 2 of 5" window appears on screen:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/images/install02.png

In the "Software Location" field enter the directory you created to host the Oracle GoldenGate software for the replication source,/u01/app/oracle/product/ogg_src. Leave the "Start Manager" checkbox selected, and accept the default values for the Database Location (/u01/app/oracle/product/12.1.0/dbhome_1) and Manager Port (7809.) Click Next.

The "Install Wizard - Step 3 of 5" window appears on screen:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/images/install03.png

Verify the fields you entered in the previous screens and click Install to start the installation.

The "Install Wizard - Step 4 of 5" window appears on screen.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/images/install04.png

The window displays the progress bar and keeps you informed about the installation process.

After a while, the installation process ends and the last window of the wizard appears, informing you that the installation was successful:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/images/install08.png

Click Close to dispose of the window. The Oracle GoldenGate software for the replication source is now installed.

 

4、 Installing the Oracle GoldenGate software for the replication target

The Oracle Database 12c software is already installed on the computer, as per requirement listed in the "Prerequisites" section. It is assumed that the database software has been installed following the Optimal Flexible Architecture (OFA) standard, and that ORACLE_HOME is located at /u01/app/oracle/product/12.1.0/dbhome_1.

You will install the Oracle GoldenGate software for the replication target in the directory /u01/app/oracle/product/ogg_trg, which you must create.

Use the terminal window connected as oracle. Create the /u01/app/oracle/product/ogg_trg directory.

Host01 - Linux

[oracle@host01 ~]$ mkdir /u01/app/oracle/product/ogg_trg

[oracle@host01 ~]$ ls /u01/app/oracle/product

12.1.0  ogg_src  ogg_trg

[oracle@host01 ~]$

Run the Oracle GoldenGate 12.1.2.0.0 installer as the oracle user. The installer is located in the /stage/fbo_ggs_Linux_x64_shiphome/Disk1 directory.

Host01 - Linux

[oracle@host01 ~]$ cd /stage

[oracle@host01 stage]$ cd fbo_ggs_Linux_x64_shiphome

[oracle@host01 fbo_ggs_Linux_x64_shiphome]$ ls

Disk1

[oracle@host01 fbo_ggs_Linux_x64_shiphome]$ cd Disk1/

[oracle@host01 Disk1]$ ls

install  response  runInstaller  stage

[oracle@host01 Disk1]$ ./runInstaller

Starting Oracle Universal Installer...

 

Checking Temp space: must be greater than 120 MB.   Actual 11011 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 3967 MB    Passed

Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-01-24_12-19-47AM. Please wait ...

The installer starts, and after a few second the "Install Wizard - Step 1 of 5" window appears on screen:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/images/install01.png

Select "Oracle GoldenGate for Oracle Database 12c (506.0MB)" and click Next.

The "Install Wizard - Step 2 of 5" window appears on screen:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/images/install05.png

In the "Software Location" field enter the directory you created to host the Oracle GoldenGate software for the replication source,/u01/app/oracle/product/ogg_trg. Leave the "Start Manager" checkbox selected, and accept the default value for the Database Location (/u01/app/oracle/product/12.1.0/dbhome_1) Change the default value for the Manager Port from 7809 to 7909. The Oracle GoldenGate instance simulating the replication target must use a different port in order not to clash with the replication source instance, which has been configured to use port 7809. Click Next.

The "Install Wizard - Step 3 of 5" window appears on screen:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/images/install06.png

Verify the fields you entered in the previous screens and click Install to start the installation.

The "Install Wizard - Step 4 of 5" window appears on screen.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/images/install07.png

The window displays the progress bar and keeps you informed about the installation process.

After a while, the installation process ends and the last window of the wizard appears, informing you that the installation was successful:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/images/install08.png

Click Close to dispose of the window. The Oracle GoldenGate software for the replication target is now installed.

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29371470/viewspace-2112674/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29371470/viewspace-2112674/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值