Informatica PowerCenter 8.6.1安装与配置一、简要了解下InformaticaInformatica PowerCenter可用于访问和集成几乎任何业务系统、任何格式的数据,它可以按任意速度在企业内交付数据,具有高性能、高可扩展性、高可用性的特点。
Informatica PowerCenter的重要功能:抽取、转换、装载数据。
PowerCenter Client和Server访问资料库以保存和检索元数据。
其中PowerCenter Client:使用PowerCenter Client定义源和目标、构建带有转换逻辑的映射和映射组件,以及创建工作流以运行映射逻辑。
PowerCenter Client 主要有以下客户端应用程序:Repository Manager、Designer、Workflow Manager 和Workflow Monitor。
PowerCenter Server:提取源数据、执行数据转换并将转换的数据载入目标。
二、安装准备在某台计算机上安装PowerCenter过程中,会提示创建一个域和节点,所有应用服务都在该节点下运行。
2.1系统要求在安装之前需要检查下系统是否满足PowerCenter所需的最低配置,下表列出了安装组件所需要的系统最低要求。
2.2数据库账户PowerCenter需两个数据库账户,一用来存放域管理表结构和元数据,一用来存放etl 集成信息表结构,其支持四种数据库类型:Oracle、SQL Server、DB2和Sybase。
此处以oracle数据库为例,创建两个数据库用户,取名infainstall、infaconf,并用系统账户sys或者system赋予这两个用户DBA角色。
其中infainstall是PowerCenter服务器端安装过程中需设置的账户,用以存放域管理相应表及元数据;infaconf是在服务器端配置,添加Repository Service时所需账户,主要存放客户端check in上来的数据信息。
此处的数据库及账户信息可以根据个人需要设置合适的名称。
图2.1 oracle数据库账户设置infainstall、infaconf三、infa服务端安装过程下载PowerCenter安装包,将其解压至某目录下,其中“pc86_win32_x86”文件夹为服务器端安装包,“pc86_client_win32_x86”为客户端安装包。
PowerCenter安装分为服务器端和客户端,其可安装至同一台计算机,也可安装在不同计算机上,客户端则通过配置连接到服务器端。
本文档讲述在Windows平台下PowerCenter 的安装。
3.1运行安装向导3.1.1 双击“pc86_win32_x86”文件夹下“install.bat”批处理文件,运行安装向导,如图3.1所示:图3.1运行infa安装向导3.1.2安装准备进度达到100%后出现安装语言选择向导,用户按要求选择语言。
如图3.2:图3.2 infa语言选择界面3.1.3 选择“English”,点击OK按钮出现图3.3欢迎界面,显示了版权信息,点击Next按钮。
图3.3 infa安装欢迎界面3.2选择安装类型图3.4为安装类型选择界面,选择“Install PowerCenter 8.6.1”进行全新安装,“Upgrade to PowerCenter 8.6.1”执行更新操作,第一次安装则选择第一个选项,然后点击Next按钮。
图3.4 安装类型选择界面3.3选择License Key3.3.1在图3.5中点击Browse按钮找到License Key,找到后如图3.6添加License Key。
然后点击Next按钮进入下一步。
一般安装包里自带License Key。
图3.5 选择License Key图3.6 查找License Key3.3.2图3.7至图3.9显示域配置数据库的四种类型及可能需要的磁盘空间,点击Next按钮进入下一步图3.7图3.8图3.9 以下为上图3.7-3.9信息内容:Verify the installation prerequisites and complete the pre-installation tasks before continuing with the installation.PrerequisitesDomain Configuration Database - Oracle, Microsoft SQL Server, Sybase ASE, or IBM DB2 - At least one database user account is required to complete the installation.Disk Space Requirements - 2 GBPre-installation TasksCreate a system user account and configure the web browser for the PowerCenter Administration Console, Metadata Manager, and Data Analyzer applications. Determine the port numbers to use for nodes in the domain. Optionally, configure environment variables and set up a keystore file for HTTPS support. For more information, see the PowerCenter Installation Guide.3.4选择安装路径图3.10显示infa安装路径。
修改默认路径(可选),安装在“D:\Informatica\PowerCenter8.6.1”目录下。
点击Next按钮图3.10 安装路径选择3.5设置http协议图3.11显示https协议配置信息,保持默认设置,点击Next按钮图3.11 https协议配置信息图3.12为汇总刚才设置的安装选项信息,如需修改可以点击Previous回退进行修改。
图3.12 infa安装信息汇总点击Install按钮进行安装,如图3.13显示。
图3.13 infa正在安装3.6域选择与配置3.6.1安装时间长短根据机器配置而定,安装完毕后进入域类型选择界面(图3.14)。
首次安装PowerCenter则选择“Create New Domain”,若想加入已存在的域中则选择“Join Existing Domain”图3.14 选择域创建3.6.2 图3.15显示域设置界面,其中数据库类型提供了Oracle、SQL Server、DB2、Sybase四种,数据库URL给出了格式,按格式修改,即主机IP:端口号数据库用户ID使用已准备的infainstall用户,数据库服务名即Oracle配置的SID的网络服务名,此处为orcl。
图3.15 域配置界面注意:数据库服务名在Sqlserver中填写:主机IP:数据库名oracle中则只填写数据库名就可以了。
另外,如果服务器是本机的话,填写127.0.0.1即可,如下图3.16所示。
图3.16 配置域信息3.6.3数据库选择Oracle填写好相应的信息,其中数据库类型。
填写完毕后,点击“Test Connection”,如果弹出Test connection passed对话框,点击Next按钮继续。
注意:若是主机IP填写不对,会报连接错误,报错如图3.17所示。
图3.17 连接失败提示重新填写主机IP如图3.18:图3.18配置域信息若显示如图3.19,则表示配置成功。
图3.19 域配置成功信息若要查看主机IP,可在oracle客户端Net Manager中查看相应SID(数据库服务名)对应的主机IP,如图3.20所示。
图3.20 Oracle Net Manager3.7配置节点3.7.1配置好域信息后,接下来配置节点信息。
如图3.21,填写好相应信息(一般情况下除了密码外都保持默认)然后点击Next。
图3.21 节点配置信息图3.22显示“Advanced Configuration”按钮信息,可以设置端口号的最大小值。
一般保持默认。
图3.22 Advanced Configuration3.7.2域和节点创建图示,图3.23。
图3.23 创建域、节点图示3.8选择system账户图3.24显示选择是否使用Windows其他用户运行PowerCenter服务。
一般情况下,取消“Run Informatica Services under a different user account”选项,让其在当前账户下运行服务。
点击Next按钮继续安装。
图3.24 是否使用Windows其他用户运行PowerCenter服务3.9安装成功若弹出如图3.25所示对话框,且安装状态(Installation Status)显示为:SUCCESS,则表示安装成功,点击Done结束安装,至此,PowerCenter服务器端安装结束。
图3.25 infa服务端安装成功提示界面安装成功信息:Installation Status : SUCCESSThe PowerCenter 8.6.1 installation completed successfully. The information below summarizes the location of the installed products .For more information, see the debug log file atD:\Informatica\PowerCenter8.6.1\Informatica_Installation_Server_Debug.logProduct Name :------------------------PowerCenter 8.6.1Components :------------------------PowerCenter ServicesPowerCenter Data AnalyzerPowerCenter Metadata Manager & Business GlossaryInstallation Directory :------------------------D:\Informatica\PowerCenter8.6.1Shortcut Folder :-----------------Start > Programs > Informatica PowerCenter 8.6.1 > ServicesPowerCenter Services Configuration----------------------------------------------Administration Console URL : http://ms-9f0038a813e5:6001/adminconsoleDomain Name : Domain_ms-9f0038a813e5Gateway Host Name : ms-9f0038a813e5Administrator User Name : adminNode Name : node01_ms-9f0038a813e5Node Port Number : 6001If you purchased PowerCenter Real Time Edition, you must configure the Informatica Orchestration and Human Workflow server after you install. To configure the Informatica Orchestration and Human Workflow server, run the script atD:\Informatica\PowerCenter8.6.1\OrchestrationServer\extras.四、安装infa客户端Infa客户端的安装与服务端的安装类似,期间只需填写安装路径,没有其他特殊操作。