ITPub博客

首页 > 数据库 > Oracle > goldengate版本升级( from v10.4 to v11.1.1.1.0.29)

goldengate版本升级( from v10.4 to v11.1.1.1.0.29)

原创 Oracle 作者:msdnchina 时间:2011-08-30 20:58:44 0 删除 编辑

事先准备:cp 源端和目的端的目录。

1.将ggv11.1安装于一个新目录。不用create subdirs

2.停止源端和目的端的ddl复制--让目的端的replicat进程 执行完毕后。再处理。

3.stop 源端 和 目的端进程。

4.将在新目录中的ggv11.1覆盖到原来的gg目录

5.处理ddl复制问题:
(Oracle) Rebuilding the DDL environment to a clean state:

核心:remove, and then reinstall
1.停止source所有的gg进程,改变目录到gg的安装目录
2.sqlplus / as sysdba
3.让那些发布ddl语句的进程断开,否则会报:ORA-04021 error
4.Run the ddl_disable script
5.Run the ddl_remove script to remove the Oracle GoldenGate DDL trigger
此过程会产生ddl_remove_spool.txt和ddl_remove_set.txt log文件以辅助诊断此过程中的问题。
6.Run the marker_remove script to remove the Oracle GoldenGate marker support system
此过程会产生marker_remove_spool.txt和marker_remove_set.txt log文件以辅助诊断此过程中的问题。

从第7步开始,是重新配置ddl复制的阶段:
7.Run the marker_setup script to reinstall the Oracle GoldenGate marker support system

8.Run the ddl_setup script.You will be prompted for:

The name of the Oracle GoldenGate DDL schema.

The installation mode. Use the INITIALSETUP mode.This mode drops and recreates existing DDL objects before creating new objects.

9.Run the role_setup script to recreate the Oracle GoldenGate DDL role.

10.登录sqlplus授权。

11. ddl_enable.sql
12. 完毕。

6.Oracle GoldenGate upgrades on DB2 z/OS:-针对db2 z/os上的操作。

7.启动源端和目的端的所有进程。
[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/161195/viewspace-1054574/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-07-30

  • 博文量
    498
  • 访问量
    1542492