溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶(hù)服務(wù)條款》

goldengate12c for linux64bit的安裝部署過(guò)程

發(fā)布時(shí)間:2021-11-04 18:16:35 來(lái)源:億速云 閱讀:168 作者:柒染 欄目:建站服務(wù)器

goldengate12c for linux64bit的安裝部署過(guò)程,很多新手對(duì)此不是很清楚,為了幫助大家解決這個(gè)難題,下面小編將為大家詳細(xì)講解,有這方面需求的人可以來(lái)學(xué)習(xí)下,希望你能有所收獲。

1、goldengate12c后,提供圖形化界面安裝部署,

同時(shí),需要從linux上面下載:rlwrap-0.37-1.el6.i686.rpm進(jìn)行安裝部署

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

官網(wǎng)說(shuō)這個(gè)是必須的。

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.

 

看完上述內(nèi)容是否對(duì)您有幫助呢?如果還想對(duì)相關(guān)知識(shí)有進(jìn)一步的了解或閱讀更多相關(guān)文章,請(qǐng)關(guān)注億速云行業(yè)資訊頻道,感謝您對(duì)億速云的支持。

向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI