[Switch] Informatica 9.5.1 Installation and Configuration

 

Informatica structure

1 or more repositories (Respository)

The PowerCenter data integration engine is driven by metadata and provides a data-driven metadata repository (Repository), which can be deployed in mainstream relational databases. All ETL metadata is stored in the database of the hospital, including: physical and logical metadata of source and target tables, ETL conversion rules, knowledge base user permissions, ETL task running history information and other metadata.

2 Servers

Informatica Repository Server: The server of the database, which manages the metadata generated during the ETL process, and is used to manage all requests and operations for the metadata in the database.

Informatica Server: The actual ETL engine

5 Clients

PowerCenter Designer: Design development environment, define source and target data structures; design transformation rules, generate ETL mapping

Workflow Manager: Reasonable realization of complex ETL workflow, job scheduling based on time and events

Workflow Monitor: Monitor the running status of Workflow and Session, and generate log reports

Repository Manager: Repository management, including security management, metadata maintenance and security operations, such as: metadata search, user, group, permission management, etc.

Repository Server Administrator Console: Operations on the knowledge base, such as: knowledge base creation, backup, recovery, etc.

 

Implementation of ETL

● Install Oracle server

●Create a new user under the database to manage the database and store the source table and the target table.

● Install Oracle client

●Install ETL server

● Install ETL client

●Configure the data source

●Use the Designer client to obtain the metadata of the source data table.

●Use the Designer client to obtain the metadata of the target data table.

●Using the Designer client, design a Mapping, which is the source->target ETL rule.

●使用Workflow Manager客户端,针对上面实现的Mapping,实例化一个Session,为其指定实际的数据源、目标连接,以及其他属性。

●使用Workflow Manager客户端,创建一个Workflow,其中包含上述的Session以及其他的Task,在Workflow中可实现复杂的流程控制。

●运行上述Workflow,使用Workflow Monitor客户端,检测最终的任务运行结果。

 

安装Oracle 11g Server端

●创建数据库

●建立资料库用户:Informatica PowerCenter 在安装之前,要在数据库下新建用户,用来管理资料库。(注意字符集的设定)

●用于建立源表和目标表,并存放数据。(数据仓库与资料库通常建立两个实例来区分开)

注意:11G与Windows Server 2012 不兼容

Step 1 仅安装数据库软件

一路下一步安装完毕

image

Step 2 创建数据库

启动 Database Configuration Assistant

选择创建数据库

image

选择定制数据库

image

全局数据库名就是实例名

image

取消  配置Enterprise Manager 的勾选框

image

存储类型和文件位置

image

数据库组件只选择 Enterprise Manager 资料档案库

image

点击所有初始化参数按钮,单击高级参数,修改nls_date_format

image

安装好以后我们数据库目录如下

CTL 后缀的为控制文件,REDO 是日志文件,DBF是数据库文件

image

 

安装Oracle 11g Client端

注意安装32Bit版本的

●配置net manager,定义服务名

● 建立资料库用户,以保证下面ETL服务器的安装

● 方便使用企业管理器来管理Oracle服务器

选择管理员

image

一路下一步安装完毕

 

Oracle 数据库配置

Step1 先给服务器端创建一个监听

如果没有进行配置,我们的数据库服务器是连接不上的

在服务端目录里面打开 Net Manager,

1. 点击监听程序,然后点击加号创建

image

2. 点击添加地址

通常主机这边都写IP地址

image

3. 点击保存网络配置

image

Step 2 启动监听服务

命令行输入命令来启动监听程序

lsnrctl start

image

 

Step 3 配置客户端

客户端目录里面点击  Net Manager

点击服务命名,点击加号, 网络服务名随意

image

点击下一步,选择Tcp/Ip  再点击下一步,输入主机名或者IP地址

image

接着 服务名打上创建数据库的时候取的实例名

image

点击下一步,点击测试

image

出现以上登陆被拒绝的提示其实已经成功了。

整个配置完成以后,依然点击保存网络配置

image

 

建立资料库用户

安装 PLSQL Developer,连接服务器进行配置  ,PLSQL 会用到Oracle Client,只支持32Bit的

1. 运行PLSQL,使用sys用户登陆, Connect as 选为 SYSDBA

image

2. 建立用户供Informatica使用

开启命令行窗口,输入以下命令并执行

image

复制代码
CREATE USER INFA IDENTIFIED BY INFA DEFAULT TABLESPACE SYSTEM TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK;
GRANT CONNECT TO INFA;
GRANT RESOURCE TO INFA;
GRANT CREATE VIEW TO INFA;
GRANT UNLIMITED TABLESPACE TO INFA;
GRANT SELECT ANY TABLE TO INFA;
ALTER USER INFA DEFAULT ROLE ALL;
COMMIT;
复制代码
--以下语句看拥有的权限
select * from dba_role_privs;
select * from dba_sys_privs;

3. 检查用户是否创建成功

点击菜单Session –> Login

image

安装Informatica 的整个数据库环境搭建就完成了。

 

INFORMATICA 安装

服务器安装

注意默认11g安装以后监听服务不会自动启动,进Services把监听程序设为自动启动。 否则Informatica无法访问数据库

安装INFORMATICA的时候勾选’运行安装前系统检查工具‘ 有提示修改open_cursors 。 修改代码如下:

show parameter open_cursors;   ---显示参数值
alter system set open_cursors = 1000;   ---修改参数值为1000
commit;   ----提交

一路下一步安装,因为是第一次安装选择创建域

image

配置信息。把之前Oracle环境的信息写上去

image

image

不勾选其他帐户

image

安装完成

image

 

客户端安装

只选择 PowerCenter Client

image

 

INFORMATICA 数据源配置

● ODBC配置操作

●数据库tnsnames文件配置

● WORK FLOW配置

ODBC

1. 在服务器软件目录中启动 Net Configuration Assistant

选择本地网络服务名配置

image

打上实例名

image

image

输入主机名或者IP地址

image

2. 选择 Oracle11G的驱动,客户端哪个选择报错。 未知原因

image

这里可以测试一下是否成功。 这里User ID 不是很重要,因为到后面进行导入的时候会用不同的ID

image

tnsnames 文件

该安装路径下的tnsnames.ora文件其实对应的就是我们之前用Net Manager 创建的‘服务命名’

C:\app\Administrator\product\11.2.0\client_2\NETWORK\ADMIN\tnsnames.ora

Workflow配置

打开服务器目录的Informatica Administrator Home Page,右击域->新建->PowerCenter 存储库服务

image

image

image

另外属性里面操作模式改为‘普通’

image

 

配置好后打开 Informatica PowerCenter Workflow Manager (其他几个组件也可以,都有相通的配置)

点击‘存储库’->’配置域‘ ,点击’添加新域‘按钮,输入安装服务器时候配置的信息。

image

 

点击连接按钮,注意用户名是大小写敏感的。

image

点击Relational

image

创建个数据库连接。

image

 

 

Step1  打开Repository Manager 新建 文件夹

image

Step2 打开PowerCenter Designer

连接资源库,此时刚才建立的文件夹就会显示

image

 

至此安装过程结束

 

参考资料

安装Informatica9.5.1

http://jingyan.baidu.com/article/76a7e409b2433afc3a6e156e.html

INFORMATICA 入门开发实战视频教程

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326264619&siteId=291194637