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

Similar Messages

  • Voting disk and OCR disk in RAC

    Can anyone explain me in basic terms ...
    For what Voting and OCR disk are used in RAC.

    Hi Francisco,
    Thanks for the information.
    But i am having lot of doubts in Voting disk and types of heart-beats present in Oracle 10g RAC.
    As Oracle says css uses two heart beats 1. Network heart-beat 2. Disk heart-beat
    My doubts:
    1. How Oracle uses voting disk to avoid split-brain syndrome? OR what is the role of voting disk in split-brain syndrome?
    2. How Oracle monitors remote node health?
    3. Oracle says there is one more heart-beat where ckpt process keep on writing to control file for every 3 seconds and if it fails lmon process will evict the node....Is it true?
    5. Oracle Clusterware will send messages (via a special ping operation) to all nodes configured in the cluster, often called the "heartbeat." If the heartbeat fails for any of the nodes, it checks with the Oracle Clusterware configuration files (Voting disk) to distinguish between a real node failure and a network failure......Is it true? If true then what about the two heart beats(Network and Disk)...why these heart-beats are present or useful?
    If possible please clear my doubts by giving some simple examples....
    Awaiting for your reply and too much eager to learn and expertise in Oracle RAC architecture before administering it.
    Regards,
    Yasser.

  • Voting and ocr migration

    DB 11.1.0.7 HP Ux
    We need to move the Voting/OCR which are on raw disk to new storage raw disks.
    Currently we have Soft link fronm all the nodes pointing to the shared voting and ocr raw disks.
    The current plan is to Shut CRS, and Backup the Voting and OCR disk to the new disks.(using dd command)
    Change the soft link on all the nodes to the new disks, to which the current vote/ocr disk are backed up.
    Will this approach work ?

    Hi,
    if you gave the softlink during installation time, and that is listed in
    # ocrcheck
    and
    # crsctl query css votedisks
    then yes this will work. (Since DD was the suggested tool for backing up Votedisk in 11.1 anyway, and for OCR you can do the backup with dd as well, especially if clusterware is shut down).
    Regards
    Sebastian

  • Voting and clusterfile disks on raw blocks?

    Is this possible?
    Is there any way to get some document which describe when to use hardware clusterware and when to use Oracle one?
    Our config:
    Oracle10gR2 Itanium (RAC; ASM, DBS), Linux RHEL 5.3, HP EVA storage.
    THX
    Edited by: Funky on Jul 18, 2009 8:06 PM

    Yes, it is possible (and done a lot) to put vote and registry on raw (block) devices. I don't know a document that discusses oracle vs 3rd party clusterware but my advice would be to use whatever feels comfortable for you. When your organization already uses some other clusterware in other projects and there is knowledge within your company, you should consider using that. When you don't, use oracle clusterware.
    To me, the pure oracle approach is favourable because I want to have components from as few vendors as possible because I like to avoid the complexity that comes with all these different softwares and vendors.
    Also, I am happy with datafiles on ASM and vote/registry on raw devices while other dbas feel more comfortable with 'real' filesystems where they can easily use operating system commands to copy/move files around.
    Bjoern

  • 10 G clusterware voting,ocr disk on ocfs2 vol ?

    I'm trying to use 2 ocfs2 vols as the voting,ocr disk's during a 10.2.01 clusterware install(RHEL 4) .
    the status from o2cb on both systems says everything is fine but the ora installer says
    The location /dev/sdb1 entered for teh Oracle Cluster Registry (OCR) is not shared across all the nodes in the cluster .
    ?

    You should format /dev/sdb1 with ocfs and then mount it. You only have to format it from one node, but you have to mount it on all nodes. After you have mounted it on all nodes then supply the mount point for the voting and ocr files location.

  • Backup and Restore OCR,Voting Disk and ASM Disks in new SAN-10g RAC

    Dear Friends,
    I am using 10g R2 RAC serup on Linux
    My OCR,Voting Disk and ASM Disk for DBF Files are on a SAN box
    Now i am reorganising SAN by scrapping the entire SAN and cretaing new LUN's (It's a must)
    so pleae let me know
    1) how do i take backup of OCR and Voting Disk from existing SAN and how do i restore it in new LUN's after SAN reorganisation
    2) how do i take backup of existing Database's from existing SAN and how do i restore it in new LUN's after SAN reorganisation.
    I will be doing it in Planned downtime only
    Regards,
    DB

    For step 1 you should following metalink doc.
    For step 2 here is simple backup command script.
    I have done this in windows for you.
    D:\app\ranjit\product\11.2.0\dbhome_1\BIN>rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Feb 8 21:48:47 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: ORCL (DBID=1299593730)
    RMAN> run
    +{+
    allocate channel c1 device type disk format 'D:\app\ranjit\rman\%U';
    allocate channel c2 device type disk format 'D:\app\ranjit\rman\%U';
    backup database;
    backup current controlfile format 'D:\app\ranjit\rman\%U';
    +}+
    Regards

  • Why logical partition is a must for voting disk and OCR

    Hi Guys,
    I just started handling jobs for RAC installation, I have a simple question regarding the setup.
    Why does logical partition have to be used for voting disk and OCR?
    I tried partition the disk that were provisioned for voting disk and OCR with primary partition but when OUI is trying to recognize the disk, it cannot find the disk that has been partitioned with primary partition.
    Thank you,
    Adhika

    Hello Adhika,
    I found it on this doc http://download.oracle.com/docs/cd/B28359_01/install.111/b28250/storage.htm
    Be aware of the following restrictions for partitions:
    * You cannot use primary partitions for storing Oracle Clusterware files while running the OUI to install Oracle Clusterware as described in Chapter 5, "Installing Oracle Clusterware". You must create logical drives inside extended partitions for the disks to be used by Oracle Clusterware files and Oracle ASM.
    * With 32-bit Windows, you cannot create more than four primary disk partitions for each disk. One of the primary partitions can be an extend partition, which can then be subdivided into multiple logical partitions.
    * You can assign mount points only to primary partitions and logical drives.
    * You must create logical drives inside extended partitions for the disks to be used by Oracle Clusterware files and Oracle ASM.
    * Oracle recommends that you limit the number of partitions you create on a single disk to prevent disk contention. Therefore, you may prefer to use extended partitions rather than primary partitions.
    For these reasons, you might prefer to use extended partitions for storing Oracle software files and not primary partitions.
    All the best,
    Rodrigo Mufalani
    http://www.mrdba.com.br/mufalani

  • 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

  • Recover OCR and VOTE disk after complete corruption of ASM disk groups.

    Hi Gurus,
    I am simulating a recovery situation to perform recover of OCR and Vote files after complete corruption of ASM related disks and diskgroups. I have setup my environment as follows:\
    Environment: RAC
    OS: OEL 5.5 32-bit
    GI Version: 11.2.0.2.0
    ASM Disk groups: +OCR, +DATA
    OCR, Vote Files location: +OCR
    ASM Redundancy: External
    ASM Disks: /dev/asm-disk1, /dev/asm-disk2
    /dev/asm-disk1 - mapped on +OCR
    /dev/asm-disk2 - mapped on +DATA
    With the above configuration in place I have manually corrupted +OCR, +DATA diskgroups with dd command. I used this command to completely corrupt +OCR disk group.
    dd if=/dev/zero of=/dev/asm-disk1. I have manual backups as well as automatic backups of OCR and Vote disk. I am not using ASMLib.
    I followed this link:
    http://docs.oracle.com/cd/E11882_01/rac.112/e17264/adminoc.htm#TDPRC237
    When I tried to recover OCR file, I could not do so as there is no such diskgroup which ASM can restore the OCR, Voting disk to. I could not Re-create OCR and DATA diskgroups as I cannot connect to ASM instance. If you have a solution or workaround for my situation please describe it. That will be greatly appreciated.
    Thanks and Regards,
    Suresh.

    Please go through the following document which have the detailed steps to restore the OCR
    How to restore ASM based OCR after complete loss of the CRS diskgroup on Linux/Unix systems [ID 1062983.1]

  • About OCR and Vote Disk size

    Hallo,
    I have a simple question about OCR and Vote Disk in a 10g/11g RAC setup:
    official documentation speaks about sizing OCR and Vote Disk about 280 MB, but do they mean each OCR and Vote disk LUN ?
    In other words, for 2 OCR and 3 Vote disk I need 280*5 MB ( in multiple o single LUN)
    Is it so?
    thx in advance

    ottocolori wrote:
    Hallo,
    I have a simple question about OCR and Vote Disk in a 10g/11g RAC setup:
    official documentation speaks about sizing OCR and Vote Disk about 280 MB, but do they mean each OCR and Vote disk LUN ?
    In other words, for 2 OCR and 3 Vote disk I need 280*5 MB ( in multiple o single LUN)
    Is it so?
    thx in advanceYes. Also see Re: Reduce size of OCR file

  • OCR disk creation

    Dear Guru's
    I'm very beginner for Oracle Grid installation. I don't know how to create disk need for Grid installation. Please help me and guide me sir...
    I'm installing Oracle 11.2.0.1.0 on windows 2003 server without vmware.. Please sir...
    Thank you for your kind help and guidance...

    Hi,
    To install Oracle Rac, need to have shared disks/partition (SAN , NAS ) for (1) Voting disk and OCR. size few HundredS MB (2) for database files or ASM (size depend on u r db size and redundancy. again u can use external redundancy i.e.hardware level mirroring).
    as per my understanding ,
    Now for windows oracle has given OCFS (Oracle Cluster file system). format the shared partition using ocfs and give that location OCR , voting disk while Oracle Clusterware installtion.
    for ASM use shared raw disks of same size.
    please correct if i am wrong.
    Edited by: Rajesh.Rathod on Sep 18, 2012 1:08 AM

  • How can I remove asm and ocr installation in AIX?

    Hi,
    I try to install single instance with using ASM in AIX.
    But I did not make successfully.
    Now I want to remove ASM and OCR installation then
    I will plan to make new clear installation.
    How can I remove asm and ocr ??
    Or How can I control my removing is fully correct ?

    1) ASM Instance Clean-Up Procedures
    Stop all of the databases that use the ASM instance that is running from the Oracle home that is on the node that you are deleting.
    On the node that you are deleting, if this is the Oracle home which from which the ASM instance runs, then remove the ASM configuration by completing the following steps. Run the command srvctl stop asm -n node_name for all of the nodes on which this Oracle home exists. Run the command srvctl remove asm -n node for all nodes on which this Oracle home exists. If there are databases on this node that use ASM, then use DBCA Disk Group Management to create an ASM instance on one of the existing Oracle homes on the node, restart the databases if you stopped them.
    If you are using a cluster file system for your ASM Oracle home, then ensure that your local node has the $ORACLE_BASE and $ORACLE_HOME environment variables set correctly. Run the following commands from a node other than the node that you are deleting, where node_number is the node number of the node that you are deleting:
    rm -r $ORACLE_BASE/admin/+ASMnode_number
    rm -f $ORACLE_HOME/dbs/*ASMnode_number
    If you are not using a cluster file system for your ASM Oracle home, then run the rm or delete commands mentioned in the previous step on each node on which the Oracle home exists.
    2) Deleting an Oracle Clusterware Home Using OUI in Silent Mode
    !!! Oracle recommends that you back up your voting disk and OCR files after you complete the node deletion process.
    If you ran the Oracle Interface Configuration Tool (OIFCFG) with the -global flag during the installation, then skip this step. Otherwise, from a node that is going to remain in your cluster, from the CRS_home/bin directory, run the following command where node2 is the name of the node that you are deleting:
    ./oifcfg delif –node node2
    Obtain the remote port number, which you will use in the next step, using the following command from the CRS_home/opmn/conf directory:
    cat ons.config
    From CRS_home/bin on a node that is going to remain in the cluster, run the Oracle Notification Service Utility (RACGONS) as in the following example where remote_port is the ONS remote port number that you obtained in the previous step and node2 is the name of the node that you are deleting:
    ./racgons remove_config node2:remote_port
    On the node to be deleted, run rootdelete.sh as the root user from the CRS_home/install directory. If you are deleting more than one node, then perform this step on all of the other nodes that you are deleting.
    From any node that you are not deleting, run the following command from the CRS_home/install directory as the root user where node2,node2-number represents the node and the node number that you want to delete:
    ./rootdeletenode.sh node2,node2-number
    If necessary, identify the node number using the following command on the node that you are deleting:
    CRS_home/bin/olsnodes -n
    Perform this step only if your are using a non-shared Oracle home. On the node or nodes to be deleted, run the following command from the CRS_home/oui/bin directory where node_to_be_deleted is the name of the node that you are deleting:
    ./runInstaller -updateNodeList ORACLE_HOME=CRS_home
    "CLUSTER_NODES={node_to_be_deleted}"
    CRS=TRUE -local
    Deinstall the Oracle Clusterware home from the node that you are deleting using OUI as follows by running the following command from the Oracle_home/oui/bin directory, where CRS_home is the name defined for the Oracle Clusterware home:
    ./runInstaller -deinstall –silent "REMOVE_HOMES={CRS_home}"
    Perform step 9 from the previous section about using OUI interactively under the heading "Deleting an Oracle Clusterware Home Using OUI in Interactive Mode".

  • Online move voting disc & ocr

    Hello
    RAC 10gR2, ASM, OCR and voting disk on raw disks. We are using IPStor.
    We are migrating from one storage to another. ASM migration can be done online (adding new disc, waiting for rebalancing, dropping old disks).
    Is it true that voting disk and OCR can be moved online from one storage to another (via IPStor Tools)? From the host view, the disks won't be unavailable.
    Regards Casimir

    refer the link:-
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/votocr.htm#BABGEEEJ

  • Though the root disk is mirrored, server is unable to boot from alternate disk (mirror disk)

    Hi PPl,
    It happened second time in a row. Though the root disk is mirrored, server is unable to boot from alternate disk (mirror disk)
    When the disk was found faulty, still unable to boot the OS from alternate disk, it says it still probe/look for other disk
    Here are the console log when I tried to boot the OS
    sc> console
    Enter #. to return to ALOM.
    WARNING: /pci@0/pci@0/pci@2/scsi@0 (mpt0):
    Disconnected command timeout for Target 1
    WARNING: /pci@0/pci@0/pci@2/scsi@0 (mpt0):
    Disconnected command timeout for Target 1
    WARNING: /pci@0/pci@0/pci@2/scsi@0 (mpt0):
    Disconnected command timeout for Target 1
    In such condition left out with only two options.
    1)      Remove the faulty disk physically and boot
    (or)
    2)      Replace the faulty disk and boot it
    Any way, I can disable the faulty disk in BIOS (or) booting from cd-rom and do something to avoid it?

    You can't boot from systems earlier than that shipped with the computer. For example, early 2008 Mac Pros come with 10.5.1 and can't boot 10.5
    Also you can't boot with a DVD that was shipped with a different model Mac.

Maybe you are looking for