The ASMLib software is available from the Oracle Technology Network.
Go to ASMLib download page
and follow the link for your platform.
You will see 4-6 packages for your Linux platform. The oracleasmlib
package provides the actual ASM library. The oracleasm-support
package provides the utilities used to get the ASM driver up and
running. Both of these packages need to be installed.
The remaining packages provide the kernel driver for the ASM library.
Each package provides the driver for a different kernel. You must
install the appropriate package for the kernel you are running. Use the
"uname -r command to determine the version of the kernel. The
oracleasm kerel driver package will have that version string in its
name. For example, if you were running Red Hat Enterprise Linux 4 AS,
and the kernel you were using was the 2.6.9-5.0.5.ELsmp kernel, you
would choose the oracleasm-2.6.9-5.0.5-ELsmp package. So, to install
these packages on RHEL4 on an Intel x86 machine, you might use
the command:
rpm -Uvh oracleasm-support-2.0.0-1.i386.rpm \
oracleasm-lib-2.0.0-1.i386.rpm \
oracleasm-2.6.9-5.0.5-ELsmp-2.0.0-1.i686.rpm
If you were on a different machine, the package names would be slightly
different, replacing 'i686' with the appropriate architecture. Use the
package names relevant for your distribution.
NOTE:
Distributions with the Linux 2.4 kernel still use the 1.0 kernel
driver, while distributions based on the Linux 2.6 kernel use the 2.0
kernel driver. All distributions use version 2.0 of the support and
library packages. See the
driver matrix
for more information.
Once the command completes, ASMLib is now installed on the system.