Informatica安装部署
1 PWC服务器端部署说明
本次部署欲在22.50上部署PWX;
1.1 创建informatica系统用户 1.1.1 使用root用户登录,输入如下:
# groupadd informatic
# useradd -g informatic -d /home/informatic -m informatic # passwd informatics
1.1.2 创建安装目录
# mkdir -p /usr/app/informatica/product/PowerCenter8.6.1 # chown -R informatic:informatic /usr/app/informatica --给权限
# chmod -R 775 /usr/app/informatica //如果后面映射到其他驱动器,还要给该驱动器上的目录赋相同的权限
1.2 配置环境变量
变量说明如下:
IATEMPDIR:安装过程需要1GB的临时磁盘空间,如果不使用/tmp目录,就为该变量指定新的目录。
设置ORACLE_BASE,22.50的ORACLE_BASE 为/db/oracle/oracle, 再设置INFA_HOME为 For Red Hat Linux:
用informatica安装用户登录系统,修改.bash_profile $ vi .bash_profile
1.2.1 追加录入下列内容
#for Oracle
ORACLE_BASE=/usr/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1; export ORACLE_HOME #ORACLE_SID=orcl; export ORACLE_SID
#ORACLE_TERM=xterm; export ORACLE_TERM PATH=/usr/sbin:$PATH; export PATH PATH=$ORACLE/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLEHOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
#CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
#DISPLAY=“localhost:0.0”; export DISPLAY //必要时使用 LANG=C; export LANG
PM_CODEPAGENAME=”MS936”; export PM_CODEPAGENAME //参数值详见附录错误!未找到引用源。
INFA_JAVA_OPTS=-Xmx1024m; export INFA_JAVA_OPTS LDR_CNTRL=NOKRTL; export LDR_CNTRL
注:如果不配置Oracle环境变量,创建和启动PowerCenter Repository Service时,会引起[REP_51002]错误
1.3 检查端口(此项可以不做检查)
使用命令netscat检查端口: $ netscat -anp
1.3.1 检查下列端口是否被使用:
Domain port. Default is 6005.
Service Manager port. Default is 6006.
Service Manager shutdown port. Default is 6008. Informatica Administrator port. Default is 6007.
Informatica Administrator shutdown port. Default is 6009.
Range of ports for application services. Default range is 6013 to 6113. 注:Range of ports中,最小值与最大值的差应不小于3. 复制安装文件,解压tar安装包
创建一个文件夹installation_path,放解压包。 将xxxx.tar解压缩到/installation_path中。 $cd /installation_path
$tar -xvf ../xxxx.tar 解压上一级的压缩文件
1.4 安装开始
为install.sh赋权限 $cd /installation_path $chmod +x install.sh
然后 sh install.sh报错
The temporary install directory: /tmp
does not exist or you do not have permission to write to it. 是tmp权限有问题。
查其权限,回到根目录,ls-all ,其为root权限。 返回上一层,chmod 777 tmp 再ls –all
然后sh.install.sh,
PCX的安装开始,切换到informatica用户。 ./install.sh
Domain的作用:类似于informatica的一种注册平台框架。
在安装之前,找到22.50的/db/oracle/oracle/product/10.2.0/db_1/network/admin tns查看下库pwc_target增加用户 Username :oracle Userpass:oracle 实例名:
CREATE USER \
DEFAULT TABLESPACE \****************************** GRANT \GRANT \GRANT CREATE VIEW TO \
然后按步骤处理
1.4.1 步骤一:
1- Create New Domain (If you are installing PowerCenter for the first time or you want to create a new domain.)
2- Join Existing Domain (If you are installing PowerCenter on multiple machines and you already created a domain on another machine.)
此处选1,因为是新建,如果是迁移,则选2,按原样配置好Existing Domain即可
1.4.2 步骤二:
1- Create New Domain (If you are installing PowerCenter for the first time or you want to create a new domain.)
2- Join Existing Domain (If you are installing PowerCenter on multiple machines and you already created a domain on another machine.) Enter an option::
=============================================================================== Configure Domain Database -------------------------
Enter the account information for the database to store PowerCenter domain configuration metadata. Each PowerCenter domain must store configuration metadata in a separate database account. ->1- Oracle 2- DB2
3- SQLServer 4- Sybase
Database type::
2- Custom string
Database URL type::
Database URL: (DEFAULT: msbipocelt): msbipocetldb:1521 ---(此处是49的主机名及端口号,
因为资料库都是建立在49上的数据,包括三个用户,一个domain用户,一个rep用户,一个cdc用户。)
Database user ID: (DEFAULT: s): INFA_ZSQ (domain用户)(CONNECT,RESOURCE,CREATE ANY VIEW 权限)
Database user password: (DEFAULT: s): infa_zsq Database service name: (DEFAULT: s): msbidev
=============================================================================== Informatica PowerCenter 8.6.1 -----------------------------
Connection test failed.
[informatica][Oracle JDBC Driver]Error establishing socket. Unknown host: Msbipocetldb
此处报错。
可能为50机器的host文件 cat /etc/hosts Vi /etc/hosts
添加10.0.22.49 msbipocetldb Shift+:wq
安装完成。
1.4.3 更新License Key的方法:
如果License Key过期了,需要修改$PWX_HOME中的License.key文件,将新的license key复制到该文件内即可。
1.5 安装完成启动控制台 1.5.1 打开控制台配置
http://msbipocetl:6001/adminconsole/Console.do,以admin用户登录,admin密码 控制台,Create
此处的connectstring为数据库的servicename可以为新的服务器
Dbuser为新建的用户,权限同上一个,用户名:INFA_REP_ZSQ密码:infa_zsq
搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新初中教育Informatica9.1安装部署 全文阅读和word下载服务。
相关推荐: