ASM vs RAID for 11gR2 RAC Environment

Hi There!
We are planning to install 11GR2 RAC with two nodes Cluster on LINUX in Our Environment.
Operating System: OEL 5.4
In our hardware we got two dell Servers with 16GB RAM on each plus On SAN side we have only 8 disk (173GB) left for RAC Cluster Setup. I am going to create to database (LIVE/UAT) on This Cluster Setup. Currently Our Production DB size is 6GB and I assume for coming 5 year it will not go beyond 100GB And I keep UAT size 15GB fix with No changes.So how you get the best ASM performance by using my all Resources.
My question:
1)     Which is best solution for ASM and RAID in our storage Environment?
2)     How many Disk group I Create for Both Databases (UAT/LIVE)?
3)     How many disks should I allocate in Each Disk Group with which RAID Option or if any suggesting for LUN, How do I create LUNS across the Disk which I got?
4)     I know oracle recommended Two DISK Group DATA&FRA is there any other suggestion for CRS, REDO, and TEMP FILE?
Thanks for your Assintance.
Hemesh.

My first question was : Which RAID Option(0,1,5,0+1) I choose with ASM ?Well, it doesnt matter for ASM. At least in your configuration with 8 disks.
RAID0is not an option - forget about it. RAID1 (or combined with more than two disks and an overlayed RAID0 which makes an RAID 1+0) might be an option for write-intensive databases. RAID5 is more for read-intensive due to the RAID5-write-hole but offers "more" capacity at the cost of slower write speed.
I recommended to stick with RAID1 (thus mirroring two disks) and exporting them to ASM rather than creating one big RAID1+0 over all of your disks and exporting the storage as one big chuck to ASM for manageability. If you want to add storage lateron your perfect in line with Oracles recommendations to have equal size LUNs in ASM with two mirrored disks. If you create on big RAID 1+0 and lateron add two disks you have a LUN of 600 GB size and one of 170 GB size...thats a big mismatch.
But If i create TWO disk group then, is there good practice to offer them to both (UAT/LIVE) databases.?Normally there is a separation between UAT and P on storage and on server level. In your case it might be "ok" to place everything in the same disk group. This mainly depends on which database puts the most load on the disk subsystem.
Ronny Egner
My Blog: http://blog.ronnyegner-consulting.de

Similar Messages

  • Listeners &Tns enries for 11gr2 rac active duplications

    can any one please post how to make my listeners and tns names for 11gr2 rac active duplication.
    it is a 2 node RAC with ASM.
    Edited by: 939922 on Jul 2, 2012 6:05 AM

    refer:-
    http://www.visi.com/~mseberg/active_database_duplicating.html
    http://www.oracle-base.com/articles/11g/duplicate-database-using-rman-11gr2.php
    http://aprakash.wordpress.com/2011/01/24/duplicate-database-using-from-active-database-clause-11gr2/
    http://www.oracle.com/us/solutions/sap/asm-bestpractices-304655.pdf

  • A sample server specification for Oracle RAC environment

    Hi,
        Our project has decided to change the single instance database to a RAC environment. Can any one provide a sample server specification to be analysed based on our project.
    For example minimum processor/RAM....
    Thanks

    This is the simplest installation you can get, but if you want to do a fast response file based installation, there it is.

  • Configuring networking for 11Gr2 RAC

    Hi - I have a couple of questions regarding networking and RAC install.
    Please could someone clarify what the Virtual IP requirement is for a RAC node, and how one would actually set this up on OEL5 using a DNS server.
    All input appreciated - thx

    Hi,
    I have a couple of questions regarding networking and RAC install.
    Please could someone clarify what the Virtual IP requirement is for a RAC node, and how one would actually set this up on OEL5 using a DNS server.You will need the concept before attempting to install because it is not possible to explain the concept of Oracle Clusterware Network (VIP/SCAN) with a few lines.
    Oracle Clusterware Network Configuration Concepts
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16794/intro.htm#BABDIHAD
    Understanding Network Addresses
    http://filibeto.org/sun/lib/nonsun/oracle/11.2.0.1.0/E11882_01/install.112/e10815/concepts.htm#BABGBEAG
    Checking the Network Requirements
    http://download.oracle.com/docs/cd/E11882_01/install.112/e17212/prelinux.htm#BABJHGBE
    Regards,
    Levi Pereira

  • Asmlib and oracleasm permission question for 11gr2 RAC install

    Dear All,
    I am trying to install 11G RAC on 2 oracle linux 6 machines (it is 2 virtual machines but I hope the principle applied).
    I use asmlib package to create sharable disk.
    I encounter a lot of user/group permission issue, so I decide to use oracle:oinstall to install my grid software.
    Here are my questions:
    1. when run oracleasm configuration -iDefault user to own the driver interface []: oracle
    Default group to own the driver interface []: dba <<<<<<<<<< what group should I use? I see people use oinstall, dba...
    2. after mounting /dev/oracleasm directory by using /usr/sbin/oracleasm init, what directory permission should I set?
    it is root:root after mount.
    I tried to run installer for grid, if I don't change /dev/oracleasm to 766, the ASM disks don't even show up.
    Any suggestions?

    969880 wrote:
    1. when run oracleasm configuration -iDefault user to own the driver interface []: oracle
    Default group to own the driver interface []: dba <<<<<<<<<< what group should I use? I see people use oinstall, dba...
    2. after mounting /dev/oracleasm directory by using /usr/sbin/oracleasm init, what directory permission should I set?
    it is root:root after mount.
    I tried to run installer for grid, if I don't change /dev/oracleasm to 766, the ASM disks don't even show up. Hi,
    If you are using single user for grid and database I would set oinstall as the group owner.
    You don't need to set permission on /dev/oracleasm.. asmlib will take care of it
    Have a read http://docs.oracle.com/cd/E11882_01/install.112/e22489/storage.htm#CDECEBGH for more information.
    Hope it helps
    Cheers

  • Problem configuring DNS, DHCP and GNS in Oracle Linux 6.2 OS for 11gR2 RAC

    As you have succeeded you may know the steps perfectly so could you please help me to get through this my good buddy?
    ERROR___________________________________________________________________
    *[grid@macrac1 ~]$ srvctl config scan*
    SCAN name: cluster1-scan.grid1.amil.com, Network: 1/192.168.2.0/255.255.255.0/eth0
    SCAN VIP name: scan1, IP: /cluster1-scan.grid1.amil.com/192.168.2.215
    SCAN VIP name: scan2, IP: /cluster1-scan.grid1.amil.com/192.168.2.216
    SCAN VIP name: scan3, IP: /cluster1-scan.grid1.amil.com/192.168.2.217
    [grid@macrac1 ~]$
    [grid@macrac1 ~]$
    [grid@macrac1 ~]$
    *[grid@macrac1 ~]$ dig cluster1-scan.grid1.amil.com*
    ; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6 <<>> cluster1-scan.grid1.amil.com
    ;; global options: +cmd
    ;; connection timed out; no servers could be reached
    [grid@macrac1 ~]$ nslookup cluster1-scan.grid1.amil.com
    ;; connection timed out; no servers could be reached
    DNS server configuration_
    *[root@macnam named]# vim /etc/hosts*
    127.0.0.1 localhost.localdomain localhost
    192.168.2.111 macmac.amil.com macnam
    *[root@macnam named]# vim /etc/resolv.conf*
    # Generated by NetworkManager
    search amil.com grid1.amil.com
    nameserver 192.168.2.111
    Forward zone file__________________________________________________________
    Located in /var/named/chroot/var/named
    *[root@macnam named]# vim master.amil.com*
    $TTL 1H ; Time to live
    @ IN SOA macnam.amil.com root.localhost (
    0 ; serial
    1D ; refresh
    2H ; retry
    4W ; expire
    1H
    ) ; minimum
    @ IN NS macnam.amil.com.
    localhost IN A 127.0.0.1
    macnam IN A 192.168.2.111
    macrac1.amil.com. IN A 192.168.2.112
    macrac2.amil.com. IN A 192.168.2.113
    macrac1-priv1.amil.com. IN A 192.168.3.112
    macrac1-priv2.amil.com. IN A 192.168.4.112
    macrac1-priv3.amil.com. IN A 192.168.5.112
    macrac2-priv1.amil.com. IN A 192.168.3.113
    macrac2-priv2.amil.com. IN A 192.168.4.113
    macrac2-priv3.amil.com. IN A 192.168.5.113
    $ORIGIN grid1.amil.com.
    @ IN NS cluster1-gns.grid1.amil.com.
    IN NS macnam.amil.com.
    cluster1-gns IN A 192.168.2.200; glue record
    Reverse zone  file__________________________________________________________
    *[root@macnam named]# vim 192.168.2.rev*
    $TTL 1H
    @ IN SOA macnam.amil.com. root.localhost (
    0 ; serial
    1D ; refresh
    2H ; retry
    4W ; expire
    1H
    ) ; minimum
    @ IN NS macnam.amil.com.
    111 IN PTR macnam.amil.com.
    112 IN PTR macrac1.amil.com.
    113 IN PTR macrac2.amil.com.
    RAC node configuration_
    *[root@macrac2 ~]# cat /etc/hosts*
    127.0.0.1 localhost.localdomain localhost
    # Public
    192.168.2.113 macrac2.amil.com macrac2
    192.168.2.112 macrac1.amil.com macrac1
    # Private
    192.168.3.113 macrac2-priv1.amil.com macrac2-priv1
    192.168.4.113 macrac2-priv2.amil.com macrac2-priv2
    192.168.5.113 macrac2-priv3.amil.com macrac2-priv3
    *[root@macrac2 ~]# cat /etc/resolv.conf*
    # Generated by NetworkManager
    search amil.com grid1.amil.com
    nameserver 192.168.2.111
    *[root@macrac2 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0*
    DEVICE="eth0"
    NM_CONTROLLED="yes"
    ONBOOT=yes
    HWADDR=08:00:27:42:64:34
    MTU=1500
    TYPE=Ethernet
    BOOTPROTO=none
    IPADDR=192.168.2.113
    PREFIX=24
    GATEWAY=192.168.2.1
    DNS1=192.168.2.111
    DOMAIN="amil.com grid1.amil.com"
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth0"
    UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
    Edited by: Ora_Bunny on Aug 27, 2012 10:14 PM

    hi
    IMO, your /etc/hosts should contain scan entry because it cannot be resolved here.
    BTW, /etc/hosts should be identical on all nodes.
    See my production settings (my PLWRS-GS-SCAN is registeres in RR way in corporation DNS and resolves to 3 IP's):
    # Public
    10.154.18.123 plwrs-db1.emea.nsn-net.net     plwrs-db1 db1
    10.154.18.125 plwrs-db2.emea.nsn-net.net     plwrs-db2 db2
    # Private
    192.168.2.101 plwrs-db1-priv.emea.nsn-net.net     plwrs-db1-priv
    192.168.2.102 plwrs-db2-priv.emea.nsn-net.net     plwrs-db2-priv
    # Virtual
    10.154.18.121     plwrs-db1-vip.emea.nsn-net.net     plwrs-db1-vip
    10.154.18.122     plwrs-db2-vip.emea.nsn-net.net     plwrs-db2-vip
    # SCAN
    #10.154.18.118 PLWRS-GS-SCAN.emea.nsn-net.net     PLWRS-GS-SCAN
    #10.154.18.119 PLWRS-GS-SCAN.emea.nsn-net.net     PLWRS-GS-SCAN
    #10.154.18.120 PLWRS-GS-SCAN.emea.nsn-net.net     PLWRS-GS-SCAN
    If you don't use DNS server, or for testing purposes, set one SCAN entry only in hosts file , e.g.:
    10.154.18.118 PLWRS-GS-SCAN.emea.nsn-net.net     PLWRS-GS-SCAN
    Edited by: g777 on 2012-08-28 08:55

  • Oracle Enterprise Manager Configuration Issue in 11gR2 RAC Environment

    Trying to configure OEM in 11gR2 (2-node) RAC Environemnt with following command:
    emca -config dbcontrol db -repos create -cluster
    and getting error:
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
    Kindly help me out how to get out of this error. When see the log generated against this command it shows that database connective successfully established so there is no issue in listener configuration and connection.
    Regards,
    Umair

    It is not even creating the directory hostname.domainname under $ORACLE_HOME.
    Regards,
    Umair

  • Moving RAC/ASM to single-node non-rac SET NEWNAME not working

    Good morning,
    I'm trying to restore a rac/asm database to a non-rac environment to simulate disaster recovery under worst-case circumstances.
    Here is as faras I have been able to get
    1) Restored pfile
    2) modified pfile to remove references to RAC settings (note, did not set db_file_create_dest, db_file_name_convert, etc)
    3) Restored controlfile successfully
    4) Mounted database
    At this time I run the following rman script which covers all temp and datafiles (there's some skipped numbers where datafiles have been removed previously)
    run {
    set until time "to_date('2009/11/29 03:00:00','YYYY/MM/DD HH24:MI:SS')";
    set newname for tempfile 1 to '/mnt/data/oradata/pmi/temp_1.dbf';
    set newname for datafile 1 to '/mnt/data/oradata/pmi/system_1.dbf';
    set newname for datafile 2 to '/mnt/data/oradata/pmi/undotbs1_2.dbf';
    set newname for datafile 3 to '/mnt/data/oradata/pmi/sysaux_3.dbf';
    set newname for datafile 4 to '/mnt/data/oradata/pmi/undotbs2_4.dbf';
    set newname for datafile 5 to '/mnt/data/oradata/pmi/undotbs3_5.dbf';
    set newname for datafile 6 to '/mnt/data/oradata/pmi/users_6.dbf';
    set newname for datafile 7 to '/mnt/data/oradata/pmi/atend1_7.dbf';
    set newname for datafile 8 to '/mnt/data/oradata/pmi/atendidx1_8.dbf';
    set newname for datafile 9 to '/mnt/data/oradata/pmi/cwmlite_9.dbf';
    set newname for datafile 10 to '/mnt/data/oradata/pmi/datafeedsidx1_10.dbf';
    set newname for datafile 11 to '/mnt/data/oradata/pmi/drsys_11.dbf';
    set newname for datafile 12 to '/mnt/data/oradata/pmi/dynamic1_12.dbf';
    set newname for datafile 13 to '/mnt/data/oradata/pmi/dynamicidx1_13.dbf';
    set newname for datafile 14 to '/mnt/data/oradata/pmi/intermedia_14.dbf';
    set newname for datafile 15 to '/mnt/data/oradata/pmi/notesidx1_15.dbf';
    set newname for datafile 16 to '/mnt/data/oradata/pmi/odm_16.dbf';
    set newname for datafile 18 to '/mnt/data/oradata/pmi/pacific_data_large_18.dbf';
    set newname for datafile 19 to '/mnt/data/oradata/pmi/pacific_data_medium_19.dbf';
    set newname for datafile 20 to '/mnt/data/oradata/pmi/pacific_data_small_20.dbf';
    set newname for datafile 21 to '/mnt/data/oradata/pmi/pacific_data_xlarge_21.dbf';
    set newname for datafile 22 to '/mnt/data/oradata/pmi/pacific_index_large_22.dbf';
    set newname for datafile 23 to '/mnt/data/oradata/pmi/pacific_index_medium_23.dbf';
    set newname for datafile 24 to '/mnt/data/oradata/pmi/pacific_index_small_24.dbf';
    set newname for datafile 25 to '/mnt/data/oradata/pmi/pacific_index_xlarge_25.dbf';
    set newname for datafile 26 to '/mnt/data/oradata/pmi/pmi_data_large_26.dbf';
    set newname for datafile 27 to '/mnt/data/oradata/pmi/pmi_data_medium_27.dbf';
    set newname for datafile 28 to '/mnt/data/oradata/pmi/pmi_data_small_28.dbf';
    set newname for datafile 29 to '/mnt/data/oradata/pmi/pmi_data_large_29.dbf';
    set newname for datafile 30 to '/mnt/data/oradata/pmi/sysaux_30.dbf';
    set newname for datafile 31 to '/mnt/data/oradata/pmi/pmi_data_xlarge_31.dbf';
    set newname for datafile 32 to '/mnt/data/oradata/pmi/pmi_index_large_32.dbf';
    set newname for datafile 33 to '/mnt/data/oradata/pmi/pmi_data_medium_33.dbf';
    set newname for datafile 34 to '/mnt/data/oradata/pmi/pmi_index_medium_34.dbf';
    set newname for datafile 35 to '/mnt/data/oradata/pmi/pmi_index_small_35.dbf';
    set newname for datafile 36 to '/mnt/data/oradata/pmi/pmi_index_xlarge_36.dbf';
    set newname for datafile 38 to '/mnt/data/oradata/pmi/portal30_38.dbf';
    set newname for datafile 39 to '/mnt/data/oradata/pmi/portal_app_helpdesk_39.dbf';
    set newname for datafile 40 to '/mnt/data/oradata/pmi/static1_40.dbf';
    set newname for datafile 41 to '/mnt/data/oradata/pmi/staticidx1_41.dbf';
    set newname for datafile 42 to '/mnt/data/oradata/pmi/tools_42.dbf';
    set newname for datafile 43 to '/mnt/data/oradata/pmi/xdb_43.dbf';
    set newname for datafile 44 to '/mnt/data/oradata/pmi/pmi_index_small_44.dbf';
    set newname for datafile 46 to '/mnt/data/oradata/pmi/pmi_index_medium_46.dbf';
    set newname for datafile 47 to '/mnt/data/oradata/pmi/pmi_data_small_47.dbf';
    set newname for datafile 48 to '/mnt/data/oradata/pmi/pmi_index_large_48.dbf';
    set newname for datafile 49 to '/mnt/data/oradata/pmi/pmi_index_xlarge_49.dbf';
    set newname for datafile 50 to '/mnt/data/oradata/pmi/system_50.dbf';
    set newname for datafile 52 to '/mnt/data/oradata/pmi/pmi_data_xlarge_52.dbf';
    set newname for datafile 54 to '/mnt/data/oradata/pmi/pmi_index_medium_54.dbf';
    set newname for datafile 55 to '/mnt/data/oradata/pmi/acctdb_data_55.dbf';
    set newname for datafile 56 to '/mnt/data/oradata/pmi/acctdb_index_56.dbf';
    set newname for datafile 57 to '/mnt/data/oradata/pmi/pivot_data_57.dbf';
    set newname for datafile 58 to '/mnt/data/oradata/pmi/pmiaudit_data_58.dbf';
    set newname for datafile 59 to '/mnt/data/oradata/pmi/pmiaudit_indx_59.dbf';
    allocate channel D1 device type disk;
    restore database;
    switch datafile all;
    release channel D1;
    When I run this I get the following:
    creating datafile fno=3 name=/mnt/data/oradata/pmi/sysaux_3.dbf
    released channel: D1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/09/2009 09:32:33
    ORA-01119: error in creating database file '+PMI2'
    ORA-17502: ksfdcre:4 Failed to create file +PMI2
    ORA-15001: diskgroup "PMI2" does not exist or is not mounted
    ORA-15077: could not locate ASM instance serving a required diskgroup
    ORA-29701: unable to connect to Cluster Manager
    I noticed that it's trying to create the datafile. Shouldn't it be giving me a "Restoring datafiles from backup piece" clause? Also it appears to be trying to recreate the datafiles in their old location. Any thoughts on how to get around this.
    Using the db_file_name_convert does allow me to restore files to the filesystem, but they use names such as "omf_*" and I'm not sure if it's converting the files properly from ASM format.
    Thanks!

    Hi,
    I assume your problem is either in your pfile ( but you indicate you have removed all RAC settings), or in your control file.
    I would recommend to remove the control files and create them later as soon as the datafiles have been restored, using the commands:
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "OMST01" NORESETLOGS FORCE LOGGING NOARCHIVELOG
    -- SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 100
    MAXLOGMEMBERS 2
    MAXDATAFILES 1024
    MAXINSTANCES 8
    MAXLOGHISTORY 10210
    LOGFILE
    < your logfiles >
    DATAFILE
    < your datafiles >
    CHARACTER SET <your character set>;So the steps are
    Startup nomount with the pfile
    Restore the datafiles using rman
    Shutdown the database
    Use above script to create the control files
    It is possible you need to use the RESETLOGS option instead of the NORESETLOGS
    HTH

  • Steps for uninstall RAC setup...

    Hi All,
    Can any one suggest me how to uninstall 11gR2 RAC environment? I have two node cluster setup on CentOS 5.5. Becuse of some issue the Cluster and DB both were down so I want to uninstall entire setup. I know there is some deinstall utility thorugh which I can uninstall but before start with that I want to know if there any particular step that we need to follow for RAC?
    Please suggest me.
    Thanks..

    have a look at below link
    http://lokeshaggarwal.wordpress.com/2010/05/25/manual-cleanup-of-crs-installation-%e2%80%93-oracle-crs-10g-r2-10-2-0-1/

  • Three SCAN listeners on 2-node 11gR2 RAC

    Hi there
    A colleague of mine has configured a 2-node 11gR2 RAC. I got a chance to explore a bit. I noticed that there are total of three SCAN listeners. Out of the three SCAN2 is on one node and SCAN1 and SCAN3 are on the other node.
    I stoped SCAN listeners (using srvctl) and then started them. I found them running the same nodes as they were before. Looks like clusterware somehow keeps track of which SCAN listener is running on which node.
    I have few of questions regarding SCAN listener:
    Q1: How did Oracle/Clusterware decided to run the SCAN listeners in this configuration (SCAN2 on one node and SCAN1/3 on the other).
    Q2: Where does clusterware stores this infomation?
    Q3: What if this was a four-node cluster? Would we need to have the SCAN mapped to four-IPs (so that each node has its own SCAN listener)?
    Q4: What is the role of the usual standard tns-listener in this 11gR2 RAC environment (because I think it is the SCAN listener that listens for the client's connection requests, right?). Is it redundant ?
    Q5: Is it correct to assume that "clusterware somehow keeps track of which SCAN listener is running on which node."?
    Regards

    user12033597 wrote:
    Hi there
    A colleague of mine has configured a 2-node 11gR2 RAC. I got a chance to explore a bit. I noticed that there are total of three SCAN listeners. Out of the three SCAN2 is on one node and SCAN1 and SCAN3 are on the other node.
    I stoped SCAN listeners (using srvctl) and then started them. I found them running the same nodes as they were before. Looks like clusterware somehow keeps track of which SCAN listener is running on which node.
    I have few of questions regarding SCAN listener:
    Q1: How did Oracle/Clusterware decided to run the SCAN listeners in this configuration (SCAN2 on one node and SCAN1/3 on the other). Oracle clusterware is by default designed to restore the previous state of resource. SCAN vip and its associated scna listener are paired, so when scan VIP failsover to other node so does scna listener to same node.
    You might have got this configuration after rebooting the nodes which is expected.
    Q2: Where does clusterware stores this infomation?OLR(oracle local registry) and OCR
    Q3: What if this was a four-node cluster? Would we need to have the SCAN mapped to four-IPs (so that each node has its own SCAN listener)?Oracle recommends to configure max 3 scan VIPS not matter if you have 2 or 10 node cluster. Always configure 3 scan ip for high availability
    Q4: What is the role of the usual standard tns-listener in this 11gR2 RAC environment (because I think it is the SCAN listener that listens for the client's connection requests, right?). Is it redundant ?SCAN Listener handsover the connection to node listener(local listener) which then connects to database. If local listener is stopped, you cannot connect to database instance running in that node.
    Q5: Is it correct to assume that "clusterware somehow keeps track of which SCAN listener is running on which node."?AFAIK oracle keeps the runtime information in OCR and wheever failover happens OCR is updated with correct information.
    >
    RegardsI would suggest you to have look at MOS-
    11gR2 Grid Infrastructure Single Client Access Name (SCAN) Explained [ID 887522.1]
    That document have all info you need

  • AWR on a RAC Environment

    Hello Knowledgeable Guys of Oracle Forums...
    Finally, our management has bought a license for AWR (after years of using the system!!!) because the database performance has been degrading for quite a while....goodbye to statspack!
    I have a question on AWR collection on RAC..
    We have a 5 Node RAC Cluster working on Oracle 10g R2 on Linux 5.1...
    I would like to know:
    1. How to collect AWR snapshots in a RAC environment? Do I need to collect AWR per node (per instance)?
    2. Is there a way to collect AWR for the entire RAC cluster (Node 1 to Node 5)?
    3. What is the proper way (best way) to collect AWR reports in our 5-node RAC?
    4. How does AWR work on RAC?
    Any sample blogsites...or sample actual AWR collection that you use in your system...
    Thank you

    Hi
    1. How to collect AWR snapshots in a RAC environment? Do I need to collect AWR per node (per instance)?
    A: No. You should collect it at DATABASE level
    2. Is there a way to collect AWR for the entire RAC cluster (Node 1 to Node 5)?
    A: Yes. You can simple generate an html or text report for your RAC environment (eg: AWR report)
    3. What is the proper way (best way) to collect AWR reports in our 5-node RAC?
    A: You can use the snapshots to compare periods, or reports
    4. How does AWR work on RAC?
    A: AWR snapshots are collect at database level, and you can use this snapshot to generate your AWR reports.
    You can also take snapshot in a given moment and use them to reports.
    Exeamples:
    TO CHANGE AWR SNAPSHOTS INTERVAL
    * retention /interval in seconds
    Exec dbms_workload_repository.modify_snapshot_settings (retention=>43200, interval=> 60);
    TO TAKE A SNAPSHOT MANUALLY
    execute dbms_workload_repository.create_snapshot;
    TO GENERATE AWR REPORTS
    @?/rdbms/admin/awrrpt.sql
    Victor

  • DG Broker -  Error is ORA-12521    11gR2 RAC

    Hi ,
    I have setup DG broker for 11gR2 RAC - Primary and DR (standby) - Grid single node ( non- Rac) . It is R12 apps.
    I am getting connection errors from standby to production . Although the there is no problem in arciive log shipping and DG broker setup .
    But I m getting constant Error ORA-16664 ( On Primary ) and on standby - Failed to connect to remote database prod1. Error is ORA-12521
    Pls advise what is missing . I have recreated password file ,but no luck.
    Primary : drcprod11.log
    Site prod1dg returned ORA-16664.
    Site prod1dg returned ORA-16664.
    Data Guard Broker Status Summary:
    Type Name Severity Status
    Configuration prod1_CONFIG Warning ORA-16607
    Primary Database prod1 Success ORA-00000
    Physical Standby Database prod1dg Error ORA-16664
    Standby - drcprod1.log
    Failed to send message to site prod1. Error code is ORA-12521.
    02/18/2013 00:01:34
    Failed to connect to remote database prod1. Error is ORA-12521
    Failed to send message to site pcap1. Error code is ORA-12521.
    02/18/2013 00:04:04
    Failed to connect to remote database prod1. Error is ORA-12521
    Failed to send message to site pcap1. Error code is ORA-12521.
    02/18/2013 00:06:19
    Failed to connect to remote database prod1. Error is ORA-12521
    Failed to send message to site pcap1. Error code is ORA-12521.
    DGMGRL> show configuration
    Configuration - prod1_CONFIG
    Protection Mode: MaxPerformance
    Databases:
    prod1 - Primary database
    prod1dg - Physical standby database
    Fast-Start Failover: DISABLED
    Configuration Status:
    SUCCESS
    DGMGRL> show instance prod1 verbose on database prod1
    Instance "prod1" was not found
    DGMGRL> show instance prod11 verbose on database prod1
    Error: ORA-16606: unable to find property "verbose"
    DGMGRL> show instance verbose prod11 on database prod1
    Instance 'prod11' of database 'prod1'
    Host Name: u01prod1
    PFILE:
    Properties:
    SidName = 'prod11'
    StaticConnectIdentifier = 'prod11_local'
    StandbyArchiveLocation = '/u01/arch/prod1'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'prod1_%t_%s_%r.arch'
    TopWaitEvents = '(monitor)'
    Instance Status:
    SUCCESS
    DGMGRL> show instance verbose prod12 on database prod1
    Instance 'prod12' of database 'prod1'
    Host Name: u01prod2
    PFILE:
    Properties:
    SidName = 'prod12'
    StaticConnectIdentifier = 'prod12_local'
    StandbyArchiveLocation = '/u01/arch/prod1'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'prod1_%t_%s_%r.arch'
    TopWaitEvents = '(monitor)'
    Instance Status:
    SUCCESS
    DGMGRL> show database verbose prod1dg
    Database - prod1dg
    Role: PHYSICAL STANDBY
    Intended State: APPLY-ON
    Transport Lag: 0 seconds
    Apply Lag: 0 seconds
    Real Time Query: OFF
    Instance(s):
    prod1
    Properties:
    DGConnectIdentifier = 'prod1dg'
    ObserverConnectIdentifier = ''
    LogXptMode = 'ASYNC'
    DelayMins = '0'
    Binding = 'optional'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '30'
    RedoCompression = 'DISABLE'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '8'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = ''
    LogFileNameConvert = ''
    FastStartFailoverTarget = ''
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    SidName = 'prod1'
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pres1.com)(PORT=1533))(CONNECT_DATA=(SERVICE_NAME=prod1dg_DGMGRL)(INSTANCE_NAME=prod1)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = '/u01prod/arch/prod1'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'prod1_%t_%s_%r.arch'
    TopWaitEvents = '(monitor)'
    Database Status:
    DGM-17016: failed to retrieve status for database "prod1dg"
    ORA-16664: unable to receive the result from a database

    I have setup DG broker for 11gR2 RAC - Primary and DR (standby) - Grid single node ( non- Rac) . It is R12 apps.
    I am getting connection errors from standby to production . Although the there is no problem in arciive log shipping and DG broker setup .
    But I m getting constant Error ORA-16664 ( On Primary ) and on standby - Failed to connect to remote database prod1. Error is ORA-12521
    Failed to connect to remote database prod1. Error is ORA-12521
    Failed to send message to site pcap1. Error code is ORA-12521.It is not an issue with either password file, It having issues to establish connections with "prod1" ,
    Have you configured static listener entry?
    And What local_listener value you have set ?
    From all instances
    $lsnrctl status
    12521, 00000, "TNS:listener does not currently know of instance requested in connect descriptor"
    // *Cause:  The listener received a request to establish a connection to a
    // database or other service. The connect descriptor received by the listener
    // specified in addition to the service name an instance name for an instance
    // (usually a database instance) that either has not yet dynamically registered
    // with the listener or has not been statically configured for the listener.
    // This may be a temporary condition such as after the listener has started,
    // but before the database instance has registered with the listener.
    // *Action:
    //  - Wait a moment and try to connect a second time.
    //  - Check which instances are currently known by the listener by executing:
    //    lsnrctl services <listener name>
    //  - Check that the INSTANCE_NAME parameter in the connect descriptor specifies
    //    an instance name known by the listener.
    //  - Check for an event in the listener.log file.

  • Root for managing RAC

    Dear All,
    I need to know how important to have the root password for managing RAC environment,becausae our sys admin he is refusing to give the DBA the root password.
    is oracle user is enough to manage RAC?
    Regards,
    Sohayb

    Wessam Nusaiurat wrote:
    Dear All,
    I need to know how important to have the root password for managing RAC environment,becausae our sys admin he is refusing to give the DBA the root password.
    is oracle user is enough to manage RAC?
    Regards,
    SohaybAnd he should refuse to give it to you. I've not worked with RAC, so don't know what might require root access, but I can say that if I were an SA I wouldn't give it out either. If you need to do something that requires root access, you need to be working with your SA. And this is why it is important for DBA and SA to have a good working relationship.

  • Install 11gR2 RAC Database Problem: Invalid source path /.../Datafiles

    Folks,
    Hello. I am installing Oracle 11gR2 RAC using 2 VMs (rac1 and rac2) whose OS are Oracle Linux 5.6 in VMPlayer according to the website http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    I have just finished installing Grid infrastructure and start to install RAC database 11gR2.
    I have downloaded 2 files from https://edelivery.oracle.com as below:
    V17530-01_1of2
    V17530-01_2of2
    When I start to install the RAC database using the above 2 files but get the error below:
    [ora11g@rac1 V17530-01_1of2]$ ls
    database
    [ora11g@rac1 V17530-01_1of2]$ cd database
    [ora11g@rac1 database]$ ls
    doc install response rpm runInstaller sshsetup stage welcome.html
    [ora11g@rac1 database]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 120 MB. Actual 5028 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 2224 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-03-06_11-08-23AM. Please wait ...
    Invalid source path '../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles' specified for unzip. Unzip command failed. Please check oraparam.ini and specify a valid source path.
    : No such file or directory
    [ora11g@rac1 database]$
    As we see the output above, the error is Invalid source path /../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles.
    My questions are:
    First, are the files V17530-01_1of2 and V17530-01_2of2 the correct files for 11gR2 RAC database ?
    Second, how to solve the issue "Invalid source path /../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles" ?
    Thanks.

    Folks,
    Hello. thanks a lot for replying.
    I go up one level ( / ) and run the command again as below:
    [root@rac1 /]# du --max-depth=1 -h
    Its output:
    8.0K ./srv
    83M ./sbin
    9.0G ./tmp
    4.9G ./usr
    157M ./var
    20M ./boot
    8.4M ./bin
    3.3G ./u01
    252M ./lib
    8.0K ./selinux
    12K ./mnt
    16K ./lost+found
    164M ./dev
    0 ./misc
    29M ./lib64
    8.0K ./u02
    100K ./tftpboot
    12K ./media
    0 ./proc
    248K ./root
    0 ./sys
    117M ./etc
    3.3G ./home
    3.5M ./opt
    25G .
    [root@rac1 /]#
    As we see the output above, it seems that 25GB disk space is used and /tmp occupies 9GB.
    I have remove the files under /tmp but after reboot OS, the same files come up again under /tmp.
    Some folks use 12GB for each of their VMs and is enough to install Grid and RAC Database.
    My questions are:
    Why my VM with 30GB disk space does not have enough disk space to install RAC database ?
    Can any folk help to solve the issue ?
    Thanks.

  • What is best practice for using a SAN with ASM in an 11gR2 RAC installation

    I'm setting up a RAC environment. Planning on using Oracle 11g release 2 for RAC & ASM, although the db will initially be 10g r2. OS: RedHat. I have a SAN available to me and want to know the best way to utilise that via ASM.
    I've chosen ASM as it allows me to store everything, including the voting and cluster registry files.
    So I think I'll need three disk groups: Data (+spfile, control#1, redo#1, cluster files#1), Flashback (+control#2, redo#2, archived redo, backups, cluster files#2) and Cluster - Cluster files#3. So that last one in tiny.
    The SAN and ASM are both capable of doing lots of the same work, and it's a waste to get them both to stripe & mirror.
    If I let the SAN do the redundancy work, then I can minimize the data transfer to the SAN. The administrative load of managing the discs is up to the Sys Admin, rather than the DBA, so that's attractive as well.
    If I let ASM do the work, it can be intelligent about the data redundacy it uses.
    It looks like I should have LUN (Logical Unit Numbers) with RAID 0+1. And then mark the disk groups as extrenal redundancy.
    Does this seem the best option ?
    Can I avoid this third disk group just for the voting and cluster registry files ?
    Am I OK to have this lower version of Oracle 10gr2 DB on a RAC 11gr2 and ASM 11gr2 ?
    TIA, Duncan

    Hi Duncan,
    if your storage uses SAN RAID 0+1 and you use "External" redundancy, then ASM will not mirror (only stripe).
    Hence theoretically 1 LUN per diskgroup would be enough. (External redundancy will also only create 1 voting disk, hence only one LUN is needed).
    However there are 2 things to note:
    -> Tests have shown that for the OS it is better to have multiple LUNs, since the I/O can be better handled. Therefore it is recommended to have 4 disks in a diskgroup.
    -> LUNs in a diskgroup should be the same size and should have same I/O characteristica. If you now have in mind, that maybe your database one time will need more space (more disks) than you should use a disk size, which can easily be added, without waisting too much space.
    E.g:
    If you have a 900GB database then does it make sense to only use 1 lun with 1TB?
    What happens if the database grows, but only grows slightly above 1TB? Then you should add another disk with 1TB.... You loose a lot of space.
    Hence it does make more sence to use 4 disks á 250GB, since the "disks" needed to grow the disk groups can be extended more easily. (just add another 250G disk).
    O.k. there is also the possibility to resize a disk in ASM, but it is a lot easier to simple add an additional lun.
    PS: If you use a "NORMAL" redundancy diskgroup, then you need at least 3 disks in your diskgroup (in 3 failgroups) to be able to handle the 3 voting disks.
    Hope that helps a little.
    Sebastian

Maybe you are looking for