Solaris 10g RAC Clusterware Raw device dd comand block size, sizing

Hi
We are in the process of installing clusterware for RAc on solaris 10. I have 4 luns 500mb each, we want to use them for the voting disks and ocr,
1. Which one do we use /dev/dsk or /dev/rdsk?
2) Also how do you erase the data to clear them out, I think you use the dd comand correct, but what is the full sytax to cllear the voiting disk and the ocr, do I need to specify a block size ??
3) Somebody was saying I should label the disks, just incase the controllers change the numbering if they ever get reconfigured, can this be done in SUN Solaris, if so can you give me an example, and do I specify the label as the ocr path??
Thanks
For all the info.

1. Which one do we use /dev/dsk or /dev/rdsk?
$$
Please use Character Device ,This is general practice. However from 10.2.0.1 Block Device can also work.
# chown oracle:dba /dev/rdsk/cxtydzs6
# chmod 660 /dev/rdsk/cxtydzs6
2) Also how do you erase the data to clear them out, I think you use the dd comand correct, but what is the full sytax to cllear the voiting disk and the ocr, do I need to specify a block size ??
$$
do
dd if=/dev/zero of=/dev/ocr_disk$i bs=8192 count=25000 &
done
3) Somebody was saying I should label the disks, just incase the controllers change the numbering if they ever get reconfigured, can this be done in SUN Solaris, if so can you give me an example, and do I specify the label as the ocr path??
$$
Oracle recommends that you use a file name similar to dbname_raw.conf for this file.
The following example shows a sample mapping file for a two-instance RAC cluster. Some of the partitions use alternative symbolic link names. Make sure that the partition device file name that you specify identifies the same partition on all nodes.
system=/dev/rdsk/c2t1d1s3
sysaux=/dev/rdsk/c2t1d1s4
example=/dev/rdsk/c2t1d1s5
users=/dev/rdsk/c2t1d1s6
temp=/dev/rdsk/c2t1d2s3
undotbs1=/dev/rdsk/c2t1d2s4
undotbs2=/dev/rdsk/c2t1d2s5
redo1_1=/dev/rdsk/c2t1d2s6
redo1_2=/dev/rdsk/c2t1d3s3
redo2_1=/dev/rdsk/c2t1d3s4
redo2_2=/dev/rdsk/c2t1d3s5
control1=/dev/rdsk/c2t1d4s3
control2=/dev/rdsk/c2t1d4s3
spfile=/dev/rdsk/dbname_spfile_raw_5m
pwdfile=/dev/rdsk/dbname_pwdfile_raw_5m
Hope this will help..
Bharat
NS

Similar Messages

  • RAC on RAW device

    1) Hi I am configuring rac on raw device 9i on aix5.Whether i can create a datafile morethan 1 gb in raw device.Can anybody give one example with creating a tablespace with a raw device configuration.The steps have to follow
    2) why we cannot store archivelogs on rawdevices
    with regards
    ramya

    1)Whether we can store RMAN backup on RAW devices .
    Answer : Yes, you can, just create the raw partition and point out the destination when you use the rman command. or you can take a backup to the local file system first and then move to raw device.
    2)whether we can do the export on RAW devices
    Answer : Same as No.1
    3) Whether we can create a 2gb datafile on RAW devices
    Answer : Yes, you can.
    I hope it would be helpful to you.

  • OPS/RAC Vs Raw Device/File System

    Hello, firts to all, I want to know what is OPS/RAC and Raw Device/File System.
    And then know the diferens between both.
    I apologize for my english.
    Thanks.

    OPS is Oracle parallel server was available up to Oracle 8i and RAC is Real application cluster is available from Oracle 9i.
    Raw device is just presenting the disk to server and using it. File system is presenting disk more transparent and managable form using OS or third party software.
    You need to refer respective documents to know them in detail.
    Ashok

  • Difference between raw device and a block device

    Platform : Unix, Unix-like
    What is the difference between a raw device and a Block device? I found the following URL by googling. But, posts seem to be mutually contradictory
    http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1291798907338+28353475&threadId=583811

    a raw device is a special kind of block device file that allows accessing a storage device such as a hard drive directly, bypassing the operating system's caches and buffers (although the hardware caches might still be used). Applications like a Database management system(Oracle ) can use raw devices directly, enabling them to manage how data is cached, rather than deferring this task to the operating system.
    block devices correspond to devices through which the system moves data in the form of blocks. These device nodes often represent addressable devices such as hard disks, CD-ROM drives, or memory-regions.
    Also Check :
    http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1291806443666+28353475&threadId=987277
    Regards
    Rajesh

  • What USB storage devices have a block size of 512 bytes?

    After pulling my hair out for weeks trying to get a usb hard drive to work with my new AirPort Extreme (802.11n), I ran across this
    http://docs.info.apple.com/article.html?artnum=305038
    AirPort Extreme (802.11n): USB storage device supported formats and protocols
    You can connect USB-based storage devices to an AirPort Extreme (802.11n). Learn which formats and protocols are supported.
    The AirPort Extreme (802.11n) supports USB storage devices that have a block size of 512 bytes, and are formatted as Mac OS Extended (HFS-plus), FAT16, or FAT32. Not all USB storage devices use a block size of 512 bytes.
    The AirPort Extreme (802.11n) shares storage devices based on the format used to initialize the storage device. For example, if HFS-plus formatting was used, AFP and SMB/CIFS protocols are used to share the device on the network. If FAT16 or FAT32 was used, SMB/CIFS protocols are used.
    The AirPort Extreme (802.11n) works with disks that have a single partition and are not software RAID volumes (no more than one volume per physical disk). If the disk is a self-contained RAID that presents itself to a computer as a single volume requiring no software support, then it is supported.
    Note: Use AirPort Disk Utility to discover and mount AirPort Extreme-based volumes over the network.
    Now, this information is not easily obtainable while
    shopping for a new usb hard drive. How do I find out which
    ones support this 512 byte block size????
    Would have bee nice to know that not all usb hard drives
    are supported by the AirPort Extreme (802.11n) before I
    purchased it.
    Thanks
    J Riley

    Duane posted a link to an unofficial 802.11n Airport Extreme Hard Drive Compatibility List.
    http://www.ifelix.co.uk/tech/8014.html
    Still not enough information to make an informed purchase that
    will work.

  • Tablespace creation problem in RAC using raw device.

    Hi ,
    If i created a tablespace with the .dbf extension i am able to create the tablespace. on other hand if i use .dbf extension it;s failing..
    can anyone help me out why it is happening??
    here is the code...
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SYS at terac >
    SYS at terac >CREATE TABLESPACE FLOW_1 DATAFILE
    2 '\\.\FLOW_1' SIZE 10304 K REUSE AUTOEXTEND OFF
    3 EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
    4
    SYS at terac >/
    Tablespace created.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    CREATE TABLESPACE TEST2 DATAFILE '\\.\FLOW_1.DBF' SIZE 10304 K
    REUSE AUTOEXTEND OFF EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT
    SPACE MANAGEMENT AUTO
    SYS at TERAC >/
    CREATE TABLESPACE TEST2 DATAFILE '\\.\FLOW_1.DBF' SIZE 10304 K
    ERROR at line 1:
    ORA-01119: error in creating database file '\\.\FLOW_1.DBF'
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    thanks
    james.

    I'm by no means a windows expert so I might be totally wrong here, but here goes.
    You have to refer to the raw device by its name in the datafile clause. If you use a different name then the o/s can't find the device. Simple as that.

  • Oracle 10g RAC clusterware : runcluvfy.sh comp sys giving java exception

    Hi forum,
    I am getting an exception java.util.NoSuchElementException while running the command
    /stage/crs/cluvfy/runcluvfy.sh comp sys -n m4000-pnoc7,m4000-pnoc8 -p crs -osdba crs -orainv oinstall
    Verifying system requirement
    Checking system requirements for 'crs'...
    Check: Total memory
    Node Name Available Required Comment
    m4000-pnoc8 40GB (41943040KB) 512MB (524288KB) passed
    m4000-pnoc7 40GB (41943040KB) 512MB (524288KB) passed
    Result: Total memory check passed.
    Check: Free disk space in "/tmp" dir
    Node Name Available Required Comment
    m4000-pnoc8 33.26GB (34873056KB) 400MB (409600KB) passed
    m4000-pnoc7 33.03GB (34637032KB) 400MB (409600KB) passed
    Result: Free disk space check passed.
    Check: Swap space
    Node Name Available Required Comment
    Exception in thread "main" java.util.NoSuchElementException
    at java.util.Vector.firstElement(Unknown Source)
    at oracle.ops.verification.framework.config.SwapConstraint.report(SwapConstraint.java:375)
    at oracle.ops.verification.framework.engine.task.TaskSystemRequirements.performTask(TaskSystemRequirements.java:261)
    at oracle.ops.verification.framework.engine.task.Task.perform(Task.java:203)
    at oracle.ops.verification.framework.engine.component.SystemComponent.verify(SystemComponent.java:227)
    at oracle.ops.verification.framework.engine.ClusterVerifier.verifyComponent(ClusterVerifier.java:112)
    at oracle.ops.verification.client.CluvfyDriver.main(CluvfyDriver.java:280)
    available swap space :
    -bash-3.00$ swap -s
    total: 350320k bytes allocated + 32080k reserved = 382400k used, 34795600k available
    available RAM:
    -bash-3.00$ prtconf | grep -i "memory"
    Memory size: 40960 Megabytes
    Please help me in troubleshooting the exception

    Available RAM Swap Space Required
    Between 1 GB and 2 GB 1.5 times the size of RAM
    More than 2 GB Equal to the size of RAM
    If necessary, refer to your operating system documentation for information about how to configure additional swap space.

  • 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

  • Raw devices for 11g rac

    hi,
    whether 11gr2 rac supports raw devices in ibm aix 6.1 with power ha?
    regards
    sridhar

    Hi;
    Pelase see:
    Raw Devices and Cluster Filesystems With Real Application Clusters (RAC) [ID 183408.1]
    For your future RAC related issue I suggest close your issue here as answered than move your issue Forum Home » High Availability » RAC, ASM & Clusterware Installation which is RAC dedicated forum site.
    Regard
    Helios

  • Is this a bug in APEX 3.0.1 Installation  RAC database with RAW device???

    Hello,
    I am getting the following error when I try to complete approval process.
    ORA-20001: Unable to create tablespace. ORA-01
    119: error in creating database file '//./FLOW_1.dbf' ORA-27040: skgfrcre: creat
    e error, unable to create file OSD-04002: unable to open file O/S-Error: (OS 2)
    The system cannot find the file specified.
    I checked the alert log for error here is the error in the alert log file.
    ORA-1119 signalled during: CREATE TABLESPACE FLOW_1 DATAFILE '//./FLOW_1.dbf'..
    and i found the syntax for create tablespace was wrong.
    To create a tablespace in RAC with RAW device environment under windows.
    it should have forward black slash instead of backward slash "/" without .dbf extension.
    so, I changed the syntax i was able to create tablespace through sqlplus.
    When APEX tool try to create this tablespace it throws this error..
    Old: CREATE TABLESPACE FLOW_1 DATAFILE
    '\\.\FLOW_1.dbf' SIZE 10304 K REUSE AUTOEXTEND OFF
    EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
    error : ORA-01119: error in creating database file '\\.\FLOW_1.dbf'
    New:
    CREATE TABLESPACE FLOW_1 DATAFILE
    '\\.\FLOW_1' SIZE 10304 K REUSE AUTOEXTEND OFF
    EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
    Tablespace created.
    Is it a bug in APEX 3.0.1.??
    Is anyone installed APEX in RAC ??
    James

    Hi,
    One observation, Apex is switching the Session ID after one got killed ? I was working on Apex page with browse Item to test open cursor count,
    after killing the SID (227) on which the open cursor count was getting increase, it APEX automatically switches to new SID(149) for that session.
    Now the problem is even if I have two SID's and one hits the maximum open cursor count, It is not switching to other SID instead the whole application becomes unavailable.
    STATNAME SID VALUE USER
    opened cursors current 20 14 APEX_PUBLIC_USER
    opened cursors current 149 74 APEX_PUBLIC_USER
    opened cursors current 194 71 APEX_PUBLIC_USER
    opened cursors current 211 5 APEX_PUBLIC_USER
    opened cursors current 227 325 APEX_PUBLIC_USER Killed
    opened cursors current 244 15 APEX_PUBLIC_USER
    opened cursors current 20 14 APEX_PUBLIC_USER
    opened cursors current 149 76 APEX_PUBLIC_USER
    opened cursors current 194 71 APEX_PUBLIC_USER
    opened cursors current 211 5 APEX_PUBLIC_USER
    opened cursors current 244 15 APEX_PUBLIC_USER
    Please kindly help in this.
    Thanks in Advance
    Thanks & Regards
    Sanjay
    Edited by: user11204334 on Dec 8, 2010 1:02 AM

  • Oracle database 10g RAc an ASM configuration

    Hi all,
    I want to ask to everybody something about Oracle 10g RAC and ASm configuration. We plan to migrate to Oracle 10g from 9i, and we will begin configuring oracle but we have to decide which configuration are the best.
    Our materials are bellow:
    Hardware: RP 3440 (HP)
    OS : HPUX 11i Ver 1
    Storage: EVA 4000 (eva disk group)
    The problem is:
    Our supplier recommand us to use HP serviguard + HP serviceguard extension for RAC+ RAc and Raw device as configuration.
    But we want to use Oracekl Clusterware + RAC + ASM
    My question is if anybody know what is the best configuration, we want to use ASm.
    Can we use HP serviguard and ASM.
    Some documentations or link explain oracle RAC and ASM configuration will be appreciate.
    Thanks for your help.
    Regards.
    raitsarevo

    Hello,
    there's no extra RAC software package, but the option is only offered, if one of the supported cluster layers for the respective OS has been installed before.
    10.1.0.3 looks like a complete redesign, but anyway it is a patch, you have to install 10.1.0.2 first.

  • Oracle database 10g RAC and ASM configuration

    Hi all,
    I want to ask to everybody something about Oracle 10g RAC and ASm configuration. We plan to migrate to Oracle 10g from 9i, and we will begin configuring oracle but we have to decide which configuration are the best.
    Our materials are bellow:
    Hardware: RP 3440 (HP)
    OS : HPUX 11i Ver 1
    Storage: EVA 4000 (eva disk group)
    The problem is:
    Our supplier recommand us to use HP serviguard + HP serviceguard extension for RAC+ RAc and Raw device as configuration.
    But we want to use Oracekl Clusterware + RAC + ASM
    My question is if anybody know what is the best configuration, we want to use ASm.
    Can we use HP serviguard and ASM.
    Some documentations or link explain oracle RAC and ASM configuration will be appreciate.
    Thanks for your help.
    Regards.
    raitsarevo

    Hello,
    there's no extra RAC software package, but the option is only offered, if one of the supported cluster layers for the respective OS has been installed before.
    10.1.0.3 looks like a complete redesign, but anyway it is a patch, you have to install 10.1.0.2 first.

  • Oracle database 10g RAC and ASm installation

    Hi all,
    I want to ask to everybody something about Oracle 10g RAC and ASm configuration. We plan to migrate to Oracle 10g from 9i, and we will begin configuring oracle but we have to decide which configuration are the best.
    Our materials are bellow:
    Hardware: RP 3440 (HP)
    OS : HPUX 11i Ver 1
    Storage: EVA 4000 (eva disk group)
    The problem is:
    Our supplier recommand us to use HP serviguard + HP serviceguard extension for RAC+ RAc and Raw device as configuration.
    But we want to use Oracekl Clusterware + RAC + ASM
    My question is if anybody know what is the best configuration, we want to use ASm.
    Can we use HP serviguard and ASM.
    Some documentations or link explain oracle RAC and ASM configuration will be appreciate.
    Thanks for your help.
    Regards.
    raitsarevo

    Hi Experts ,
    Using this command
    $ emca
    STARTED EMCA at Mon Mar 09 16:13:13 GMT+07:00 2009
    Enter the following information about the database to be configured
    Listener port number:
    Following error comes:
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/sysman/emSDK/conf/InventoryLoader
    at oracle.sysman.emcp.EMConfig.getFreePorts(EMConfig.java:4225)
    at oracle.sysman.emcp.EMConfig.checkParameters(EMConfig.java:994)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:265)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:692)
    at oracle.sysman.emcp.EMConfigAssistant.performSetup(EMConfigAssistant.java:641)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:340)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:180)
    Moreover this command does not work on Aix 5.3
    emca -config dbcontrol db -repos recreate
    Regards,
    Edited by: LazyDBA10g on Mar 16, 2009 6:20 AM

  • Can we implement 10g RAC without ASM

    Hi,
    OS - AIX 5.3
    DB - 10g R2
    Clusterware - 10g R2
    Can we implement 10g RAC using RAW files without ASM ?
    If yes then, do we have to install HACMP if we use RAW files only ?
    Regards,
    Amit

    you really do NOT need hacmp
    check the AIX RAC Installation Guide (Chapter 3 explains the different storage solutions for AIX)
    Here is the overview
    Storage Option File Types Supported
    OCR and Voting Disk Oracle Software Database Recovery
    Automatic Storage Management No No Yes Yes
    General Parallel File System (GPFS) Yes Yes Yes Yes
    Local storage No Yes No No
    Raw Logical Volumes Managed by HACMP Yes No Yes Yes

  • Raw device support in 11gr2

    We are currently running oracle 10.2.0.4 RAC using raw devices on the hpux itanium 64bit platform. We want to upgrade to 11.2.0.3 and I am wanting to know what parts of of database environment will still be able to utilize raw devices?
    Can my datafiles remain on raw devices or will we need to somehow convert over to using ASM? What about the ocr and voting device? Can they remain on raw devices or do we need to configure ASM for the ocr and voting disk?
    Thanks.

    923395 wrote:
    We are currently running oracle 10.2.0.4 RAC using raw devices on the hpux itanium 64bit platform. We want to upgrade to 11.2.0.3 and I am wanting to know what parts of of database environment will still be able to utilize raw devices?
    Can my datafiles remain on raw devices or will we need to somehow convert over to using ASM? What about the ocr and voting device? Can they remain on raw devices or do we need to configure ASM for the ocr and voting disk?
    Thanks.when all else fails, Read The Fine Manual
    http://docs.oracle.com/cd/E11882_01/install.112/e24169/storage.htm#sthref558

Maybe you are looking for