goldengate12c for linux64bit的安装部署过程

goldengate12c for linux64bit的安装部署过程,很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。

1、goldengate12c后,提供图形化界面安装部署,

同时,需要从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:

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

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

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:

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.

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:

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:

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

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

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:

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.

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:

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

 

看完上述内容是否对您有帮助呢?如果还想对相关知识有进一步的了解或阅读更多相关文章,请关注亿速云行业资讯频道,感谢您对亿速云的支持。

原创文章,作者:carmelaweatherly,如若转载,请注明出处:https://blog.ytso.com/199878.html

(0)
上一篇 2021年11月20日
下一篇 2021年11月20日

相关推荐

发表回复

登录后才能评论