OGG安装使用全纪录01

Posted sorliran

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OGG安装使用全纪录01相关的知识,希望对你有一定的参考价值。

OGG安装

参阅:http://www.cnblogs.com/sorliran/p/9199700.html

 

准备数据库

参阅:https://www.cnblogs.com/sorliran/p/9193021.html

 

创建OGG管理用户

OGG的管理用户只用于OGG的进程,独立于数据库业务。创建单独的表空间。

SQL> create tablespace ogg_tbs datafile /u01/app/oracle/oradata/orcl63/ogg_tbs.dbf size 200M;

Tablespace created.

SQL> create user ggadm identified by password default tablespace ogg_tbs;

User created.

SQL> exec dbms_goldengate_auth.grant_admin_privilege(ggadm,capture);

PL/SQL procedure successfully completed.

使用dbms_goldengate_auth.grant_admin_privilege包赋予权限,参阅:https://www.cnblogs.com/sorliran/p/9202498.html

 

创建凭证存储

[[email protected] ~]$ cd $OGG_HOME
[[email protected] ogg]$ ggsci

Oracle GoldenGate Command Interpreter for Oracle
Version 12.3.0.1.2 OGGCORE_12.3.0.1.0_PLATFORMS_171208.0005_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Dec  8 2017 21:13:00
Operating system character set identified as UTF-8.

Copyright (C) 1995, 2017, Oracle and/or its affiliates. All rights reserved.



GGSCI (zml-rhel6.4-1) 1> ADD CREDENTIALSTORE

Credential store created.

GGSCI (zml-rhel6.4-1) 2> ALTER CREDENTIALSTORE ADD USER ggadm password password ALIAS ggadm

Credential store altered.

GGSCI (zml-rhel6.4-1) 3> INFO CREDENTIALSTORE

Reading from credential store:

Default domain: OracleGoldenGate

  Alias: ggadm
  Userid: ggadm

 

 数据初始化

 

以上是关于OGG安装使用全纪录01的主要内容,如果未能解决你的问题,请参考以下文章

ambari2.4.0_centos7 安装全纪录

Kali Linux安装中文输入法全纪录

操作系统课程设计摸鱼全纪录

ubuntu20 环境下安装idea全纪录,不可能出错

ubuntu20 环境下安装idea全纪录,不可能出错

OGG安装之oracle2oracle