My Oracle Support Banner

How To Upgrade ASMLib Kernel Driver as Part of Kernel Upgrade? (Doc ID 1391807.1)

Last updated on MARCH 29, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 to 18.3.0.0.0 [Release 10.2 to 18]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Linux x86
Linux x86-64
Linux Itanium

Goal

ASMLib is a support library for the Automatic Storage Management (ASM).  The Oracle ASMLib product has a kernel-specific component, the ASMLib driver. This is provided in an RPM package which must be updated whenever the Linux kernel is updated. This RPM package is closely coupled with the variety of the kernel being used on a given host, so a variety of RPM packages are available.  

In the course of system configuration as a system or database administrator, you may have to upgrade the ASMLib Kernel Driver due to the OS Kernel Upgrade.

The present document provides an example on how to upgrade ASMLib Kernel Driver as Part of Kernel Upgrade.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 I.  As RDBMS and GI/ASM user:
 II.  As root user:
 i.  If RAC (repeat these steps on each node):
 ii.  If Standalone (10G and 11GR1):
 iii.  If Standalone (11GR2 and above):
 III.  Stop oracleasm (as root) (repeat these steps on each node, if RAC):
 IV. Upgrade OS Kernel (on each node, if RAC)  (System Administrator will do this.):
 V.  Reboot server (all nodes, if RAC) to test and verify the new kernel:
 VI.  Setup oracleasm (repeat these steps on each node)(as root):
 VII.  At this point, (if using version 11gR2) Oracle recommends running the "$ORACLE_HOME/bin/relink all" command for the Oracle binaries (repeat these steps on each node):
 VIII.  Enable all previously disabled services (as root):
 i.  If RAC (repeat this step on each node):
 ii. If Standalone (10G and 11GR1):
 iii. If Standalone (11GR2 and above):
 IX.  Enable oracleasm for starting on reboot (repeat this step on each node) (as root):
 X.  Reboot server (all nodes, if RAC) to test and verify ASM disks:
 XI.  Verify all ASM disks mounted (on each node, if RAC) (as ASM user):
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.