3 Replies Latest reply: May 15, 2013 12:00 AM by AshishShukla RSS

    asmlib 2.6.32-279.el6

    1003657
      from where i can get asmlib driver for linux kernel version 2.6.32-279.el6 i have tried to install it by following command #oracleasm update-driver 2.6.32-279.el6 but not able to install is there any other way to to install appropriate asmlib driver for os kernal .
        • 1. Re: asmlib 2.6.32-279.el6
          FreddieEssex
          See the following MOS document:

          Oracle ASMLib Software Update Policy for Red Hat Enterprise Linux Supported by Red Hat [ID 1089399.1]
          • 2. Re: asmlib 2.6.32-279.el6
            rarain
            Here is the OTN link to download ASMLIB driver for different operating system.

            http://www.oracle.com/technetwork/server-storage/linux/downloads/index-088143.html

            Thanks
            • 3. Re: asmlib 2.6.32-279.el6
              AshishShukla
              Hi,

              To configure ASM disk you need to perform following steps:

              1. Find out kernel version of your OS using " *# uname -a*"

              2. Download related ASMlib rpms from OTN

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

              3. RPM like this:

              oracleasm-2.6.18-164.el5PAE-2.0.5-1.el5
              oracleasm-support-2.1.3-1.el5
              oracleasm-2.6.18-164.el5xen-2.0.5-1.el5
              oracleasm-2.6.18-164.el5-2.0.5-1.el5
              oracleasmlib-2.0.4-1.el5
              oracleasm-2.6.18-164.el5debug-2.0.5-1.el5

              4. Install RPM using this command:

              # rpm -ivh --nodeps oracleasm*

              5. Configure ASMlib RPMs

              [root@host01 ~]# oracleasm configure -i
              Configuring the Oracle ASM library driver.

              Default user to own the driver interface [grid]: grid
              Default group to own the driver interface [asmdba]: asmadmin
              Start Oracle ASM library driver on boot (y/n) [y]: y
              Scan for Oracle ASM disks on boot (y/n) [y]: y
              Writing Oracle ASM library driver configuration: done

              [root@host01 ~]*#oracleasm exit*

              [root@host01 ~]*#oracleasm init*


              6. Create ASM disk using ASMlib:

              oracleasm createdisk ASMDISK01 /dev/sdb1

              oracleasm createdisk ASMDISK02 /dev/sdb2

              oracleasm createdisk ASMDISK03 /dev/sdb3

              oracleasm createdisk ASMDISK04 /dev/sdb5

              oracleasm createdisk ASMDISK05 /dev/sdb6

              oracleasm createdisk ASMDISK06 /dev/sdb7

              oracleasm createdisk ASMDISK07 /dev/sdb8

              oracleasm createdisk ASMDISK08 /dev/sdb9

              oracleasm createdisk ASMDISK09 /dev/sdb10

              oracleasm createdisk ASMDISK010 /dev/sdb11

              oracleasm createdisk ASMDISK011 /dev/sdb12

              oracleasm createdisk ASMDISK012 /dev/sdb13

              oracleasm createdisk ASMDISK013 /dev/sdb14

              oracleasm createdisk ASMDISK014 /dev/sdb15

              *7. Reload ASMlib driver:*

              [root@host01 ~]# oracleasm scandisks

              [root@host01 ~]# oracleasm listdisks



              Thanks & Regards,

              Ashish Shukla

              Edited by: Ashish Shukla on May 15, 2013 10:29 AM