Shell script to find MAX(SEQUENCE#)  of primary and standby DB.

Hi All,
AIX 5.3 64bit DB:10.2.0.3.0
I am looking for a shell script which does the following:
Use SQL*Plus to query the MAX(SEQUENCE#) from both databases i.e., Primary and standby V$LOG_HISTORY view. If the STANDBY appears to be falling behind by 2 archive log files,then send alert mail to: [email protected]
We should be able to connect to primary DB from standby DB using ssh
For example: ssh ora<user>@hostname.domain
I use the following query to find out MAX(SEQUENCE#):
col logseq_on_standby new_value V_STDBY_LOGSEQ
select /*+ rule */ max(h.sequence#) logseq_on_standby
from v\$log_history h,
v\$parameter p
where h.thread# = to_number(decode(p.value,'0',1,p.value))
and p.name = 'thread';
Thanks for your time!!
Regards,

sent the shell script..
By the way is this hssawan!!!
Please check the shell script and let me know the following:
AIX 5.3 64bit DB:10.2.0.3.0
I am looking for a shell script which does the following:
Use SQL*Plus to query the MAX(SEQUENCE#) from both databases i.e., Primary and standby V$LOG_HISTORY view. If the STANDBY appears to be falling behind by 2 archive log files,then send alert mail to: [email protected]
We should be able to connect to primary DB from standby DB using ssh
For example: ssh ora<user>@hostname.domain
I use the following query to find out MAX(SEQUENCE#):
col logseq_on_standby new_value V_STDBY_LOGSEQ
select /*+ rule */ max(h.sequence#) logseq_on_standby
from v\$log_history h,
v\$parameter p
where h.thread# = to_number(decode(p.value,'0',1,p.value))
and p.name = 'thread';
Thanks for your time!!
Regards,

Similar Messages

  • Linux command/shell script to find Memory consumed by JVM in EBS,SOA

    Hi All,
    Could anyone please let me know the following:
    a)Linux command/shell script to find Memory consumed by JVM for every 1 minute frequency interval in EBS R12, SOA suite
    b)Percentage of the Heap memory usage by the JVM for every 1 minute frequency interval in EBS R12, SOA suite
    Thanks for your time!
    Regards,

    user10088255 wrote:
    Hi All,
    Could anyone please let me know the following:
    a)Linux command/shell script to find Memory consumed by JVM for every 1 minute frequency interval in EBS R12, SOA suite
    b)Percentage of the Heap memory usage by the JVM for every 1 minute frequency interval in EBS R12, SOA suite
    Thanks for your time!
    Regards,Please see these docs.
    JVM: Guidelines to setup the Java Virtual Machine in Apps Ebusiness Suite 11i and R12 [ID 362851.1]
    Generate JVM heap dump in E-Business suite 11i and R12 [ID 462550.1]
    11i: How To Use Jconsole to Monitor JVM with Oracle E-Business Suite 11i [ID 415455.1]
    Configuring various JVM tuning parameters for Oracle E-Business suite 11i and R12 [ID 567551.1]
    Script to find Apache, Java, Jinitiator, Forms version and JVM details for Oracle E-Business Suite 11i [ID 466890.1]
    JVM Memory Monitoring, Tuning, Garbage Collection, Out of Memory, and Heap Dump Analysis For SOA Suite Integration 11g [ID 1358719.1]
    How to Perform Memory and Thread Analysis on SOA [ID 1450293.1]
    Thanks,
    Hussein

  • VB Script to find the last modified file and time in a directory

    Hi,
    I am new to VB script i need a script to find the latest modifed file and last modifed time in a directory(Contains  folders and sub folders inside it). it has to go through all the folders and get the latest file and last modifed time.

    Thanks it worked for me Get-ChildItem C:\Users\sujith.reddy.komma\Desktop\Suj1\* -recurse |?{-not $_.PsIsContainer} |Sort LastWriteTime -desc | select -first 1 now in my script i have hard coded the directory i need to run this script in different
    servers from one location i will put all the different paths in one text file and ineed to pass them to this script can you help me with this?
    Essentially you are incrementally asking us to write each line for you.  I recommend freeing yourself of this misery and leraning PowerShell.  THe answers to all of your questions are learned in the first few hours of study.
    Start here:
    http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx
    ¯\_(ツ)_/¯

  • Sequence of stopping starting Primary and standby DB

    Hi,
    what are the sequence of stopping starting Primary and standby DB ?
    To stop, which one ,primary or Standby, should be stopped first ?
    To Start which one first ?
    Thank you.

    Hi,
    what about the 10gR2 logical standbys? When I read the Note:278643.1 to apply the patch for logical database, it seemed that the sequence to stop and start the primary/logical standby was to stop the logical standby first before the stop of the primary one. Please advise me, for a simple situation just to stop and start the primary/logical standby to support a Unix server bounce, what is the sequence we should follow ? Do we have to run some commands to stop/start the SQL apply?
    Any idea or suggestion will be greatly appreciated.
    Thank you very much,
    yKe

  • V$dataguard_stats showing 8 hrs delay between Primary and standby

    Hello All,
    My Primary and standby database are in sync but v$dataguard_stats on standby server showing 8 hrs delay between Primary and standby.
    DB Version:11.2.0.1.0
    Server :AIX
    Primary:
    SQL> select /*+ FULL(c) PARALLEL(c, 35) */ distinct SEQUENCE# "Last Sequence Generated" FROM V$ARCHIVED_LOG c WHERE (THREAD#,FIRST_TIME ) IN (select /*+ FULL(c) PARALLEL(c, 35) */ THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG c GROUP BY THREAD#);
    Last Sequence Generated
                       4521
    Standby:
    SQL> SELECT  APPL.SEQUENCE# "Last Sequence Applied"
    FROM (SELECT THREAD# ,SEQUENCE# FROM V$ARCHIVED_LOG WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)) ARCH,
      2    3  (SELECT THREAD# ,SEQUENCE# FROM V$LOG_HISTORY WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$LOG_HISTORY GROUP BY THREAD#)) APPL
      4  WHERE ARCH.THREAD# = APPL.THREAD#;
    Last Sequence Applied
                     4521
    SQL> SELECT ARCH.THREAD# "Thread", ARCH.SEQUENCE# "Last Sequence Received", APPL.SEQUENCE# "Last Sequence Applied", (ARCH.SEQUENCE# - APPL.SEQUENCE#) "Difference"
      2  FROM (SELECT THREAD# ,SEQUENCE# FROM V$ARCHIVED_LOG WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)) ARCH,
      3  (SELECT THREAD# ,SEQUENCE# FROM V$LOG_HISTORY WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$LOG_HISTORY GROUP BY THREAD#)) APPL
    WHERE ARCH.THREAD# = APPL.THREAD#;
      4
        Thread Last Sequence Received Last Sequence Applied Difference
             1                   4521                  4521          0
    SQL> select name, 'Hours', to_number(substr(value,5,2)) from v$dataguard_stats where name = 'apply lag' ;
    NAME                             'HOUR TO_NUMBER(SUBSTR(VALUE,5,2))
    apply lag                        Hours                            8------------------------------------------------------------------>>>Problem area

    SQL> SELECT status, error
    FROM V$ARCHIVE_DEST_STATUS
    WHERE STATUS <> 'DEFERRED' AND STATUS <> 'INACTIVE';  2    3
    STATUS    ERROR
    VALID
    VALID
    Standby--Generally in Night it happens that primary and standby 'apply lag' is 8/10/4 hrs .When manually checked database are in sync but  v$dataguard_stats showing difference in hrs
    NAME                             'AL
    SUBSTR(VALUE,1,12)
    apply lag                        ALL
    +00 04:11:03
    SQL> SQL>   2
    NAME                             'SECOND TO_NUMBER(SUBSTR(VALUE,11,2))
    apply lag                        Seconds                             3
    SQL> SQL>   2
    NAME                             'MINUTE TO_NUMBER(SUBSTR(VALUE,8,2))
    apply lag                        Minutes                           11
    SQL> SQL>   2
    NAME                             'HOUR TO_NUMBER(SUBSTR(VALUE,5,2))
    apply lag                        Hours                            4
    SQL> SQL>   2
    NAME                             'DAY TO_NUMBER(SUBSTR(VALUE,2,2))
    apply lag                        Days                            0

  • DG primary and standby

    Hi all,
    11.2.0.1
    Aix 6.1
    I want to monitor the applied logs both on my primary and standby
    using > select client_process, process, sequence#, status from v$managed_standby;
    I want to issue the command on my client laptop so I want compare the output easily, whether logs are synch.
    How can I connect to a standby database s which is not open using client?
    Thanks a lot,
    zxy

    hi,
    Just wanted to share
    On Primary
    SELECT THREAD# "Thread",SEQUENCE# "Last Sequence Generated"
    FROM V$ARCHIVED_LOG
    WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)
    ORDER BY 1;
    On Standby
    SELECT ARCH.THREAD# "Thread", ARCH.SEQUENCE# "Last Sequence Received", APPL.SEQUENCE# "Last Sequence Applied",
    (ARCH.SEQUENCE# - APPL.SEQUENCE#) "Difference"
    FROM
    (SELECT THREAD# ,SEQUENCE# FROM V$ARCHIVED_LOG WHERE (THREAD#,FIRST_TIME ) IN
    (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)) ARCH,
    (SELECT THREAD# ,SEQUENCE# FROM V$LOG_HISTORY WHERE (THREAD#,FIRST_TIME ) IN
    (SELECT THREAD#,MAX(FIRST_TIME) FROM V$LOG_HISTORY GROUP BY THREAD#)) APPL
    WHERE ARCH.THREAD# = APPL.THREAD# ORDER BY 1;
    SELECT THREAD#, LOW_SEQUENCE#, HIGH_SEQUENCE# FROM V$ARCHIVE_GAP;
    Reference : http://www.oraclemasters.in/?p=1255
    -- List archivelogs not applied on standby
    SELECT DISTINCT SEQUENCE# FROM V$ARCHIVED_LOG where APPLIED='NO' and sequence# > 100 MINUS (SELECT SEQUENCE# FROM V$ARCHIVED_LOG where APPLIED='YES' AND SEQUENCE# IN (SELECT DISTINCT SEQUENCE# FROM V$ARCHIVED_LOG where APPLIED='NO'));
    -- Give the count of archvielogs not applied on standby
    select thread#,count(sequence#) "COUNT_ARCS_PENDING" from (SELECT DISTINCT THREAD# ,SEQUENCE#  FROM V$ARCHIVED_LOG where APPLIED='NO' and sequence# > 100 MINUS (SELECT THREAD#,SEQUENCE# FROM V$ARCHIVED_LOG  where APPLIED='YES' AND SEQUENCE# IN (SELECT DISTINCT SEQUENCE# FROM V$ARCHIVED_LOG where APPLIED='NO' and sequence# > 100))) group by thread#;

  • Oracle data guard configuration for primary and standby db_name

    I am working on configuring an active data guard for one primary DB and one standby DB. I have a few questions:
    1. Can I use different db_name, db_unique_name and instance_name for primary and standby. For example: primary(db_name, db_unique_name and instance_name)=chicago. When I create standby DB with Rman backup and copy of pfile and control file from primary DB or use Grid control to create standby database. Oracle document or Grid control all keep standby db_name=chicago. Only make standby db_unique_name and instance_name=boston. Due to my application system condition, I want to make db_name=boston, not keep it as the same as primary=chicago. Is this valid configuration?
    2. In primary datafiles, application system generate datafile name like this: hr_chicago_01.dbf, fn_chicago_01.dbf. When I move datafiles to standby server, if I plan to use db_name=boston for standby DB, can I rename datafiles as
    hr_boston_01.dbf, fn_boston_01.dbf? In this way, datafile name match up with db_name. but I will create standby log group and members on primary and standby identically. If in future switching over, DB will not have problems.
    3. If I don't use primary DB backup. Instead, I copy all datafiles, redo_log files (no control files) to standby. Then "alter database backup controlfile to trace" from promary and also " create pfile='/xxx/initSTANDBY.ora' from primary. Then modify init.ora and controlfile. Then run control.sql to bring standby DB up. After that, configure redo log shipping and apply with data guard or SQL. Is this a acceptable way to create physical standby DB?
    Please advise your comments. Thanks in advance.

    I want to make db_name=boston, not keep it as the same as primary=chicago. Is this valid configuration?NO. DB_NAME must be the same ("chicago") at both sites. The Standby will be using a different DB_UNIQUE_NAME (e.g. "boston") and can be using a different Instance name / SID (e.g. "boston").
    can I rename datafiles Yes. The database file names can be changed.
    If I don't use primary DB backup. Instead, I copy all datafiles, redo_log files (no control files) to standbyWhat is the difference between the first sentence (a backup of the primary) and the second sentence (a copy of the primary) ? A Copy is a backup.
    Are you intending to differentiate between an RMAN Backup and a User-Managed (aka "scripted") backup ?
    Normally, for DataGuard, tou can use non-RMAN methods to copy the database but there's no value add in this.
    You'd still have to setup DataGuard ! (and I wonder if you'd have complications setting up Active DataGuard).
    But remember that you MUST create the Standby controlfile from the Primary and copy it over to your Standby -- particularly as you are planning to use DataGuard. This is not created by 'alter database backup controlfile to trace' , but by 'ALTER DATABASE CREATE STANDBY CONTROLFILE AS 'filename''
    Hemant K Chitale

  • How to sync primary and standby database in 11GR2 on linux

    Hi ,
    How to sync primary and standby database in 11GR2 on linux . Both my primay and standby are 3 node cluster each.
    Can you please suggest a good link and brief steps .
    Thanks

    Are you trying to setup a new standby or sync an existing standby database?
    OK I see it
    "standby is behind the primary"
    So you have a gap.
    I would check both alert logs for a cause. You might find something like this
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.Look for ORA-00308 and ORA-27037 and ORA-16055.
    There's no sense fixing the gap unless the cause is fixed too.
    Also check out this post from a few days ago its dealing with similar issues.
    How to sync the standby database with the primary?
    If you find this helpful please mark it so.
    Edited by: mseberg on Jul 20, 2011 4:37 PM

  • How to re-synch primary and standby database?

    Hello everyone,
    Working on 10g R2/windows server 2003, I have configured a physical standby database but, I have an issue, and don't know how to resolve it.
    We were making an update that made some DDL and DML on our application, and for security reason we
    1. we ensure that primary and standby are in sync
    2. We made a cold backup of the primary database
    3. We Deferred the redo shipping between primary and standby
    4. We applied changes on primary database
    But the big issue is that, for any reason my colleague did the following.
    a) made above steps 1,2,3,4
    b) after the update he kept the resulted archived log files generated during to another location
    c) He restore the cold backup before the update(step 2 above)
    c) he applied again the update.
    Now the issue is
    At the first update step(2), the sequence# 553 was applied to the stand by before the update
    At the second update step(c) above another sequence# 553 was created but stored localy in the primary database, because the both servers were deverged (step 3 above).
    Technically both servers cannot be in sync again,because sequence# 553 at the first update has next_change# 80307804 and sequenc# 553 at the second update has next_change# 80461356.
    Question:
    How Can I do to rollback the the first sequence# 553 ( before the first update) on the standby database? in order to apply the sequence#553 generated at the second update and then re-sync both servers to roll forward subsequent sequence#? 554,etc...
    Thank you for your help

    Hello,
    I have just tried the FLASHBACK DATABASE TO SCN XXXXXXXX;
    but it doesn't work.
    Here are steps used from my local dev envirronnment
    From the stand by I retrieved the following information.
    SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# FIRST_TIM NEXT_TIME
    95 707168 707906 15-AUG-08 15-AUG-08
    96 707906 708653 15-AUG-08 15-AUG-08
    97 708653 709359 15-AUG-08 15-AUG-08
    100 710951 711794 15-AUG-08 15-AUG-08
    98 709359 710179 15-AUG-08 15-AUG-08
    99 710179 710951 15-AUG-08 15-AUG-08
    101 711794 712762 15-AUG-08 15-AUG-08
    102 712762 713720 15-AUG-08 15-AUG-08
    103 713720 714748 15-AUG-08 15-AUG-08
    104 714748 715920 15-AUG-08 15-AUG-08
    105 715920 739430 15-AUG-08 15-AUG-08
    106 739430 800525 15-AUG-08 16-AUG-08
    107 800525 875810 16-AUG-08 17-AUG-08
    108 875810 916527 17-AUG-08 18-AUG-08
    SQL> alter database recover managed standby database cancel;
    Database altered.
    SQL> alter database activate standby database; --> prepare to open stby in R/W mode
    Database altered.
    SQL> startup mount force;
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1250428 bytes
    Variable Size 180358020 bytes
    Database Buffers 423624704 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    SQL> alter database set standby database to maximize performance;
    Database altered.
    SQL> alter database open;
    Database altered.
    SQL> startup mount force;
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1250428 bytes
    Variable Size 180358020 bytes
    Database Buffers 423624704 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    Now I tried to mimic the flashback database as in the production, to bring it back to sequence# 105 above
    SQL> flashback database to scn 739430;
    flashback database to scn 739430
    ERROR at line 1:
    ORA-38754: FLASHBACK DATABASE not started; required redo log is not available
    ORA-38761: redo log sequence 75 in thread 1, incarnation 2 could not be
    accessed
    I'm reverted back the physical standby to its function
    SQL> alter database convert to physical standby;
    Database altered.
    SQL> startup mount force;
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1250428 bytes
    Variable Size 180358020 bytes
    Database Buffers 423624704 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    SQL> alter database recover managed standby database using current logfile disconne
    Database altered.
    Verifying if the MRP is up and running: YES see below
    SQL> select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC3: Becoming the 'no FAL' ARCH
    ARC3: Becoming the 'no SRL' ARCH
    ARC1: Becoming the heartbeat ARCH
    Attempt to start background Managed Standby Recovery process
    MRP0: Background Managed Standby Recovery process started
    Managed Standby Recovery starting Real Time Apply
    Clearing online redo logfile 1 C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO11.LOG
    11 rows selected.
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination C:\local_destination1_orcl
    Oldest online log sequence 110
    Next log sequence to archive 0
    Current log sequence 110
    So, how can I reslove this issue? without creating the standby from scratch?
    Thanks Again for your help

  • Primary and Standby CM question

    In general, Primary and Standby CM's database tables, configurations, group polices should be sync'd up and looked identical, right?  What else will be different and will require to import onto standby CM manually?  Things like: SSL certificate, Secure store encryption...etcs.
    Thanks!
    Joe

    Hello Joe,
    I don't think you're leaving anything behind in regards how primary and standby CM  sync works, just follow the steps from the configuration guide and everything will be taken care,if there was any doubt just let us know what WAAS software version your running and the specific question. Critical files like Secure-store and SSL certificates will be automatically sync as well.
    Still, in my experience I stronly suggest to make sure your devices time settings are right.
    Time settings is very important for the sync to work fine, best way is to use an NTP.
    Please find the attached link to configure NTP and timezone:
    Configuration Guide:
    ================
    http://www.cisco.com/en/US/docs/app_ntwk_services/waas/waas/v417/configuration/guide/other.html#wp1042418
    Command Reference:
    http://www.cisco.com/en/US/docs/app_ntwk_services/waas/waas/v417/command/reference/glob_cfg.html#wp1496245
    Good Luck!

  • Standby database(11g) was still in sync after stopping the primary and standby database listener.

    Hello !!!
    I have noticed that my standby database(11g) was still in sync after stopping the primary and standby database listener.
    If this is the case then how log is transferring from primary to standby ? it is not using listener service ? kindly clarify

    Read this Metalink Note:407040.1

  • Require 9i Primary and Standby redo logs files same size?

    Hi,
    We have 9.2.0.6 Oracle RAC (2 node) and configured data guard (physical standby).
    I want to increase redo log files size, but i can't this do same time primary and standby side.
    Is there a rule, primary and standby database instances have same size redo log files?
    If I increase only primary redo log files, is there any side effect? However I try this issue on test system. I increased all primary redo log files(if status='INACTIVE' drop redo log group and add redo log group, switch logfile,...)
    , but i couldn't changed standby side. So the system is work well. Is this correct solution or not? How can i increase both sides redo log files?
    Thank you for helps..

    Thank you for your helps.. I found this issue answer:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/manage_ps.htm#i1010448
    Consequently, when you add or drop an online redo log file at the primary site, it is important that you synchronize the changes in the standby database by following these steps:
    If Redo Apply is running, you must cancel Redo Apply before you can change the log files.
    If the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO, change the value to MANUAL.
    Add or drop an online redo log file:
    To add an online redo log file, use a SQL statement such as this:
    SQL> ALTER DATABASE ADD LOGFILE '/disk1/oracle/oradata/payroll/prmy3.log' SIZE 100M;
    To drop an online redo log file, use a SQL statement such as this:
    SQL> ALTER DATABASE DROP LOGFILE '/disk1/oracle/oradata/payroll/prmy3.log';
    Repeat the statement you used in Step 3 on each standby database.
    Restore the STANDBY_FILE_MANAGEMENT initialization parameter and the Redo Apply options to their original states.
    bye..

  • How to configure Enterprise Manager Database Control (EMDC) to make it work on 2 servers working (primary and standby) under DG rules

    Hello everybody i use Oracle Database EE 11.2.0.4 with DG.
    In those cases i need to get Enterprise Manager Database Control running against DB with no RAC and no DG i perform the following steps:
    I Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account and management objects:
    DECLARE
    CURSOR c1 IS
    SELECT owner, synonym_name name
    FROM dba_synonyms
    WHERE table_owner = 'SYSMAN';
    BEGIN
    FOR r1 IN c1 LOOP
    IF r1.owner = 'PUBLIC' THEN
    EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
    ELSE
    EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
    END IF;
    END LOOP;
    END;
    DROP USER mgmt_view CASCADE;
    DROP ROLE mgmt_user;
    DROP USER sysman CASCADE;
    After that i run
    emca -config dbcontrol db -repos recreate
    But what should i do in cases i have 2 servers working (primary and standby) under DG rules?

    Hi ,
    It is not possible to monitor/administer a Logical or Physical Standby database, i.e Data Guard, using Enterprise Manager Database Control.  This is primarily due to the fact that Database Control is designed to monitor 1 database and a Data Guard environment, by definition, includes more than 1 database.
    If you attempt to run emca against a standby Database, you will get an error like (i.e. ORA-01219: database not open).
    Database Control, can, of course, be used to monitor the current Primary database (with no ability to administer or monitor Data Guard related functionality).  In such a case, when failover occurs Database Control must be reconfigured to run on the new Primary database using the commands detailed in Note 278100.1 How To Drop, Create And Recreate DB Control In A 10g Database, section C. Recreate/ReConfig DB Control, Option 2. Recreate the DB Control Configuration Files and Repository.
    Enterprise Manager Grid Control or Cloud Control provides the functionality for viewing, monitoring, and administering primary and standby databases in a Data Guard configuration.
    Reference: Is it Possible to Configure Database Control for a Logical or Physical Standby Database? (Doc ID 315116.1)
    You can use EM 12c cloud control to monitor and manager Standby DB effectively
    Ref to below link for details
    Set Up and Manage Oracle Data Guard using Oracle Enterprise Manager Cloud Control 12c
    Regards,
    Rahul

  • Logfile groups for Primary and Standby

    Hi,
    Oracle documents say that the size of Log files should be the same for primary and Standby. Presently it is not the case. I have logfile 100M for Primary (PROD) and 50M for Standby. To change them I should add new groups with file of 100M to standby. And then drop the small logs(50M). in this case the group number would not be the same. Would it be a problem ? Any other solution ? Thank you.

    .Oracle documents say that the size of Log files should be the same for primary and Standby. It is only a recommendation, but, not mandatory. However, a messaage will be written to the standby alertlog file when standby database log file size is smillar than its primary database log file size.
    in this case the group number would not be the same. Would it be a problem It won't be a problem.
    Jaffar

  • Can I have primary and standby in same OS but different releases.

    All,
    Can I have primary and standby DBs in same OS but in different releases?
    i.e. primary is in RHEL 5 and standby is in RHEL 4, is it ok to setup or do we see any issues?
    Thanks,
    Mahi

    In 10g, dataguard started to support different binaries on primary and standby database servers with the same OS family. For example Microsoft Windows 64-bit on primary and Microsoft Windows 32-bit or Microsoft Windows 64-bit for AMD on standby database server. However with 11g, dataguard also supports different OS on primary and standby servers
    Role Transitions for Data Guard Configurations Using Mixed Oracle Binaries [ID 414043.1]
    Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration [ID 413484.1]

Maybe you are looking for

  • Online pdf form field goes wrong

    I use adobe acrobat xi. I have created some files and i have uploaded them in online platform. When I open the files from the online platform all the check-boxes, square buttons and X-boxes come out wrong. Everything looks fine when I open the file f

  • MBAM 2.5 Client not show Turn On Bitlocker

    Hello everybody, I would like to know why the MBAM Applet not show the Turn on Bitlocker. I'm logged with a administrator account and same so not appear the button. Look it below: Robson Hasselhoff - Follow me @Robk9e

  • How To Display an HTML File

    Hi. Can I display the following .HTM from a button on my form? /usr/IBM/WebSphere/AppServerCommunityEdition/repository/default/TTMSWeb/1222365662123/TTMSWeb-1222365662123.war/adds_reporters.htm Is there a built-in for this?

  • Installing oracle 8i on windows me millennium edition

    Help! I'm trying to install oracle 8i on windows me millennium (oracle 8i personnel for windows 98) and it doesn't work. I don't know if it works for oracle 8i personnel for windows NT. I didn't find anything for windows me millennium. Is it possible

  • Stroke color does not appear

    I am trying to insert an ellipse into a document with a transparent fill and a solid stroke.   When I go to Effects-Transparency, the entire ellipse is transparent (i.e., the stroke disappears as well).  The box states that the stroke is normal 100%