7 Replies Latest reply: Sep 15, 2012 6:27 PM by onedbguru RSS

    Please Help to Get ASM Library Files to Create ASM Disks

    user8860348
      Folks,

      Hello. My Operating System is Oracle Linux 5.6. I need to install ASMLib software to create ASM disks.

      We can download ASMLib from OTN whose URL is: http://www.oracle.com/technetwork/topics/linux/index-101839.html

      I don't have a CSI and cannot download ASMLib from the above URL. Thus, I download ASMLib from this URL:

      http://sourceforge.net/projects/asmlib/files/latest/download

      The file name from Sourceforge is asmlib-0.9.59.tar.gz. After tar zxf asmlib-0.9.59.tar.gz, I cannot find the 3 files needed for my Oracle Linux 5.6. These 3 files are :

      oracleasm-2.6.18-238.el5debug-2.0.5-1.el5.rpm
      oracleasm-2.6.18-238.el5-2.0.5-1.el5.rpm
      oracleasm-support-2.1.4-1.el5.rpm

      Can any folk help to get the above 3 files needed for my Oracle Linux 5.6 ?
      Can any folk provide a website to download the right version of ASMLib including the 3 files for Oracle Linux 5.6 ?

      Thanks.
        • 1. Re: Please Help to Get ASM Library Files to Create ASM Disks
          sybrand_b
          Google would have provided [ASMLIB 2.0|http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html]

          No CSI required.

          Enjoy!

          ----------
          Sybrand Bakker
          Senior Oracle DBA
          • 2. Re: Please Help to Get ASM Library Files to Create ASM Disks
            damorgan
            No one here is going to violate their license and support agreement with Oracle to send you the files.

            Go to your employer and explain why you need them to set up a support agreement.
            • 3. Re: Please Help to Get ASM Library Files to Create ASM Disks
              user8860348
              Folk,

              Hello. Thanks a lot for replying.

              oracleasm-2.6.18-238.el5debug-2.0.5-1.el5.rpm
              oracleasm-2.6.18-238.el5-2.0.5-1.el5.rpm
              oracleasm-support-2.1.4-1.el5.rpm

              I have just found the above 3 files are for Oracle Linux 5.6 32-bit version. My Virtual Machine Operating System is Oracle Enterprise Linux 5.6 64-bit version. Thus, the above 3 files are not right for my 64-bit OEL 5.6.

              While installing Oracle Linux 5.6, it seems that Oracle Linux 5.6 and Red Hat Enterprise Linux 5 are the same.

              I have just checked the version of my 64-bit OEL 5.6 kernel using the following command:

              [root@rac1 /]#uname -r

              The output is 2.6.32-100.26.2.e15 and this is my Kernel Version for 64-bit Oracle Enterprise Linux 5.6.

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

              is for Red Hat Enterprise Linux Server 5.

              Thus, I have 2 questions:

              First, is Red Hat Enterprise Linux Server 5 the same with my 64-bit Oracle Enterprise Linux 5.6 ?

              Second, I cannot find the exact version of Kernel 2.6.32-100.26.2.e15 for OEL 5.6 in the above link.
              Could any folk provide the exact website to download the oracleasm package for my 64-bit OEL 5.6 ?

              Thanks.
              • 4. Re: Please Help to Get ASM Library Files to Create ASM Disks
                user8860348
                Folk,

                Hello. Thanks for help.

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

                I download the following 5 files from the link above:

                AMD64 / Intel em64t Architecture

                Drivers for kernel 2.6.18-238.el5:

                oracleasm-support-2.1.7-1.el5.x86_64.rpm
                oracleasm-2.6.18-238.el5xen-2.0.5-1.el5.x86_64.rpm
                oracleasm-2.6.18-238.el5debug-2.0.5-1.el5.x86_64.rpm
                oracleasm-2.6.18-238.el5-debuginfo-2.0.5-1.el5.x86_64.rpm
                oracleasm-2.6.18-238.el5-2.0.5-1.el5.x86_64.rpm


                My VM's OS is Oracle Linux 5.6 that is assumed to be the same with Red Hat Linux Server 5.

                I have installed the 2 files (below) successfully using the command: [root@rac1 \ ]# rpm -Uvh

                oracleasm-2.6.18-238.el5-2.0.5-1.el5.x86_64.rpm
                oracleasm-support-2.1.7-1.el5.x86_64.rpm

                When installed the other 3 files, it cannot install and return the same error message: "2.6.18-238.el5 is needed."

                After installed the above 2 files, I run the command: [root@rac1 dev]# oracleasm configure -i
                But it returns the meesage:" Command not found." Thus, I cannot initialize oracleasm program.

                My questions are:
                First, why the command " oracleasm configure -i " is still not found ? How to solve the issue ?
                Second, are the other 3 files really needed to be installed ?

                Thanks.
                • 5. Re: Please Help to Get ASM Library Files to Create ASM Disks
                  user8860348
                  Folks,

                  Hello. The issue is solved by myself. Thanks.
                  • 6. Re: Please Help to Get ASM Library Files to Create ASM Disks
                    399776
                    Hi,

                    I am facing the same issue.
                    Please can you provide me the steps you followed to resolved the issue.

                    Regards
                    Sudheer
                    • 7. Re: Please Help to Get ASM Library Files to Create ASM Disks
                      onedbguru
                      ASMLib is not necessary and is slated to be retired and not available on future releases of RH/OEL. Look at how to configure udev and multipathd to persist any shared device ownership and it makes asmlib obsolete. Oracle ASM will handle the rest. I have installed more than 100 RAC nodes and have NEVER used asmlib.

                      Or a simple script that sets the correct ownership/permissions AFTER udev/multipathd starts up but BEFORE grid/asm starts up. Make certain that the device(s) use a partition that excludes the first 1M, (start at cylinder 2 to the last cylinder). Your ASM_DISKSTRING would look like /dev/mapper/*p1 (multipathd example).