Вы находитесь на странице: 1из 7

Home

About
Careers
Clients
Consulting
Training
Support
Articles
Blog
Rittman Mead - Delivered Intelligence
Patch OBIEE the quicker way with OPatch napply
July 4th, 2013 by Robin Moffatt
Since 2012, Oracles patching strategy for OBIEE has been Bundle Patches released approximately once a month.
These bundle patches are usually cumulative ones, applied on top of the .0 version of the product. Patching is done
through Oracles standard OPatch tool, which manages the application of patches along with an inventory of them
and rollback if necessary.
Ive previously written about the overall patching process here. OPatch is part and parcel of an OBIEE sysadmins
life, so I wanted to share this short article to show the quicker way to apply the PSUs. It uses a more direct way than
the patch documentation describes, taking advantage of the napply option of OPatch (documented here). By using
this option OPatch will apply all listed patches in one go, rather than one at a time. As well as this, we can use the
silent flag to stop OPatch from prompting to apply each patch in turn.
1. Download the necessary patches for 11.1.1.7.1 this is 16569379 and 16556157. In a server environment you
can use wget to download the patches as detailed here.
2. Validate the checksums for the downloaded files, to make sure they didnt get corrupted during download. Use
the Digest link when downloading to view the checksums. For example, the Linux x86-64 checksums are :
p16556157_111170_Linux-x86-64.zip 2673750617 bytes
MD5 D3DDDEC4CB189A53B2681BA6522A0035
p16569379_111170_Linux-x86-64.zip 93617 bytes
MD5 2BC0E8B903A10311C5CBE6F0D4871E31
3. Unzip the patches. Within the main patch (16556157) there are a series of further zip archives unzip these too
4. Put all the patch folders in a single folder, so it looks something like this:
Patches on Linux
Patches on Windows
5. Take backups, as described in the patch documentation.
6. Set your environment variables, setting PATCH_FOLDER to the folder you unzipped the patches to in step 4
above, and ORACLE_HOME to your FMW_HOME/Oracle_BI1 folder
1. Windows:
set PATCH_FOLDER=Y:\installers\OBI\11.1.1.7\win-x86-64_11.1.1.7.1
set ORACLE_HOME=c:\oracle\middleware\Oracle_BI1
set JAVA_HOME=%ORACLE_HOME%\jdk
set PATH=%ORACLE_HOME%\OPatch;%JAVA_HOME%\bin;%ORACLE_HOME\bin%;%PATH%
2. Linux:
export PATCH_FOLDER=/mnt/hgfs/installers/OBI/11.1.1.7/linux-x86-64_11.1.1.7.1
export ORACLE_HOME=/home/oracle/obiee/Oracle_BI1
export JAVA_HOME=$ORACLE_HOME/jdk
export PATH=$ORACLE_HOME/OPatch:$JAVA_HOME/bin:$ORACLE_HOME/bin:$PATH
7. Shut down OPMN, the Managed Server and the Admin Server
8. Apply all the patches in one go, with no prompting:
1. Windows:
opatch napply -silent %PATCH_FOLDER% -id 16453010,16842070,16849017,16850553,16869578,16916026,16569379
2. Linux:
opatch napply -silent $PATCH_FOLDER -id 16453010,16842070,16849017,16850553,16869578,16916026,16569379
9. Validate that theyve been applied the following should list all seven patches plus the bugs they fix:
opatch lsinventory
10. Per the instructions in the README.html for patch 16453010 for post-patch actions:
1. Windows:
del %ORACLE_HOME%\bifoundation\web\catalogmanager\configuration\org.eclipse.osgi
del %ORACLE_HOME%\bifoundation\web\catalogmanager\configuration\org.eclipse.equinox.app
copy %ORACLE_HOME%\clients\bipublisher\repository\Tools\BIPublisherDesktop*.exe %ORACLE_HO
copy %ORACLE_HOME%\clients\bipublisher\repository\Admin\DataSource\msmdacc64.dll %ORACLE_H
for /d /r %ORACLE_HOME%\..\user_projects\domains\bifoundation_domain\servers\bi_server1\tm
2. Linux:
rm -rv $ORACLE_HOME/bifoundation/web/catalogmanager/configuration/org.eclipse.osgi
rm -rv $ORACLE_HOME/bifoundation/web/catalogmanager/configuration/org.eclipse.equinox.app
cp $ORACLE_HOME/clients/bipublisher/repository/Tools/BIPublisherDesktop*.exe $ORACLE_HOME/
cp $ORACLE_HOME/clients/bipublisher/repository/Admin/DataSource/msmdacc64.dll $ORACLE_HOME
rm -rfv $ORACLE_HOME/../user_projects/domains/bifoundation_domain/servers/bi_server1/tmp/_
(NB the msmdacc64.dll didnt exist on either of my installations that Ive tried this on)
11. Start up Admin Server, Managed Server, and OPMN. Login to OBIEE and check the new version:
12. Dont forget to check the README.html for patch 16453010 for full instructions on updating the client,
customised skins, mapviewer config, etc.
Tags: napply, obiee, opatch, patch, patching
7
Like
0
Tags: napply, obiee, opatch, patch, patching
Posted in Oracle BI Suite EE | 6 Comments
Comments
1. Thomas Says:
July 5th, 2013 at 9:19 am
Thanks for another interesting post.
I never understood why Oracle cant include such extremely simple steps like deleting or copying a file (in this
case Desktop*.exe) in a proper patching routine. Would you be aware of any reasoning for this?
I think Oracle has much to improve on this kind of things i.e. compared with applying patches to any modern
Operating System which likely are more complex behind the scenes but easier for the Sysadmins to apply.
2. Stewart Bryson Says:
July 5th, 2013 at 4:42 pm
This was awesome Robin. I wrote an apply script that applied the entire patch. I dont know how we missed
this for so long.
3. Christian Says:
July 11th, 2013 at 5:45 am
Robin,
This is a great find. I wasnt aware that this existed. This is certainly a time saver and a great tip.
2
Cheers,
Christian
4. jonathan mcgowen Says:
August 14th, 2013 at 3:12 pm
Has anyone run into issues with patch #3 16916026? Its looking for this file which doesnt exist in the patch
\products\Essbase\eas\server\tomcat\webapps\eas.ear.
Ive unzipped the patch twice just to make sure. I downloaded in the bundle zip 16556517, and patches 1 & 2
applied successfully.
5. jonathan mcgowen Says:
August 14th, 2013 at 3:29 pm
To follow up my previous comment I re-extracted 16916026 from 16556517, and the patch successfully
applied this time. For some reason not all files extracted the first time. Go figure.
6. Mike Brookes Says:
September 19th, 2013 at 5:48 pm
Hi Robin
Went like a dream I didnt install the 16569379 patch as the readme said unless you were experiencing the
specific problems this patched, then best wait for the official opatch in a future version, as it is not supported
yetother than that eveything went as planned :-)
cheers
Mike
Search the blog
Recent Posts
Job Vacancy for Training Material Developer
Oracle BI Apps 11.1.1.7.1 GoldenGate Integration Part 4: Initial Load and Replication
Oracle Data Integrator 12c release : Part 2
Building alerts in EM12c with OBIEE Usage Tracking data
Oracle BI Apps 11.1.1.7.1 GoldenGate Integration Part 3: SDS and Parameter File Setup
Recent Comments
David Allan on Oracle Data Integrator 12c release : Part 2
Antoine Drieux on Oracle Data Integrator 12c release : Part 2
Stewart Bryson on Oracle Data Integrator 12c release : Part 2
Mayuri Nallamothu on Oracle Data Integrator 12c release : Part 2
VS on Oracle Data Integrator 12c release : Part 2
Categories
Apple
Application Server
BI (General)
BI (General)
BI 2.0
BI 2.0
BI Suite Developer Book
Big Data
Careers
Cloud
Conferences
Courses
Data Mining
Data Quality
Data Warehousing
Dimensional Modelling
Discoverer
Exadata
Exalytics
FMW
General
Hyperion
Hyperion Essbase
Hyperion Smart View
Linux
Methodology
Oracle BI Apps
Oracle BI Apps
Oracle BI Suite EE
Oracle Big Data Appliance
Oracle Data Integrator
Oracle Database
Oracle Discoverer
Oracle Endeca
Oracle EPM
Oracle Exalytics
Oracle GoldenGate
Oracle News
Oracle OLAP
Oracle R Enterprise
Oracle Reports & XML Publisher
Oracle Warehouse Builder
Performance
Professional
rant
Real-Time Decisions
Rittman Mead
Seminar Series
Technology
Testing
The Great Blog Disaster
Theory
TimesTen
Training
Uncategorized
User Groups & Conferences
Call us now to talk about your BI project:
+44 (0) 1273 911 268 (UK) or (888) 631-1410 (USA)
or +61 3 9596 7186 (Australia & New Zealand) or +91 997 256 7970 (India)
Home
About Us
> About us
> About our team
> Contact us
> Our clients
Services
> Consulting
> Training
> Support
Consulting Services
> Projects
> Expert Services
> OBIEE 11g
> Sustainability
> On Discoverer?
> Oracle DW
Training
> OBIEE Bootcamp
> OBIEE End-User
> Exalytics
> ODI 11g Bootcamp
> Oracle BI Apps
> BI Publisher
Resources
> Articles
> Blog
> OBIEE 11g
Blog Authors
> Mark Rittman
> Venkat J
> Stewart Bryson
> Peter Scott
> Borkur S
> Mike Vickers
> Robin Moffatt
> Jon Mead
Rittman Mead Consulting ltd.
Registered Office : Suite B,
First Floor Moore House,
13 Black Lion Street,
Brighton, East Sussex,
BN1 1ND, United Kingdom
Company No. : 6032852
VAT No. : 900 3839 48
Rittman Mead America, Inc.
Registered Office : 4550 North Point Parkway
Suite 390
Alpharetta, Georgia 30022, USA
Rittman Mead Oceania Pty Ltd.
Registered Office : 8/196, North Road,
Brighton East,
Victoria, 3187, Australia
Australian Company No. : 149 458 935
Rittman Mead Consulting Pvt Ltd.
Registered Office : Unit 105-106
Regent Prime
Whitefield Main Road
Whitefield
Bangalore
560066
2010-2011 Rittman Mead Consulting. | Privacy Policy | E: info@rittmanmead.com

Website Design & Build: tymedia.co.uk

Вам также может понравиться