This discussion is archived
11 Replies Latest reply: Sep 25, 2012 12:23 AM by AriHeikkinen RSS

At WHAT ULN support level/channel Oracle have oracleasm driver 6.x

AriHeikkinen Newbie
Currently Being Moderated
[root@linux]# modprobe oracleasm
[root@linux]# /usr/sbin/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@linux]#
for clearance , added later upper lines...shared storage is otherwise reachable, fdisk and partioninig works ok...

[root@ linux]# oracleasm update-driver
Kernel:          2.6.39-200.29.3.el6uek.x86_64 x86_64
Driver name:     oracleasm-2.6.39-200.29.3.el6uek.x86_64
Driver for kernel 2.6.39-200.29.3.el6uek.x86_64 does not exist
[root@linux]#






We do have support Oracle Linux Network Support, should include:
Oracle Cluster File System 2 (OCFS2) Oracle Linux includes full support for the Oracle Cluster File System (OCFS2), an open source cluster file system included in the mainline Linux Kernel. Other Oracle specific packages are available as additional downloads from a separate Unbreakable Linux Network channel, such as Oracle Instant Client, Oracle ASMlib, Oracle Database Express Edition, Oracle SQL Developer. These packages are also freely downloadable from the Oracle Technology Network.

We can find for instance Oracle Instant Client from this channel
Where the i-n the H-e-c-k, is this Driver name:     oracleasm-2.6.39-200.29.3.el6uek.x86_64

Edited by: user10493458 on Sep 24, 2012 1:31 AM
  • 1. Re: At WHAT ULN support level/channel Oracle have oracleasm driver 6.x
    202811 Employee ACE
    Currently Being Moderated
    There is no separate RPM for oracleasm needed with UEK. It's included in the kernel. See: Release plans for oracleasm and RHEL 6?

    Sergio
  • 2. Re: At WHAT ULN support level/channel Oracle have oracleasm driver 6.x
    Dude! Guru
    Currently Being Moderated
    There is actually quite a lot of information in the previously mentioned thread.

    If I may sum it up in regard to installing Oracle ASM for Oracle Linux 6:


    OracleASM Kernel Driver ( oracleasm )
    - Provided by the Oracle UEK and UEK2 kernel (builtin driver module).
    <pre>
    modprobe oracleasm
    </pre>


    OracleASM Lib ( oracleasmlib ):
    - Download http://www.oracle.com/technetwork/server-storage/linux/asmlib/ol6-1709075.html
    <pre>
    yum install http://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.4-1.el6.x86_64.rpm
    </pre>


    OracleASM support ( oracleasm-support ):
    - Oracle Public Yum http://public-yum.oracle.com/
    <pre>
    yum install oracleasm-support
    </pre>


    Oracle ASM drivers for RHEL 6 are not available.
  • 3. Re: At WHAT ULN support level/channel Oracle have oracleasm driver 6.x
    Avi Miller Guru
    Currently Being Moderated
    Dude wrote:
    There is actually quite a lot of information in the previously mentioned thread.
    I wouldn't recommend using OTN/public-yum if he has ULN access: both oracleasmlib and oracleasm-support are available via ULN and should be installed using yum as this ensures automatic upgrades in future. The oracleasmlib package is in the Oracle Software (old_x86_64_oracle) channel and the oracleasm-support package is in the _latest channel.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
  • 4. Re: At WHAT ULN support level/channel Oracle have oracleasm driver 6.x
    Dude! Guru
    Currently Being Moderated
    I misread the first line and thought the OP does not have ULN support.
  • 5. Re: At WHAT ULN support level/channel Oracle have oracleasm driver 6.x
    jcnars Newbie
    Currently Being Moderated
    Dude wrote:
    There is actually quite a lot of information in the previously mentioned thread.

    If I may sum it up in regard to installing Oracle ASM for Oracle Linux 6:


    OracleASM Kernel Driver ( oracleasm )
    - Provided by the Oracle UEK and UEK2 kernel (builtin driver module).
    <pre>
    modprobe oracleasm
    </pre>


    OracleASM Lib ( oracleasmlib ):
    - Download http://www.oracle.com/technetwork/server-storage/linux/asmlib/ol6-1709075.html
    <pre>
    yum install http://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.4-1.el6.x86_64.rpm
    </pre>


    OracleASM support ( oracleasm-support ):
    - Oracle Public Yum http://public-yum.oracle.com/
    <pre>
    yum install oracleasm-support
    </pre>


    Oracle ASM drivers for RHEL 6 are not available.
    Actually all the 3 are for ASMLib. I know what you mean, but for someone googling this, might not be clear at first.
    All the 3 drivers can be ABSOLUTELY dispensed with and still ASM can be used with the correct udev rules ON THE MULTIPATH-ed pseudo devices and correct discovery string. TOTALLY avoiding ASMLib (userspace + kernel driver)

    Edited by: 932957 on Sep 22, 2012 3:04 PM
  • 6. Re: At WHAT ULN support level/channel Oracle have oracleasm driver 6.x
    Dude! Guru
    Currently Being Moderated
    No one said ASMLib is a must. You can use Multipath if you prefer, but some prefer ASMLib and want to take advantage of it. The question of the OP was not how to avoid ASMLib, but where to find it.
  • 7. Re: At WHAT ULN support level/channel Oracle have oracleasm driver 6.x
    AriHeikkinen Newbie
    Currently Being Moderated
    What about this desupport, seemes that ASM is only way up and from 11g release and seems that asmlib is only way in future..
    Still unsure if modprobe is enough, perhaps must giev a try somehow

    done command: /usr/sbin/oracleasm init

    Point why asking these questions is, that "faraway" storage is otherway reachable but when starting asm task i's giving "not permitted" error and from some other threads didn't give good enough answer..

    >>>>
    [root@linux]# /usr/sbin/oracleasm-discover
    Using ASMLib from /opt/oracle/extapi/64/asm/orcl/1/libasm.so
    [ASM Library - Generic Linux, version 2.0.4 (KABI_V2)]
    asm_init() failed: Operation not permitted
    [root@linux]#
    [root@linux]# ls -l /etc/sysconfig/oracleasm*
    lrwxrwxrwx. 1 root root 24 Sep 19 14:23 /etc/sysconfig/oracleasm -> oracleasm-devoracleasm
    -rw-r--r--. 1 root root 777 Sep 21 14:04 /etc/sysconfig/oracleasm-devoracleasm
    [root@linux]#

    >>>>>>>>>>
    Oracle® Grid Infrastructure Installation Guide
    11g Release 2 (11.2) for Linux
    Part Number E22489-06
    .....
    3.4 Desupport of Block and Raw Devices

    With the release of Oracle Database 11g release 2 (11.2) and Oracle RAC 11g release 2 (11.2), using Database Configuration Assistant or the installer to store Oracle Clusterware or Oracle Database files on block or raw devices is not supported.

    If you intend to upgrade an existing Oracle RAC database, or an Oracle RAC database with Oracle ASM instances, then you can use an existing raw or block device partition, and perform a rolling upgrade of your existing installation. Performing a new installation using block or raw devices is not allowed.

    Alternatively, you can use the -d ldl option to format the DASD using the Linux disk layout if you require only a single partition (for example, if you want to create a partition for ASM file management). If you use this disk layout, then the partition device name for the DASD is /dev/dasdxxxx1.

    ......
    <<<<<<
  • 8. Re: At WHAT ULN support level/channel Oracle have oracleasm driver 6.x
    AriHeikkinen Newbie
    Currently Being Moderated
    One question if any Oracle support person is following these threads. Base installation Oracle Linux 6.3 is from ISO downloaded from edelivery. Then it was connected to public yum, untill ULN subscription. I found from other threads that policy is open but to be sure.

    Is it possible that any kernel related stuff in public yum is different than at ULN??

    Edited by: user10493458 on Sep 24, 2012 12:23 AM
  • 9. Re: At WHAT ULN support level/channel Oracle have oracleasm driver 6.x
    Dude! Guru
    Currently Being Moderated
    One question if any Oracle support person is following these threads.
    This is a public user forum. If you request help from Oracle support and have a ULN subscription, why not sending them a service request?

    What about this desupport, seemes that ASM is only way up and from 11g release and seems that asmlib is only way in future..
    The Linux kernel did not provide an efficient way to handle raw disk access, meaning to bypass the kernel I/O buffering and scheduling features, until O_direct was introduced; and superseding the use of raw block devices, which was only a temporary solution under Linux.

    The device tree in Linux gets rebuild after every restart of the system and permissions are thereby reset to root. ASMLib however isn't the only option to address device ownership. Some may prefer to use Multipath and Udev. You will actually require Multipath if you want to provide device path fail-over for ASMLib. Besides improving kernel I/O performance and simplifying device management, ASMLib for Linux automatically sets the correct device ownership, can filter devices and provides devices to ASM without having to customize the Oracle ASM disk-string.
    Still unsure if modprobe is enough.
    ASMLib requries the oracleasm kernel driver, which as of the release of RHEL 6 is only available for the Oracle UEK kernel. Apparently Red Hat undercuts Oracle Linux with kernel patches. Oracle UEK is based on the Linux mainstream kernel.
    Is it possible that any kernel related stuff in public yum is different than at ULN??
    Anything is possible, but I doubt it because Oracle outlines that Oracle public yum contains errata and patches. ASMLib however is userspace and a ULN subscription can provide you updated versions.
    asm_init() failed: Operation not permitted
    Do you have SELinux enabled (enforcing)?
  • 10. Re: At WHAT ULN support level/channel Oracle have oracleasm driver 6.x
    Avi Miller Guru
    Currently Being Moderated
    AriHeikkinen wrote:
    Is it possible that any kernel related stuff in public yum is different than at ULN??
    No, it's not. Public-yum mirrors ULN. You need to make sure that you're subscribed to both the latest and UEKlatest channels on either public-yum or ULN, though. That should've happened automatically, but it's worth double-checking with the yum repolist command.

    And, ASMlib doesn't support SElinux, so disable that.
  • 11. Re: At WHAT ULN support level/channel Oracle have oracleasm driver 6.x
    AriHeikkinen Newbie
    Currently Being Moderated
    thanks, Dude had the right point for "asm_init() failed: Operation not permitted"

    SELINUX was reason for that, at other installation this disable SELINUX was done first , "same head summers and winters, local idiom=saying"

    [root@linux]# /usr/sbin/oracleasm-discover
    Using ASMLib from /opt/oracle/extapi/64/asm/orcl/1/libasm.so
    [ASM Library - Generic Linux, version 2.0.4 (KABI_V2)]
    asm_init() failed: Operation not permitted
    [root@linux]#

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points