本文主要是介绍goldengate director 安装配置,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
GoldenGate director 安装手册
1、安装环境:
10.100.132.38, redhat 6.4 64位
2、安装检查:
已安装JRE1.6,已安装weblogic,未安装Oracle数据库
3、安装ORACLE数据库
安装oracle 11g 数据库:
http://blog.csdn.net/royzhang7/article/details/43529623
4、设置JAVA环境变量
[root@localhost ~]# echo $JAVA_HOME
[root@localhost ~]# vi /etc/profile
export JAVA_HOME=/app/java6_64/jdk1.6.0_45
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
"/etc/profile" 80L, 1939C written
[root@localhost ~]# source /etc/profile
5、创建gg_dir数据库用户
[root@localhost ~]# su - oracle
[oracle@localhost ~]$ sqlplus / as sysdba
SQL> create tablespace ggdir_tbs
2 logging
3 datafile '/app/oracle/oradata/GGDIR/datafile/ggdir01.dbf' size 500m
4 autoextend on ;
Tablespace created.
SQL> create user gg_dir identified by ggadmin1 default tablespace ggdir_tbs;
User created.
SQL> grant connect,resource to gg_dir;
Grant succeeded.
6、上传gg-director-server安装文件并安装
[root@localhost app]# ls
deployment domains gg-director-serversetup_unix_v11_1_1_1_0_001.sh installmedium java6_64 lost+found oracle
oraInventory weblogic
[root@localhost app]# sh gg-director-serversetup_unix_v11_1_1_1_0_001.sh
testing JVM in /app/java6_64/jdk1.6.0_45 ...
Starting Installer ...
Feb 2, 2015 3:08:53 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.
7、利用修改脚本调用gg_director启动脚本进行后台运行启动
[root@localhost ~]# cd /app
[root@localhost app]# cd domains
[root@localhost domains]# cd bin
[root@localhost bin]# vi startAdmin.sh
#startAdmin
MEM_ARGS="-Xms1024m -Xmx1024m -XX:MaxPermSize=256m"
nohup /app/gg-director/domain/bin/startWebLogic.sh > /app/domains/Appdomain.logs/AdminServer.out 2>&1 &
tail -f /app/domains/Appdomain.logs/AdminServer.out
~
~
~
"startAdmin.sh" 5L, 221C written
[root@localhost bin]# sh startAdmin.sh
<2015-2-2 下午03时33分21秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "localhost" for domain "domain" running in Development Mode>
<2015-2-2 下午03时33分21秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<2015-2-2 下午03时33分21秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
[root@localhost bin]#
显示running mode 表示成功启动
8、server端安装完成后,在本地电脑安装client端,并配置用户,数据源等
这篇关于goldengate director 安装配置的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!