4 Replies Latest reply: Feb 3, 2011 4:41 AM by user13025331 RSS

    Oracle UEK and ASMLIB not seeing volumes in OUI - missing utilities?

    Catch 22
      Hello,

      I recently installed Oracle Linux 5.5 from scratch and upgraded to the Oracle Unbreakable Enterprise Linux.

      According to http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html No ASMLIB driver package needs to be installed when using this kernel.  The oracleasm-support and oracleasmlib packages still need to be installed from ULN. I installed oracleasmlib and oracleasm-support using public yum. Then I used /etc/init.d/oracleasm to configuring and label the ASM disks, and also installed the oracle-validated rpm. /etc/init.d/oracleasm listdisks properly showed the ASM volumes.

      However, the Oracle 11gR2 Grid installer did not see any available volumes, like it did before, nor did it when specifying the ORCL:* diskstring. The volumes started to show up in the installer after specifying "/dev/oracleasm/disks" as the diskstring.

      Could it be the reason that some software or utilities from the ASMLIB package is missing, i.e. /usr/sbin/oracleasm-discover?

      Thanks.

      h3. Solution Summary

      I was missing the oracleasmlib package, which I confused with oracleasm. The oracleasm package contains only the kernel driver, which is included in the Oracle Unbreakable Enterprise kernel (2.6.32-100.0.19.el5) and does not need to be installed.

      The oracleasm-support and oracelasmlib packages are still required. If you do not have paid access to the ULN network you can install the oracleasm-support rpm from Oracle's public yum repository (http://public-yum.oracle.com/).

      To install oracleasmlib you can try: rpm -ivh 'http://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.4-1.el5.x86_64.rpm'
        • 1. Re: Oracle UEK and ASMLIB not seeing volumes in OUI - missing utilities?
          Catch 22
          Perhaps I can answer my question: The html document above outlines that oracleasm-support and oracleasmlib packages are still required.

          What I installed was:
          [root@ol55 ~]# yum list *oracleasm*
          Loaded plugins: security
          Installed Packages
          oracleasm-2.6.18-194.el5.x86_64            2.0.5-1.el5       installed  
          oracleasm-support.x86_64                   2.1.3-1.el5       installed  
          Available Packages
          oracleasm-2.6.18-194.el5debug.x86_64       2.0.5-1.el5       el5_u5_base
          oracleasm-2.6.18-194.el5xen.x86_64         2.0.5-1.el5       el5_u5_base
          The */usr/sbin/oracleasm-discover* utility is part of oracleasmlib, and this package is missing.

          I suppose I do not need to install oracleasm-2.6.18-194.el5.x86_64, which contains the kernel driver that is included in the UEK - which I confused with oracleasmlib.


          Here is what tried to rectify the problem:
          # yum remove oracleasm
          - this removed 
              kernel.x86_64 0:2.6.32-100.0.19.el5, 
              oracleasm-2.6.18-194.el5.x86_64 0:2.0.5-1.el5, 
              oracle-validated.x86_64 0:1.1.0-3.el5
          
          # yum install kernel
          # yum install oracle-validated
          # yum install oracleasmlib
          -> No package oracleasmlib available.
          But where is oracleasmlib? Reading the document above one more time: ... oracleasm-support and oracleasmlib packages still need to be installed from ULN.

          Is it possible that oracleasmlib for UEK is only available with a ULN subscription?

          Edited by: Dude on Dec 17, 2010 2:13 PM


          I downloaded and installed oracleasmlib using the following:
          rpm -ivh http://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.4-1.el5.x86_64.rpm
          
          # /usr/sbin/oracleasm-discover ORCL:*
          Using ASMLib from /opt/oracle/extapi/64/asm/orcl/1/libasm.so
          [ASM Library - Generic Linux, version 2.0.4 (KABI_V2)]
          Discovered disk: ORCL:VOL1 [8385867 blocks (4293563904 bytes), maxio 256]
          Discovered disk: ORCL:VOL2 [8385867 blocks (4293563904 bytes), maxio 256]
          Discovered disk: ORCL:VOL3 [8385867 blocks (4293563904 bytes), maxio 256]
          Discovered disk: ORCL:VOLA [41929587 blocks (21467948544 bytes), maxio 256]
          Discovered disk: ORCL:VOLB [41929587 blocks (21467948544 bytes), maxio 256]
          Discovered disk: ORCL:VOLC [41929587 blocks (21467948544 bytes), maxio 256]
          Hopefully this will work....
          • 2. Re: Oracle UEK and ASMLIB not seeing volumes in OUI - missing utilities?
            Avi Miller-Oracle
            Dude wrote:
            But where is oracleasmlib? Reading the document above one more time: ... oracleasm-support and oracleasmlib packages still need to be installed from ULN.
            Is it possible that oracleasmlib for UEK is only available with a ULN subscription?
            No, as you found, you can always download ASMlib form http://www.oracle.com/technetwork/jp/topics/linux/downloads/rhel5-083144-ja.html

            However, we also provide access to those and other RPMs via the Oracle Packages for Enterprise Linux 5 channel (e5_arch_oracle) on ULN, to make it easier for customers with an active support subscription to download additional software, including oracleasmlib, the php-oci8 drivers, the Oracle Instant Client and even VirtualBox. :)
            • 3. Re: Oracle UEK and ASMLIB not seeing volumes in OUI - missing utilities?
              Sergio-Oracle
              oracleasmlib is a userspace library that's not GPL, which is why it's not on the Oracle Linux ISOs and not on public-yum.oracle.com (which has what's on the ISOs).

              Sergio