linux下informatica服务安装和配置
本文中將會用infa簡稱代替informatica
1.安裝前準備
|
介質名稱 |
版本信息 |
描述 |
|
Informatica Powercenter |
9.5.1 for Linux 64 bit |
必須 |
|
Java Jdk |
1.6.0_45 for Linux 64 bit |
可選,如果想圖形安裝INFA就需要安裝 |
|
Oracle Client |
11G R2 for Linux 64 bit |
必須(或者安裝oracle server) |
服務器
| 操作系統 | IP | 用途 |
| linux | 127.0.0.1 | 安裝oralce、infa server端 |
| windows | 127.0.0.2 | 安裝infa client |
2. 創建Informatica資源庫用戶infa_domain與infa_rep
create userinfa_repidentifiedbyinfa_rep; create userinfa_domainidentifiedbyinfa_domain; grant connect,resource,create view toinfa_rep,infa_domain;
3. 安裝Oracle server
見其它文章:https://www.cnblogs.com/champaign/p/7211662.html
oracle 中創建以下兩個用戶:
infa_domain:用于 infa的demain
infa_rep : 用于infa 的存儲庫
4、創建infa用戶與oinstall組。
groupadd -g 1023 oinstall --使用root用戶創建組 useradd -m infa -g 1023 --使用root用戶創建用戶并且指定相應組
5. 配置環境變量
su - infa --切換到infa用戶下配置java環境變量 vi .bash_profile --編輯.bash_profile文件
配置內容如下:
PATH=$PATH:$HOME/bin export PATH export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.131.x86_64/jre export PATH=$PATH:$HOME/bin:$JAVA_HOME/bin export PM_CODEPAGENAME="MS936" export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=/u01/app/oracle/product/11.2.0.4/dbhome_1 export ORACLE_SID=newedm export ORACLE_TERM=vt100 export INFA_HOME=/home/infa/Informatica/9.5.1 export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH export LD_LIBRARY_PATH=$INFA_HOME/server/bin:$INFA_HOME/ODBC7.0/lib:$ORACLE_HOME/lib:/lib:/usr/lib:$LD_LIBRARY_PATH export INFA_CODEPAGENAME="MS936" export INFA_DOMAINS_FILE=$INFA_HOME/domains.infa export NLS_LANG="SIMPLIFIED CHINESE_CHINA".ZHS16GBK
注意:上面的環境變量需要根據實際安裝目錄進行調整,特別注意NLS_LANG需要和oracle server中的保持一致
source .bash_profile --使用.bash_profile文件生效 java –version --測試java環境變量是否生效 exit --退出infa用戶到root用戶
6. 開始安裝infa
tar –xvf chmod -R 775 951HF2_Server_Installer_linux-x64.tar –C /user/local/src --解壓infa安裝包chmod -R 775 951HF2_Server_Installer_linux-x64 --賦予安裝介質相應權限 chown -R infa:oinstall 951HF2_Server_Installer_linux-x64 --賦予安裝介質歸屬用戶與組 su - infa --切換到infa用戶準備安裝infa工具
cd /usr/local/src/951HF2_Server_Installer_linux-x64
./install.sh --安裝,
根據提示選擇 y
這里我們選擇1,安裝或者更新infa
其它環節在安裝時忘記截圖,可以根據提示選擇。這里使用的是非圖形化界面安裝。中間有一個步驟是指定License文件,忘記截圖了,可以去百度上搜索一下。
7. 配置域資源庫
******************************************************************************************************
Domain Configuration Repository - Step 5B of 7
******************************************************************************************************
[ Type 'back' to go to the previous panel or 'quit' to cancel the installation at any time. ]
Configure the database for the domain configuration repository:
Database type:
* 1->Oracle
2->SQLServer
3->DB2
4->Sybase
這步選1.(本例使用oracle)
Database user ID: (default :- info_domain) :infa_domain //前創建的oracle用戶:infa_domain
User password: (default :- ) :
Configure the database connection
* 1->JDBC URL
2->Custom JDBC Connection String
:1
Database address: (default :- localhost:1521) : //oracle server 的地址
Database service name: (default :- newedm) : //oracle service name
Configure JDBC parameters
1->Yes
* 2->No
:2
接下來配置infa的域信息:
******************************************************************************************************
Domain and Node Configuration - Step 6 of 7
******************************************************************************************************
[ Type 'back' to go to the previous panel or 'quit' to cancel the installation at any time. ]
Enter the following information for the Informatica domain.
Domain name: (default :- Domain_wh-newedm-ora) :NGDP //infa client 連接時使用的域名
Node host name: (default :- wh-newedm-ora) : //默認即可
Node name: (default :- node01_wh-newedm-ora) : //默認即可
Node port number: (default :- 6005) :
Domain user name: (default :- Administrator) :
Domain password: (default :- ) :
Confirm password: (default :- ) :
Display advanced port configuration page //回車選擇不顯示
* 1->No
2->Yes
繼續。。。。顯示如下內容則安裝成功完成
****************************************************************************************************** Post-Installation Summary - Step 7 of 7 ****************************************************************************************************** Installation Status Success The Informatica 9.5.1 HotFix 2 installation is complete. For more information, see the debug log file: /home/infa/Informatica/9.5.1/Informatica_9.5.1_Services_HotFix2.log Installation Type :Fresh Installation Informatica Administrator Home Page:: http://wh-newedm-ora:6008 Product Name: Informatica 9.5.1 HotFix 2 Services Press <Enter> to continue ...
1.其中的Informatica_9.5.1_Services_HotFix2.log是服務端的日志,對于后面的錯誤有很大的益處,需要注意。
2. http://wh-newedm-ora:6008 管理平臺的地址,實際上端口是8443。使用6008也會自動跳轉到8443上,估計是廠商懶得更新這個安裝包的提示信息。
到這里infa的server已經安裝完成。
服務會自動啟動,停止和啟動的命令如下:
cd /home/infa/Informatica/9.5.1/server/tomcat/bin
./infaservice.sh shutdown
./infaservice.sh startup
補充:
安裝過程中遇到最多的是無法連接oracle的問題,通常是由于環境變量引起的。如果有錯誤多看日志和檢查環境變量。
總結
以上是生活随笔為你收集整理的linux下informatica服务安装和配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: cf新角色(cf全部女性角色介绍)
- 下一篇: Navicat12破解教程(Navica