Apps rollback patches1
-
Upload
insync-conference -
Category
Documents
-
view
1.123 -
download
0
description
Transcript of Apps rollback patches1
IIR Solutions Pty Ltd.
YOUR VISION...
WE DELIVER....
Different Techniques to rollback apps patches
Different types of patches like:
small patches eg. Specific bug fixes, once-off,
customizations etc...
Big patches eg. Maintenance Packs, Family
Packs, Mini Packs, Roll-Up, Consolidated
Updates, Security Patches etc...
SMALL PATCHES
Traditional way for applying Small patches
1. Backup of application files before applying the
patch.
2. Backup of Database before applying patch.
3. Apply patch.
SMALL PATCHES
Traditional way for restore from faulty patch.
2 options available for restoring the database part.
1. Rollback script available in the patch, if available.
2. Restore whole database from the last backup.
Apps
1. Locate the files and restore them from another
environment/backup of files. - Clip
One way of restoring APPS Files:
BIG PATCHES
Traditional way for restore from faulty patch.
Database
1. Restore whole database from the last backup.
Apps
1. Restore all your files from another backup of files.
Better way to restore APPS and DB in short period
Database :
Before you apply the patches, enable the flash
back DB and create a restore point.
Application:
Backup all the apps files.
Snapshots of deltas of apps files.(eg. NetApps
snapshots, TrueCopy-HDS, Oracle 11g disk
snapshots)
Apply Patch
Better way to restore APPS and DB in short period
After applying the patch in production ... If
something goes wrong ... ????
Better way to restore APPS and DB in short period
Stop the application.
Flashback the database to the restore point created before.
Restore the apps files that has been changed.
Small patch we can locate the files as we saw in the clip.
Big patch restore all the files which have been backed up.
Restore the delta files from the last snapshot if you are using disk snapshot technology. (eg. NetApps snapshots, TrueCopy-HDS, Oracle 11g disk snapshots)
Start the application.
Better way to restore APPS and DB in short period
Depending on the patch window.. Generally
weekends.....
Eg. 1hr to patch window
15 mins to apply patch
25 mins test after patch application.
Here if you find the patch isn't working properly then
you flashback to the restore point which will be very
quick as the data was for only 25 mins .. .
Benefits of using flashback
Check the space before backing up the files.
Benefits of using flashback
Check the invalid objects before applying the patch.
Start the flashback mode on the database.
Benefits of using flashback
Enable the maintenance mode using adadmin.
Apply the Patch.
Benefits of using flashback
Hand over the system to the users for testing.
Create 2nd restore point before handing it for testing.
Benefits of using flashback
Flashback the database to before patch and verify that.
Benefits of using flashback
Copy the application files.
Benefits of using flashback
Benefits of using this method.
You can roll back Oracle E-biz patches in no time .
Test patches on your production system before
releasing to users.
With Flashback there’s no need to worry about
recovering from archive logs
Reduces risk in a applying new patches in production
This also works with Dataguard for a DR
database
For more information please contact:
Shaily Choksi
Technical Director.
Phone: +61 433 050 345
e-mail: [email protected]
Division Website: www.iirsolutions.com
“It’s not just business – It’s a partnership”