How to determine raw disks configured for OCR/voting disk, ASM spfile

I have a two-node Oracle 10gR2 RAC configuration using raw disks. Basically, raw disks are used for CRS's OCR/voting disks, ASM's ASM spfile and disk groups.
Is there a better way to figure out what raw disks are configured in Oracle using methods other than those shown below:
- To find out votedisk:
# crsctl query css votedisk
0. 0 /dev/ora_crs_vote1
1. 0 /dev/ora_crs_vote2
2. 0 /dev/ora_crs_vote3
- To find out OCR:
# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 525836
Used space (kbytes) : 3856
Available space (kbytes) : 521980
ID : 1603037329
Device/File Name : /dev/ora_ocr_file1
Device/File integrity check succeeded
Device/File Name : /dev/ora_ocr_file2
Device/File integrity check succeeded
Cluster registry integrity check succeeded
- Is there a way to figure out what disk device is used for ASM spfile?
- To find out raw disks configured for disk groups:
while connected to the ASM instance in sqlplus:
SQL> select name,path from v$asm_disk where name like 'DG%';
NAME
PATH
DG_DC_ASM_0000
/dev/rhdiskpower13
DG_DC_ASM_0001
/dev/rhdiskpower14
DG_DC_ASM_0002
/dev/rhdiskpower15
NAME
PATH
DG_DC_ASM_0003
/dev/rhdiskpower22

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]

Similar Messages

  • 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]

  • How do I define 2 disk groups for ocr and voting disks at the oracle grid infrastructure installation window

    Hello,
    It may sound too easy to someone but I need to ask it anyway.
    I am in the middle of building Oracle RAC 11.2.0.3 on Linux. I have 2 storage and I created three LUNs in each of storage so 6 LUNs in total look in both of servers. If I choose NORMAL as a redundancy level, is it right to choose my 6 disks those are created for OCR_VOTE at the grid installation? Or should I choose only 3 of them and configure mirroring at latter stage?
    The reason why I am asking this is that I didn't find any place to create asm disk group for ocr and voting disks at the oracle grid infrastructure installation window. In fact, I would to like to create two disk groups in which one of groups contains three disks those were brought from storage 1 and the second one contains rest three 3 disk that come from the last storage.
    I believe that you will understand the manner and help me on choosing proper way.
    Thank you.

    Hi,
    You have 2 Storage H/W.
    You will need to configure a Quorum ASMDisk to store a Voting Disk.
    Because if you lose 1/2 or more of all of your voting disks, then nodes get evicted from the cluster, or nodes kick themselves out of the cluster.
    You must have the odd number of voting disk (i.e 1,3 or 5)  one voting disk per ASM DISK, So 1 Storage will hold more voting disk than another storage.
    (e.g 3 Voting Disk - 2 voting stored in stg-A and 1 voting disk store in stg-B)
    If fail the storage that hold the major number of  Voting disk the whole cluster (all nodes) goes down. Does not matter if you have a other storage online.
    It will happen:
    https://forums.oracle.com/message/9681811#9681811
    You must configure your Clusterware same as RAC extended
    Check this link:
    http://www.oracle.com/technetwork/database/clusterware/overview/grid-infra-thirdvoteonnfs-131158.pdf
    Explaining: How to store OCR, Voting disks and ASM SPFILE on ASM Diskgroup (RAC or RAC Extended) | Levi Pereira | Oracl…

  • Optimum Disk Configuration for CS6

    Hi Hardware forum members,
    I have read the Generic Disk Guidelines, read the various forum threads on this topic, watched the Adobe Video2Brain videos and am still confused re optimum disk configuration for CS6 Premier Pro.
    ( lots of disagreemnet on HDD RAID0 versus SSD )
    The video and advice from Adobe is to have a separate disk for each disk for each type of file so that you are not reading and writing from the same disk.
    I rang Adobe technical support and they advised me that if I had 4 individual separate SSD's they would allocate one to the O/S and Programs, one to the Media and Media Cache which they said had to be on the same disk, one to the Project and finally one to the Export and Preview.
    I then asked them if I purchased another SSD so that I had one for the O/S and Programs and then 2 x 2 in a RAID0 configuration, how would they allocate the the drives. They said they would allocate one RAID0 volume to the Media and Media Cache and to the second RAID0 volume they would allocate the Project, Export and Preview. Doesn't this contradict the advice to keep the files separate, as your Project files would be on the same disk as your Export and Preview ?
    In any case, they said the 2 X 2 RAID0 configuration would give the better performance.
    What do the forum members here think will be the better disk configuration from the two options above ?
    What about TRIM support for SSD'S in a RAID0 configuration - is that still an issue, before I commit to the 2 X 2 SSD in RAID0 configuration.
    FYI - Backup will be to 4 x 3tb Seagates in a RAID5 config and the SSD'S under consideration are the Samsung 840 Pro's.
    Your thoughts and recommendations will be most welcome.
    Kind Regards
    Martin.

    Hi Jim,
    Thank you very much for taking the time to respond to my post - it is much appreciated.
    I have ruled out the 2 x 2 ssd in raid 0 as an option due to the lack of TRIM support for this configuration as the performance would just deteriorate over time.
    Your advice makes sense as everybody's individual needs and preferences are different.
    I'm still going to go with a combination of individual SSD drives ( no raid and just depends how many individual SSD's I decide to allocate) with the RAID5 array of 4 x 3tb disks for backup (around 9tb usable space ). The machine wont just be used exclusively for video editing and hence this is swaying my decision towards the SSD's.
    I could be persuaded to change the RAID5 backup to a RAID10 with the same disks but this would give me more speed and safer redundancy, albeit with only 6TB of usable space. ( I know the backup has nothing to do with the CS6 performance or configuration, just mentioning it ).
    FYI, the machine is a desktop, not a laptop, with an ASRock Extreme 11 x79 mb which gives me enough SATA3 connections and has onboard RAID options
    Other components are a 3930k processor, 64 gb 8 x 8 Corsair Vengenace 1866 c9 memory kit, and an EVGA GTX680 4G Classified Video Card.
    Thanks again for taking the time to reply - much appreciated
    I'm looking forward to getting the build up and running
    Happy to hear anyone else's thoughts on this topic too.
    Kind Regards
    Martin.

  • How to determine the mount point for directory /tmp ?

    Folks,
    Hello. I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer and according to the tutorial
    http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    I am installing Grid infrastructure. I am on step 7 of 10 (verify Grid installation enviroment) and get this error:
    "Free Space: Rac2: /tmp"
    Cause: Could not determine mount point for location specified.
    Action: Ensure location specified is available.
    Expected value: n/a
    Actual value: n/a
    I have checked the free space using the command:
    [root@Rac2 /]# df -k /tmp
    Output:
    Filesystem     1k-blocks     used     Available     Use%     Mounted on
    /dev/sda1     30470144     7826952     21070432     28%     /
    As you see above, the free space is enough, but could not determine mount point for /tmp.
    Do any folk understand how to determine the mount point for directory /tmp ?
    Thanks.

    I have just checked "/home/oracle/.bash_profile". But in my computer, there is no "oracle" under /home directory.Is this your first time Linux and Oracle installation? I had a brief look at your referenced link. The reason why you do not find a "oracle" user is because the instructions use "ora11g" instead, which, btw, is not standard. The directories of your installation and your installation source can be somewhat different from known standards and you will have to adjust it to your system.
    My best guess is that you have either missed something in the instructions or you need to ask the author of the blog what is wrong. The chance to find someone here who has experience with these custom instructions is probably unlikely.
    I suggest you try to locate the cluster verification tool, which should be in the bin directory of your grid installation. Alternatively you might want to check the RAC, ASM & Clusterware Installation forum: RAC, ASM & Clusterware Installation

  • How to determine the proper size for Oracle 8i Data Base Objects

    Hi,
    I'm working on an Oracle 8i Data base. I'd like to know how to determine the proper size for the Data Base objects such as tables, datafiles, tablespaces...
    Thanks.

    Start with the docs.
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/schema.htm#949
    Best Regards
    Krystian Zieja / mob

  • Does anyone know how often camera raw is updated for new cameras I have a nikon D750

    HI, I was wondering how often camera raw is updated for new cameras as I have just got a Nikon D750 and at present cannot adjust raw files

    Thanks for the image sample, bsailus. I am also unable to open the file.
    A couple of questions.
    How did you import the image (Nikon transfer, Adobe Photo Downloader, etc.)?
    What was the in-camera quality setting for the image (NEF (RAW), Lossless compressed, 12-bit, 14-bit, etc.)?
    Thanks!
    - Chris

  • Internal disk configuration for oracle

    Hi experts
    I need some guidance for internal disk configuration for oracle
    requirements are for 2 node clustered VM on linux OS OEL
    the OS will be for RAC, OEM
    will RAID 5 be optimal setting
    this is not production env
    thanks

    912919 wrote:
    Hi experts
    I need some guidance for internal disk configuration for oracle
    requirements are for 2 node clustered VM on linux OS OEL
    the OS will be for RAC, OEM
    will RAID 5 be optimal settingFor most definition of "optimal" the answer is "NO"
    RAID+10 provides better performance.
    Handle:     912919
    Status Level:     Newbie
    Registered:     Feb 7, 2012
    Total Posts:     135
    Total Questions:     74 (46 unresolved)
    why do you waste time here when you rarely get your questions answered?

  • Defining OCR / Voting disks

    I followed this guide
    http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVMwareServer2.php#install_grid_infrastructure
    to install "clusterware" on my SLES11 maschines.
    Question:
    In 10g I were able to select which disks a for voting and which are for ocr.
    Does it make sense to create different ASM Diskgroups for OCR and Voting, and where can I select which diskgroup should be used ?

    zekeriya, you are only right for Version 10. Things changed with Oracle 11. Now you cannot store vote and ocr on raw devices, only in ASM or a cluster filesystem. I know it is a chicken-and-egg problem and I have not quite understood how they do it but that's how things work now.
    You can store voting disks and the OCR on Oracle Automatic Storage Management (Oracle ASM), or a certified cluster file system.See this link for more details
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e10717/votocr.htm#CHDJDFIC
    And yes, it'd recommend to use a special diskgroup just for these.
    Bjoern

  • 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

  • Ocr & voting disk in 11g

    Is it true that ocr and voting disks can be created on ASM in 11g? If yes, during RAC startup how would the crs which starts first be able to access ocr & voting disk on asm which comes up only after crs is up and running.
    Thanks

    user1824755 wrote:
    Is it true that ocr and voting disks can be created on ASM in 11g? If yes, during RAC startup how would the crs which starts first be able to access ocr & voting disk on asm which comes up only after crs is up and running.With 11gr2, you have essentially 2 installs. Grid Infrastructure - that is recommended to be installed in a different o/s user (e.g. grid). This owns the (integrated) CRS and ASM software stack. You will then install RAC/EE/SE as the default oracle o/s user. You can also install it in the same o/s user (using different homes). But separating that instead as different o/s users allows more flexibility in management and admin and security of these different s/w stacks.
    CRS and ASM start "together" because of their interdependency.
    With OCR and Voting disks on ASM, you will now find that you cannot simply stop ASM like in the past. ASM will thrown an exception saying that it has in-use diskgroups - despite all Oracle db instances using ASM being down. Thus ASM can only be shutdown in conjunction with CRS.. and successfully starting CRS also means that ASM is started. The acmcmd CLI interface has been improved, ACFS replaces the need for using something like OCFS (and managing that as a totally different s/w stack), etc.
    ASM and its feature set are maturing very nicely IMO.

  • Ocr & voting disk lost

    Hi,
    Learning about RAC..........please anyone reply it
    If ocr & voting is lost means, is the database lost some datas? Is it correct?
    For Ex: I had backup of OCR ,VOTING DISK which is taken at 3 Am.
    Now 3.45 Am I lost current(running) ocr file ( mirror also) & voting disk.
    I lost 45 minutes data?

    Hi,
    OCR Maintains cluster configuration information as well as configuration information about any cluster database within the cluster. OCR is the repository of configuration information for the cluster that manages information about like the cluster node list and instance-to-node mapping information.
    VD primary function of the voting disk is to manage node membership and prevent what is known as Split Brain Syndrome in which two or more instances attempt to control the RAC database.
    So looking into above functionality we can understand that the above are conf files and not actual data files. So you database does not lost.
    Secondly, try to hold a replica copy of OCR/VD and make backups in time.
    - Pavan Kumar N

  • Would like to know if this is correct disk configuration for 11.2.0.3

    Hello, please see the procedure below that I used to allow the grid infratstructure 11.2.0.3 oui to be able
    to recognize mY EMC San disks as candidate disks for use with ASM.
    we are using EMC powerpath for our multipathing as stated in the original problem description.I want to know if this is a fully supported method for
    configuring our san disks for use with oracle ASM becuase this is redhat 6 and we do not have the option to use the asmlib driver.Please note that I have
    been able to successfully install the gird infrastructure successfully for a 2 node RAC cluster at this point using this method.Please let me know if there
    any issue with configuring disks using this method.
    We have the following EMC devices which have been created in the /dev directory.I will be using device emcpowerd1 as my disk for the ASM diskgroup I will be
    creating for the ocr and voting device during grid install.
    [root@qlndlnxraccl01 grid]# cd /dev
    [root@qlndlnxraccl01 dev]# ls -l emc*
    crw-r--r--. 1 root root 10, 56 Aug 1 18:18 emcpower
    brw-rw----. 1 root disk 120, 0 Aug 1 19:48 emcpowera
    brw-rw----. 1 root disk 120, 1 Aug 1 18:18 emcpowera1
    brw-rw----. 1 root disk 120, 16 Aug 1 19:48 emcpowerb
    brw-rw----. 1 root disk 120, 17 Aug 1 18:18 emcpowerb1
    brw-rw----. 1 root disk 120, 32 Aug 1 19:48 emcpowerc
    brw-rw----. 1 root disk 120, 33 Aug 1 18:18 emcpowerc1
    brw-rw----. 1 root disk 120, 48 Aug 1 19:48 emcpowerd
    brw-rw----. 1 root disk 120, 49 Aug 1 18:54 emcpowerd1
    brw-rw----. 1 root disk 120, 64 Aug 1 19:48 emcpowere
    brw-rw----. 1 root disk 120, 65 Aug 1 18:18 emcpowere1
    brw-rw----. 1 root disk 120, 80 Aug 1 19:48 emcpowerf
    brw-rw----. 1 root disk 120, 81 Aug 1 18:18 emcpowerf1
    brw-rw----. 1 root disk 120, 96 Aug 1 19:48 emcpowerg
    brw-rw----. 1 root disk 120, 97 Aug 1 18:18 emcpowerg1
    brw-rw----. 1 root disk 120, 112 Aug 1 19:48 emcpowerh
    brw-rw----. 1 root disk 120, 113 Aug 1 18:18 emcpowerh1
    As you can see the permissions by default are root:disk and this will be set at boot time.These permissions do not allow the Grid Infrastructure to recognize
    the devices as candidates for use with ASM so I have to add udev rules to assign new names and permissions during boot time.
    Step 1. Use the scsi_id command to get the unique scsi id for the device as follows.
    [root@qlndlnxraccl01 dev]# scsi_id whitelisted replace-whitespace --device=/dev/emcpowerd1
    360000970000192604642533030434143
    Step 2. Create the file /etc/udev/rules.d/99-oracle-asmdevices.rules
    Step 3. With the scsi_id that was obtained for the device in step 1 you need to create a new rule for that device in the /etc/udev/rules.d/99-oracle-
    asmdevices.rules file. Here is what the rule for that one device looks like.
    KERNEL=="sd*1" SUBSYSTEM=="block",PROGRAM="/sbin/scsi_id --whitelisted --replace-whitespace /dev/$name",RESULT=="360000970000192604642533030434143",NAME="asm
    crsd1",OWNER="grid",GROUP="asmadmin",MODE="0660"
    ( you will need to create a new rule for each device that you plan to use as a candidate disk for use with oracle ASM).
    Step 4. Reboot the host for the new udev rule to take affect and then verify that the new device entry will be added into the /dev directory with the
    specified name, ownership and permissions that are required for use with ASM once the host is back online.
    Note: You will need to replicate/copy the /etc/udev/rules.d/99-oracle-asmdevices.rules file to all nodes in the cluster and restart them for the changes to
    be in place so that all nodes can see the new udev device name in the /dev directory on each respective node.
    You should now see the following device on the host.
    [root@qlndlnxraccl01 rules.d]# cd /dev
    [root@qlndlnxraccl01 dev]# ls -l asm*
    brw-rw----. 1 grid asmadmin 65, 241 Aug 2 10:10 asmcrsd1
    Step 5. Now when you are running the oui installer for the grid installation when you get to the step where you define your ASM diskgroup you should choose
    external redundancy and then click on the change disk dicovery path and change the disk discovery path as follows.
    /dev/asm*
    Now at this point you will see the new disk name asmcrsd1 showing as a condidate disk for use wiith ASM.
    PLease let us know if this is a supported method for our shared disk configuration.
    Thank you.

    Hi,
    I've seen this solution in a lot of forums but I do not agree or don't like at all; even if we have 100 luns of 73GB each.
    so the thing is, as in any other unix flavor we don't have asmlib***just EMCPOWERPATH running on differentes unix/linux flavors we dont like either udev-rules, dm-path and stuff***
    Try this as root user
    ls -ltr emcpowerad1
    brw-r----- 1 root disk 120, 465 Jul 27 11:26 emcpowerad1
    # mknod /dev/asmdisks
    # chown oragrid:asmadmin /dev/asmdisks
    # cd /dev/asmdisks
    # mknod VOL1 c 120 465
    # chmod 660 /dev/asmdisks/VOL*
    repeat above steps on second node
    asm_diskstring='/dev/asmdisks/*'
    talk with sysadmin and stoadm guys to garanty naming and persistents in all nodes of your RAC using emcpowerpath. (even after reboot or san migration)

  • How to determine price difference account for 301 MT?

    I know that 309 movement type is used for tranferring a material to another material . If the prices of two materials are different, price difference will go into transferring account determined by transaction key AUM.
    301 movement type is used for transferring material A from plant 1000 to plant 2000. Suppose a scenerio:
    plant 1000, material A, standard price 115,
    plant 2000, material A, standard price 100,
    so, if I use MB1B to do a transfer posting, the  accounting entry must be:
    Dr: stock posting account    100
         price difference account   15
       Cr: stock posting account   115
    What I doubt is, in this scenerio, How to determine this price difference account in OMJJ and OBYC? It is also determined by transction key AUM like 309?
    Hope you can help. Thanks.

    I have checked that price difference account of 309 MT is also determined by AUM. But, from SAP documentation, AUM is described like this:  "This transaction is used for transfer postings from one material to another if the complete value of the issuing material cannot be posted to the value of the receiving material. " So I think that AUM is is used for transferring one material to another material, not used for transferring a material from one plant to another plant.  It is different therotically, I think. but, in practice, 301 and 309 both use AUM for price difference account.
    THis is my doubt.

  • What is the Cube refresh and how to determine cube refresh time for a cube

    hi,
    what will be the meaning of cube refershing, i believe it is clearing and updating the data in production weekly or monthly basis. how it will happen in general, do we need to do mannually, will there be any scheduler in production.
    please clarify me how to determine refresh timime for a cube, what facters we need to consider.
    Thanks,
    bhavani.

    I can't give you specific guidelines as every client/cube is different based on needs. Here is some general info.
    Cube refresh is a pretty generic name for a number of things.
    It could be as you say clearing and updating the cube, or just updating, or running calculations or running restructure operations. It's pretty much what you need it to be for your environment. As to timing, There are two timings to consider. First, the frequency of refresh. Is it Monthly, weekly, Daily, hourly? That depends on the application and the needs of the users. The second thing is how long the refresh takes. Is it seconds, minutes, hours, etc. This has to be considered to meed the User's SLA and hopfully fit into a batch processing window. Refreshes can be done manually or automated with batch or shell scripts (depending on the OS) and scheduled through whatever scheduling package is on the box (Windows AT scheduler, Cron, third party, etc)

Maybe you are looking for