goldengate12c for linux64bit的安装部署过程

发布时间:2021-11-04 18:16:35 作者:柒染
来源:亿速云 阅读:143

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.

 

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

推荐阅读:
  1. Oracle12c Linux x86-64版本安装
  2. linux 上 weblogic 12c 版本的安装

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

上一篇:iSCSI新应用以及如何进行NFS的存储服务分离

下一篇:Xmanger如何开启图像界面

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》