oracleasm kernel modules

Latest response

Hi,

Just wondering when you might release the Oracle ASM libs for RedHat 5 ELS kernel 2.6.18-423.

I know i need to get these Database server off RHEL5 (40+), but until i can get the budget to replace the physical server I'm stuck.

Kind Regards
Jonathan

Responses

You might want send that question to Oracle instead, as Red Hat does not make those libraries for RHEL5 at all as far as I know.

Here's Oracle's page with the yum repository info for RHEL 5:

http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html

Based on that information, I "hand-crafted" URLs for peeking at the contents of the repository:

http://yum.oracle.com/repo/OracleASM/RHEL5/x86_64

http://yum.oracle.com/repo/OracleASM/RHEL5/i386

At the time of this writing, the most recent ASMlib kernel support for RHEL 5 appears to be oracleasm-2.6.18-419.el5-2.0.5-2.el5.x86_64.rpm, i.e. for kernel 2.6.18-419. It is dated 24-Feb-2017.

As the "Production 3" support phase of RHEL 5 ended at the end of March 2017, I'm afraid Oracle may have chosen to not provide those packages for RedHat Extended Support kernels... or at least has not placed them into their public yum repository.

RedHat's official word on ASMlib support seems to be limited to RHEL 6 and 7 only:

https://access.redhat.com/solutions/315643

Hi Matti, Up until the beginning of September I would have agreed with you, we'd already contacted Oracle who said the same thing. that as RHEL5 has gone EOL in April 2017, 2.6.18-419 would be the last one, but now RedHat are providing the OracleASM libs as part of the Extended Life Cycle Support.

Errata ID RHEA-2017:2646 Title new packages: oracleasm Summary New oracleasm packages are now available for Red Hat Enterprise Linux 5 Extended Life Cycle Topic New oracleasm packages are now available for Red Hat Enterprise Linux 5 Extended Life Cycle Support. Description The Oracle Automated Storage Management (ASM) is a data volume manager for Oracle databases. This package provides the Oracle ASM kernel module. This enhancement update adds the oracleasm packages to Red Hat Enterprise Linux 5 Extended Life Cycle Support. (BZ#1482549) All users who require oracleasm are advised to install these new packages.

Which is currently at 2.6.18-422.

Just want to know if and when the latest 423 OracleASM libs will be released?

That's a great thing to know. However, looks like the oracleasm package for 2.6.18-422 is not only the latest, but the only version produced by RedHat so far. So it might not be quite fully integrated to RedHat's kernel publishing procedure yet.

Also, behind the scenes, Oracle might have something to say about RedHat publishing versions of "their" code... at least until it is proven to a sufficient degree that RedHat is infringing neither Oracle's copyright nor trademarks. If Oracle wants to be difficult about it, that might require some legal procedures. If something like this is going on, I would not be surprised if RedHat's people are required to make no comments about it until the situation is resolved.

I took a peek at the oracleasm-rhel5u11-2.0.5-2.el5_11.x86_64.rpm package. It looks like it is using the "weak-updates mechanism", so it's possible that the modules originally created for 2.6.18-422 will also be usable with 2.6.18-423. If so, that would mean RedHat might not consider it necessary to release a new version of oracleasm modules for each kernel update.

Matti,

Good catch. That is the plan. Thanks to packaging oracleasm using the weak-updates mechanism, it should not be necessary to upgrade oracleasm with each new kernel.

I just had to patch RHEL5.11 x86_64/Oracle 11g that runs Oracleasm. It came as a surprise too when I went to match the oracleasm package to the new kernel from Oracle's website and nothing.

https://access.redhat.com/solutions/3181841

I'm not sure if you have to have extended support for RHEL5 in order to get access to this package:

https://access.redhat.com/downloads/content/oracleasm-rhel5u11/2.0.5-2.el5_11/x86_64/37017186/package

All I did was install the oracleasm-rhel5u11 package from the oracleasm repo:

[root@server yum.repos.d]# cat oracleasm.repo
[oracleasm]
name=Oracle ASMLib Kernel Drivers for Red Hat Enterprise Linux Server 5
baseurl=http://yum.oracle.com/repo/OracleASM/RHEL5/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=0
enabled=1
[root@server yum.repos.d]#

I kept any old oracleasm packages in case something got broken.

I also ran mkinitrd against the new kernel too to ensure it would successfully boot.

please delete...

Thanks to Christopher Miller. The correct solution is to simply install the oracleasm-rhel5u11 package, that can be downloaded from the link provided in this KB Article: https://access.redhat.com/solutions/3181841

The article says you need to have ELS to download. No need to reboot. Just install, run

/etc/init.d/oracleasm start

then check the module is loaded

lsmod | grep asm

and run

oracleasm listdisks

to check that the disks are discovered.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.