Академический Документы
Профессиональный Документы
Культура Документы
2
Administration
Prepared by:
Ivo Dujmovic
Ivo@patchivo.com
Entrepreneur
Patchivo, Interana
REMINDER
Check in on the
COLLABORATE mobile app
ivo@patchivo.com
ivo@interana.com
Online Patching
Uses EBR from 11.2 of DB
New concepts to EBS: dual FS, FS cloning
Cheat sheet for Online Patching
Run two versions side-by-side or preview new version with secret url
Other Technology
WebTier delivers Oracle HTTP Server, aka Apache 2.2
Needed for mod_security
Database
11.2 was the latest at development time, as well as the first
delivering EBR, the key feature for Online Patching
Grid Install concept:
12.2 Install
Preparation
Virtualization makes sense virtualbox with 64b Linux
9GB mem for the install; otherwise hard to troubleshoot bugs
Platform install doc has gotchas listed
Staging script
When downloading zip files
R2
File System: 2
WebLogic Server
WebLogic Server
Developer 10.1.2
APPL_TOP
COMMON_TOP
INST_TOP
Edition-Based
Redefinition
Developer 10.1.2
Synchronization managed
by patching tools
COMMON_TOP
APPL_TOP
INST_TOP
oraInventory
stage
$ ls /oracle/stage/
zipMedia
client
Disk1
EBSInstallMedia
misc
startCD
current
Disk2
examples
patches
TechInstallMedia
database
Disk3
gateways
readme.htm
TechPatches
deinstall
Documents
grid
README.txt
wls1036_generic.jar
fs1
fs2
fs_ne
VIS
$ . EBSapps.env
Service/SID: VIS
FMW_Home
inst
$ ls fs1/EBSapps/
10.1.2
appl
comn
$ ls fs1/inst/
apps
$ ls fs1/inst/apps/VIS_ip-10-28-88-207/
admin
appltmp
logs
out
portal
soa
appl
conf_VIS.txt
ora
pids
rgf
temp
fnd
$ ls fs1/inst/apps/VIS_ip-10-28-88-207/appl/admin/
adovars_VIS_ip-10-28-88-207.env
oamextensions.xml
cutover/
ojspCompile.conf
forms-c4ws_wls.properties
ojspCompile.properties
forms_wls.properties
VIS_ip-10-28-88-207_patch.txt
fsclone_config.txt
VIS_ip-10-28-88-207_run.txt
oacore_wls.properties
VIS_ip-10-28-88-207.xml
oafm_wls.properties
fs1
fs2
fs_ne
VIS
$ ls VIS/
11.2.0 checkpoints data diag
$ ls VIS/checkpoints/
$ ls VIS/diag/
asm clients crs diagtool lsnrctl
ofm rdbms tnslsnr
netcman
adexecsql.pl
adstpall.sh
jtffmctl.sh
adadminsrvctl.sh
adformsrvctl.sh
adstrtal.sh
msc
adalnctl.sh
admanagedsrvctl.sh
cz64bitengine.pl
mwactl.sh
adapcctl.sh
adnodemgrctl.sh
gsmstart.sh
mwactlwrpr.sh
adautocfg.sh
adopmnctl.sh
ieo
sqlnet.log
adcmctl.sh
adpreclone.pl
java.sh
$ ls /oracle/ebs122/VIS/11.2.0/appsutil/scripts/VIS_ip-10-28-88-207/
adautocfg.sh
addbctl.sh
adexecsql.pl
adpreclone.pl
adchknls.pl
addlnctl.sh
adlsnodes.sh
adstopdb.sql
adstrtdb.sql
Instance and Node Cloning still copy bits for only one FS
At target bits are recycled for creating both FSs
$ adop -help
Applications DBA Online Patching Tool (adop)
Enter adop -examples for a detailed list of parameters and their usage.
No workshifts/ramp-up
ADOP Phases
Standard phases:
prepare
apply
finalize
cutover
cleanup
Special phases:
abort
restart=(yes|no)
[default: no]
[default: no]
Finalize parameters:
finalize_mode=(full|quick)
[default: quick]
[default: quick]
Cutover parameters:
mtrestart=(yes|no)
[default: yes].
Cleanup parameters:
[default: quick]
patches=123456
workers=4
Command line parameters override input file parameters.
loglevel=(statement|procedure|event|warning|error|unexpected)
[default: event]
Controls the level of diagnostic log detail displayed.
action=(db|nodb)
[default: db]
-status [<session_id>]
Adop Examples
Complete patching cycle, running each phase separately:
adop phase=prepare
adop phase=apply patches=12345,67890 workers=4
adop phase=finalize workers=4
adop phase=cutover workers=4
adop phase=cleanup
Users reconnect
fs_clone
Cutover
Does a finalize first if it was not run as last action before cutover
Hotpatching
Apply a patch to runFS with your historical hotpatching
processes
adop phase=apply hotpatch=yes patches=
Must be done outside normal patching cycle, so if you already
did a prepare, you need to do a cutover (empty cycle)
Empty cycle does not require an fs_clone unlike the other option:
abort current cycle
Not recommended unless you are really sure in what you are
doing: review the patch, read all files delivered and actions listed
in driver (some actions are not really documented)
Know which users will be connected
Bounce processes
Register files in
FS_NE/EBSapps/appl/ad/custom/adop_sync.drv
Will propagate from Run to Patch FS
Q&A
Prepared by:
Joseph Josephine
Head of Oracle Product Usage
Acme Manufacturing
REMINDER
Check in on the
COLLABORATE mobile app