Configuring Storage for Clusterware on Raw devices

My proposed system is:
- Sun Solaris 10
- Oracle 10G RAC
- Oracle Clusterware
- Raw devices for Clusterware files
- ASM for database flies
Assume I have appropriately sized LUNs assigned on my SAN for OCR and voting disks. My question is, how do I configure the raw devices required for these Clusterware files?
I have read the Oracle RAC/Clusterware installation guide (Sun Solaris, SPARC), which goes as far as identifying the requirements but does not give the procedure. If I wish to use raw devices for ASM, it gives a procedure for creating partitions on the LUNs. Is anything like this required for the Clusterware files (OCR and voting disks)?

As far as I know, Solaris follows the traditional raw device definition, which basically says that a raw device is a disk or a partition on a disk that does not contain a file system (yet). Given your question, this would mean that any device that you can find that does not contain a file system would be a raw device.
Message edited here:
However, you need to find the right link to this device in order to use it as a raw or character device. Otherwise, the device would be used as a block device, which means it will be buffered.
On Solaris, those character devices should be listed under /dev/rdsk, while the block device would be listed under /dev/dsk. (Please, refer to: http://www.idevelopment.info/data/Unix/Solaris/SOLARIS_UnderstandingDiskDeviceFiles.shtml)
End of update.
Therefore, you have 2 options in your case. You can create LUNs in your storage that would be just suitable to host your Voting Disks and OCRs OR you can create a bigger LUN and put an OCR and a Voting Disk on this one, AFTER you have sliced the disk (LUN) using the format command.
There is only one thing to remember: If you follow Oracle's recommendation to use multiple Votings and mirrored OCRs, it would obviously be better that those devices do not all share the same LUN (for availability reasons).
Last but not least, you may want to have a look at the following forum for a similar discussion on using RAW devices under Solaris: http://forum.java.sun.com/thread.jspa?threadID=5073358&messageID=9267900
Hope that helps. Thanks.
Message was edited by:
MarkusM

Similar Messages

  • Do you get extra storage for more than one device

    Do you get extra iCloud storage for more than one device

    No. The free storage is currently per Apple ID rather than per device.

  • Configure NAS for Clusterware

    Hello All,
    We are trying to install 10gR2 RAC . We have the following components:
    Linux SUSE 10.2 -- 2 servers
    additional NICs -- 2 (per each server above) Qty
    NAS Device (256 MB, 1.2GHz, 2 Network Interfaces) -- 1 Qty
    8-Port Switch -- 2 Qty
    Cat 6 cables -- 6 Qty
    We got stuck up on how to configure this NAS and make disks that are visible from both the nodes. The NAS device came with a CD and this software has a provisions to create shares. But we are looking for some kind of document which explains how to create these shares (or shared disks?) so that they are visible to both the nodes.
    Since we are not Storage Engineers we are having great difficulties here. Highly appreciate anybody giving reference to some document with steps from scratch.
    I will update this thread with each and every step I am doing to configure RAC with the above components so that i would be helpful to all of us here. But I need to move forward with configuring the NAS.
    Thanks.

    consult your nas vendor's documentation on how to set up NFS shares, then setup nfs mounts on your linux boxes. there is a metalink note that describes the neccessary mount options you have to set on your linux boxes.
    Bjoern

  • Deleting Windows Logical Drives and Reallocating for Reuse as Raw Devices

    Can I delete 2 obsolete OCR/Voting Disk Windows 2003 SP 1 logical drives on a raw disk? They are at the beginning of a disk volume that contains other raw ASM and active OCR/Voting disk logical drives. I want to recreate these 2 logical drives for testing OCR and Voting disk mirroring.

    Well I deleted the old logical drives that were previously used for OCR and Voting Disk. They were on the beginning of a LUN that also has ASM logical drives as well as new logical drives for OCR and Voting. All this was to test out procedures for moving the voting and ocr.
    The test went well and everything still worked after deleting the old logical drives. I never got to the point of reprovisiong that space for reuse...but I assume I could. Unfortunately, I am running 10.2.0.1 Windows and the inter-node workings become unstable whenever I do a new config to the raw LUN. I learned the hard way that it is best to set all services to manual on both nodes, reboot and restart CRS a node at a time.
    I'm assuming that many of inter-node stability issues are fixed if I got to 10.2.0.3, right?

  • RAW vs OCFS for Clusterware files

    Hello All!
    I would like to know your experiences using ocfs or raw devices for clusterware files & voting disks in a RAC enviroment. Which do you think is better?, what are the advantages that you experienced using them,disadvantage, issues,etc.
    Best Regards & Many Thanks for your help in advance.
    Ev3

    using ocfs or raw devices for clusterware files
    Raw Devices
    Linux provides raw device access with a pseudo filesystem which presents a file-like
    interface to read and write actual disk partitions. Normally reads and writes to files
    go through the Linux filesystem buffer cache; however, raw device IO bypasses the
    buffer cache and directly deals with the underlying hardware devices. There is one
    raw device for one partition.
    OCFS is Oracle’s open-source filesystem available on various platforms. This is an
    extent-based (an extent is a variable contiguous space) filesystem which is currently
    intended for Oracle datafiles and Oracle RAC (real application clusters). In terms
    of the file interface it provides to applications, OCFS balances performance and
    manageability by providing functionality that is in-between the functionality
    provided by raw devices and typical filesystems. While retaining the performance
    of raw devices.
    http://www.oracle.com/technology/tech/linux/pdf/Linux-FS-Performance-Comparison.pdf
    performance??? ... i think ... not different
    What should you use ... OCFS or RAW ?
    It depends on your design;)
    if you have plan to share ORACLE_HOME... use ocfs2 and then you can share OCR + VOTE on OCFS.
    if you have plan to use ASM... I think you don't need to use OCFS, you can make OCR + VOTE on raw devices.
    By the way... if you use ASM and you don't want to perform on ocfs2 ... use raw ...
    Good Luck

  • I have an I-phone and a I-Pad. Do I get 5G of Icloud storage for each device since they are registered in my account?

    RE:  Icloud gtorage
    Am I allowed 5g of storage for each of my devices I-phone 5 and I-pad?

    Welcome to the Apple Community.
    No, you get 5 GB per account.

  • IS RAW DEVICES SUPPORTED OVER A CLUSTER FILE SYSTEM

    Can raw partions be defined for datafiles after having choosen Cluster file system as storage option for database while creating fresh database using
    DBCA?

    > Do update on how the partitions have to be defined in either cases?
    For both ASM and OCFS, a partition must exist on the disk - it can be of any partition type. Does not matter. Simply that the s/w references a partition and not an entire disk.
    So for example, /dev/sdaf and dev/sdag are two shared devices on the cluster (LUNs on the SAN or whatever).
    You create a partition on each. E.g
    # fdisk -l /dev/sdaf
    Disk /dev/sdaf: 36.5 GB, 36573020160 bytes
    255 heads, 63 sectors/track, 4446 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sdaf1 1 4446 35712463+ 83 LinuxTo use the first device as a OCFS device, you need to build an ocfs file system on it using mkfs.
    And then it can be mounted as a "normal" cooked file system mount. Remember that /etc/fstab needs to be updated for mounting it on startup.
    To use the second device for ASM, you have two choices. If you have the ASMlib kernel module installed, you can use that to configure a volume label and assign it for use by ASM.
    Alternatively, you simply map the device (partition) to a raw device for detection by ASM. E.g.
    # raw /dev/raw/raw1 /dev/sdag1Of course, you also need to make this permanent by updating the raw device list config file so that this mapping is performed on reboot. On Linux, this is the /etc/sysconfig/rawdevices file. Also remember that the user and group access for the logical raw device created, must allow ASM full access to it (e.g. use chmod oracle.dba /dev/raw/raw1).
    In a nutshell, this is how to raw devices are used as ocfs and asm volumes. (on RHEL specifically, but I expect no major differences in this approach on other o/s's)

  • Oracle ASM installation and raw device options

    I am looking to install Oracle ASM on Linux Red Hat AS 4 (ia64) using Oracle 10.2.0.3.
    A general question I have regarding prerequisites for ASM using raw devices. It appears there are 2 options for dealing with RAW devices.
    1. Use the ASM library driver
    or
    2. simply bind the devices to raw devices (and then install a new $OH with an ASM instance)
    Is there a recommendation from Oracle, industry best practices, expert opinions on which way to go?
    If I understand correctly it sounds like option 2 will require an ASM $OH and instance. Is that right or do both option require this?
    Can someone provide guidance as to which option I should use, an Oracle whitepaper, a recommendation, instructions or something.
    Any help or insight is provided as to which option I should use.
    Thank you.
    echardrd

    OK. Perhaps I am a little condused then. From what I read Oracle ASM recommends the use of RAW devices for ASM storage devices. What I have is a new LUN presented to my database server from the SAN. I assumed that the LUN needs to be mounted in some fashion on the server, but my SA tells me in order to mount it, would require the use of a filesystem. If we put a filesystem(NTFS, ext, etc) on the LUN prior to mounting it, will ASM be able to use it? If ASM can use a device that has a filesystem on it will this add unneccessary overhead (I/O)?
    I guess my question is for ASM should I
    1. use a RAW partition or a filesystem? Does it matter?
    2. Will RAW have better I/O performance?
    3. How do i make the LUN presentation from the SAN a usable RAW device to my database server? Any steps or guidance would be helpful since my SA and I can not seem to bridge this gap.
    Thanks.

  • How to migrate raw device to OCFS in the share disk?

    I have a 10gr2 RAC env on two nodes and use raw device, I want to migrate the raw device to OCFS but I can't find the doc to help me? anyone can give me a hand? thankx~~

    Hi terbas
    Not sure that this is the correct section to ask that question, but anyway herewith the way to do it:
    Creating raw devices is the same process as creating a Logica Volume in AIX using smitty. You have to define Volume Groups an hdisk devices. The difference is in ths type of LV used, whe creating JFS FS you used to select jfs/jfs2 types, while whe creating raw devices you can assign a label as "raw" and the use the raw device. Sample of creating a Raw Device:
    mklv -t raw VGName <Size in LP Units>
    When creating raw devices is good to have some consideration about placement of the logical volume in order to achieve som extra performance, remember that data placed near to center i better accessed than data placed on the edge of the disk.
    From a guide i used to configure AIX systems for Oracl installations:
    "RAW Device Interface
    The RAW device interface allows for the least amount of overhea you can achieve with UNIX I/Os. When using the RAW devic interface, UNIX simply assigns a section of the disk to each RA device. This portion of the disk is contiguous; accesses to i bypass all disk caching and file-system overhead.

  • Database Data files on RAW Devices

    Hi,
    I'm creating a database and wish to locate the tablespaces on a raw device.
    How do I specify the datafiles for the tablespaces on the raw device.

    > Any reason for moving to raw device?
    I actually prefer raw devices and ASM over using cooked file systems.
    By default RAW devices eliminate the "interference" of the kernel. It does not manage a file system on the device. There are no other foreign processes that can use that raw device (as is often the case with cooked devices). There is no o/s file system cache for that device. A physical I/O on the Oracle side means a dinkum physical I/O and not a maybe-logical-I/O-from-the-file-system-o/s-cache.
    There is no need for me as DBA to manage that file system according to OFA standards (ASM does it for me). There is no need for me to go through the learning curve of using a 3rd party volume manager. I have features like automated load balancing while the instance is up and running.
    Yes, there is an argument to be made for just how much of a performance improvement in I/O one can get from a raw device versus a cooked file system. But I/O performance is not the only consideration.

  • Create raw devices for OCR & Voting Disk for Oracle 10g R2 RACLinux 64 bit)

    Hi Friends,
    Please let me know the Document to cretae RAW Disk for OCR and Voting Disks (like rpm's required,process tio cretae raw disks) in Oracle 10g R2 on Linux (64 bit)
    Regards,
    DB

    http://docs.oracle.com/cd/B19306_01/install.102/b14203/storage.htm#BABFFBBA
    and
    Configuring raw devices (singlepath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 465001.1]
    Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 564580.1]

  • Raw Device Validation Check for Name Failed..

    Hi all,
    I have installed Oracle Clusterware 10.2.0.4 and Oracle database software 10.2.0.4 on Solaris SPARC 10 and i using a NAS storage for the same
    And when i try to create a database using DBCA i got the following error.
    Raw Device Validation Check for Name /u03/oradata/spfile/spfile{SID}.ora failed. The specified file /u01/oradata/spfile/spfile{SID}.ora doesnot exit.Please a existing file.
    Note: i am not using ASM., i am using RAW device for Database
    Any help highly thankful
    -Arun

    Hi
    this is how i have mounted the NAS...
    10.0.0.0:/vol/prodt3_vol16/ora_dbfr_inn1s - /u07/DBFR/INS nfs - yes rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,noac,forcedirectio,vers=3,suid
    how do i ensure that it is not being used....we should not use ASM its an client requinment ...
    Thanks

  • Root.sh failed:Raw devices for OEL 5.3 and 10.2.0.4 RAC

    Hi
    We have OEL 5.3 and Oracle RAC 10.2.0.4
    While installing clusterware and running root.sh we are getting the error
    Failed to upgrade the cluster registry.
    Further the ocrconfig.log are as below:
    ocrconfig_20527.log
    Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle. All rights reserved.
    2009-08-04 04:38:41.540: [ OCRCONF][286303376]ocrconfig starts...
    2009-08-04 04:38:41.540: [ OCRCONF][286303376]Upgrading OCR data
    2009-08-04 04:38:41.615: [  OCRRAW][286303376]propriogid:1: INVALID FORMAT
    2009-08-04 04:38:41.616: [  OCRRAW][286303376]ibctx:1:ERROR: INVALID FORMAT
    2009-08-04 04:38:41.616: [  OCRRAW][286303376]proprinit:problem reading the bootblock or superbloc 22
    2009-08-04 04:38:41.616: [ default][286303376]a_init:7!: Backend init unsuccessful : [22]
    2009-08-04 04:38:41.616: [ OCRCONF][286303376]Exporting OCR data to [OCRUPGRADEFILE]
    2009-08-04 04:38:41.616: [  OCRAPI][286303376]a_init:7!: Backend init unsuccessful : [33]
    2009-08-04 04:38:41.616: [ OCRCONF][286303376]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
    2009-08-04 04:38:41.619: [  OCRRAW][286303376]propriogid:1: INVALID FORMAT
    2009-08-04 04:38:41.619: [  OCRRAW][286303376]ibctx:1:ERROR: INVALID FORMAT
    2009-08-04 04:38:41.619: [  OCRRAW][286303376]proprinit:problem reading the bootblock or superbloc 22
    2009-08-04 04:38:41.619: [ default][286303376]a_init:7!: Backend init unsuccessful : [22]
    2009-08-04 04:38:41.623: [  OCRRAW][286303376]propriogid:1: INVALID FORMAT
    2009-08-04 04:38:41.623: [  OCRRAW][286303376]ibctx:1:ERROR: INVALID FORMAT
    2009-08-04 04:38:41.623: [  OCRRAW][286303376]proprinit:problem reading the bootblock or superbloc 22
    2009-08-04 04:38:41.626: [  OCRRAW][286303376]propriogid:1: INVALID FORMAT
    2009-08-04 04:38:41.641: [  OCRRAW][286303376]propriowv: Vote information on disk 0 [dev/raw/raw1] is adjusted from [0/0] to [2/2]
    2009-08-04 04:38:41.646: [  OCRRAW][286303376]propriniconfig:No 92 configuration
    2009-08-04 04:38:41.646: [  OCRAPI][286303376]a_init:6a: Backend init successful
    2009-08-04 04:38:41.663: [ OCRCONF][286303376]Initialized DATABASE keys in OCR
    2009-08-04 04:38:41.677: [ OCRCONF][286303376]csetskgfrblock0: clsfmt returned with error [4].
    2009-08-04 04:38:41.677: [ OCRCONF][286303376]Failure in setting block0 [-1]
    2009-08-04 04:38:41.677: [ OCRCONF][286303376]OCR block 0 is not set !
    2009-08-04 04:38:41.678: [ OCRCONF][286303376]Exiting [status=failed]...
    Any solution please?
    Supriya Sh

    There are a couple of errors that doesn't make the clusterware look fine.
    There was no previous version of OCR. error:PROC-33: Oracle Cluster Registry is not configured
    proprinit:problem reading the bootblock or superbloc 22
    This could mean either your cluster registry file is corrupt or you don't have access to the raw devices. Check the access to the shared storage raw device is valid. If this is not true, then make sure you have all your backup files ready.
    ~ Madrid
    http://hrivera99.blogspot.com

  • Oracle rac raw device as shared storage

    Hi,
    i m new to oracle rac,
    and i wish to instlall 11g r1 RAC on my laptop having linux 4 as platform (on vmware) ,
    for that i prepare 4 partition for that (on node1)
    /dev/sdb1 - for ocr
    /dev/sdb2 - for voting disk
    /dev/sdb3 - for asmdisk group
    /dev/sda5 - fro asmdisk group
    by assuming external redundacy for ocr and voting disk i kept only one disk
    and i configured following in /etc/sysconfig/rawdevices
    /dev/raw/raw1 /dev/sdb1 -- ocr
    /dev/raw/raw2 /dev/sdb2 -- voting disk
    /dev/raw/raw3 /dev/sdb3 -- asmdisk group
    /dev/raw/raw4 /dev/sdb5 -- asmdisk group
    and my question is how node2 can understat these raw device as shared storage?
    thanks for any support

    hi thanks for your suggestion ,
    this may be ok for VMware , but what about for non-VMWare environment?
    how can i make raw device as shared storage?
    one more, all the docs that i followed on net , configured node1 partitions as shared storage.
    please help me in this regards

  • SPARC 64bit Clusterware 10.2.0.4 - shared raw device

    Dear group,
    I have been asked to install RAC 10.2.0.4 SE on Solaris 10 (SPARC). I am not a Solaris admin altough I have done many RAC installations on RHEL4/5.
    Does anyone have suggestions/pointers to documentation (apart from the docs on OTN which I already consulted) on how to place OCR and vorting disk on shared raw devices? The setup is unlikely to use any multipathing but will rely on a low end SAN for shared storage. I am especially interested in the proper use of the "format" tool (I know for instance that I need to start from cyliner 1 for ASM slices).
    So far all I found were documents explaining SFRAC, Sun Cluster etc which I either don't have at my disposal or can't use due to license restrictions.
    On a comparable single-pathing Linux setup, we'd simply use fdisk to create partitions on the shared disk(s) which then are made available as raw devices thanks to udev.
    Thanks and regards,
    Martin

    Hi Martin,
    Take a look on this doc http://download.oracle.com/docs/cd/B19306_01/install.102/b14205/storage.htm#sthref675
    Regards,
    Rodrigo Mufalani
    http://mufalani.blogspot.com

Maybe you are looking for

  • Flash cookies - warning from BT's Chief Security T...

    I wonder how many readers here use tools to help keep their internet activity form impinging on their privacy. If you never think about third-party cookies, scripts, LSOs etc and just happily surf and follow links without a care in the world, have a

  • Vendor Evaluation on Purchasing Group

    Hi SAPER'S Could anyone tell me the if we can run vendor evaluation on Purchasing Group or can we get the report on Purchasing Group after vendor evaluation run. Full points guranteed. Regards.

  • Java system properties in the command line...

    Is it possible to know (at run-time) which system properties have been specified in the command line (using the -Dprop=value argument)? Actually I would like to avoid people running the JVM and using my program overwriting the user.name property. Tha

  • Help, my sons iPod went through the washing machine

    What do we do?

  • Image on image

    Good morning, Have a need to place a logo (image) in the left hand corner on top of a banner. For some reason I cannot get it done. Any clues, anyone. Thanks.