This article will show to install ASM support with ASMLib for Oracle Linux 7 in command line only.
ASMLib is an optional support library for the Automatic Storage Management feature of the Oracle Database. Automatic Storage Management (ASM) simplifies database administration and greatly reduces kernel resource usage (e.g. the number of open file descriptors). It eliminates the need for the DBA to directly manage potentially thousands of Oracle database files, requiring only the management of groups of disks allocated to the Oracle Database. ASMLib allows an Oracle Database using ASM more efficient and capable access to the disk groups it is using.
The Oracle ASMLib kernel driver is now included in the Unbreakable Enterprise Kernel. No driver package needs to be installed when using this kernel.
In this article, you'll need ...
... Oracle Linux 7 installed with UEK (see oel7 installation here)
... root access is needed
... internet access is needed
License free ...
From mid-September 2014, all Oracle ACFS features are free to use in 11g and 12c.
Only ACFS snapshot feature requires Oracle Database Enterprise Edition (see licensing information here)
From Oracle 12c, you may want to check ASMFD instead (here)
With SELinux activated, oracleasm module may not start with the following error:
/etc/selinux/config config file and set SELINUX to "disabled" or "permissive":
And execute the following commands as root to immediately disable SELinux:
Install ASM support
To install oracleasm-support package, simply execute the following command as root:
As you can see below, oracle asm service is enabled and asm kernel driver is installed but not running/loaded yet.
We need to initialize oracleasm module in order to load it into the kernel.
Create ASM disks
Please leave comments and suggestions,
ASMLib Installation - Oracle (here)
Enjoyed this article? Please like it or share it.