Install Oracle and OS patch together

Latest response

Hi People, I have Oracle 12c database running on RHEL 7.

Is it ok to install OS patch and then Oracle database patch one after another and then reboot the server later when I complete the oracle patch installation?

I mean, I will not reboot the server after the OS/kernel patch installed but then I will continue to install the oracle patch and then only I will reboot the server.

Is there any problem /risk with this approach? if yes, how does it impact?

Cheers
Salai

Responses

I would install application updates first, then OS updates after that, then reboot.

If you did it the other way around by installing OS updates first and an important library like glibc is updated, you could run into problems where one application component is resident in memory using the old version of the library, but a newer application component loads the new version of the library from disk. Then you have two different library versions trying to talk to each other which may not be directly compatible.

By loading application updates first, you avoid this, because they will all use the existing installed version of the OS libraries.

Thanks for the explanation Jamie

Hi Jamie,

I am sorry that I do not agree with you.

  • I would shutdown Oracle completely
  • install the OS updates,
  • patch Oracle
  • start Oracle and check the database(s)
  • reboot.
  • start Oracle and check the database(s) again

Oracle patching tends to relink OS libraries, so if you patch Oracle before an OS update, the relink is done against the old version of the OS libraries. So the DBA has to relink Oracle binaries twice, this cause loss of time. Relinking can take take 15 min upto 30 min.

Regards,

Jan Gerrit

Thanks, it makes sense Jan

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.