This discussion is archived
7 Replies Latest reply: Nov 17, 2013 9:58 PM by gottikere RSS

problem with create asm disk group

REDO LOG Newbie
Currently Being Moderated

Hi all

I am about configuring ASM, so I have downloaded the Grid infrastructure 11g (32 bit), I have configured and created parameters and directories.

I runned the installer but get stack at the 3 step where I have to change the discovery path. I have taped as path /dev where I have created 3 partitions sdb1, sdc1 and sdd1.

Is there any thing should I perform on partitions may be or parameters to set before I go through the installation?

 

Thanks for help

  • 1. Re: problem with create asm disk group
    MahirM.Quluzade Guru
    Currently Being Moderated

    Why you  are not using ASMLIB ?

     

    Regards

    Mahir M. Quluzade

  • 2. Re: problem with create asm disk group
    REDO LOG Newbie
    Currently Being Moderated

    Hi, I am very new to ASM, but I will lookup after you suggestion;

    Thanks for your help

  • 3. Re: problem with create asm disk group
    MahirM.Quluzade Guru
    Currently Being Moderated

    You  are wellcome to OTN Forums!

    Please check: ASMLib Installation

     

    Regards

    Mahir

  • 4. Re: problem with create asm disk group
    REDO LOG Newbie
    Currently Being Moderated

    Hi, I went through your suggestion but could not have the libraries for the linux kernel I am running, I am using a Redhat 6.4 32bit.

    is it okay if I use the ones for RHL 5?

  • 5. Re: problem with create asm disk group
    MahirM.Quluzade Guru
    Currently Being Moderated

    Hi,

     

    I  didn't understood you.

    Which version using?

     

    If you are using RHEL 6, then you can use udev. (ASMLib is not released for RHEL 6  by  oracle) -- please check : How to install Oracle 11gR2 with Red Hat Enterprise Linux/Oracle Linux 6?

    If you are using REHL5, then you  can download ASMLIB from Oracle ASMLib Downloads for Red Hat Enterprise Linux 5 AS 

     

    Regards

    Mahir M. Quluzade

  • 6. Re: problem with create asm disk group
    oracle.dba.89 Newbie
    Currently Being Moderated

    I hope you are not using and version below 11.2.0.3 as it is not supported with OEL 6. You can check all compatible versions in the certifications tab on MOS (granted you have access).

     

    And Yes OEL 5 would work well for all your 11gr2 requirements. Make sure the CPU architectures match for both (eg x86 or x86_64).

     

    Hth

    Abhishek

  • 7. Re: problem with create asm disk group
    gottikere Explorer
    Currently Being Moderated

    You can use the below link to install ASMLIB:

     

     

    http://gssdba.wordpress.com/category/asm/

     

    REFERANCE : Doc ID 580153.1

    There are two different methods to configure ASM on Linux:

    ASM with ASMLib I/O: This method creates all Oracle database files on raw block devices managed by ASM using ASMLib calls. RAW devices are not required with this method as ASMLib works with block devices.
    ASM with Standard Linux I/O: This method creates all Oracle database files on raw character devices managed by ASM using standard Linux I/O system calls. You will be required to create RAW devices for all disk partitions used by ASM.

     

    You can download the ASMLIB rpm’s from below URL:

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

    STEP 01: LOG IN AS ROOT USER AND INSTALL THE RPMS

    [root@node1 ASMLIB]# rpm -Uvh oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm \

    > oracleasmlib-2.0.4-1.el5.i386.rpm \
    > oracleasm-support-2.1.8-1.el5.i386.rpm
    warning: oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
    Preparing… ########################################### [100%]
    1:oracleasm-support ########################################### [ 33%]
    2:oracleasm-2.6.18-164.el########################################### [ 67%]
    3:oracleasmlib ########################################### [100%]

    STEP 02: CONFIGURE ASMLIB


    [root@node1 ASMLIB]# /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.

    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets (‘[]‘). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.

    Default user to own the driver interface []: oracle
    Default group to own the driver interface []: dba
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Scan for Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: done
    Initializing the Oracle ASMLib driver: [ OK ]
    Scanning the system for Oracle ASMLib disks: [ OK ]

    STEP 03 :CREATE ASM DISK

    [root@node1 ASMLIB]# /etc/init.d/oracleasm listdisks
    [root@node1 ASMLIB]#
    [root@node1 ~]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
    Marking disk “VOL1″ as an ASM disk: [ OK ]
    [root@node1 ~]# /etc/init.d/oracleasm createdisk VOL2 /dev/sdc1
    Marking disk “VOL2″ as an ASM disk: [ OK ]
    [root@node1 ~]# /etc/init.d/oracleasm createdisk VOL3 /dev/sdd1
    Marking disk “VOL3″ as an ASM disk: [ OK ]
    [root@node1 ~]# /etc/init.d/oracleasm createdisk VOL4 /dev/sde1
    Marking disk “VOL4″ as an ASM disk: [ OK ]
    [root@node1 ~]# /etc/init.d/oracleasm createdisk VOL5 /dev/sdf1
    Marking disk “VOL5″ as an ASM disk: [ OK ]
    [root@node1 ~]# /etc/init.d/oracleasm listdisks
    VOL1
    VOL2
    VOL3
    VOL4
    VOL5
    [root@node1 ~]#

Legend

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