How to Install ASMLib on OEL 8
What is ASMLib?
ASMLib is free, optional software for the Automatic Storage Management (ASM) feature of Oracle Database that simplifies the management and discovery of ASM disks and makes I/O processing and kernel resource usage with ASM storage more efficient. ASMLib is not required to use the Automatic Storage Management (ASM) feature of Oracle Database on Linux and all features and functionality of ASM will work without ASMLib.
ASMLib consists of the following 3 components:
1. A closed source (proprietary) library package: oracleasmlib 2. An open source (GPL) utilities package: oracleasm-support 3. An open source (GPL) kernel module package: kmod-oracleasm
The oracleasmlib package can be downloaded from https://www.oracle.com/linux/downloads/linux-asmlib-v8-downloads.html
The oracleasm-support package can be downloaded from the Unbreakable Linux Network (ULN) https://linux.oracle.com if you have an active support subscription, or from https://public-yum.oracle.com (‘ol8_addons’ channel)
The oracleasm kernel driver is built into the Unbreakable Enterprise Kernel (UEK) for Oracle Linux 8 and does not need to be installed manually. If running Red Hat Compatible Kernel (RHCK) on OL8, kmod-redhat-oracleasm is available. For RHEL 6 and RHEL 7, Red Hat provided the oracleasm drivers with kmod-oracleasm package. For RHEL 8, customers need to ask Red Hat to provide the oracleasm drivers for RHEL 8.
An example for OL8 with UEK:
# cd /tmp # wget https://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.17-1.el8.x86_64.rpm # wget https://public-yum.oracle.com/repo/OracleLinux/OL8/addons/x86_64/getPackage/oracleasm-support-2.1.12-1.el8.x86_64.rpm # yum localinstall ./oracleasm-support-2.1.12-1.el8.x86_64.rpm ./oracleasmlib-2.0.17-1.el8.x86_64.rpm
Note that the links above are just a reference, as the RPM versions will change when higher versions released in the future.