cancel
Showing results for 
Search instead for 
Did you mean: 

When doing the kernel update. DB shutdown is required? What SAP recommends?

Former Member
0 Kudos

Hello SAP Experts,

Generally while we performing kernel update, shutting down the SAP system including the database and replacing the kernel files.

My question is, while performing the kernel update. Database shutdown is required? What SAP recommends?

Thanks

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

former_member759680
Contributor
0 Kudos

Generally, Kernel Upgrade means upgrade of DB Dependent files and DB InDependent files in your kernel directory.

The DB Dependent files consist of DLLs in Windows and similar other library files for other OS as well. So, logic, common sense and SAP recommends that Database should be down when you are doing a manual* Kernal Upgrade.

Lets say, you have not shut the DB and some file from kernel directory is in use. You will just get an error - "File is in use".

Again, the recommendations here is stop the DB, so that the file is no longer in user, instead of figuring out which PID is using that file and then just killing that process.

So, bottom line - get downtime approval for SAP and DB for Kernel Upgrade.

  • - If you have Java, Using JSPM for Kernel Upgrade is Generally a good option.

Former Member
0 Kudos

Hello u2026

Many thanks to all..

I understand that SAP recommends SAP+DB need be down while doing the kernel update.

Thanks.

Goud

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

I just want to add one small point.

Shutting down of SAPOSCOL and listnr is also important as SAPOSCOL service should be stopped because it also will get overwritten by the new file.

stop saposcol (saposcol –k)

stop lisner (orasid user – lsnrctl stop)

former_member191418
Active Participant
0 Kudos

kernel upgrade is done using database dependant (sapexedb***) and independant files (sapexe***). Still, stopping of database is not required. Just stop Instance & services.

If there is no database activity like online backup going on, you can as well stop database since there is no user activity.

Former Member
0 Kudos

Hi,

Following steps need to be carried out for kernel patching.

1. Stop SAP system thru SAP MMC.

2. Stop SAPOSCOL in services.msc

3. Take a backup of sys\exe folder.

4. Replace the sys\exe ... kernel folder with the newly extracted files.

5. Bring up SAP system and SAPOSCOL.

Rgds,

Soujanya