OracleGoldengate安装配置-创新互联
首先要下载ogg的安装包。下载地址如下
创新互联专业为企业提供罗江网站建设、罗江做网站、罗江网站设计、罗江网站制作等企业网站建设、网页设计与制作、罗江企业网站模板建站服务,10年罗江做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html
将安装包上传至服务器
解压压缩包
[oracle@localhost app]$ mkdir /u01/app/ogg [oracle@localhost app]$ unzip -d /u01/app/ogg ogg112101_fbo_ggs_Linux_x64_ora11g_64bit.zip Archive: ogg112101_fbo_ggs_Linux_x64_ora11g_64bit.zip inflating: /u01/app/ogg/fbo_ggs_Linux_x64_ora11g_64bit.tar inflating: /u01/app/ogg/OGG_WinUnix_Rel_Notes_11.2.1.0.1.pdf inflating: /u01/app/ogg/Oracle GoldenGate 11.2.1.0.1 README.txt inflating: /u01/app/ogg/Oracle GoldenGate 11.2.1.0.1 README.doc [oracle@localhost app]$ cd ogg/ [oracle@localhost ogg]$ tar -xvf fbo_ggs_Linux_x64_ora11g_64bit.tar修改环境变量,添加PATH、LD_LIBARY_PATH
[oracle@localhost ~]$ vi .bash_profile export PATH=/u01/app/ogg/:$ORACLE_HOME/bin:$PATH export LD_LIBRARY_PATH=/u01/app/ogg:$ORACLE_HOME/lib:/lib:/usr/lib进入ogg的安装目录,运行ggsci命令
[oracle@localhost ogg]$ ./ggsci Oracle GoldenGate Command Interpreter for Oracle Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO Linux, x64, 64bit (optimized), Oracle 11g on Apr 23 2012 08:32:14 Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved. GGSCI (localhost.localdomain) 1>创建OGG的工作目录
GGSCI (localhost.localdomain) 1> create subdirs Creating subdirectories under current directory /u01/app/ogg Parameter files /u01/app/ogg/dirprm: already exists Report files /u01/app/ogg/dirrpt: created Checkpoint files /u01/app/ogg/dirchk: created Process status files /u01/app/ogg/dirpcs: created SQL script files /u01/app/ogg/dirsql: created Database definitions files /u01/app/ogg/dirdef: created Extract data files /u01/app/ogg/dirdat: created Temporary files /u01/app/ogg/dirtmp: created Stdout files /u01/app/ogg/dirout: created配置Manager进程的参数
GGSCI (localhost.localdomain) 6> EDIT PARAMS MGR添加如下内容,定义Manger进程的通信端口
-- This is the minimal configuration of Manager PORT 7809-- 后面是注释
启动Manager进程
GGSCI (localhost.localdomain) 14> start mgr Manager started.查看Manager进程
GGSCI (localhost.localdomain) 17> info mgr Manager is running (IP port localhost.localdomain.7809).停止Manager进程
GGSCI (localhost.localdomain) 18> stop mgr Manager process is required by other GGS processes. Are you sure you want to stop it (y/n)? y Sending STOP request to MANAGER ... Request processed. Manager stopped.如果忽略确认信息
GGSCI (localhost.localdomain) 20> stop mgr ! Sending STOP request to MANAGER ... Request processed. Manager stopped.另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
文章名称:OracleGoldengate安装配置-创新互联
文章源于:http://azwzsj.com/article/dshesc.html