- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reducing downtime for database patching
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:03 PM
06-30-2003 12:03 PM
Clara
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:10 PM
06-30-2003 12:10 PM
Re: Reducing downtime for database patching
After we bring good working system we
try to not make patch update.
If we have no other option so we preparing
every thing for update and choose the best
time for and do it fast!
Another option is work in cluster so you
update one server, sync it and the you work
on the other.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:13 PM
06-30-2003 12:13 PM
Solution1) Quickly down the databse, split the mirror its sitting, on bring it back up.
2) Handle the database upgrade on a non-production server.
3) Down the database again.
4) Transfer in the revised version of the database to production, along with all system tables and such that were modified for the upgrade. We don't transfer back the data which has gotten out of date due to new transactions while we were working. Only database instance system data is migrated back in.
5) Bring the database up, resynch the mirrors.
The two down times for the production database are only for how long it takes to bounce the instance.
This doesn't work if a patch or process requires all data to be upgraded, but it works for most patches that change the executables and data in the oracle database systems tables.
I don't think oracle supports this methodology, but we actually have done it, so it does work.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:19 PM
06-30-2003 12:19 PM
Re: Reducing downtime for database patching
Sound's like an infra structure issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:23 PM
06-30-2003 12:23 PM
Re: Reducing downtime for database patching
On our production systems, as a general rule we do not make patch changes unless it is absolutely necessary. If we find that it is, the patch or patches are installed on our development and QA boxes first. Then those systems are monitored for any fluctuations in operation. If everything is sucessful then we perform the install on our production app servers first, if they are in need of the patch(s). Then we perform the install on our production box. As far as the time to do that, we have the luxury of a four hour maintenance window starting at 7pm every Sunday night. If there is no maintenance to be done, then we just reboot all of our boxes and let them go back to humming along. We the system was constructed and put into place, a maintenance window was one of the provisions that was bargained into the deal. That way we do not have to fight to schedule a downtime. We are supporting operations around the globe...so I am sure it is an inconvenience at some locations.
That is our spin on it.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 12:26 PM
06-30-2003 12:26 PM
Re: Reducing downtime for database patching
Sorry Clara,
I missed the Oracle patches part! duhhhhh!!!
I apologize...but I think we handle the Oracle patches in roughly the same manor I described. We are an extremely conservative crew here, so we only make changes if it is absolutely necessary. No ifs ands or buts about it. The Oracle changes are handled during our Sunday night outage also.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 07:35 PM
06-30-2003 07:35 PM
Re: Reducing downtime for database patching
patch only if it is necessary!
We prefer to install the patch on a test (development) server first. Test everything. After that, identify a suitable downtime period that would less affect our 24x7 operations. Then proceed as Mr. Protter mentioned about (well, in our own way ;) ).
We take no risks since our business depends on it.
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 08:32 PM
06-30-2003 08:32 PM
Re: Reducing downtime for database patching
and migrate 8.1.7.3 to 9i.
If you have enough hardware resources I would suggest one thing - Create a new database with the patched up software. Then export the running database and import into the new database. This would not require a downtime for the live database.But you'll have to plan to incorporate the changes that are made in the source after the export has been taken into the new database.And it'll involve more work also though it descreases the downtime required.
If you are migrating to 9i this is infact one of the migration methods.
Further patching time depends on your processor speed and all.If you can upgrade to a more powerful processor that'll help in reducing the downtime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 11:38 PM
06-30-2003 11:38 PM
Re: Reducing downtime for database patching
apart from others suggestion, each time we need to apply a patch we take all the time needed.
We know this means night or week-end, of even more easy on holidays, but we feel patch very risky and data alignig even more risky.
So, in case of updates, we take a test on develop and test, measure the time, and then we decide with the cutomer an appropriate time-frame.
This shall include, for every server if a cluster:
- backup offline of DB- executables
- install patch O.S. if needed
- kernel recompile if needed
- DB executable patching
- DB data (catalog, For example) updating
- DB backup tools test of backup POST- ACTIVITY
- test from key users
We cannot risk to forgot some data or to have some non-updated cluster.
You said that you cannot afford downtime for the patching.
The patch is necessary? Than take your time.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2003 04:38 AM
07-01-2003 04:38 AM
Re: Reducing downtime for database patching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2003 04:47 AM
07-01-2003 04:47 AM
Re: Reducing downtime for database patching
i think that you answered by yourself the question.
If the patch changes schema and objects, you must get your downtime.
You can save time with the ricompilation, recompiling it on a second server with the exact same patch level, software and so on, and finally reporting it.
But with the oracle db... no way.
unless you can export/import data, but if your db is large, you get no advantage.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2003 05:32 AM
07-01-2003 05:32 AM
Re: Reducing downtime for database patching
maybe you can consider having the database as read-only during the time you are installing the patch...Users being able to query, run reports etc...but no insert, update, deletes.
BTW, installation of patch did not take that much time on my RP5430 - less than an hour. The patch will never update your own data! only Oracle data...
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2003 05:53 AM
07-01-2003 05:53 AM
Re: Reducing downtime for database patching
Yogeeraj I'm not completely with you regarding the read-only mode during an patch, for many reasons.
You are absolutely right that oracle modifies only its data (the dictionary), and not the user data, but:
- oracle requires access to the database in read/write mode, to change the data dictionary;
- oracle requires esclusive access to the database;
- if a user issue a query involving system tables, i think the result is not straightforward;
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 08:19 AM
07-02-2003 08:19 AM
Re: Reducing downtime for database patching
You want to patch oracle while the production database is running!
I think you have to bite the bullet and take an outage.
For small patches - take the db off line and do it then.
If the "patch" is an upgrade - then you build the new version take the production db off line and do an export and import it into the new version - no getting around it.
As others have mentioned - test all this first on a different server.
One thing we are doing to shorten outages is to "split" our production database into parts - multiple databases. Our application just wants data - doesn't care where it is stored. Our total upgrade time is longer, but it can be done in smaller chunks. Instead of one very long outage, we have a series of scheduled shorter ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 09:52 AM
07-02-2003 09:52 AM
Re: Reducing downtime for database patching
Thanx again.
Clara
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 04:11 AM
07-07-2003 04:11 AM
Re: Reducing downtime for database patching
I don't know what your application is like, but I did this.
I let everyone know that any data entered after Wednesday would have to be "redone" in the new version. I made a copy of the production system Wednesday night onto a test server and pointed everyone at that. This let them run reports, etc., while I worked on the production upgrade. I had already done test runs and had all my scripts and stuff ready to go. I think we had production back online on Tuesday. Upgrading the Oracle Financial application was quite involved back then and this was the only way to do it.
Just one more idea for you to consider - good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 05:29 AM
07-07-2003 05:29 AM
Re: Reducing downtime for database patching
I appreciate your help.
Clara