This discussion is archived
6 Replies Latest reply: Oct 29, 2012 9:27 AM by JohnWatson RSS

adding new volumes to Oracle RAC

User208599 Newbie
Currently Being Moderated
Hi all,
I am having Oracle RAC environment set on 2 OEL 6.3
now I need to add a new volume on the shared storage but I am not sure if adding this volume is straight forward, as I know, adding volumes to redhat requires reboot, and always when rebooting while adding the new volumes we get a mismatch in volume naming!
so please could anyone help me in this?
many thanks
BR,
  • 1. Re: adding new volumes to Oracle RAC
    Dude! Guru
    Currently Being Moderated
    Whether or not a reboot is required to add more storage space and whether or not device names change depend on your storage hardware and volume management software. For instance, are you using ASM, LVM, Multipath, Udev? There is no way to guess your environment. Many file systems can be resized while online, including Ocfs2 1.4 or ASM.
  • 2. Re: adding new volumes to Oracle RAC
    rukbat Guru Moderator
    Currently Being Moderated
    +... thread moved from the Oracle Linux forum, to the RAC forum.+
    This is a RAC reconfiguration question, not a fundamental Linux inquiry.
  • 3. Re: adding new volumes to Oracle RAC
    User208599 Newbie
    Currently Being Moderated
    I want to expand an ASM file system
    this file system is present on an EMC storage,
    I know that I can expand the volume from the EMC storage, but I need to know how to do that also from linux
    I am using OEL native multipathing software
  • 4. Re: adding new volumes to Oracle RAC
    JohnWatson Guru
    Currently Being Moderated
    Am I correct to think that you want to resize a LUN that is presented to ASM as an ASM disc? If so, you could use the ALTER DISKGROUP....RESIZE DISK... command, but I have to say that I have never done this. Also, you will then end up with a group consisting of differtent sized discs, which is not optimal. Is not possible to crate a new LUN, and add it to the disc group?
  • 5. Re: adding new volumes to Oracle RAC
    User208599 Newbie
    Currently Being Moderated
    thanks John
    if the second option is applicable. how to avoid LUNs renaming
    what I did is that I created a new LUN and mapped it to the servers, now when I do fdisk -l the systems froze... I am afraid damaging the configuration if I reboot the servers and the device naming changes.
    how to ensure the system will boot normally if I reboot?
    thank you
  • 6. Re: adding new volumes to Oracle RAC
    JohnWatson Guru
    Currently Being Moderated
    I am sorry but I do not think that I can reliably advise you on this, other than to say that I have found that using either the ASMlib oracleasm utility or setting up udev rules will give device name persistance.

    Remember that diskgroups are self describing. As long as Grid Infrastructure can discover the devices, either by interrogating the ASMlib or by reading the diskstring parameter from the profile.xml file, then ASM should be able to work out what is happening. If you are not using ASMlib, then I would set the asm_diskstring to a value that includes wildcards, so that it will still find all devices even if names change.

    Perhaps someone else can give more definitive advice.

Legend

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