Linux Patching- need to shutdown DB ?

Latest response

We have 1000 servers envirement. During applying OS patching, Oracle Database need to be taken down ?


Are you doing selective package updating or just a 'yum update' for all packages?

Just "yum update"

I would to be safe, since a 'yum update' could update hundreds (possibly thousand+) packages depending on where you are and where you are going, including the kernel and any other dependencies that the DB has. What does Oracle say?

Many other Oracle DBs also running on WINDOWS servers. Patches were directly updated with out DB down.

Can we adopt same method for Linux servers ? Since every time shutdown DB and apply patches for 1000 servers is very time consuming task. That too patch cycle was followed monthly.

Please suggest.

AFAIK, Oracle recommends rebooting the system (and also after any post-upgrade dependencies being required by the database) per their own documentation. I'd follow up with Oracle, as they drive the supported upgrade processes/steps. Hope this helps!

Hi Andrius,
Thanks for your responce and suggestions.
Defenately will follow to take reboot post patching.
But my query is during patching need to shutdown database?

In our environment, our Oracle folks like to be available when we patch the Linux Oracle systems and they do shut off the database first.

Do you have any non-production systems to test this on first? We test on non-production servers (especially Oracle servers) first, then after it 'burns in' for a while, we will subsequently patch production after tests/verification.

A side note, your oracle systems, do they require the ASMlib updated patch for a new kernel? If the ASMlib patch is needed after a new kernel, Oracle may not work properly if the kernel is updated (if the oracle servers require the ASMlib update). Good thing to check. Not all Oracle instantiations use ASMlib, but some do.

There's oracle documentation on this however, I'd highly recommend verifying with Oracle, verify your architecture, kernel and proper ASMlib if applicable.

Like Rem has mentioned, ASMlib needs to match the kernel.
What I am starting to deploy more frequently is the "download only" option, which requires a yum plugin. This will allow you to deploy the packages to the hosts, in advance, saving that download time. You can then simply apply the downloaded packages with yum update when you can get an actual maintenance window.

I would test this - but I would feel comfortable doing a yum update --downloadonly with the Database running.
However - I would definitely shut down the DB before applying any patches.

Here is an overview of the download only option

Thanks James - nice clarification/addition

thank you for all your posts.
What I understand is "Shutdown DB before apply patches is the BEST practice."

Thanks Again.

Hi, we manage large environment of the Linux servers for few different customers, each time when we patch it creates some kind of tensions between us and application support teams when we ask them to stop all applications before we start patching. It seems I cannot find defined answer to stop or no stop question (personally I prefer all apps to be down for patching. What is your opinion about it? Thanks in advance for sharing the information