This discussion is archived
5 Replies Latest reply: May 2, 2013 11:43 PM by Dude! RSS

11gR2 RAC  on RHEL 6.1 with ASM

user13347830 Newbie
Currently Being Moderated
Hello,

I'm trying to install 11.2.0.1 on RHEL 6.1. I need to configure ASM also.

I know that ASMLIB is not supported and we have to set up udev rules...

So Without ASMLIB and without setting up Udev , My plan is to just used ASM_DISKSTRING parameter to identify the devices in /dev

And I'm going to give 777 permissions to disk..

so assume that server reboots, and ownership changes to root , does it matter ? I have permissions 777 .

Will this idea work ?

Regards,
Vishal
  • 1. Re: 11gR2 RAC  on RHEL 6.1 with ASM
    MahirM.Quluzade Guru
    Currently Being Moderated
    Hi,

    Please check : http://gjilevski.com/2011/05/10/udev-rules-for-device-persistency-and-permissionsownerships-in-oel6redhat-6-for-asm/
    http://www.oracle-base.com/articles/linux/udev-scsi-rules-configuration-in-oracle-linux-5-and-6.php

    Regards
    Mahir M. Quluzade
    http://www.mahir-quluzade.com
  • 2. Re: 11gR2 RAC  on RHEL 6.1 with ASM
    user13347830 Newbie
    Currently Being Moderated
    Thanks Mahir, I understand that setting up udev rules , device permissions to grid:asmadmin , 660 will help in case of reboot

    But just assume that I do not set up Udev, and set device permission to 777. After reboot , permissions change to root .

    Will everything work fine ? since the device permissions is 777 , the grid user will able to read/write/execute ..

    In this scenario , can i ignore udev rules ?

    Regards,
    Vishal
  • 3. Re: 11gR2 RAC  on RHEL 6.1 with ASM
    Mihael Pro
    Currently Being Moderated
    But just assume that I do not set up Udev, and set device permission to 777. After reboot , permissions change to root .

    Will everything work fine ? since the device permissions is 777 , the grid user will able to read/write/execute ..

    In this scenario , can i ignore udev rules ?
    Device names can change.
  • 4. Re: 11gR2 RAC  on RHEL 6.1 with ASM
    BillyVerreynne Oracle ACE
    Currently Being Moderated
    user13347830 wrote:

    But just assume that I do not set up Udev, and set device permission to 777. After reboot , permissions change to root .
    Obviously. As you changing the device permissions was a runtime change. When rebooted, a new runtime is created. With the defaults as per the boot settings of that runtime. And in this case, it means udev ran, created the devices, and set the device permisions.
    In this scenario , can i ignore udev rules ?
    Yes and no.

    Yes, you can add a hack and set local device permissions in +/etc/rc.local+.

    No, bad idea to use hacks. Setting a rule up via udev is easy, and provides a robust, consistent, and easy way, to deal with local devices for ASM.
  • 5. Re: 11gR2 RAC  on RHEL 6.1 with ASM
    Dude! Guru
    Currently Being Moderated
    It's not the case anymore, things change:

    The ASMLib kernel module package is now available in the Red Hat Enterprise Linux 6 Supplementary RHN channel:

    http://rhn.redhat.com/errata/RHEA-2013-0554.html

    If you do not want ASMlib you need to use udev to set correct permissions of devices under any 2.6 Linux kernel since the device tree is rebuild during every startup, hence resetting custom device permissions.

    Also note that support Oracle ASM support for RHEL 6 was added with version 11.2.0.3. Prior versions are not compatible with the new upstart technology used in RHEL and OL 6. If you have to rely on 11.2.0.1, best use Oracle Linux 5.9, which is free including all errata and update (unlike RHEL).

Legend

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