apps rollback patches1

21
IIR Solutions Pty Ltd. YOUR VISION... WE DELIVER....

Upload: insync-conference

Post on 25-Jun-2015

1.123 views

Category:

Documents


0 download

DESCRIPTION

Rollback E-Biz Patches.

TRANSCRIPT

Page 1: Apps rollback patches1

IIR Solutions Pty Ltd.

YOUR VISION...

WE DELIVER....

Page 2: Apps rollback patches1
Page 3: Apps rollback patches1

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...

Page 4: Apps rollback patches1

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.

Page 5: Apps rollback patches1

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

Page 6: Apps rollback patches1

One way of restoring APPS Files:

Page 7: Apps rollback patches1

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.

Page 8: Apps rollback patches1

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

Page 9: Apps rollback patches1

Better way to restore APPS and DB in short period

After applying the patch in production ... If

something goes wrong ... ????

Page 10: Apps rollback patches1

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.

Page 11: Apps rollback patches1

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 .. .

Page 12: Apps rollback patches1
Page 13: Apps rollback patches1

Benefits of using flashback

Check the space before backing up the files.

Page 14: Apps rollback patches1

Benefits of using flashback

Check the invalid objects before applying the patch.

Start the flashback mode on the database.

Page 15: Apps rollback patches1

Benefits of using flashback

Enable the maintenance mode using adadmin.

Apply the Patch.

Page 16: Apps rollback patches1

Benefits of using flashback

Hand over the system to the users for testing.

Create 2nd restore point before handing it for testing.

Page 17: Apps rollback patches1

Benefits of using flashback

Flashback the database to before patch and verify that.

Page 18: Apps rollback patches1

Benefits of using flashback

Copy the application files.

Page 19: Apps rollback patches1

Benefits of using flashback

Page 20: Apps rollback patches1

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

Page 21: Apps rollback patches1

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”