|
|

楼主 |
发表于 2008/4/28 23:51:21
|
显示全部楼层
3. 运行上一步骤生成的 Data Mover 倒入数据的脚本。
在上一步建立的脚本名字是:<ORA_SID>ora.dms
-- 忘了这个名字是我自己起的,还是系统自动给的,反正就是这名字了。
我把这个文件放在file server 的下面(就是在设立 client profile )的时候指定的,运行产生的 log 我放在 c:\temp 下面,这个也是 client profile 里面设定的。
这个脚本要运行五个主要的步骤,去叫几个系统带了的dms:
------------------
REM - fdmo89ora.dms
REM - Created by Data Mover 8.47 Wed Jan 18 13:29:27 2006
REM -
REM - Database Platform: Oracle
REM - Non-Unicode Database
REM - Selected Character Set: WE8ISO8859P1 - Western European ISO 8859-1
REM - Generate Latin-1 Code
REM -
/
REM - PeopleSoft FIN/SCM Database - US English
/
SET LOG c:\temp\epengs.log;
SET INPUT P:\Apps\fdmo89\data\epengs.db;
SET COMMIT 30000;
SET NO VIEW;
SET NO SPACE;
SET NO TRACE;
SET UNICODE OFF;
SET IGNORE_DUPS;
IMPORT *;
REM - PeopleSoft FIN/SCM Database - US English
/
SET LOG c:\temp\epengl.log;
SET INPUT P:\Apps\fdmo89\data\epengl.db;
SET COMMIT 30000;
SET NO VIEW;
SET NO SPACE;
SET NO TRACE;
SET UNICODE OFF;
SET IGNORE_DUPS;
IMPORT *;
REM - Final Database cleanup
REM -
REM - Based on your inputs to Database Setup, you will be using
REM - ConnectID's to connect to your PeopleSoft Application
REM -
/
INSERT INTO PS.PSDBOWNER VALUES('FDMO89', 'SYSADM');
UPDATE PSSTATUS SET OWNERID = 'SYSADM';
UPDATE PSOPRDEFN SET SYMBOLICID = 'SYSADM1', OPERPSWD = OPRID, ENCRYPTED = 0;
UPDATE PSACCESSPRFL SET ACCESSID = 'SYSADM', SYMBOLICID = 'SYSADM1', ACCESSPSWD = 'SYSADM', VERSION = 0, ENCRYPTED = 0;
UPDATE PSOPTIONS SET LICENSE_CODE = '10003f40000000000000000012t3ywo', LICENSE_GROUP = '2';
---------------------------
我的笔记上面,运行这个脚本我用了3 小时50 分钟。
******************************************
到这一步为止,databaseinstall 的步骤完全运行完了。
4. 确定是否需要升级数据库至正确的 PT 版本
PS 系统的各种版本是乱得一塌糊涂。有很多东西需要记住的,如果作系统设置的人,记不住一个系统的版本,会出现很多错误。
比方fin 8.9 的系统,需要记住的是,
PT --> 8.47
Fin 应用 --> 8.9
Tuxedo --> 8.1
Weblogic --> 8.1 with SP3
1) 升级 PT 系统表
但是,觉得奇怪的是,Fin/SCM 8.9 配置的 PT 版本是 8.46, 而不是 8.47,所以,需要运行一个升级的 SQL 脚本 --> REL847.sql。
*不同的应用内置不同的PT版本。到底要运行几次PT升级SQL 脚本,你要去查你收到的PT的安装手册。
***** 这个升级需要运行的是 SQL 不是datamover. 有两种版本,一种是unicode 数据库,一种是 non-unicode 数据库。
****** 运行这个SQL 的是用户 SYSADM
2) 升级 PeopleTools Database Objects (这个我不知道怎样用中文术语说 )
这个需要在 Application Designer 环境下面做。
使用 用户 VP1/VP1 用数据苦连接的方式连上 Application Designer;
***********VP1 是FIN 应用的管理级别用户
连上了之后,在菜单上面选择:
tools --> copy project --> from file --> 去 file server map 的 driver 上面,去$PS_HOME\projects 目录下面,选出 PPLTLS84CUR --> 进入下一个页面 --> 按 COPY
3) 如果是多语言安装,这里需要做一个 语言的 PROJECT 拷贝。需要注意。(我没做过)
4) 清理:
同样运行一个 PPLTLS84CURDEL 的 PROJECT.
5) 更新 PT 表中的信息
也是在 application designer 内完成。
file --> open --> select project --> PPLTLS84CUR (which you copied into your database) --> build, project --> select "create tables" and "alter tables/build scripts file --> selest "settings..." --> scripts tab --> select "write alter comments to scripts" --> Alter tab "drop column if data present"/truncate data if field too short"/all under Alter any section/"alter by table Rename" --> Create Tab: "skip table if it already exists"/"recreate view if it already exists"/Recreate index only if modified"
***** on the tab of "Scripts" you can fill the "Output File Name". I did created a special fold for all file of installation.
--> create SQL script --> view and edit it --> run it by user SYSADM
==========我头都大了,今天不写了! |
|