Patching, Upgrading Operating Systems on Servers running Oracle Database
Introduction
Today, enterprises are mandated to adhere to strict security practices, which means applying patches and upgrading operating systems (OS) is more frequent activity. Applications such as databases running in user mode typically remain unaffected by these patching activities even if the OS patch include kernel changes. In fact, kernel modules running in privileged mode also remain unaffected as these modules utilize kABI (Kernel Application Binary Interface) which is a Linux functionality that allows kernel drivers (and kernel modules) to interact with the kernel even if the kernel version changes.
Lately this functionality was found broken on Redhat RHEL 8.7 (Kernel version 4.18.0-425.3.1.el8.x86_64) and reported to Redhat via RedHat bugzilla bugs #2144161 and #2152206. This affects all third-party kernel modules built on kernel version 4.18.0-425.3.1.el8 including Oracle Databases using kernel modules like Oracle Automatic Storage Management Filter Driver (ASMFD) or Oracle Automatic Cluster File System (ACFS). Due to these bugs any OS patching operation that changes the OS kernel results in Oracle database startup failures as the OS kernel load kernel drivers such as ASMFD or ACFS cannot start and therefore Oracle Automatic Storage Management (ASM) cannot mount the disk groups as it cannot access the storage devices.
Solution
Customers planning to upgrade or apply any OS fix can execute a precheck command to determine if the new OS version is compatible with the filter driver. This precheck command can be invoked by running the following cluvfy command and passing the target kernel version.
Recommended by LinkedIn
cluvfy stage -pre osupg -n mycluster1 -checkGIdriverSupport 5.4.17-213
ACFS Driver Checks ...FAILED
Checking if Oracle ACFS driver from CRS home "/scratch/u01/app/grid" is
compatible with kernel "5.4.17-2136" ...FAILED
stbmXXXXXX: PRVH-0573 : Oracle ACFS driver from CRS home
"/scratch/u01/app/grid" is supported on the current kernel
version of the operating system, but will not be supported on
the specified target kernel "5.4.17-21366
** The checkGIdriverSupport option is included with Oracle Grid Infrastructure (GI) 19.17 and higher releases.
If the check reports that the target operating system is
Special thanks to Pawan Tare and Allan Graves for helping with this feature
Database Specialist | Oracle DBA | Database Firewall and Security | Hold on OCP | Linux | PostgreSQL |MS SQL| MySQL| PostgreSQL| HA&DR | Problem resolver | detail oriented |
1yAnother reason to patch system with delay.
Content Creator | Culture & Marketing Specialist at Sonatafy Technology
1yThanks for sharing!
Exadata | Engineered Systems, Automation | DevOps | Performance Tuning | Gen AI | ML | Cloud
1yThanks Anil for sharing
Oracle | Exadata | OCI | Ansible Ak chceš zmenu, zmeň seba 🧚🏼♀️
1y5.15. does not work too. Could not create a cluster. Had to downgrade to uek6
Cloud Advisory Innovation Principal Manager at Accenture Enkitec Group
1yThank you for sharing this.