Data-guard conceptual help needed

Hello Experts,
We have 2-node RAC Physical standby DG. I got the following doubts in my mind just to clear my concept:-
1. Can we perform Hang analyze on the DG site, when it is on managed recovery and of-course in read-only mode? if not then Q2?
2. If both of my DG nodes (in a 2-node RAC DG) are in a hung state while the managed recovery was active, can I do sqlplus sql> set _prelim on and enable oradebug hanganalyze or do I have any other option apart from restarting the DB
3. IF the Primary RAC (2-node) hangs then if we take systemstate dump / Hanganalyze from the DG site
I guess, we will not get meaningful results as Hanganalyze will use Kernel system calls of the Server on the DG site and systemstatsdump will dump the SGA of the secondary site instance's SGA
4. I am using a non-RAC primary and Secondary site and non-ASM disk
I have my Primary mount -points as /Oradata/Prim1 = 1 TB and Physical standby DG - real time apply mount-point as /Oradata/Seco1 =.8 TB & /Oradata/Seco2 = .2TB and my Primary DB is now on size expansion from .79 TB to .95 TB overnight. I am not intending not to take any down-time nor am I able to extend the disks on the Primary for any reason. what can be done wisely to keep the DR site in close sync?
Regards,
Syvalli
Edited by: user4566776 on Dec 12, 2012 6:04 AM

We have 2-node RAC Physical standby DG. I got the following doubts in my mind just to clear my concept:-
1. Can we perform Hang analyze on the DG site, when it is on managed recovery and of-course in read-only mode? if not then Q2?
2. If both of my DG nodes (in a 2-node RAC DG) are in a hung state while the managed recovery was active, can I do sqlplus sql> set _prelim on and enable oradebug hanganalyze or do I have any other option apart from restarting the DBYes you can perform hang analyze and even you can generate active session history report if DR is on read-only mode.
SQL> select database_role from v$database;
DATABASE_ROLE
PHYSICAL STANDBY
SQL>
SQL> oradebug setmypid;
Statement processed.
SQL> oradebug unlimit;
Statement processed.
SQL>
SQL> oradebug hanganalyze 3;
Hang Analysis in /u02/app/oracle/diag/rdbms/CKPT_un/CKPT/trace/CKPT_ora_5113.trc
SQL>
SQL> oradebug dump systemstate 266;
Statement processed.
SQL>
[oracle@oracle-stby ~]$ tail -10 /u02/app/oracle/diag/rdbms/CKPT_un/CKPT/trace/CKPT_ora_5113.trc
  Holder:
  SO: 0x8ca2c8b8, type: 83, owner: 0x6000c478, flag: INIT/-/-/0x00 if: 0x3 c: 0x3
   proc=0x90488f50, name=circuit holder, file=kmc.h LINE:2615, pg=0
  (circuit holder) disp = 0x8ca2c830 (0, 1), proc = (0x90488f50, 1)
END DISPATCHER DUMPS
END OF SYSTEM STATE
*** 2012-12-12 20:03:44.100
Oradebug command 'dump systemstate 266' console output: <none>
[oracle@oracle-stby ~]$
3. IF the Primary RAC (2-node) hangs then if we take systemstate dump / Hanganalyze from the DG site
I guess, we will not get meaningful results as Hanganalyze will use Kernel system calls of the Server on the DG site and systemstatsdump will dump the SGA of the secondary site instance's SGAYes, the hang analysis we should perform from the instance where you have problem. you can use OS level trace if database not accessible by using How to interpret OS system traces [ID 1429678.1]
4. I am using a non-RAC primary and Secondary site and non-ASM disk
I have my Primary mount -points as /Oradata/Prim1 = 1 TB and Physical standby DG - real time apply mount-point as /Oradata/Seco1 =.8 TB & /Oradata/Seco2 = .2TB and my Primary DB is now on size expansion from .79 TB to .95 TB overnight. I am not intending not to take any down-time nor am I able to extend the disks on the Primary for any reason. what can be done wisely to keep the DR site in close sync?Can you tell me one thing? After size expanded in primary from .79 TB to .95 TB does your standby is out of SYNC?
If you do not have space, then you should add some space to the disk to avoid any interruption to production. Or check whether you can adjust HWM on primary database using below method. http://www.oracle-ckpt.com/how-to-shrink-datafiles-adjusting-hwm/
Hope this helps

Similar Messages

  • Application Server Data Source settings help needed (10.1.2.0.2)

    Hi,
    Can someone tell me what maximum values can I set in the following properties under Connection Attributes when I define a DataSource on
    Application Server. I have almost 25+ web application deployed on my 10.1.2.0.2 server that all uses one data source I have defined. Now the issue is the number of requests
    are very high and every now and then I get timeout error when trying to get the database connection. At one particular instance at peak time I may get over 200+ requests that
    do some databse connections etc. Following are my current settings. But need to increase some more but wondering what are the maximum values I can have. I have only one server 10.1.2.0.2
    Connection Retry Interval (seconds) = 5
    Max Connection Attempts = 3
    Cached Connection Inactivity Timeout (seconds) = 30
    Maximum Open Connections = 60
    Minimum Open Connections = 10
    Wait For Free Connection Timeout (seconds) = 15
    What other properties can I have to make use of datasource effectively.
    Thanks

    Here is the copy of my datasources.xml.
    <?xml version = '1.0' standalone = 'yes'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources-9_04.dtd">
    <data-sources>
      <!--
                An example/default DataSource that uses
                Oracle JDBC-driver to create the connections.
                This tag creates all the needed kinds
                of data-sources, transactional, pooled and EJB-aware sources.
                The source generally used in application code is the "EJB"
                one - it provides transactional safety and connection
                pooling. Oracle thin driver could be used as well,
                like below.
                url="jdbc:oracle:thin:@host:port:sid"
           -->
      <data-source class="com.evermind.sql.DriverManagerDataSource" name="OracleDS"
                   location="jdbc/OracleCoreDS" xa-location="jdbc/xa/OracleXADS"
                   ejb-location="jdbc/OracleDS"
                   connection-driver="oracle.jdbc.driver.OracleDriver"
                   username="scott" password="tiger"
                   url="jdbc:oracle:thin:@//localhost:1521/oracle.regress.rdbms.dev.us.oracle.com"
                   inactivity-timeout="30"/>
      <!-- For SQL Server -->
      <data-source location="jdbc/TestDS"
                   class="com.microsoft.jdbcx.sqlserver.SQLServerDataSource"
                   password="pwd" xa-location="jdbc/TestDS"
                   ejb-location="jdbc/TestDS"
                   connection-driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
                   username="usr"
                   url="jdbc:microsoft:sqlserver://someloc99:1433/DevelopmentAp"
                   inactivity-timeout="30" name="jdbc/TestDS"
                   connection-retry-interval="5" max-connections="50"
                   max-connect-attempts="3">
        <description>jdbc/TestDS</description>
        <property name="DatabaseName" value="DevelopmentAp"/>
        <property name="serverName" value="someloc99"/>
      </data-source>
    </data-sources>I also tried changing max-connections="0" it did helped but still after sometime I get timeout while connecting to the database. Don't know if it's with SQL Server that is not letting that many concurrent connections/sessions or something on the Application Server side.
    Thanks
    Message was edited by:
    WhiteSox
    Message was edited by:
    WhiteSox

  • Data Load scenario- help needed

    Hi gurus,
    Please help me with the below scenarios for the LO mechanism:
    Rec 1 entered in R3 between T1 and T2 (during R3 setup table population). When does Rec1 get into BW?
    Rec 2 entered in R3 between T2 and T3 (after setup table population but before initialization loads). When does Rec 2 get into BW?
    Rec 3 entered in R3 between T3 and T4 (during initial loads in BW). When does Rec 3 get into BW?
    Rec 4 entered in R3 after initialization is completed after T4. When does Rec 4 get into BW?
    Time
    T1                                          T2    T3                                                                               T4                             
    |--|---||--
           Rec 1                                Rec2                                   Rec 3                                                   Rec 4
    T1 – T2 – Setup Tables populated
    T3 – T4 – Initial Loads performed
    T4 onwards – Delta Loads performed

    Hi ,
    senario1;Rec 1 entered in R3 between T1 and T2 (during R3 setup table population). When does Rec1 get into BW?
    during the setup table filling ,v3 jobs will be descheduled
    you need to lock all the user's (no user can post documents)
    Rec 2 entered in R3 between T2 and T3 (after setup table population but before initialization loads). When does Rec 2 get into BW?
    here just setup table is filled,however init is not performed
    so still  v3 jobs will be in descheduled mode ,the posting which were/are happened  sits in application tables
    Rec 3 entered in R3 between T3 and T4 (during initial loads in BW). When does Rec 3 get into BW
    here init is running,it will be down time for R/3 due to heavy load processing to BW
    so still  v3 jobs will be in descheduled mode ,the posting which were/are happened still sits in application tables
    Rec 4 entered in R3 after initialization is completed after T4. When does Rec 4 get into BW?
    after init,now we need to schedule v3 jobs, so all the postings(which were posted earlier/which are posted for the moment) now will transfer from application tables to delta que depending on the update mode(direct/queued/un serialized)
    Hope this helps you!!!!!!!
    cheers,
    Swapna.G
    Message was edited by:
            swapna gollakota
    Message was edited by:
            swapna gollakota

  • ALE Data Transfer - Urgent help needed

    I am trying to set up an ALE interface from a SAP ECC 6 system to another SAP ECC 6 system using HRMD_A idocs.  The complication I have is in the receiving system, I need to generate a new PERNR for all employees transferred. 
    Can anybody advise how to go about doing this?
    Many thanks
    Jez

    Hi you can send the employees from sender system to reciever system.
    With the help of transaction pfal you can send the personnel number.
    You have to choose the ploan version 01
    object type will be p
    in object id write the employee number which will be transferred to the reciever system
    Then push the run button.
    But you have to configure HRMD_A in ALE implementation.

  • How to improve speed of data acquisition? Help needed urgently.

    I want to convert analog signals to digital signals and simultaneously perform some search on the data acquired and this whole process has to be done continuously for few hours.
    So I tried writing two programs in Matlab, one acquires the analog data and converts it to digital and saves the data in small chunks on hard disk (like file1, file2, file3,...) continuously. The other program performs the search operation in those chunks of data continuously. I run both the programs at a time by opening two mat lab windows.
    But the problem Iam facing is that the data acquisition is slow. As a result I get an error message in the second program saying that
    "??? Error using ==> load
    Unable to read file file4.mat: No such file or directory."
    Iam unable to synchronize the two programs. I cannot use timers in search program because I cannot add any delays.
    Iam using a NI PCI-6036E ,16 Bit Resolution ,200 KS/s Sampling Rate A/D board.
    Should I switch to some other series such as M series having sampling rate of the order MS/s?
    Can anyone please tell me how to improve the speed of data acquisition?
    Thanks.

    Gayathri wrote:
    I want to convert analog signals to digital signals and simultaneously perform some search on the data acquired and this whole process has to be done continuously for few hours.
    So I tried writing two programs in Matlab, one acquires the analog data and converts it to digital and saves the data in small chunks on hard disk (like file1, file2, file3,...) continuously. The other program performs the search operation in those chunks of data continuously. I run both the programs at a time by opening two mat lab windows.
    But the problem Iam facing is that the data acquisition is slow. As a result I get an error message in the second program saying that
    "??? Error using ==> load
    Unable to read file file4.mat: No such file or directory."
    Iam unable to synchronize the two programs. I cannot use timers in search program because I cannot add any delays.
    Iam using a NI PCI-6036E ,16 Bit Resolution ,200 KS/s Sampling Rate A/D board.
    Should I switch to some other series such as M series having sampling rate of the order MS/s?
    Can anyone please tell me how to improve the speed of data acquisition?
    Thanks.
    Hi gayathri,
    well my email is [email protected]
    if ur from india mail me back.
    Regards
    labview boy

  • Data Retention tool- help needed

    hi gurus,
    my client wants to extract all the used POs once every 4 months and store them on CD diskettes.I knew DART(Data Retention Tool) does this ,can any one suggest me if this is the right approach or Is ther any standard way of doing this in SAP.

    Hi Cheris,
    Yes, you are correct.DART tool is the right way to extract the PO's.
    But before tha you have to onfigure DART according to your requirement and then go for extraction.
    Reward if useful.
    Thanks,
    Dipti.

  • Date difference calculation help needed

    Hi,
    I have a form with a date field and one text field which is hidden..in case the date field value is less than the current date minus 3 years then the text field should display else not. Please advice what logic/code can be used.
    Any suggestions would be highly appreciated !!
    Thanks
    Kapil

    In the mean time, a couple of stylisitc suggestions:
    if(start.getTime().before(end.getTime()) == true)
    // == true is redundant and cluttersome
    if(start.getTime().before(end.getTime()))
    Long L = new Long(diff);
    return L.intValue();I'd suggest returning a long, rather than an int. If you insist on returning an int, because you're sure that the number of days will never be more than Integer.MAX_VALUE, then add an assertion that its not.
    assert diff <= Integer.MAX_VALUE : diff + " too big";The Long is overkill. If you do have a small enough value, just do return (int)diff;

  • Protection type for Acrive Data Guard

    Hi all,
    I am looking at implementing a 11G R2 active data guard solution and need to do live reporting from the physical standby database.
    I need confirmation of the protection mode I will need. (I think it's Maximum Protection).
    Many thanks
    VicC

    Sorry, I just realized that I misunderstood your Question as "What Protection Modes can I have with FAST-START FAILOVER".
    For Real-Time Query, you can be in any Protection Mode.
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Need some low level help/info on Grid Control / Data Guard

    I need to get some info concerning the set up and administration of Grid Control. In particular, I need to know why Grid Control needs to have the Oracle OS-Level username and password stored in Grid Control in order for GC to set up and manage a Data Guard database.
    Is it because when the database is being created, GC issues commands like RMAN and SCP to put files onto the standby host?
    Also, for accountability purposes, can I not use a named user account (with the same privs as the oracle user) saved as the preferred credential and still perform the necessary functions to use DG and GC together effectively.
    Probably a lot of info and variables, and I've not explained much, but happy to explain further if needed.
    Thanks!
    Edited by: joe.bednarz on Oct 14, 2009 9:38 AM

    Thanks for the input... we need to use another account other the "oracle" account so there is some accountability for who does what. If I create an account that has similar privileges as the oracle user, I can still run all things Oracle, while still having a log of my log in time and actions.
    More of security issue...
    Thanks again. Appreciate it!

  • Help for configuring Data Guard Broker

    Hi All,
    Can any body help me in configuring data guard broker for oracle 9i on windows.
    What are all requirements needed. I already configured physical standby database.
    I did this is on my laptop using vm-ware. One node is having Primary database and
    second node is having standby database. Now I am planning to use DG broker on primary node.
    Regards
    Kiran

    Here's the help you need:
    http://tahiti.oracle.com.
    Without version information (what does 9i mean?) no further help is possible.
    Please also be advised that VMware is unsupported so if you run into issues you are on your own.

  • Parameters need to configure Data Guard with Data Guard Broker

    Hi gurus,
    I'm following this guide http://www.oracle.com/us/solutions/sap/wp-ora4sap-dataguard11g-303811.pdf, but it isn't clarify what parameters we need to set to get the service up.
    I noticed that we can setting up for two ways, either Oracle Enterprise Manager or Data Guard Broker. Do we need to configure the same parameters to OEM and after to activate the DGMGRL?
    Can you help me?
    Thanks,
    Denis
    Brazil

    Hi mseberg,
    Thanks for your help.
    I want to adjust my listener.ora and tnsnames.ora files to access the rman like this guide https://sites.google.com/site/universodobraga/oracle/standby-11g.
    Follow its:
    * Primary*
    listener.ora
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= TSA.WORLD)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= TSA)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru11)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SDU = 32768)
    (GLOBAL_DBNAME = primarydb_DGMGRL)
    (SERVICE_NAME = tsa)
    (SID_NAME = tsa)
    (ORACLE_HOME = /oracle/TSA/112_64)
    tnsnames.ora
    TSA_PRIMARY.WORLD=
    (DESCRIPTION =
    (SDU = 32768)
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru11)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = tsa)
    (GLOBAL_NAME = tsa.WORLD)
    (SERVICE_NAME = primarydb_DGMGRL)
    TSA_STANDBY.WORLD=
    (DESCRIPTION =
    (SDU = 32768)
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru10)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = tsa)
    (GLOBAL_NAME = tsa.WORLD)
    (SERVICE_NAME = standbydb_DGMGRL)
    - Standby
    listener.ora
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= TSA.WORLD)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= TSA)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru10)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SDU = 32768)
    (GLOBAL_DBNAME = standbydb_DGMGRL)
    (SERVICE_NAME = tsa)
    (SID_NAME = tsa)
    (ORACLE_HOME = /oracle/TSA/112_64)
    tnsnames.ora
    TSA_PRIMARY.WORLD=
    (DESCRIPTION =
    (SDU = 32768)
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru11)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = tsa)
    (GLOBAL_NAME = tsa.WORLD)
    (SERVICE_NAME = primarydb_DGMGRL)
    TSA_STANDBY.WORLD=
    (DESCRIPTION =
    (SDU = 32768)
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru10)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = tsa)
    (GLOBAL_NAME = tsa.WORLD)
    (SERVICE_NAME = standbydb_DGMGRL)
    When i tried to connect by RMAN:
    RMAN> connect target sys/manager@tns_primary.world
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-01031: insufficient privileges
    Environment
    Oracle 11.2.0.3
    Aix 6.1
    SAP Ecc
    Thanks very much,
    Denis
    Brazil

  • Need suggestion on Active data guard or Logical Stand by

    Hi All,
    Need a suggestion of on below scenario.
    We have a production database ( oracle version 11g R2 ) and planning to have a Logical standby or physical standy (Active data guard). Our usage of the standby database is below.
    1) Planning to run online reports (100+) 24x7. So might create additional indexes,materialized views etc.
    2) daily data feed ( around 300+ data files ) to data warehouse. daily night, jobs will be scheduled to extract data and send to warehouse. Might need additional tables for jobs usage.
    Please suggest which one is good.
    Regards,
    vara.

    Hello,
    In active dataguad Whig is feature from 11gRx ,
    If you choose active dataguard, you have couple of good options, one is you can make a high availability of your production database, which can act as image copy of production, as you are asking in 11g you have more advantage where you can open in read only mode and at the sometime MRP will be active, so you can redirect users to connect standby to perform select operations for reporting purpose. So that you can control much load on production ,
    Even uou can perform switchover in case of role change, perform failover if your primary is completely lost. Also you can convert to physical to logical standby databases & you can configure FSFO
    You have plenty of options with active dataguard.
    Refer http://www.orafaq.com/node/957
    consider closing the thread if answered and keep the forum clean.
    >
    User Profile for user11261773
    user11261773     
    Handle:     user11261773  
    Status Level:     Newbie
    Registered:     Jul 14, 2011
    Total Posts:     12
    Total Questions:     6 (5 unresolved)
    >
    Edited by: CKPT on Mar 18, 2012 8:14 PM

  • Still need to do full backup after using data guard?

    In our system, there is a physical standby database in data guard configuration. Is there still a need to do full backup and incremental backup?

    Jackliusr wrote:
    In our system, there is a physical standby database in data guard configuration. Is there still a need to do full backup and incremental backup?Preferred to have full backup daily.
    May be you can perform failover of your standby, in case there is no availability on primary database. Then do you think the standby system stability is same as primary and can give same performance?
    standby location can be too far and this is only if in case of disaster.
    Another case, lets suppose your standby is behind than primary for 4-5 days due to some issues. At the same time your production crashed then you may have chance to loose 4-5 days fo data. So recommended to have full backup always from primary database.
    If you are checking stability of standby database daily and able to check your data by opening properly and you wont prefer to RMAN backup, Then it is fine. But it is highly recommended to have RMAN backup.
    BTW, You can have RMAN full backup on standby, if you want to avoid resources to use on primary

  • Oracle 11g Active Data Guard help ?

    Hi Friends,
    I successfully setup an Active data guard environment(11g). But, I dont know when the PROD database is highly utilize , its read only tasks like reporting and backup are doing in STANDBY. How can I know which db (prod or stand by) is used for these readonly operations ?
    Regards
    Vish

    It is not so simple to direct reports to the Physical Standby as you seem to assume.
    You need to do some work for the setup.
    See here for a description:
    http://uhesse.com/downloads/real-time-query-presentation/
    Kind regards
    Uwe Hesse
    Don't believe it, test it!"
    http://uhesse.com

  • Hello, okay? since then, was robbed today, and my find my    iphone this down, please tell me if he has a way to locate the computer, I need the iphone again, it has many important data it please help me

    hello, okay? since then, was robbed today, and my find my
      iphone this down, please tell me if he has a way to locate the computer, I need the iphone again, it has many important data it please help me

    It's gone and you most likely are not getting it back.
    If you had important info on it, you should have made backups so you would not lose the data.

Maybe you are looking for

  • Mail wont open after upating OS 10.8.5

    After updating my OS to 10.8.5 my mail opens but will not load. I have looked for my mail folders to rename them, as others have noted. I cannot located the mail folders at all, anywhere not in the services subdirector, the cache subdirectory, and wh

  • GOS attachment list could not open office 2007 docs

    HI All, My client environment is still uses office 2003. but documents attached to the financial accounting documents may have office 2007 files attached. when we try to open these docs we get an error. Is there any OSS note available for the same? i

  • Backing up iTunes Library

    Excuse me if this is a duplicate.  This web page, took my entire question with details, when I click post, said there was an error and deleted it.  I think.  I can't find it. I am trying to understand doing back ups and restores of the iTunes library

  • Safari and the BBC

    I'm using a macbook with 10.4.8 and realplayer through safari. Every 2or 3 mins I get a connection timed out message when listening to the BBC, any ideas?

  • ABAP  dump during workstatus chaning in SAP BPC 7.5

    Hi, Experts We are working with SAP BPC 7.5 Ramp-up version. We faced a problem - during changing workstatus the system generates ABAP Dump. We checked ST22 with ABAP Dumps. It contains the following: What happened?     Error in the ABAP Application