You are on page 1of 6

Yahoo!

White Paper

Reducing Oracle 11gR2 Upgrade Downtime

Manish Gujjar UDA DBA Team

Yahoo! White Paper Reducing Oracle 11gR2 upgrade downtime

Introduction
Yahoo! is upgrading all the Oracle databases to 11gR2. Upgrade is essential to ensure that our oracle environments continue to be supported in terms o patches and bug i!es b" Oracle# also the dollar cost o being on e!ception list or bac$ porting patches or 1%gR2 is ver" high. Upgrade would allow us to leverage new eatures o 11gR2. &s a corporate goal# all hosts will be re'uired to use ()* +Yahoo! (on ig )anagement ,"stem-. .osts which are being on boarded to ()* will be reimaged with R./01U*.

2he upgrade process involves3


1. ()* on boarding with host reimage to R./01U* 2. 11gR2 4rid 5n rastructure 5nstallation 3. 11gR2 6atabase Upgrade + catupgrade# dictionar" stats# utlrp-

2he white paper ocuses on reducing the downtime re'uired or R./01U* 7 Oracle 11gR2 upgrade.

Yahoo! White Paper Reducing Oracle 11gR2 upgrade downtime

Regular Upgrade rocess


6uring the downtime generall" all the tas$s are per ormed seriall". 5n a production downtime ollowing would be the se'uence along with their timings3
1. ()* on boarding with host reimage to R./01U* 1.1 hours 2. 11gR2 4rid 5n rastructure and Oracle .ome 5nstall 1.1 hours 3. 6atabase Upgrade * hours

2otal 2ime 8 hours ,tep 1 might ta$e more time incase i we run in to issues a ter the host reimage. 4enerall"# issues with bonding# mounting volumes via storage net are encountered post host reimage.

Yahoo! White Paper Reducing Oracle 11gR2 upgrade downtime

Upgrade ,teps e!ecuted seriall"3

,hutdown 6atabase 7 bac$up

()* 9 R./01U* Reimage +1.1hrs-

Oracle 11gR2 4rid 9 O. 5nstall +1.1hrs-

Oracle 11gR2 6atabase Upgrade +*hrs-

Yahoo! White Paper Reducing Oracle 11gR2 upgrade downtime

!ew Upgrade Approach


2he database upgrade time can be reduced b" hal b" provisioning an Oracle R&( having 11gR2 installed. :e ore the actual downtime we can prep up a two node R&( with 11gR2. 2he recommendation is to have the host con iguration closer to production hosts. ;ollowing would be the downtime se'uence along with their timings3
1. ()* on boarding with host reimage to R./01U* 1.1 hours 2. 11gR2 4rid 5n rastructure and Oracle .ome 5nstall 1.1 hours 3. While 1 7 2 are being wor$ed on seriall"# we mount the

volumes on spare host and complete the 11gR2 database upgrade * hours

(op" the "data#ase speci$ic n$s entries% rom production 9etc9 stab to spare host. + 6o <O2 cop" 9u%1 entries -

(reate the mount points and mount the volumes (on igure init.ora ;ollow the Oracle 11gR2 upgrade steps.

=. 0ater we mount bac$ the database on the original hosts. >er" less time.
5

Yahoo! White Paper Reducing Oracle 11gR2 upgrade downtime

,hutdown 6atabase 7 bac$up

Oracle 11gR2 6atabase Upgrade on spare 11gR2 R&( +* hrs-

()* 9 R./01U* Reimage +1.1hrs-

Oracle 11gR2 4rid 9 O. 5nstall +1.1hrs-

)ount the Upgraded 11gR2 6atabase on Original R&( cluster

&onclusion
We?ve provided a method o reducing the upgrade downtime b" hal using a spare Oracle R&( (luster. 2he methodolog" is ver" help ul or upgrading mission@critical databases with minimal downtime.

You might also like