环境介绍:

此次是安装shareplex926版本,oracle数据库版本是11.2.0.4,操作系统是red hat 6.8

安装前需要创建好软件安装目录以及变量存放目录,然后以oracle用户开始安装软件

  • 1.解压安装包

$ tar xvf  SharePlex-9.2.6-b31-rhel-amd64-m64.tar

  • 2. 开始安装

源端和目标端执行同样的操作

$ ./SharePlex-9.2.6-b31-oracle110-rh-40-amd64-m64.tpm

以下为内容(加红部分为手动输入):

Unpacking ...................

SharePlex installation program:

SharePlex Version: 9.2.6

Build platform: rh-40-amd64

Target platform: rh-40-amd64

Please enter the product directory location?  /splex           --输入产品目录存放位置

Please enter the variable data directory location?  /splex/vardir   --输入变量目录存放位置

Please specify the SharePlex Admin group (select a number):

1. [oinstall]

2. asmdba

3. dba

4. oper

?  3      --指定管理组,这里选择dba组

Please wait while the installer obtains Oracle information ..

Please enter the ORACLE_SID that corresponds to this installation? [orcl1] orcl1   --本地实例名,不是TNS别名

Please enter the ORACLE_HOME directory that corresponds to this ORACLE_SID? [/u01/app/oracle/product/11.2.0/db_1]

Please enter the TCP/IP port number for SharePlex communications? [2100] 2200  --端口号

Preparing to install SharePlex for Oracle v.9.2.6:

User:                     oracle

Admin Group:              dba

Product Directory:         /splex

Variable Data Directory:  /splex/vardir

ORACLE_SID:               orcl1

ORACLE_HOME:              /u01/app/oracle/product/11.2.0/db_1

Proceed with installation? [yes] yes

Installing ...........

Do you have a valid SharePlex v. 9.1.2 license? [yes] yes                           --是否有许可证

Please enter the License key? **************************************************    --许可证密匙

Please enter the customer name associated with this license key? **********   --账户名

SharePlex v. 9.2.6 license validation successful:

Customer Name:      ****************************

License Key:       ******************************************

Product Name:       SharePlex for Oracle - RAC

License Key Type:   "Trial Key"

Expires:            at Midnight of Aug 01, 2020

NOTE: You can upgrade this license key or add license keys for additional machines

by executing utility /goldengate/splex/install/splex_add_key.

Installation log saved to: /home/oracle/.shareplex/INSTALL-SharePlex-9.2.6-1807031442.log

SharePlex for Oracle v.9.2.6 installation successful.

  • 3.配置与数据库连接

源端和目标端执行同样的操作

进入 /splex/bin,执行./ora_setup

以下是安装步骤:

$ ./ora_setup

Welcome to the Oracle SharePlex setup process for port 2200.

This process creates tables and user accounts needed to run

Oracle SharePlex replication.

Will the SharePlex install be using a BEQUEATH connection? (Entering 'n' implies a SQL*net connection)  [y] : n 选n

Are you configuring SharePlex for an AWS RDS Database? (Entering 'n' implies non-RDS database)  [n] : n  --选n

Please note the following:

** In response to prompts, a carriage return will choose the default

given in brackets.  If there is no default, a reply must be entered.

** To exit the program while the program is waiting for input, use the

CTRL-C key sequence.

This sequences can be entered by holding down the CONTROL key and

pressing the C key.

Enter the TNS alias for which SharePlex should be installed (Blank to abort) : orcl     --此处为配置的TNS别名

Verifying TNS supplied ... done.

In order to create the SharePlex tables and user account, we must

connect to the database as a DBA user

Enter a DBA user for splexdb  : system        --system用户

Enter password for the DBA account, which will not echo. Note: It is not necessary to append the TNS alias to the password with an @ sign : passwd              --system用户的登录密码

connecting--This may take a few seconds.

validating user name and password. . . This may take a few seconds.

SharePlex objects will need to be created under a special

account.  You can pick an existing user or create a new one.

Would you like to create a new SharePlex user ? [y] : y             --是否新建用户,选择是

NOTE: Appending the tns alias to the password via @ sign is not needed.

Enter username for new user [splex/splex] : splex               --splex用户(一个新建的数据库用户)

Enter password for new user : splex                          --splex用户的密码

Re-enter password for new user : splex                       --密码确认

Warning:  This user is now being granted unlimited tablespace.

This privilege will remain in effect until it is explicitly changed.

SPLEX_ROLE_BOTH  already exists; continuing setup . . .

Do you want to enable replication of tables with TDE? [n] : n     --这里选择n

To enable replication of tables with TDE in the future, please rerun ora_setup.

Setup will now install SharePlex objects.

These are the existing tablespaces.

SYSTEM SYSAUX UNDOTBS1 TEMP USERS UNDOTBS2 EXAMPLE SPLEX

Enter the default tablespace for use by SharePlex [USERS] : SPLEX           --指定默认表空间

Enter the temporary tablespace for use by SharePlex [TEMP] : TEMP         --指定临时表空间

Enter the index tablespace for use by SharePlex [ ] : USERS                 --指定索引表空间

Creating SharePlex objects [Installation type: Fresh]. . .

Creating SharePlex Oracle-timezone-region map . . . Done.

Creating Conflict Resolution Package . . . Done.

Creating SharePlex Dataequator package . . .

Loading Compare Package from "/goldengate/splex/proce/util/sp_deq_pkg.plb"...Done.

Loading Compare Varray Package from "/goldengate/splex/proce/util/sp_deq_v_pkg.plb"...Done.

Will the current setup for sid: [splexdb] be used as source (including cases as source for failover or master-master setups)?  [y] : y           --选y

ASM detected.  Do you wish to connect to ASM using BEQUEATH connection?  [y] : y    --选y

Enter the ASM Sid to be used by SharePlex:  [+ASM1] : +ASM1            --本地asm实例名

Make sure that $SP_SYS_PRODDIR/.app-modules/adminize is owned by a user who also belongs in the ASM admin group.

SharePlex ASM support enabled.

Checking for Exadata.

Setup of SharePlex objects successful . . .

Changing SharePlex connection database . . .

Setup completed successfully

  • ​​​​​​​4.验证链路是否正常

设置环境变量:将export SP_SYS_VARDIR=/splex/vardir添加到.bash_profile里面,然后刷新一下环境变量

注意:设置好环境变量,确保sp_ctrl命令目录路径为新路径(查看方式which sp_ctrl)

$ sp_cop -u 2200 &           --启动shareplex

$ sp_ctrl                            --进入shareplex

sp_ctrl> edit config ORA_config                        --根据实际情况编辑配置文件

sp_ctrl> activate config ORA_config                 --激活配置文件

验证方法:

源端数据库表(该表必须包含在配置文件中)中插入一条数据,目标端查看是否存在。

SharePlex for oracle on linux安装步骤相关推荐

  1. Oracle的LINUX安装

    Oracle的LINUX安装 准备工作:在安装oralce之前应该了解一下oracle所需要的最低的安装要求 我是在VM下安装试验的REDHAT企业版5.0的内存分为2G.硬盘为30G(swap4G. ...

  2. informix linux安装步骤

    informix linux安装步骤 整个安装过程都以root用户运行 1. 创建informix用户 # groupadd informix # useradd -g informix inform ...

  3. 花生壳For Linux安装步骤

    我想要提醒大家的是,这个客户端是通过6060端口与服务器进行UDP心跳包的发送.包的信息如下: 17:19:35.734433 IP 192.168.1.7.32773 > 61.152.96. ...

  4. Kali linux安装步骤,史上最详细的步骤,傻瓜式教学

    Kali linux安装步骤 Kali linux安装步骤 一. 虚拟机安装 下载镜像文件https://www.kali.org/downloads/ 可以选择自己的版本,这里选择的是64位 1. ...

  5. windows server 2016安装oracle 10_Weblogic12.1.3.0补丁安装(win server与linux安装步骤介绍)

    文章目录 1 根据oracle官方发布的漏洞报告下载补丁 2 补丁包上传解压到Linux Server 3 补丁包上传解压到Windows Server 4 关于OPatch 5 Linux与Wind ...

  6. 红旗linux安装oracle,Redflag Linux安装Oracle 10gR2 RAC记事

    Redflag Linux安装Oracle 10gR2 RAC记事 Kamus遇到过: SQL> startup nomount ORA-27102: out of memory Linux-x ...

  7. linux安装步骤_图解 Debian 10(Buster)安装步骤 | Linux 中国

    在这篇文章中,我们将演示如何在你的笔记本电脑和台式电脑上安装 Debian 10 "Buster" 工作站.-- Pradeep Kumar Debian 项目发布了它的最新稳定版 ...

  8. sde和oracle分布式安装,ArcSDE 9.3与Oracle 11g分布安装步骤

    备注: 数据库服务端OS:Windows Xp (64位) ArcSDE安装端OS:Windows 7专业版 数据库服务端数据库版本:Oracle 11gR2. ArcSDE版本:ArcSDE 9.3 ...

  9. linux安装步骤 从分区开始,从硬盘安装Linux系统方法步骤.doc

    从硬盘安装Linux系统方法步骤 从硬盘安装Linux操作系统的方法步骤 从硬盘安装Linux操作系统,首先要准备安装包,Linux操作系统的安装包通常是一个或多个ISO镜像文件(一般通过网络下载就可 ...

  10. linux php oracle 乱码,Linux安装Oracle中文乱码的解决

    在Linux上安装过Oracle的时候汉字都是rdquo;口口rdquo;形乱码 最初时间比较紧张只能用英文安装,后来经过反复试验和整理,现在 在Linux上安装过Oracle的时候汉字都是" ...

最新文章

  1. 网络常见的 9 大命令,非常实用!
  2. 微机原理换行代码_微机原理实验保留最长行输入字符的程序
  3. java mysql 操作类_Java 数据库简单操作类
  4. Clickhouse安装及使用/clickhouse-mysql安装
  5. python关闭线程daemon_python中threading开启关闭线程操作
  6. Nginx + php
  7. OCS 2007 R2搭建后端SQL 2005企业版池
  8. Openwrt常用软件模块之CWMP
  9. vue-element-admin 项目更换浏览器图标与标头
  10. PaddleX语义分割
  11. oCPC实践录 | 随你千变万化,oCPC PID控制(1)
  12. php框架laravel win10,composer 安装Laravel (win10)
  13. Gitlab备份和恢复操作记录
  14. STM8-STVD+Cosmic编译输出信息参数配置
  15. omap_i2c omap_i2c.2: controller timed out
  16. Maven之(四)Maven命令
  17. 硬件物料清单bom检查小技巧
  18. 最小二乘法求解线性回归模型
  19. 机器学习的工作原理是什么?
  20. android按钮好看的样式

热门文章

  1. 【R语言】创建空的dataframe
  2. Arm电脑出现【GLFWError】WGL: The driver does not appear to support OpenGL问题解决
  3. 电子电路设计中的脉冲电路详解
  4. 今天看到一篇文章,收藏了很多大牛的博客
  5. 小程序调试技术详解(基于小猴小程序)
  6. H5小游戏——看你有多色
  7. appinventor计算机教程,App Inventor编程开发集锦2-计算器-第2课-实现常规操作
  8. linux系统 ubuntu 使用GWE图形用户界面调整显卡风扇转速曲线
  9. UVA12304 2D Geometry 110 in 1!
  10. 【Wechat】微信小程序注册以及认证流程