接着在合并应用节点中提到的,最近在做升级项目。ebs 11i对于DB 11gR2需要升级到RUP6,今天刚好有时间,将操作步骤整理如下。本文将着重介绍ebs 11i升级RUP6的过程
环境信息:
EBS APP----------11.5.10.2(linux 4.5 32bit)
EBS DB------------9.2.0.6(AIX 6.1 64bit)
前提:应用处于关闭状态,adadmin打开维护模式
参考文档:
About Oracle Applications Technology ATG_PF.H Rollup 6 (Doc ID 444524.1)
补丁号5161676(US/ZHS),应用补丁后需要执行如下后续操作
登录数据库服务器,拷贝应用服务器$APPL_TOP/admin/adgrants.sql到数据库服务器,执行
sqlplus /nolog
SQL> connect /as sysdba
SQL> @adgrants.sql APPLSYS
参考:R11i : About Oracle Applications DBA Minipack 11i.AD.I (Doc ID 233044.1)
AD: 11i: Remove "REVOKE ALL FROM PUBLIC" from ADGRANTS.SQL
应用补丁5989593(US/ZHS),patch完成后执行如下后续操作
登录数据库服务器,拷贝应用服务器$APPL_TOP/admin/adgrants.sql到数据库服务器,执行
sqlplus /nolog
SQL> connect /as sysdba
SQL> @adgrants.sql APPLSYS
BNE: Patch 11i.BNE.D - Refer to About Web Applications Desktop Integrator Mini-pack 11i.BNE.D, OracleMetaLink Note 287080.1, for installation instructions.
SQL> select * from APPLSYS.FND_APPLICATION where APPLICATION_SHORT_NAME = 'BNE';
如果未返回记录那么需要运行adsplice工具去把BNE加入到系统(相关补丁:2824380 - Splice files for the BNE Product )
FND-3757164: INPUT FILTERING ONE-OFF FOR FND
FND-2278688: Oracle Self Service Framework Version 5.6E
FND-3358500: SSO Pre-Req for Applications Products – Rollup E
FND-2565888: AOL Java rollup patch H.1 to replace rollup H
FND-2666624: FNDJAR.DEP Pre-req needed for changes to JAR files: FNDSEC.JAR and FNDCCT.JAR
BNE-4252319: LANGUAGE FILE SETUP FOR BNE.D(3218526) PATCHSET
本系统需要应用4252319,其他补丁已应用。4252319(US)
4252319补丁成功应用后,adadmin执行如下操作
a. Compile APPS schema(s).
b. Compile flexfield data in AOL tables.
应用补丁3218526(US/ZHS),补丁成功应用后,adadmin执行如下操作
a. Compile APPS schema(s).
b. Compile flexfield data in AOL tables.
以下需要操作的部分均为webadi的业务上的设定
4.1) The Web server must be restarted after the successful application of the Patch Set.
4.2) Review the list of profile options in the Implementation and User Documentation specified in the Additional Product Information section.
4.3) Review the seeded form functions, menu, and responsibility in the Implementation and User Documentation specified in the Additional Product Information section. Give Oracle Application Users access to Web ADI form functions. Simply assigning the seeded Desktop Integration Responsibility to a user can do this. See the Oracle Applications System Administrator's Guide for more information on giving users access to form functions on the Personal Home Page.
4.4) If your site is using the General Ledger - Journals Integrator:
Make sure the GL: Set of Books Name profile option is set for all user profiles.
Assure that at least one of the following form functions is associated with the menu that contains the form function they use to access Web ADI: Enter Budget Journals, Enter Journals, Enter Encumbrances, Import Journals, and Create Document.
4.5) After BNE.D has been applied, then apply the latest ATG RUP patchset - currently that is ATG RUP6. All of the Web ADI fixes that have been made on top of BNE.D have been rolled up in the the latest ATG RUP patchset. In order to get these latest updates, you should apply the latest ATG RUP patch 6. Reference Patch 5903765 11i.ATG_PF.H. RUP6 and Note 444524.1 for more information
4.6) Sites using Internal Controls Manager need to apply patch 4483674 after applying BNE.D Minipack.
4.7) Sites using Financial Intelligence need to apply patch 3857216 after applying BNE.D Minipack.
4.8) Sites using HRMS need to apply patch 4199321 after applying BNE.D Minipack. Please consult the HRMS Metalink page <<http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=135266.1>> for any additional patches which may also need to be applied.
FRM: Patch 11i.FRM.H - Refer to About Oracle Report Manager Minipack 11i.FRM.H, OracleMetaLink Note 378338.1, for installation instructions.
4125550 - ATG 11.5.10 CU2 for ATG Product family
3218526 - BNE Patch 11i.BNE.D
3761838 - FRM Patch 11i.FRM.G
本次升级只需应用补丁3761838,其他补丁已应用。
应用3761838前置补丁:
XDO-3554613: ORACLE XML PUBLISHER OA RELEASE 4.5.0
RG-3854951: FSG XML PUBLISHER DELIVERY
FWK-3262919: OA FRAMEWORK MINI-PACK H (11I.FWK.H) FOR 11.5.10
FWK-4015543: FND IMAGES PREREQ FOR OA FRAMEWORK
BNE-3841047: WEB ADI PATCH SET C RUP 6
本次升级只需应用补丁3854951,其他补丁已应用。
应用补丁3854951(US/ZHS)
应用补丁3761838(US/ZHS)(注:补丁3761838后的postinstall暂时先不做,等4206794完成后一并完成)
4206794(US/ZHS),补丁应用成功后,运行adadmin,执行以下操作
Generate message files
Compile APPS schema(s)
Compile flexfield data
Recreate grants and synonyms for APPS schema(s)
应用如下补丁:
3854951 - RG FSG XML Publisher Delivery
5395066(US) - DOCUMENTATION FOR ORACLE REPORT MANAGER FRM.H
本次升级,只需应用5395066,其他补丁已应用。
运行此工具来确认系统满足RUP6安装要求:
1).Ensure "APPLRGF" variable is set in environment. If not, set it to the same value as "APPLTMP".
2).From the location where this patch was unzipped, change directory to fnd/patch/115/bin
3).Run the utility as follows:
echo $APPLRGF
/u01/TEST/prodcomn/rgf/prod_test02
cd /u01/patches/developer/5903765/fnd/patch/115/bin
./txkprepatchcheck.pl -script=ValidateRollup -outfile=$APPLTMP/txkValidateRollup.txt -reporttype=text -appspass=*******
查看生成的报告$APPLTMP/txkValidateRollup.txt,确保系统满足RUP6要求。
应用补丁5903765(US/ZHS),补丁应用阶段出现以下错误:
错误:
The table is missing the index ICX_TRANSACTIONS_U1
or index ICX_TRANSACTIONS_U1 exists on another table.
Create it with the statement:
Start time for statement below is: Sun Dec 15 2013 17:28:53
CREATE UNIQUE INDEX ICX.ICX_TRANSACTIONS_U1 ON ICX.ICX_TRANSACTIONS
(TRANSACTION_ID) LOGGING PCTFREE 10 INITRANS 11 MAXTRANS 255 COMPUTE
STATISTICS PARALLEL TABLESPACE APPS_TS_TX_IDX
AD Worker error:
The following ORACLE error:
ORA-12801: error signaled in parallel query server P001
ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
occurred while executing the SQL statement:
CREATE UNIQUE INDEX ICX.ICX_TRANSACTIONS_U1 ON ICX.ICX_TRANSACTIONS
(TRANSACTION_ID) LOGGING PCTFREE 10 INITRANS 11 MAXTRANS 255 COMPUTE
STATISTICS PARALLEL TABLESPACE APPS_TS_TX_IDX
AD Worker error:
Unable to compare or correct tables or indexes or keys
because of the error above
解决方法:
icxwtab.odf is unable to create index ICX_TRANSACTIONS_U1 [ID 430673.1]
Solution
To implement the solution, please execute the following steps :
1. Run the purge program :
* The name of the program is "Purge Inactive Sessions" located under the "Apps for the Web Manager" Responsibility.
* The internal name is ICXDLTMP.
* Also you can find this SQL script under $ICX_TOP/sql (named ICXDLTMP.sql).
cd $ICX_TOP/sql
sqlplus apps/apps01_ofprd
@ICXDLTMP.sql
此脚本可先执行,以避免该错误!
3865683 - AD: Release 11.5.10 Products Name Patch
3865683(US/ZHS)
下列补丁,按照该补丁的前提要求判断是否需要安装
11i.10 Cumulative Update 2 with iStore implemented and with Single Sign-On (SSO) enabled
IBE:6408117 - iStore Takes to AppsHomePage After Login
11i.10 Cumulative Update 2 with Quoting implemented
QOT:6024690 - Error Thrown when Clicking on the Quotes Tab
11i.10, 11i.10 Cumulative Update 1, or 11i.10 Cumulative Update 2
CS:4619025 - Invalid Package CS_WF_ACTIVITIES_PKG
11i.10, 11i.10 Cumulative Update 1, or 11i.10 Cumulative Update 2 with Knowledge Management implemented
CSK:5368595 - KM Pages Incorrectly Switch to Guest User Responsibility in iSupport Flow
11i.10, 11i.10 Cumulative Update 1, or 11i.10 Cumulative Update 2 with iSupport implemented
IBU:5357791 - Not Able to View Solutions Using 'IT:GIT Restricted iSupport' Responsibility
11i.10 with Oracle HRMS Family Pack I, or later HRMS Family Packs
BEN:5970422 - ARU for Additional Data Page: LOV does not Populate Segment Values
11i.10 with Oracle Self-Service HR (product code PER) fully installed
PER:5910548 - Patch for Bug 5879690 Failed - Core HRMS
11i.9 or 11i.10 with Business Intelligence implemented
BIS:4429906 - Business Intelligence System Patchset 11i.BIS.L
BIS:5212746 - Business Intelligence System Delta Patchset 11i.BIS.L.delta.4
Any release for NLS customers, or any release using Oracle XML Gateway and applications dependent on it
TXK:5194357 - Rehost XML Parser for PL/SQL v1.0.2+ for Oracle EBS 11i
Any release with DBI 7.0 (3358654) or 11i.BIS_PF.E (4143498) applied
ENI:5230979 - Patch 4334965 Invalidates MView ENI_DBI_CO_OBJIDS_MV on 10g Database
Follow the instructions in OracleMetaLink note 271148.1 to configure and apply interoperability patches for
Oracle XML Parser for Java v9.0.4.
应用补丁4583125
11.5.10.2无需安装额外的协作补丁
$COMMON_TOP/admin/scripts/$CONTEXT_NAME/adautocfg.sh
Enter the APPS user password : *******
确认包含xdkjava_version_9.0.4.0.0_production,若不包含则需要运行adadmin去regenerate jar
unzip -l $JAVA_TOP/appsborg2.zip | grep 9.0.4
确认下列配置文件的CLASSPATH选项中包含xmlparserv2-904.zip
grep xmlparserv2-904.zip $IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.properties
grep xmlparserv2-904.zip $IAS_ORACLE_HOME/Apache/Jserv/etc/forms.properties
grep xmlparserv2-904.zip $IAS_ORACLE_HOME/Apache/Jserv/etc/xmlsvcs.properties
grep xmlparserv2-904.zip $APPL_TOP/admin/adjborg.txt
grep xmlparserv2-904.zip $APPL_TOP/admin/adjborg2.txt
上一步中应用已运行autocfg,这里只在数据库层运行
App用户重新login,生成appsutil.zip
cd $AD_TOP/bin
perl admkappsutil.pl
拷贝生成的appsutil.zip,到数据库服务器$ORACLE_HOME下
解压,生成$CONTEXT_FILE并执行autocfg
unzip -o appsutil.zip
cd $ORACLE_HOME/appsutil/bin
adbldxml.pl tier=db appsuser=apps appspasswd=*******
cd $ORACLE_HOME/appsutil/bin
adconfig.sh contextfile=${ORACLE_HOME}/appsutil/${ORACLE_SID}_`hostname`.xml appspass=*******
SQL> CREATE TABLESPACE APPS_TS_TOOLS DATAFILE
'/data/apps_ts_tools01.dbf' SIZE 500M AUTOEXTEND ON NEXT 100M MAXSIZE 2000M
EXTENT MANAGEMENT LOCAL AUTOALLOCATE;
如果不存在AL*.ttf,则需要复制:
cd $COMMON_TOP/util/java/1.4/j2sdk1.4.2_04/jre/lib/fonts
cp $FND_TOP/resource/ALBANWTK.ttf .
cp $FND_TOP/resource/ALBANYWT.ttf .
cp $FND_TOP/resource/ALBANWTT.ttf .
cp $FND_TOP/resource/ALBANWTS.ttf .
cp $FND_TOP/resource/ALBANWTJ.ttf .
If you have defined any custom notification mailer service components that are dedicated to process only messages
from a particular item type, then you must update the correlation ID value for those notification mailers to continue
processing messages. You can set the correlation ID in the Define page of the advanced configuration wizard in Oracle
Workflow Manager. For each notification mailer, set the correlation ID to the internal item type name followed by a
colon and a percent sign in the following format:
<item_type_name>:%
For example:
WFDEMO:%
注:如果需要操作的话,必须放在所有patch完成、并启动应用之后进行。
运行并发程序’ Workflow Directory Services User/Role Validation concurrent program (FNDWFDSURV)’
注:此操作必须放在所有patch完成、并启动应用之后进行。
6330890(US)
至此RUP6升级完成