Oracle on RHEL 6 , using ASM with or without ASMLIB

A while ago, but worth mentioning it for those customers with a roadmap based on Red Hat Linux.  The status regarding RHEL 6 is the following:

– Oracle has indeed certified RHEL 6 for the Oracle database, see also the comments in this article, and my seperate blogpost about it.

Red Hat announced recently an extended lifecyle (support) of version 5 and 6, from 7 to 10 years.

– Red Hat is making things harder by shipping its RHEL 6 kernel source as one big tarball, without breaking out the patches. Distribution in this form satisfies the GPL, but it makes life hard for anybody else wanting to see what has been done with this kernel

Maybe as a result of this:  regarding ASMLIB Oracle mentioned in note 1089399.1 :

For RHEL 6, Oracle will provide ASMLib software and updates only when configured with a kernel distributed by Oracle. Oracle will not provide ASMLib packages for kernels distributed by Red Hat as part of RHEL 6. ASMLib updates will be delivered via Unbreakable Linux Network (ULN), which is available to customers with Oracle Linux support. ULN works with both Oracle Linux or Red Hat Linux installations, but ASMLib usage will require replacing any Red Hat kernel with a kernel provided by Oracle.

Red Hat has written this general article  about it and this technical article how to overcome this:  using ASM with or without ASMLIB.

First I mentioned in this post that you could not use ASM with RHEL 6, but Tim Hall corrected me on this, read his comment on this post. Thanks (and cheers… ) !

Hope it helps somebody.

 

By | 2012-06-29T12:47:02+00:00 January 4th, 2012|Categories: Database, RAC|Tags: , , |11 Comments

About the Author:

http://www.jobacle.nl

11 Comments

  1. Tim Hall January 4, 2012 at 6:04 pm

    Hi.

    Remember, “no ASMLib” does not mean “no ASM”. In fact, the majority of people I speak to use UDEV rather than ASMLib anyway.

    There is one future benefit of using ASMLib if you have a particular type of storage, but apart from that UDEV is simpler and doesn’t screw you up if you change your kernel without remembering to update your ASMLib libraries.

    Not supporting ASMLib on RHEL6 in no way indicates you cannot/shouldn’t use ASM.

    Cheers

    Tim…

  2. admin January 4, 2012 at 9:41 pm

    Tim,
    Thanks. corrected the post. Was a little too hasty on this..

  3. Don May 21, 2012 at 4:52 pm

    Just to be clear. We can run ASM on rhel6 without ASMlib and without downloading the UEK for Rhel? Just install ASM and use udev?

  4. admin May 22, 2012 at 8:32 am

    That is correct. Remember that rhel6 without the Unbreakable Enterprise Kernel will be supported just around july 2012. Regards, Job

  5. Brian May 31, 2012 at 6:13 pm

    Based on Metalink, it would appear that Oracle 11.2.0.3 is already supported on RHEL 6.

  6. admin May 31, 2012 at 8:48 pm

    Thanks Brian! It even looks like it’s supported with the Red Hat kernel. Installation document state a requirement of the Red Hat kernel of 2.6.32-71.el6.x86_64 or later… But be aware of the following on http://linux.oracle.com/supported.html: Support and updates are provided for base Linux Server only. XFS, Red Hat Cluster Suite, GFS2, RoCE and other technologies provided via Add-ons for Red Hat Enterprise Linux 6 are not supported.

  7. sarathi December 6, 2012 at 8:06 am

    Can i use RHEL 6.0 to configure Oracle RAC. I need to install ASMib for RHEL 6.is it possible?

    thanks in advance
    Sarathi

  8. Job December 7, 2012 at 3:40 pm

    Certainly you can use RHEL 6.0 together with Oracle RAC ( > 11.2.0.3) and ASM. If it’s possible to install ASMLIB: There are no ASMLib kernel drivers for RHEL 6 kernels. But the Oracle UEK kernel has drivers for ASMLIB. You can install the Oracle UEK2 kernel on your RHEL 6 installation (and so switching to Oracle Linux…) and then use ASMLIB. However I don’t advise to use ASMLIB. You are creating an extra dependency with your Operating System, and you have to switch to Oracle Linux.

  9. sarathi December 10, 2012 at 6:31 am

    Ya.thank u.

  10. John March 25, 2013 at 4:06 pm

    We used udev rules to solve the problem.

    # cat /etc/udev/rules.d/99-asm.rules
    KERNEL==”dm-[0-9]*”, SUBSYSTEM==”block”, PROGRAM==”/sbin/scsi_id –page=0x83 –whitelisted –device=/dev/$name”, RESULT==””, NAME=”oracleasm/disks/”, OWNER=”oracle”, GROUP=”dba”, MODE=”0660″

    Just replace with the uuid of the dm device you’re wanting to use, and with the name you want to use. Running partprobe will run the rule and create the new devices w/ the proper permissions.

  11. John March 25, 2013 at 4:41 pm

    This is another way to do it.

    # cat 99-asm.rules
    ACTION==”add|change”, ENV{DM_UUID}==”mpath-[uuid]”, NAME=”oracleasm/disks/[name]”, OWNER=”oracle”, GROUP=”dba”, MODE=”0660″

Leave A Comment