Ocr and mirror ocr files

hi gurus,
what is the difference between ocr actual file and ocr mirror file. as i know ocr mirror is nothing but ocr copy. is there any much difference b/w these files.
but while recovering ocr file can we use ocr mirror file.

what is the difference between ocr actual file and ocr mirror file. as i know ocr mirror is nothing but ocr copy. is there any much difference b/w these files.yes it is a mirror copy of ocr disk. no difference.
you can check it by command ---- ocrcheck
in 10gR1 only one ocr disk
in 10gR2 one ocr and one ocr mirror disk(optional also recommended by oracle)
in 11gR1 onwards, one ocr and five ocr mirror disk(optional)
but while recovering ocr file can we use ocr mirror file.yes
refer:-
Administering Oracle Clusterware Components
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/votocr.htm

Similar Messages

  • OCR and Votinging Disk File Permissions for NFS 2 node RAC cluster

    This is a fresh reinstall of Oracle 11gR2 Clusterware on Red Hat Enterprise Linux 64bit and I'm using NFS as my shared storage.
    I've create three file systems /ocrVote01 /ocrVote02 and /ocrVote03 as NFS share and exported them to two nodes that will use them as shared OCR and Voting Disk. Currently I'm getting errors when I run root.sh
    I've done the following:
    chown rac:dba -R /ocrVote01 /ocrVote02 /ocrVote03
    It appears that the root.sh script is trying to create a directory /ocrVote01/storage and getting permissions denied.
    Any idea why Root can not create this directory?
    root.sh is also getting error permission denied at /u01/gridinfra/11.2.0/GI/crs/install/crsconfiglib.pm at line 4478
    Any Ideas on what file permissions should be set for /ocrVote01 /ocrVote02 and /ocrVote03 ?
    Thanks
    32352 close(3) = 0
    32352 write(2, "mkdir /ocrVote01/storage/: Permi"..., 112) = 112
    | 00000 6d 6b 64 69 72 20 2f 6f 63 72 56 6f 74 65 30 31 **mkdir /o crVote01** |
    | 00010 2f 73 74 6f 72 61 67 65 2f 3a 20 50 65 72 6d 69 /storage /: Permi |
    | 00020 73 73 69 6f 6e 20 64 65 6e 69 65 64 20 61 74 20 ssion de nied at |
    | 00030 2f 75 30 31 2f 67 72 69 64 69 6e 66 72 61 2f 31 /u01/gri dinfra/1 |
    | 00040 31 2e 32 2e 30 2f 47 49 2f 63 72 73 2f 69 6e 73 1.2.0/GI /crs/ins |
    | 00050 74 61 6c 6c 2f 63 72 73 63 6f 6e 66 69 67 5f 6c tall/crs config_l |
    | 00060 69 62 2e 70 6d 20 6c 69 6e 65 20 34 34 37 38 0a ib.pm li ne 4478. |
    32352 exit_group(25) = ?

    After reading OTN feedback, which is very much appreciated. I decided to look deeper into my NFS configuration and found that the /etc/exports had the incorrect configuration for shared disk where in root can make appropriate changes to voting disk and crs files. The correct configuration for /etc/fstab using NFS for shared storage for voting disk and CRS:
    192.168.1.21:/ocrVote01 /ocrVote01 nfs rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0 1 2
    192.168.1.21:/ocrVote02 /ocrVote02 nfs rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0 1 2
    192.168.1.21:/ocrVote03 /ocrVote03 nfs rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0 1 2

  • OCR and vote disk Allocation for shared raw storage with Solaris 10 questio

    Hi all,
    Current environment is Solaris 10 SPARC 64 bit OS with Hitachi SAN for shared storage and Sun E6900 servers.
    For Oracle 10g RAC (10.2) and ASM, I am setting up the vote disk and OCR files on shared raw storage area network.
    Assume that I have a 35Gb LUN carved out on raw device for the vote disk and OCR for a 2-node Oracle 10g RAC cluster and since the vote disk and OCR only require 120MB of storage, is there a way to use only a 120MB slice from the LUN or do I need to allocate the entire LUN/raw device to the vote disk?
    I am looking for a way to avoid wasting space for the OCR and vote disk with my 10g RAC cluster and we are using raw devices and Oracle 10g RAC Clusterware with Veritas filesystem for the disk management. Can I have several slices on Solaris 10 with raw shared storage (Hitachi) to triple mirror my OCR and vote disk files?
    It seems odd to have to use an entire 35GB LUN just for 2 small files: vote disk and OCR. Is there a way to partition a 120MB slice on one of the devices and allocate the rest to ASM?

    Hi
    In our RAC env.
    we have 1GB LUN for OCR and Voting Disk and 100GB LUN for ASM disk. we have 4 Node RAC env on AIX with 2 SAN storage on Hitachi system for our Application.
    we keept 1st Voting diks on SAN-1 2nd Voting Disk on SAN-2 and third voting on SAN-3.
    OCR disk on SAN1 and OCR_MIRROR Disk on SAN-2.
    we have ASM DIsk with Normal Redundancy . Failure Group 1 on SAN-1 and
    Failure Group 2 on SAN-2
    Regards
    Bharat

  • Move OCR and Vote Disk to a new SAN

    Hi,
    Can you guys help me with some links/documents for moving OCR and Vote disk files from old SAN to new SAN.
    Both SAN will have ocfs2 formatted 3 partitions on which ocr and votedisk will be placed (normal redundancy).
    Oracle version 11g R2,
    OS linux 5.5
    RAC nodes : 2
    Datafiles on ASM
    OCR/Votedisk on ocfs2
    Regards,
    Ajay

    user7443016 wrote:
    Thanks for the reply, but all the examples were showing either ocfs2 to ASM or raw to ocfs2. could you just point out the high level steps for moving 3 ocr & votedisk files from one san to another(ocfs to ocfs).
    Hi Ajay,
    Steps will be same . It doesnt matter whether it is raw to ocfs2 or ocfs to ocfs.
    There will be change only how do you assign storage for OCR/voting disk.
    I have another doubt that, i already have 3 ocr files, can i add more ocr files pointing to another mount point? the same goes with votedisk.
    You can use replace option so there is no need to add 4th OCR disk.
    i found steps in one of the website: i have few doubts in it, could any one clarify it...All the steps seems to be fine.
    Moving OCR
    1) create mount point(new san - /u05) in all nodes
    2) precreate ocr files in new mount points (i am not sure how to do it? is it just touch and filename, its a ocfs2 file system)on ocfs you need to create file as below :
    dd if=/dev/zero of=/ocfs/OCR/ocrnew.dbf bs=1M count=128
    Also I would suggest to have a look at :
    'ocrconfig -replace ocr' Fails With PROT-16 [ID 444757.1]
    RAC Assurance Support Team: RAC Starter Kit and Best Practices (Linux) [ID 811306.1]
    Regards
    Rajesh

  • OCR and Voting Disk Migration to new media

    Hello,
    We need to move OCR,voting disk and ASM from one storage media to another .I think ASM related files are very easy to move/re map but how OCR and Voting Disk files will be migrated to the new storage media?
    Thanks,
    S.Mann

    Hi,
    when you said:
    "Move Voting Disk : run as root.
    crsctl query css votedisk
    crsctl add css votedisk new_backup_san_device
    crsctl query css votedisk - Make sure the new device is added
    crsctl delete css votedisk current_san_device_to_be_encrypted
    crsctl query css votedisk - Make sure that the old one is removed "
    I supose the new_backup_san_device could be a raw device??
    In my system I have a 2 nodes cluster, oracle 10gR2, RAC and ASM
    the ocr and voting disk are stored in /dev/raw/raw1 and /dev/raw/raw2
    thoses 2 raw devices are mapped with LUNS in the first storade media.
    We are about to change it..
    So what must I do at this step? What are the logical steps I must done?
    add the new LUNS in the nodes and map it as raw devices?
    I have this at the moment:
    crw-r----- 1 root oinstall 162, 1 Feb 8 17:33 /dev/raw/raw1
    crw-r----- 1 root oinstall 162, 2 Feb 8 17:33 /dev/raw/raw2
    crw-r----- 1 oracle oinstall 162, 3 Feb 8 17:33 /dev/raw/raw3
    in the case of migration, I must add 3 new row devices?
    as this?
    crw-r----- 1 root oinstall 162, 1 Feb 8 17:33 /dev/raw/raw1
    crw-r----- 1 root oinstall 162, 2 Feb 8 17:33 /dev/raw/raw2
    crw-r----- 1 oracle oinstall 162, 3 Feb 8 17:33 /dev/raw/raw3
    crw-r----- 1 root oinstall 162, 1 Feb 8 17:33 /dev/raw/raw4
    crw-r----- 1 root oinstall 162, 2 Feb 8 17:33 /dev/raw/raw5
    crw-r----- 1 oracle oinstall 162, 3 Feb 8 17:33 /dev/raw/raw6
    That's it?
    Thanks to help

  • OCR and Voting Disk Mirror

    Hi,
    We have oracle 10.2.0.4 RAC database. Now we are planning to mirror the OCR and Voting disk. Currently we are using SAN mirror copy. SAN admin assures that we don't need mirror copy as it is being mirrored at the disk level. Can any one please suggest me if we need any mirror copy of these. If so what advantages I get from the regular SAN copy.

    You use SAN or High Availability Storage + RAID. You don't need to mirror OCR/VOTING .
    Anyway , If you can do it... Mirror OCR + Multi VOTING... , that's good thing oracle recommend.
    By the way, If you can not mirror OCR + multi VOTE on 10g, You should backup VOTE File ("dd" linux command) after setup completed/add node/delete node.
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b28759/adminoc.htm#sthref148
    And Check OCR file automatic backup:
    $ ocrconfig -showbackup
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/ocrsyntax.htm

  • SAN for ocr and vote file  for Linux RAC

    Hi Experts,
    Based on Oracle document, i have to create 2 devices for the OCR and 3 for the VOTE in RAC.
    However, my boss think SAN maybe mirroe OCR and Vote file. It is enough for 1 location in SAN storage. It does not matter how many driver sidplay for user.
    Actually it is only one SAN in back side.
    Any Explain for OCR/VOTE file in SAN?
    Thnaks
    JIm

    The idea to have these multiplex copy is to reduce the single point of failure, non the less, that's reason you build RAC in the first place isn't?
    So if it's possible you'd better have redundancy on physical disk level (LUN etc) then logic level (volume, partition etc) then file level.
    Well I agree modern SAN are pretty reliable and had built in redundancy on physical and logic level, but if you only have single vote disk and OCR, your RAC is going to fail right away when vote disk and OCR has problem. The chances are if your OCR and Vote disk has logical corruption, the corruption is going to populated to your mirrors. Even if your mirror is good you still need to get mirror copy to replace working copy and restart cluster during the time your RAC is offline.
    With more than one OCR and voting disk, your RAC is likely to survive single OCR/vote disk failure, so you can fix the problem while RAC online.

  • Voting and OCR disk mirroring

    Hi all,
    I my trying to create mirror of OCR and Voting disk in Oracle RAC 10gR2 on windows 2003.How to recoganize the location/path of raw file system to place my OCR/Voting disk.
    Thanks and Regard's
    Awanish Kumar

    Hi Awanish,
    You can use diskpart utility to build new raw partitions.
    To show location from your OCR search a key on Windows registry
    [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\Ocr]
    To show location from Voting Disks use
    %CRS_HOME%\bin\crsctl query css votedisk
    To mirror these important files use ocrconfig and crsctl utilities.
    Regards,
    Rodrigo Mufalani
    http://mufalani.blogspot.com

  • Commands for OCR and Voting File backup Restore?

    We have 2 node rac instance on 64-bit win2003 with three diskgroups DATA, BKUP, +FRA.
    We have ordered for new servers till then I will not have any test instance but only the production to work on.
    I am taking care of db files, ctl, spfile, arcivelog files through RMAN.
    The voting file and the ocr file is on raw disks.
    I have gone through the rac material but My request is somebody please compile the way and command to backup my ocr and voting file and in case of loss what are the commands to restore the files?
    Thanks in advace.
    [email protected]

    Hi Sami,
    Taking backups from OCR
    %CRS_HOME%\bin\ocrconfig -export C:\OCR_%DATA%.bkp -s online
    Restoring OCR... http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/votocr.htm#i1016682
    Run the following command to add an OCR location using either destination_file or disk to designate the target location of the additional OCR:
    %CRS_HOME%\bin\ocrconfig -replace ocr destination_file or disk
    Run the following command to add an OCR mirror location using either destination_file or disk to designate the target location of the additional OCR:
    %CRS_HOME%\bin\ocrconfig -replace ocrmirror destination_file or disk
    Backing Up and recover Voting Disks http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/votocr.htm#BABDJDHI
    with ocopy and crsctl
    Regards,
    Rodrigo Mufalani

  • OCR and Reducing file size

    I have a large document (a book) that I am trying to scan. I will be scanning it chapter by chapter. The book was printed in grayscale, so I don't have a pure BLACK AND WHITE document. I would like to optimize the file size, but I have a few questions about that.
    Currently running:
    Windows 7
    Acrobat Pro X
    Epson GT-S80 High-speed scanner
    1. What is a good typical workflow? I have tried scanning the documents to PDF using the scanner's software then opening them up in Acrobat to OCR them. I have tried using Acrobat's Scan feature with OCR being one of the steps in the scanning process. I have tried letting both softwares do their own color mode detection, where they will mix black and white and grayscale to reduce the file size, but have typically told it to stick with grayscale because that gives me the cleanest and clearest document. Does anyone have any recommendations on getting a good quality image and using a mix of black and white, as well as grayscale, or should I keep using just grayscale?
    2. I am having some trouble, I think, with the file size. I have a 12 page document I believe was either scanned at 300 dpi or was scanned at full resolution because I used CLEARSCAN, and downsampled everything to 300 dpi. I don't remember exactly, but that file is about 2.20 MB in size, and I think that runs about 185K per page. I would think there could be a way to get a smaller file.
    3. For text recognition purposes, this document is not ideal because it is a collection of powerpoint slide sheets (2 - 3 slides per page), and in some cases there is text on top of image in the slides, and it seems very hard to discern.
    4. Once a document has been scanned, and OCR has been run on it, I was under the impression that the OCR is in a separate layer, and that (if Searchable Text is chosen), you basically have a scanned image with another layer of searchable text. Because the OCR'd text is "there somewhere", is it possible to remove the scanned image text, and have just the raw recognized text, similar to if I created the document in Word, and created a PDF?
    5. Sort of back to number 1, suppose I am stuck with leaving the scanned image behind, and just running OCR, what is the optimal way to reduce the file size of the PDF? I had read that running your scan at 600 dpi may help with the text recognition. The same article suggested doing the higher resolution scan and using the ClearScan because it would  a) recognize the text better and  b) convert the text image to actual text and reduce the file size. From there, should I then just run the PDF optimizer to downsample the images to a certain DPI to further reduce the size?
    Hopefully you all can understand what I am saying and help fill in some gaps.
    Thanks,
    Ian

    Let us know if this tutorial helps you with your workflow Acrobat X: Taking the guesswork out of scanning to PDF.

  • How to examine pdf for image file formats, OCR, and layers

    Hi,
    I have a question about how to find out specific features of a pdf.  I am using Adobe Acrobat 9 Pro for windows.
    With any given PDF, I am looking to find out:
    a]  The specs of any image files used  to create the pdf (i.e., if the pdf is made up of text pages with image objects on top of them, are those image objects JPGs?  TIFFS?  What resolution are they? Are they compressed?)
    b]  Does this PDF have OCR already embedded in it?
    c]  Does this PDF have multiple layers?
    with a] -- file format is perhaps the most important, resolution and compression being second most
    with c] -- is there an easy way to see the layers, visually, on the page images?
    What is a smiple way to find out this information?
    I've poked around a bit in the "Examine Document" function, and various checks in "Preflight," as well as the help manual, and have found bits and pieces that look like some of what I'm looking for, but nothing simple or conclusive yet.
    Any help or advice would be wonderful!  I just want a simple way to be able to see what my PDF is made out of, in terms of image files, OCR, and layers.
    Thanks,
    Andrew

    Preflight is inded the best way to do this operation. You may have to read a bit to figure out what you are looking at, but that is the right route to take.

  • Confusion with OCFS2 File system for OCR and Voting disk RHEL 5, Oracle11g,

    Dear all,
    I am in the process of installing Oracle 11g 3 Node RAC database
    The environment on which i have to do this implementation is as follows:
    Oracle 11g.
    Red Hat Linux 5 x86
    Oracle Clusterware
    ASM
    EMC Storage
    250 Gb of Storage drive.
    SAN
    As of now i am in the process of installing Oracle Clusterware on the 3 nodes.
    I have performed these tasks for the cluster installs.
    1. Configure Kernel Parameters
    2. Configure User Limits
    3. Modify the /etc/pam.d/login file
    4. Configure Operating System Users and Groups for Oracle Clusterware
    5. Configure Oracle Clusterware Owner Environment
    6. Install CVUQDISK rpm package
    7. Configure the Hosts file
    8. Verify the Network Setup
    9. Configure the SSH on all Cluster Nodes (User Equivalence)
    9. Enable the SSH on all Cluster Nodes (User Equivalence)
    10. Install Oracle Cluster File System (OCFS2)
    11.Verify the Installation of Oracle Cluster File System (OCFS2)
    12. Configure the OCFS2 (/etc/ocfs2/cluster.conf)
    13. Configure the O2CB Cluster Stack for OCFS2
    BUT, here after i am a little bit confused on how to proceed further. The next step is to Format the disk and mount the OCFS2, Create Software Directories... so and so forth.
    I asked my system admin to provide me two partitions so that i could format them with OCFS2 file system.
    He wrote back to me saying.
    *"Is what you want before I do it??*
    */dev/emcpowera1 is 3GB and formatted OCFS2.*
    */dev/emcpowera2 is 3GB and formatted OCFS2.*
    *Are those big enough for you? If not, I can re-size and re-format them*
    *before I mount them on the servers.*
    *the SAN is shared storage. /dev/emcpowera is one of three LUNs on*
    *the shared storage, and it's 214GB. Right now there are only two*
    *partitions on it- the ones I listed below. I can repartition the LUN any*
    *way you want it.*
    *Where do you want these mounted at:*
    */dev/emcpowera1*
    */dev/emcpowera2*
    *I was thinking if this mounting techique would work like so:*
    *emcpowera1: /u01/shared_config/OCR_config*
    *emcpowera2: /u01/shared_config/voting_disk*
    *Let me know how you'd like them mounted."*
    Please recommend me what i should convey to him so that i can ask him to the exact same thing.
    My second question is, as we are using ASM, for which i am gonna configure ASM after clusterware installation, should i install Openfiler??
    Pls refer the enviroment information i provided above and make recommendations.
    As of now i am using Jeffery Hunters guide to install the entire setup. You think the entire install guide goes well with my enviroment??
    http://www.oracle.com/technology/pub/articles/hunter_rac11gr1_iscsi.html?rssid=rss_otn_articles
    Kind regards
    MK

    Thanks for ur reply Mufalani,
    You have managed to solve half part of my query. But still i am stuck with what kind of mount point i should ask the system admin to create for OCR and Voting disk. Should i go with the mount point he is mentioning??
    Let me put forth few more questions here.
    1. Is 280 MB ok for OCR and voting disks respectively??
    2. Should i ask the system admin to create 4 voting disk mount points and two for ocr??
    3. As mentioned by the system admin.
    */u01/shared_config/OCR_config*
    */u01/shared_config/voting_disk*
    Is this ok for creating the ocr and voting disks?
    4. Can i use OCFS2 file system for formating the disk instead of using them as RAW device!!?
    5. As u mentioned that Openfiler is not needed for Configuring ASM... Could you provide me the links which will guide me to create partition disks, voting disks and ocr disks!! I could not locate them on the doc or else were. I did find a couple of them, but was unable to identify a suitable one for my envoirement.
    Regards
    MK

  • Ocr and voting file heth

    Hi gurus,
    is there any method to check health of the ocr and voting files. How do we know that if ocr or voting files are corrupted.
    Thank you!

    returns an individual status for each file as well as a result for the overall OCR integrity check. The following is a sample of the OCRCHECK output:
    $ pwd
    /u01/db/crs/10.2.0/bin
    $ ocrcheck
    Status of Oracle Cluster Registry is as follows :
             Version                  :          2
             Total space (kbytes)     :    1049004
             Used space (kbytes)      :      15948
             Available space (kbytes) :    1033056
             ID                       :  941199149
             Device/File Name         : /dev/rhdiskpower52
                                        Device/File integrity check succeeded
                                        Device/File not configured
             Cluster registry integrity check succeeded
    The following ocrdump utility examples extract various types of OCR information and write it to various targets:
    ocrdump
    Writes the OCR content to a file called OCRDUMPFILE in the current directory.
    ocrdump MYFILE
    $ ocrdump
    $crsctl query css votedisk
    and also using cluvfyrefer the link:-http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/appsupport.htm#BEHBHFJB

  • Shared file system  recomended for OCR and voting Disk in 10g R2

    Dear Friends,
    For Oracle 10g R2 (10.2.0.5) 64 bit which shared file system is recomended for OCR and voting Disk (NFS / raw devices / OCFS2)
    For Datafiles and FRA i planned to use ASM
    Regards,
    DB

    Hi,
    If your using standard edition then you got no choice but raw devices
    http://docs.oracle.com/cd/B19306_01/license.102/b14199/options.htm#CJAHAGJE
    for ocfs2 you need to take extra care
    Heartbeat/Voting/Quorum Related Timeout Configuration for Linux, OCFS2, RAC Stack to Avoid Unnecessary Node Fencing, Panic and Reboot [ID 395878.1]

  • OCR and Voting Disk

    Hi all,
    What is the difference b/w OCR and Voting Disk

    The voting disk is a file that manages information about node membership and the OCR is a file that manages cluster and RAC database configuration information.
    Voting Disk -Oracle Clusterware uses the voting disk to determine which instances are members of a cluster. The voting disk must reside on a shared disk. Basically all nodes in the RAC cluster register their heart-beat information on thes voting disks. The number decides the number of active nodes in the RAC cluster. These are also used for checking the availability of instances in RAC and remove the unavailable nodes out of the cluster. It helps in preventing split-brain condition and keeps database information intact. The split brain syndrome and its affects and how it has been managed in oracle is mentioned below.
    For high availability, Oracle recommends that you have a minimum of three voting disks. If you configure a single voting disk, then you should use external mirroring to provide redundancy. You can have up to 32 voting disks in your cluster. What I could understand about the odd value of the number of voting disks is that a noe should see maximun number of voting disk to continue to function, so with 2, if it can see only 1, its not the maximum value but a half value of voting disk. I am still trying to search more on this concept.
    OCR (Oracle Cluster Registry) - resides on shared storage and maintains information about cluster configuration and information about cluster database. OCR contains information like which database instances run on which nodes and which services runs on which database.
    Oracle Cluster Registry (OCR) is one such component in 10g RAC used to store the cluster configuration information. It is a shared disk component, typically located in a shared raw volume that must be accessible to all nodes in the cluster. The daemon OCSSd manages the configuration info in OCR and maintains the changes to cluster in the registry.
    ocrcheck is the command to check out the OCR.

Maybe you are looking for