goldengate director 安裝配置,goldengatedirector
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端,並配置使用者,資料來源等