1、OFSA安装与配置指导客户端和Demo数据库 V10Oracle OFSA客户端、DEMO数据库的安装与配置指导文档文档作者: Oracle创建日期: 2005-08-23确认日期: 2006-01-09控制编码: 当前版本: 1.0审批签字:文档控制更改记录日期作者版本更改参考审阅姓名职位签字分发人员编码姓名地点和位置目录文档控制 1更改记录 1审阅 1目录 2前言 3目的 3数据库安装 3创建DEMO用户并授权 3DEMO数据导入 4OFSA客户端安装 4OFSA客户端配置 8附录一 17附录二 20前言目的为了让用户能够快速地安装及正确地配置OFSA客户端程序,减少因客户端安装或配置不当
2、而引起的资源损失,特编写本文档。其中数据库配置以DEMO为例。数据库安装数据库版本:Oracle 9.2.0.2或以上版本SID=DEMO配置到数据库的连接:DEMO.WORLD注意:数据库的SYSTEM空间必须是DIRECTORY管理。创建DEMO用户并授权1创建表空间:create tablespace data_ts datafile d:systemoracle9oradataofsadataofsa01.dbf size 200M reuse autoextend on next 50M maxsize unlimited;create tablespace index_ts dat
3、afile d:systemoracle9oradataofsadataofsa_idx.dbf size 200M reuse autoextend on next 50M maxsize unlimited;create temporary tablespace ofsatmp tempfile d:systemoracle9oradataofsadataofsatmp.dbf size 10M autoextend on;2创建用户:create user ofsademo identified by ofsademo default tablespace data_ts quota u
4、nlimited on data_ts profile default temporary tablespace ofsatmp quota unlimited on ofsatmp3为用户授权:使用SQL*PLUS登陆,然后执行:SQLconnect sys/sys用户的密码 as sysdbaSQLcr_owner.sql -cr_owner.sql文件见附录一注意:第一步创建的表空间必须是DIRECTORY管理。DEMO数据导入启动command窗口,转到ofsademo的imp_para.sql目录,然后执行:imp sys/sys用户的密码DEMO parfile=imp_para.
5、txtimp_para.txt文件见附件二等待,导入成功后系统将显示退出信息。OFSA客户端安装OFSA Applications使用了16位和32位组件,必须先运行16位安装程序,然后再运行32位安装程序。将ofsa客户端的安装压缩文件解压缩到固定目录下(如:e:450_MSWIN。注意:请不要放在网络上执行安装,否则程序将出错。),打开文件夹,执行以下步骤:1安装16位程序:11 定位到e:450_MSWINwindows执行setup.exe。12 选择语言,这里使用系统默认的语言:English。13 选择Oracle Home目录:如:d:orawin (注意:oracle安装程序不
6、支持带空格的文件路径,不要在安装路径中有空格)。14 在Software Asset Manager窗口,按CTRL或SHIFT选中左边窗口中的所有组件,然后点Install按钮,系统开始执行安装。15 Oracle SQL*Net Adapter Selection窗口中选中 TCP/IP,按OK按钮。16 在TCP/IP Vendor List窗口中选中Windows Sockets Ver1.1,按OK按钮。17 安装程序拷贝文件,拷贝完成后退出即可。18 安成后,系统显示安装完成窗口,点OK按钮退出,重新启动电脑。2安装32位程序21 定位到e:450_MSWINwin32,执行set
7、up.exe安装。22 输入公司名称,和Oracle Home的名称,并选择安装路径(这里使用d:orant),语言中选择English,按OK按钮。23 点OK按钮,系统将显示以下提示信息,退出所有的应用程序后点OK按钮。24 在Software Asset Manager窗口中,选中左边窗口中的Oracle Financial Services Applications Clients 4.5,点Install按钮安装。25 在Documentation Install Option窗口中,选中Install documentation on local disk一项。点OK按钮。25 系
8、统开始拷贝文件,在Directory Selection 窗口中,使用系统默认的forms60安装路径。26 安装完成后系统提示成功完成。回到Software Asset Manager窗口,按Exit按钮,退出安装程序。安装完成后,在本地的开始菜单中,应该可以在程序菜单中看到以下快捷方式:Oracle for windowsOracle7 ODBCOracle developer 6.0Oracle Financial Services 4.5Oracle for Windows NTOFSA客户端配置安装程序中包含16位和32位的程序,所以在进行到数据库的连接配置时要使用SQL*NET和O
9、racle NET8针对16位和32位程序分别进行配置。FDM Administrator使用NET8网络组件对数据库进行连接。PA使用16位的SQL*NET网络组件对数据库进行连接。1NET8配置11 执行程序菜单下的Oracle for Windows NTOracle Net8 Easy Config。12 增加一个到上面装好的数据库的连接名:DEMO。13 点选Next按钮,选择TCP/IP协议。14 输入主机名或数据库主机的IP地址:21.56.1.182,并使用端口号:1528。15 输入Database ID: DEMO,点NEXT按钮16 系统显示以下界面,点Test Serv
10、ice按钮,测试该连接。17 使用 ofsademo/ofsademo 进行测试,测试通过即可。18 测试成功后,系统显示The connection test was successful信息。然后点DONE按钮,回到前一个界面,分别点NEXT按钮和Finish按钮即可。2SQL*NET配置21 执行程序菜单下的Oracle for WindowsSQL NET Easy Configuration。22 在SQL*Net Easy Configuration窗口中,选中Add Database Alias.点OK按钮。23 在别名窗口中,输入连接串名:DEMO24 在协议窗口中选择TCP/
11、IP,点OK按钮。25 输入主机名或IP地址,和数据库实例名:21.56.1.182 , DEMO.并点OK按钮。26 确认输入后点OK按钮,系统要求确认输入的信息,选Yes后按OK按钮ss。2.7 系统回到第二步操作出现的界面。然后点Cancel按钮。系统显示退出SQL*Net Easy Configuration配置的提示信息,退出配置程序。28 完成后,转到安装目录(本例中为D:ORAWIN)下,找到NETWORK目录打开,找到ADMIN打开,找到tnsname.ora文件,使用记事本打开,找到其内容中DEMO.WORLD所在的段,将其中的端口号改为1528。DEMO.world = (
12、DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = tcp.world) (PROTOCOL = TCP) (Host = 21.56.1.182) (Port = 1528) ) (ADDRESS = (COMMUNITY = tcp.world) (PROTOCOL = TCP) (Host = 21.56.1.182) (Port = 1528) ) ) (CONNECT_DATA = (SID = DEMO) ) )29 执行Oracle for WindowsOracle TNSPing程序,输入DEMO.WORLD.然后执行,
13、显示OK信息即可。3修改配置文件31 修改ofs.ini文件定位到 系统盘下(这里以C盘为例) C:windows目录下,打开ofs.ini文件。将DataSourcesSampleDatabase = YESSampleDatabaseDriverType=ORACLEServerName=DatabaseAliasDatabase= DatabaseAliasLogonID=SYSADM改成:DataSourcesDEMO = YESDEMODriverType=ORACLEServerName=DEMO.WORLDDatabase=DEMO.WORLDLogonID=ofsademo保存
14、。32 修改oracle.ini文件定位到16位产品的安装目录(本例中是:d:orawin),打开oracle.ini文件,将其中的NLS_LANG设置成AMERICAN_AMERICA.ZHS16GBK,否则系统显示的时候可能会出现乱码(如果安装的时候选择的语言是English,则该项目的值为AMERICAN_AMERICA.ZHS16GBK 就不用修改了)。4执行程序Oracle Financial Services 4.5Financial Data Manager Administration,使用ofsademo/ofsademoDEMO登陆即可5执行程序Oracle Financi
15、al Sercices 4.5Performance Analyzer,使用ofsademo/ofsademodemo登陆即可。6执行以上配置并测试均通过,则可以在FDM模块和PA模块进行登陆,登陆用户名和密码及数据库为:用户名:OFSADEMO密码:OFSADEMO数据库:DEMO附录一cr_owner.sql文件的内容如下:set verify offset echo offspool cr_owner.logaccept DB_OWNER char prompt Enter the username for the new database owner: create user &DB_
16、OWNER identified by &DB_OWNERdefault tablespace data_tstemporary tablespace temp;grant dba to &DB_OWNER;grant create table to &DB_OWNER;grant create view to &DB_OWNER;grant unlimited tablespace to &DB_OWNER;grant create synonym to &DB_OWNER WITH ADMIN OPTION;grant create public synonym to &DB_OWNER;
17、grant drop public synonym to &DB_OWNER;grant grant any privilege to &DB_OWNER;grant connect to &DB_OWNER WITH ADMIN OPTION;grant select on sys.dba_synonyms to &DB_OWNER;grant select on sys.dba_users to &DB_OWNER;grant select on sys.dba_roles to &DB_OWNER WITH GRANT OPTION;grant select on sys.dba_tab
18、lespaces to &DB_OWNER WITH GRANT OPTION;grant select on sys.dba_sys_privs to &DB_OWNER;grant select on sys.dba_free_space to &DB_OWNER;grant select on sys.v_$parameter to &DB_OWNER WITH GRANT OPTION;grant select on sys.v_$session to &DB_OWNER WITH GRANT OPTION;grant select ON sys.v_$sesstat TO &DB_O
19、WNER WITH GRANT OPTION;grant select on sys.v_$database TO &DB_OWNER;grant alter tablespace to &DB_OWNER;grant execute on DBMS_SESSION to &DB_OWNER;- OMM-specific privileges not already granted above:grant create session to &DB_OWNER with admin option;grant alter user to &DB_OWNER;grant create any sy
20、nonym to &DB_OWNER;grant create procedure to &DB_OWNER;grant create role to &DB_OWNER;grant drop any role to &DB_OWNER;grant create sequence to &DB_OWNER;grant create trigger to &DB_OWNER;grant create user to &DB_OWNER;grant drop any synonym to &DB_OWNER;grant drop user to &DB_OWNER;grant select on
21、sys.DBA_TAB_PRIVS to &DB_OWNER;grant select on sys.DBA_ROLE_PRIVS to &DB_OWNER;grant exp_full_database to &DB_OWNER with admin option;- Privileges new for 4.5grant create database link to &db_owner;grant select any table to &db_owner;grant drop any trigger to &db_owner;grant alter any role to &db_ow
22、ner;grant grant any role to &db_owner;grant grant any privilege to &db_owner;grant alter session to &db_owner;grant create any trigger to &db_owner;grant create profile to &db_owner;grant alter profile to &db_owner;grant drop profile to &db_owner;grant select on sys.dba_tables to &DB_OWNER with gran
23、t option;grant select on sys.dba_tab_columns to &DB_OWNER with grant option;grant select on sys.dba_views to &DB_OWNER with grant option;grant select on sys.dba_objects to &DB_OWNER with grant option;grant select on sys.DBA_JOBS_RUNNING to &DB_OWNER with grant option;grant select on sys.DBA_JOBS to &DB_OWNER with grant option;grant execute on sys.dbms_pipe to &DB_OWNER;grant alter system to &DB_OWNER;COMMIT;spool off附录二imp_parm文件的内容如下:FILE=d:ofsafilesofsademo.dmpGRANTS=NINDEXES=Y ROWS=Y IGNORE=YFROMUSER=ofsademoTOUSER=ofsademoLOG=d:ofsafilesofsademo_imp.log其中的路径可以设置为其他路径,这里的设置仅供参考。
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1