ARABSAT
2011
Pa rt No . E14010-01
I.
Steps
Apply 11i.AD.I.6
No Action Required,
a.
b.
c.
d.
e.
f.
a.
b.
c.
d.
e.
f.
g.
h.
i.
j.
k.
l.
m.
n.
o.
p.
q.
D. time
[Min]
0
20
Comments
Already at the same level of
required patch.
May be install patch as hot patch
70
Verify shudown
ps ef in prodappl should be less 20
2|P a g e
Review Size
2011
No Action Required
No Action Required
70
3|P a g e
(recommended)
Out of box
2011
Already 10.2.3
6319846
Unzip p6319846_10203_LINUX.zip
2011
cd 6319846
shutdown DB normal & Listner
export PATH=$PATH:$ORACLE_HOME/Opatch
$opatch napply -skip_subset -skip_duplicate
6110331
Unzip p6110331_10203_LINUX.zip
% cd 6110331
Shutdown DB normal & listner
opatch apply
only below part
unzip patch 4247037
cd 4247037
optach apply
cd $ORACLE_HOME/md/admin
sqlplus / as sysdba
@catmgdidcode
5|P a g e
2011
Steps
Down
time
[Min]
0
No Action Required
Login sysadmin
Concurrent Requests Cancel all pending requests
Concurrent ManagerAdminister deactivate Internal
Login APPL MGR
$Cd $SCRIPTS
$./adstpall apps/xxx
10
No Action required
Comments
6|P a g e
2011
select CONTENTS,EXTENT_MANAGEMENT,ALLOCATION_TYPE
from dba_tablespaces where tablespace_name='TEMP';
Backup Database
Ensure maintenance mode is
enabled
select *
from dba_triggers where trigger_name like 'XX%'
select *
from dba_indexes
where index_name like 'XX%'
$ cd $APPL_TOP/admin
$ sqlplus system/xxx @addrpmrc.sql applsys FORCE
60
0
$cd /oracle/R12/apps/apps_st/appl
$ . R12_r12app1.env
%adpatch 7461070
15
720
150
$ cd $AU_TOP/patch/115/driver
Install patch u6678700.drv from bove location using command
$ adpatch options=nocopyportion,nogenerateportion
7|P a g e
2011
No Action Required
$sqlplus / as sysdba
Sql>create pfile from spfile;
Sql>alter system set processes=400 scope=spfile;
Sql> alter system set session=800 scope=spfile;
Sql>alter system set job_queue_processes = 2 scope=spfile;
----noSql>alter system set plsql_code_type = native scope=spfile;
No Action
No Action Required
Its optional ..
15
8|P a g e
2011
2011
$FND_TOP/bin/txkSetPlugin.sh 16017
$sqlplus apps/xxx @$AD_TOP/patch/115/sql/adsetmmd.sql
DISABLE
Reapply customizations
Integrate custom objects and
schemas
No Action required
No Action Required
This is need to open IMAP and SMTP Ports with Exchange Server.
No Action Required
No Action Required
No Action Required
III.
2011
Task
Steps
Completed
Down
time
[Min]
Comments
commit;
No action Required
No Action Required
Rename old release to old..
11 | P a g e
2011
Issue 1:
Worker01 have a proble,
I check the log of workers
Solution
Run the following sql to create the missing objects
sqlplus apps/xxx @$CS_TOP/patch/115/sql/cskfctxs.pls APPS
sqlplus apps/xxx @$CS_TOP/patch/115/sql/cskfctxb.pls APPS
Issue 2
Worker01 have a problem, when I check log of work 01
Solution
12 | P a g e
2011
Check worker log, APPLSYS Account locked. Unlock APPLSYS and restart worker
select * from dba_users
where account_status like '%LOCK%'
Issue 3
Concurrent Manger status : System Hold, Fix Manager before resetting
After upgradation from 11.5.10.2 to 12.1.1, some of the concurrent managers are not coming up and showing the following error:
The actual value of the manager is 0.
ERROR
"System Hold, Fix Manager before resetting counters".
Solution
Finally as per the note:985835.1, I have done the following
1. Stop all middle tier services including the concurrent managers.
Please make sure that no FNDLIBR, FNDSM, or any dead process is running.
2. Stop the database.
3. Start the database.
4. Go to cd $FND_TOP/bin
$ adrelink.sh force=y link_debug=y "fnd FNDLIBR"
$ adrelink.sh force=y link_debug=y "fnd FNDFS"
$ adrelink.sh force=y link_debug=y "fnd FNDCRM"
$ adrelink.sh force=y link_debug=y "fnd FNDSM"
5. Run the CMCLEAN.SQL script from the referenced note below (don't forget to commit).
13 | P a g e
2011
Issue 4
In Case Post Upgrade fail the following steps can be executed
Solution
cd $FND_TOP/patch/115/bin
perl -x ojspCompile.pl --compile --flush -p 2
manual auto config for DB & APP node [DB First , Then Apps Node]
Restart DB & Apps Nodes
Try post upgrade ..
Update DB Node Steps:Update database tier nodes with the Oracle E-Business Suite Releas e 12.1.3 code level.
After upgraded to Oracle E-Business Suite Release 12.1.3, perform the following post-updat e steps to update all dat abase tier nodes wit h the c ode level, provided by
Oracle E-B usiness Suite Release 12.1.3:
Application tier:
As the APPLMGR user, run the environment file for the current APPL_TOP.
. .$APPL_TOP/APPS$CONTE XT_NAME.env
Run Aut oConfig on the APPL_TOP.
14 | P a g e
2011
Run the admkappsutil.pl utility to create the file appsutil.zip in the $INS T_TOP/admin/out directory.
perl $A D_TOP/bin/admkappsutil.pl
Database tier:
As the ORACLE user, run the environment file for the current ORA CLE _HOME.
cd [RDBMS ORA CLE _HOME]
. ./[RDBMS ORACLE _HOME]/$CONTE XT_NAME.env
Copy or FTP the appsutil.zip file to the [RDBMS ORA CLE _HOME].
Uncompress appsutil.zip under the [RDBMS ORACLE_HOME].
cd [ORACLE _HOME]
unzip -o apps util.zip
Run Aut oConfig on the [RDBMS ORA CLE _HOME]
Re-run adpreclone. pl on the database tier and the application tier.
Since updates included in Oracle E-Business Suite Release 12.1.3 were applied to the system, adpreclone must be run again to apply the updat es to the clone
directory structures that were used during cloning.
perl adpreclone.pl dbTier
perl adpreclone.pl appsTier
15 | P a g e
2011
"To verify that your S ales Compensation setup data is ready for the upgrade, download and apply patch 4963569 to your Release 11i APPL_TOP. This patch
contains cnupgchki.sql (located in the first directory in utl_file_dir). Run this script manually. It creates a report that tells you what pre-upgrade steps are required. You
can also view the information in concat enat ed format in the AutoPatch log file (c nupgchki.log)."
Page 2-15: In the first sentence of Step 7, replace the words "OPM Order Fulfillment" with "Order Management."
Page 3-7: In the third paragraph from the top of the page, replace $APPLTMP with $APPLP TMP in the sentence that begins "If you use a RAC database...."
Page 3-7: Replace Steps 1 - 3 as follows. Renumber the remaining steps as 9 - 13.
1.
2.
3.
Apply patch 6636108 on the application tier. Customers who are on 12.0.x need to apply this patch.
Apply patch 4585869 on the application tier. Customers who are on 12.0.x and have not upgraded to 10.1.3.3 AS patchset need to apply this patch.
Update the RDBMS ORACLE_HOME file system with AutoConfig files.
On the application tier (as the APPLMGR user), log on to the APPL_TOP environment (source the environment file) and run this Perl script to create
appsutil.zip in <INS T_TOP>/admin/ out.
perl <AD_TOP>/bin/admkappsutil.pl
On the database tier (as the ORA CLE user), copy or FTP the appsutil.zip file to the <RDBMS ORA CLE_HOME> wit h this command:
cd <RDBMS ORACLE_HOME>
unzip -o appsutil.zip
4.
5.
6.
7.
Install JRE on the database tier to ensure that the application tier and the dat abase tier match:
o If you are using a "fully certified" platform, refer to OracleMet alink (Doc ID: 418664.1) to install JRE under the <RDB MS_ORA CLE _HOME>/apps util
directory.
o If you are using a "database tier only" plat form, refer to OracleMetalink (Doc ID: 456197.1) to install JRE under the
<RDBMS_ORA CLE _HOME>/apps util directory.
Create a <C ONTE XT_NAME> directory under $ORACLE_HOME/network/admin, where CONTE XT_NAME is <ORACLE_S ID>_<DB hostname>. Copy
listener.ora and tnsnames.ora from the $ORA CLE _HOME/network/admin directory to the $ORACLE _HOME/net work/admin/<CONTE XT_NAME> directory.
Set and export the following environment variables:
o ORA CLE_HOME = <RDBMS_ORACLE_HOME>
o LD_LIBRA RY_PA TH = $ORA CLE_HOME/lib:$ORACLE_HOME/ctx/lib
o ORA CLE_S ID = <instance name for current database node>
o PATH = $PATH:$ORACLE_HOME/bin
o TNS_A DMIN = $ORACLE_HOME/network/admin/< CONTE XT_NAME>
If you are using the 10.2.0 ORA CLE_HOME from Release 11i, generate a new cont ext file as follows:
16 | P a g e
UNIX:
2011
cd <RDBMS ORACLE_HOME/appsutil/bin
perl adbldxml.pl
WINDOWS:
cd /d <RDBMS ORACLE_HOME\appsutil\bin
perl adbldxml.pl
Note:
<RDBMS ORACLE_HOME> is the directory structure laid down by Rapid Wizard as part of the Upgrade File System option.
8.
Page 4-8: Add the following text to the end of Step 1, "Run concurrent programs":
Note: If you are at the 11.5.10.2CU release level, you can reduce downtime by running the concurrent process request set "Update as_accesses_all denorm flag" as
a pre-upgrade step.
17 | P a g e
2011
Page 4-17: In the Process Manufacturing section under Step 1, "Complete Inventory Convergence for OPM," change patch 4689881 to read 6677022.
Page 4-19: In the Additional Information note for Step 2, replace Oracle Server Technology Administrator's Guide with Oracle Database Administrator's Guide 10g
Release 2 (10.2).
Page I-5: Delete the line that begins "ML# 396079.1" in the Patch List table. It does not reference a patch.
In this Document
Goal
Solution
References
Applies to:
Oracle Applications Technology Stack - Version: 11.5.7 to 11.5.10.2 - Release: 11. 5 to 11.5.10
Information in this document applies to any plat form.
Goal
Checked for relevance by ATG-ICM Subject Matter Expert (SME): 31-january-2007
The goal is to get a cleaned up Aut oconfig Environment.
18 | P a g e
Solution
2011
1. Clear the net services topology data model used by autoconfig Note 218089. 1 - 'Autoc onfig FAQ'
Question:
How do I deregister a APPLICA TION-Tier from the Net Services Topology Dat a Model?
Answer:
To deregister the current application tier from the Net Services Topology Data Model, invoke the following command:
perl $AD_TOP/bin/adgentns.pl appspass=xxx contextfile=$CONTEXT_FILE -removeserver
Question :
How do I deregister a DA TABASE-Tier from the Net Services Topology Dat a Model?
Answer:
To deregister the current database tier from the Net Services Topology Data Model, invoke the following command:
perl $ORACLE_HOME/appsutil/bin/adgentns.pl appspass=xxx contextfile=$CONTEXT_FILE -removeserver
3. Run AutoConfig on all tiers, firstly on the DB tier and then the APPS tiers, to repopulate the required system tables
19 | P a g e
2011
Patches:Issue
Patches:-
export PATH=$PATH:/oracle/R12/apps/tech_st/10.1.2/OPatch
chmod +x $ORACLE_HOME/bin/genshlib
unzip p7121788_101230_Linux.zip
cd /oracle/patches12/7121788
opatch apply
cd /oracle/patches12/9593176
opatch apply
20 | P a g e
2011
$ cd $ORACLE_HOME/forms/lib/
$ make -f ins_forms.mk install
De-Install Patch
export PATH=$PATH:/oracle/R12/apps/tech_st/10.1.2/OPatch
21 | P a g e
2011
22 | P a g e
2011
23 | P a g e
2011
24 | P a g e
2011
Below is a list of of the concurrent programs that form part of the required post upgrade steps. These concurrent programs are
automatcally submitted during the regular donwtime upgrade, so no manual submission is required. For our ORAPROD 6.5 TB database,
upgrading 12 years of historical financial data and using 30 target processes in the concurrent manager, these jobs took 13 hours.
Application Name Concurrent Program Name
Elapsed Time
(in minutes)
Total Number
Of Requests
Advanced Supply
Chain Planning
MSCREFMV
.23
Application Object
Library
FDFCMPA
344.25
Application Object
Library
FDFCMPN
232.55
12
Application Object
Library
FDFVGN
1.18
774
Application Object
Library
FNDFIXRN
1.68
Application Object
Library
FNDSCMPI
Compile Security
.08
Applications DBA
ADDRPOBS
2.3
66
Asia/Pacific
Localizations
JAINDFOBS
.03
Collections
IEX_COLLECTORS_TO_RESOURCE
.37
Contracts Core
OKCARTCRTCTX
28.47
Contracts Core
OKCCHRCRCTX
275.5
Contracts Core
OKC_XPRT_PUBLISH_RULES
1.63
5
25 | P a g e
2011
16.22
Human Resources
IRC_CREATE_NOTIFICATION
30
Human Resources
PERNMFT
731.7
Human Resources
PERNMFT_INT
730.65
Human Resources
PER_FND_SESSIONS_CLEANUP
.23
Incentive
Compensation
CNUPGPMTCLWRKER
900
Incentive
Compensation
CNUPGPMTCOMMTRXMGR
101.82
30
Incentive
Compensation
CNUPGPMTREASONSMGR
106.53
30
Incentive
Compensation
CNUPGPMTREASONSWKR
105.98
900
Incentive
Compensation
CNUPGPMTRXMGR
46
30
Incentive
Compensation
CNUPGPMTRXWRKER
2.95
900
Incentive
Compensation
CN_COLLECT_GEN
.03
Labor Distribution
PSPERUPB
.25
Learning
Management
OTATZUPG
44.63
Lease Management
OKLSVPTH
5.72
Oracle Service
CSCHGLINENOMGR
1.67
1
26 | P a g e
2011
Oracle Service
CSCHGLINENOWKR
Oracle Service
CS_KB_SYNC_CATEGORIES_INDEX
.4
Oracle Service
CS_KB_SYNC_SOLUTIONS_INDEX
.43
Oracle Service
CS_KB_SYNC_STATEMENTS_INDEX
.43
Oracle Service
CS_SR_SYNC_TEXT_INDEX
.27
Payables
APWUPDST
91.08
Payables
APWUPRD
158.7
30
Payments
IBYUPGCP
.45
Purchasing
POXUPMGR
25.77
Purchasing
POXUPWKR
1.08
Receivables
ARHDCH
305.35
Receivables
ARHDQMPP
203.3
Receivables
ARHDQSYN
506.93
Receivables
ARHGNRW
298.68
20
Receivables
ARHSUFXS
56.05
Service Contracts
OKSLAUNCHKWF
109.23
30
Service Contracts
OKS_REPROCESS_SUBREQUEST
.02
2
27 | P a g e
2011
Service Contracts
REPROCESS_SYNC_RULE_DATA
.52
Subledger
Accounting
XLAAADUL
.18
Subledger
Accounting
XLAABACR
98.97
Subledger
Accounting
XLAALIMP
1.5
US Federal Human
Resources
GHR_ELT_BEN_CONV
361.83
US Federal Human
Resources
GHSUBBENCONV
.03
28 | P a g e
2011
Goal
The following Business views are invalids:
CEBG_BA NK_S TA TEME NTS
CEBG_BA NK_S TA TEME NT_LINES
CEBG_CASH_FORECAS T_CE LLS
CEFG_BA NK_S TA TEME NTS
CEFG_BA NK_S TA TEME NT_LINES
CEFG_CAS H_FORE CAS T_CELLS
Solution
Please follow the action plan:
1. Log in as sysadmin and use "Business Views Setup" Responsibility.
2. Submit the concurrent request under Report --> Run --> "Generate All Business Views".
(You can also submit request "Generate Business Views By Application" with
Applications = "Cash Management". This will be specific to Cas h Management ).
3. Check the list of INVALIDS after the report completes.
4. Update the SR with results
29 | P a g e
2011
Just Upgraded To R12 And Now A Number Of Objects Won't Compile - Views: <PROD>BV_ -> <PROD>BG_ and <PROD>FV_ -> <PROD>FG_ (Doc ID 560185.1)
Same As above
2011
10161994, Invalid Triggers After Upgrading From 11.5.10.2 To R12.1.3 (Doc ID 1227353.1)
The Note number for the invalid triggers AX* is Exception occured 1227353.1 (The 10161994 is part of the note title).
The solution this note provides is below
Manually run xlaaxtrg.sql.
$cd $XLA_TOP/patch/115/sql
$sqlplus apps/xxx @ xlaaxtrg.sql
Unable to Compile WMS_EPC_PVT get 'MGD_IDCOMPONENT_VARRAY' Must be Declared Error (Doc ID 1070991.1)
$> cd $WMS_TOP/patch/115/sql
$> sqlplus apps_user/apps_password
REM> Delete the WMS_RULE_LIST_PACKAGE
SQL> delete WMS_RULE_LIST_PACKAGE;
SQL> select count(*) from WMS_RULE_LIST_PACKAGE;
REM> Result should be count(*) = 0
SQL> wmsrlpkg.sql
SQL> wmsgrlspecn.sql
SQL> alter PACKAGE APPS.WMS_RULE_PVT compile body;
SQL> wmsgnrules.sql
Unable to compile OKS_CCENCRYPTION_PKG (Doc ID 413213.1) (This note is for 11i , but seems no differenr for release 12 as well)
R12: Invalid Objects in Receivables after Upgrade to R12 (Doc ID 857283.1) (Let me know if you cant see it in metalink)
31 | P a g e
2011
Cskbctxp.Sql Failed When Running U6394500.Drv (Doc ID 603633.1) (File versions will be different for you in 12.1.x. but the steps will be same )
Already run while upgrade Patch
Profiles Needs
Yes
HR legislation
$ORA CLE _HOME/jdk/java oracle.apps.per. DataInstall apps xxx thin devdb1.arabs at.com.sa:1521:dev
Solution
In order to populate the TL tables with the translated data,
it would be necessary to run R12, followed by hrglobal
and then to run the R12 NLS patch in order to overwrite the base language TL rows
with the actual translated data.
Steps:
1. Install Oracle Applications E-Business Suite Release 12.
2. Apply the hrglobal pre-requisite patch. (Check Metalink Note 145837.1 for details.)
3. Run DataInstall and select legislations to install.
4. Apply hrglobal.drv exists in $PER_TOP/patch/115/driver.
5. Apply R12 NLS patch.
32 | P a g e
2011
6. Check Metalink Note 145837.1 - Step 5 - for details of the any recent hrglobal NLS translation patches
that should be applied in addition to the R12 Baseline NLS patch.
7. Run the concurrent program "Generate Payroll Dynamic Database Item Translations".
8. Run the concurrent program "Bulk Compile Formulas".
HR Legislation Patch
The primary goal of post install steps is to deliver seeded data. Seeded data consists of deduction and earnings elements, formulas, jurisdiction code
information, balances, balance classifications, etc. Without this you will miss basic entities s uch as the Regular Salary and Regula r Wages e lements.
To enable Count ry Legislation you need to register the country specific driver in your application. Once you have successfully installed Oracle
E-Business Suite 12.1.1, you need register the legislation using following command.
DataInstall for hrglobal
$ java oracle.apps.per.DataInstall apps xxx thin devdb1.arabsat.com.sa:1521:dev
+-+
| DataInstall Main Menu |
+-+
1. Select legislative data to install/upgrade
2. Select college data to install/upgrade
33 | P a g e
2011
.
57 United States Payroll
58 United States US Federal Human Resources
<Product #><Action> Change Action
where <Action> is [I : Install, C : Clear]
34 | P a g e
2011
2011
+-+
1. Select legislative data to install/upgrade
2. Select college data to install/upgrade
3. Select JIT or OTL to install/upgrade
4. Exit to confirmation menu
Enter your choice : 4
DataInstall Actions confirmation
Do you really wish to exit and save your changes?
[Y] Yes, save then exit
[N] No, dont save but exit
[Return] To return to the DataInstall Main Menu
Enter your choice (for example Y) : Y
Install the Global legislation driver - hrglobal.drv
hrglobal.drv is the single source for installing and delivering the seeded legislative data. All legislation data is included in hrglobal.drv. However,
hrglobal will only install what was selected from datainstall.
Set the Application Enviornment $APPL_TOP/APPS<Context_Name>.env
36 | P a g e
2011
Apply $PER_TOP/patch/115/driver/hrglobal.drv to the database tier. Be mindful to only run the driver located in this directory..
hrglobal.drv driver should be applied as per a normal patch using the adpatch utility.
Once completed you have successfully installed your legislative HRMS data.
Confirm the forms from HR consultant after successfully apply the hrgloba l driver.
37 | P a g e
2011
cd $APPL_TOP
mkdir -p xxbillsys/12.0.0
cd xxbillsys/12.0.0
mkdir ./admin
mkdir ./admin/sql
mkdir ./admin/odf
mkdir ./admin/template
mkdir ./admin/driver
mkdir ./forms
mkdir ./forms/US
mkdir ./html
mkdir ./lib
mkdir ./mds
mkdir ./mesg
mkdir ./patch
mkdir ./sql
mkdir ./bin
mkdir ./help
mkdir ./java
mkdir ./log
mkdir ./media
mkdir ./out
mkdir ./reports
mkdir ./reports/US
38 | P a g e
cd $APPL_TOP
2011
mkdir -p xxlegalsys/12.0.0
cd xxlegalsys /12.0.0
mkdir ./admin
mkdir ./admin/sql
mkdir ./admin/odf
mkdir ./admin/template
mkdir ./admin/driver
mkdir ./forms
mkdir ./forms/US
mkdir ./html
mkdir ./lib
mkdir ./mds
mkdir ./mesg
mkdir ./patch
mkdir ./sql
mkdir ./bin
mkdir ./help
mkdir ./java
mkdir ./log
mkdir ./media
mkdir ./out
mkdir ./reports
mkdir ./reports/US
39 | P a g e
cd $APPL_TOP
2011
mkdir -p xxlglc/12.0.0
cd xxlglc/12.0.0
mkdir ./admin
mkdir ./admin/sql
mkdir ./admin/odf
mkdir ./admin/template
mkdir ./admin/driver
mkdir ./forms
mkdir ./forms/US
mkdir ./html
mkdir ./lib
mkdir ./mds
mkdir ./mesg
mkdir ./patch
mkdir ./sql
mkdir ./bin
mkdir ./help
mkdir ./java
mkdir ./log
mkdir ./media
mkdir ./out
mkdir ./reports
mkdir ./reports/US
40 | P a g e
cd $APPL_TOP
2011
41 | P a g e
2011
Occ. eBooking
42 | P a g e
2011
Assign a value to the profile "FND: Default Template Output Type" and flag if the template is a Subtemplate or not.
Ensure that the profile "FND:OA:Enable Defaults" is set to 'Yes'.
43 | P a g e