Data guard related OS processes in Primary and Standby servers

Database version : 11.2.0.3
Operating System : RHEL 5.8
Type:  Physical Standby
++++++++++++++++++++++++++++In a typical Linux server hosting a Physical standby DB, the data guard related OS processes that appear in ps output
are like below. One mrp for each standby DB.
ps -ef |grep mrp
  oracle  9380     1   0   May 21 ?          57:33 ora_mrp0_STRYKER_DG
  oracle 18874     1   0   May 23 ?          33:45 ora_mrp0_FLPSA
  oracle 18992 18837   0 23:39:39 pts/3       0:00 grep mrpSimilarly ,In a typical Linux server hosting a Primary DB what are the data guard related OS processes that appear in ps output ? Will LNS process appear in ps output ? Any other processes ?

Similarly ,In a typical Linux server hosting a Primary DB what are the data guard related OS processes that appear in ps output ? Will LNS process appear in ps output ? Not exactly but it appears has different name, on your primary try below commands
SQL> select pid from v$managed_standby where process='LNS';
$ps -ef|grep <pid value>
hope this helps, on standby you can use same procedure to find the RFS OS process

Similar Messages

  • Data Guard Archive Log Latency Between Primary and Physical Standby

    How can I get the time it takes (latency) for the primary instance to get an archive log over to the physical standby instance and get it "archived" and "applied". I have been looking at the V$ARCHIVED_LOG view on each side but the COLUMN "COMPLETION_TIME" always shows a date "MM/DD/YY" and no timestamp. I thought the DATE datatype include data and time. Any ideas on how I can get the latency info I'm looking for?
    Thanks
    Steve

    the COLUMN "COMPLETION_TIME" always shows a date "MM/DD/YY"
    and no timestamp. Did you try using TO_CHAR ? e.g.
    to_char(completion_time,'dd/mm/yyyy hh24:mi:ss')

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

  • DNS / BIND  - Can I configure primary and standby forwarders?

    Hi all,
    I have on Solaris 10 (x86) a DNS server (BIND 9.3.6-P1) that relies exclusively on two “forwarders”: 155.28.144.13and 154.23.134.32.
    The configuration is as follow:
    # cat /etc/named.conf
    acl "CSClan" { 192.168.4.0/24; 192.168.7.0/24; }; //CSC internal LAN ip address range
    options {
            directory "/var/named";
            forward only;
            forwarders {
                    155.28.144.13;
                    154.23.134.32;
                 allow-query { "localnets"; };
    # cat /etc/resolv.conf
    nameserver 127.0.0.1
    When I check with snoop, I can see requests sometimes to one forwarder, sometimes to the other.
    Is it possible to configure DNS to use primarily one forwarder?
    Thanks in advance for your support.
    Best Regards,
    Rui Vilão

    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]

  • 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

  • Data Guard Broker fails with ORA-16635 and ORA-03135

    Hi All,
    I configured Oracle RAC with Dataguard 11.2 on Windows 2003.
    I've already configured Standby without Data Guard Broker and everything is working fine, but when I try to use Data Guard Broker, he can not synchronize the files from the Data Guard Broker.
    I've tried everything including MOS, but not found anything.
    I'm getting this error.
    From Primary
    DG 2011-02-11-09:15:41        0 2 0 NSV1: (MIV = 57) Start sending metadata file: "+DG_DATA/orcl/dgbroker/dg_config_file1.dat"
    DG 2011-02-11-09:15:41        0 2 0 NSV1: Sending block #1 (containing MIV = 57), 67 blocks
    DG 2011-02-11-09:15:42        0 2 0 NSV1: Error sending block #1, size 67 blocks. Error is ORA-16635.
    DG 2011-02-11-09:15:42        0 2 0 NSV1: Current network link for metadata resync is broken.
    DG 2011-02-11-09:15:42        0 2 0 NSV1: (MIV = 57) End metadata file transmission: opcode CTL_ENABLE (1.1.1825138532)
    DG 2011-02-11-09:15:42        0 2 0 NSV1: Can't send CLOSE message to DRCX. Network error is: ORA-16635.
    DG 2011-02-11-09:15:42        0 2 0 NSV1: Error is ORA-03135 connection lost contact
    DG 2011-02-11-09:15:42        0 2 0 NSV1: Current network link for metadata resync is broken.From Standby
    DG 2011-02-11-08:35:39  3001000 3 1825138419       for opcode = CTL_ENABLE, phase = RESYNCH, req_id = 1.1.1825138419
    DG 2011-02-11-08:35:39        0 2 0 NSV2: Error sending block #1, size 67 blocks. Error is ORA-16635.
    DG 2011-02-11-08:35:39        0 2 0 NSV2: Current network link for metadata resync is broken.
    DG 2011-02-11-08:35:39        0 2 0 NSV2: (MIV = 11) End metadata file transmission: opcode CTL_ENABLE (1.1.1825138419)
    DG 2011-02-11-08:35:39        0 2 0 NSV2: Can't send CLOSE message to DRCX. Network error is: ORA-16635.
    DG 2011-02-11-08:35:39        0 2 0 NSV2: Current network link for metadata resync is broken.
    DG 2011-02-11-08:35:39        0 2 0 NSV2: Metadata Resync failed. Status = ORA-16635
    DG 2011-02-11-08:35:39  3001000 3 1825138419 DMON: Database ORCLSTBY returned ORA-16635

    Hi,
    Are you using firewall between Hosts?
    If yes check if firewall is blocking yours connections.
    Set the following parameter in the sqlnet.ora file that would be referenced by each database, primary and standby.
    SQLNET.EXPIRE_TIME=n
    Where n is some number of minutes. Preferably below 10. When this parameter is enabled, a small 10 byte probe packet will be sent from node to node at specific intervals.
    Regards,
    Levi Pereira

  • 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

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

  • Data Guard DB Broker configuration failed after adding Standby DB

    I am trying to set up DG Broker configuration between Primary and Physical Standby DB. I have added Standby db and enabled it. But when i try to show configuration it failed. Given below are the errors.
    Any help regarding this error is appreciated.
    GMGRL> show configuration
    Configuration
    Name: DBTEST
    Enabled: YES
    Protection Mode: MaxPerformance
    Databases:
    DBSOURCE - Primary database
    DBTARGET - Physical standby database
    Fast-Start Failover: DISABLED
    Current status for "DBTEST":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> show database verbose DBTARGET
    Object "dbtarget" was not found
    Given below is the alert.log error
    Fatal NI connect error 12514, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=pdg2.localdomain)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=DBTARGET_DGB.US.JT.COM)(CID=(PROGRAM=oracle)(HOST=pdg1.localdomain)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Linux: Version 11.1.0.6.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.6.0 - Production
    Time: 29-AUG-2011 14:58:08
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DBSOURCE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pdg1.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DBSOURCE.US.JT.COM)
    DBTARGET =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pdg2.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DBTARGET.US.JT.COM)
    I can connect from Primary to Standby db (DBTARGET). Given below is the status of that
    [oracle@pdg1 ~]$ sqlplus sys@dbtarget as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 29 15:01:43 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>

    MSEBERG,
    Hi yes i am using spfile in both Primary and Standby. Given below is the list for inconsistent properties. It did not report anything.
    While running the status report on DBTARGET i get the following error. It waited for about 5 mins before giving the err
    Current status for "DBTARGET":
    Error: ORA-16662: network timeout when contacting a database
    Given below is the complete status.
    DGMGRL> SHOW DATABASE 'DBSOURCE' 'StatusReport'
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    DGMGRL> show database 'DBSOURCE' 'LogXptStatus';
    LOG TRANSPORT STATUS
    PRIMARY_INSTANCE_NAME STANDBY_DATABASE_NAME STATUS
    DBSOURCE DBTARGET
    DGMGRL> SHOW DATABASE 'DBSOURCE' 'InconsistentProperties';
    INCONSISTENT PROPERTIES
    INSTANCE_NAME PROPERTY_NAME MEMORY_VALUE SPFILE_VALUE BROKER_VALUE
    DGMGRL> SHOW DATABASE 'DBSOURCE' 'InconsistentLogXptProps';
    INCONSISTENT LOG TRANSPORT PROPERTIES
    INSTANCE_NAME STANDBY_NAME PROPERTY_NAME MEMORY_VALUE BROKER_VALUE
    DGMGRL> SHOW DATABASE VERBOSE 'DBSOURCE';
    Database
    Name: DBSOURCE
    Role: PRIMARY
    Enabled: YES
    Intended State: TRANSPORT-ON
    Instance(s):
    DBSOURCE
    Properties:
    DGConnectIdentifier = 'dbsource'
    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 = 'MANUAL'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '3'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = '/u01/app/oracle/oradata/DBSOURCE,
    /u01/app/oracle/oradata/DBSOURCE'
    LogFileNameConvert = '/u01/app/oracle/oradata/DBSOURCE,
    /u01/app/oracle/oradata/DBSOURCE, /u01/app/oracle/flash_recovery_area/DBSOURCE/onlinelog,
    /u01/app/oracle/flash_recovery_area/DBSOURCE/onlinelog'
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName = 'pdg1.localdomain'
    SidName = 'DBSOURCE'
    StandbyArchiveLocation = '/u01/app/oracle/oradata/DBSOURCE'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = '%t_%s_%r.arc'
    LatestLog = '(monitor)'
    TopWaitEvents = '(monitor)'
    Current status for "DBSOURCE":
    SUCCESS
    DGMGRL> SHOW DATABASE VERBOSE 'DBTARGET'
    Database
    Name: DBTARGET
    Role: PHYSICAL STANDBY
    Enabled: YES
    Intended State: APPLY-ON
    Instance(s):
    DBTARGET
    Properties:
    DGConnectIdentifier = 'dbtarget'
    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 = 'MANUAL'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '3'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = '/u01/app/oracle/oradata/DBSOURCE,
    /u01/app/oracle/oradata/DBSOURCE'
    LogFileNameConvert = '/u01/app/oracle/oradata/DBSOURCE/archive,
    /u01/app/oracle/oradata/DBSOURCE/archive, /u01/app/oracle/oradata/flash_recovery_area/DBSOURCE,
    /u01/app/oracle/flash_recovery_area/DBSOURCE/onlinelog'
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName = 'pdg2.localdomain'
    SidName = 'DBTARGET'
    StandbyArchiveLocation = '/u01/app/oracle/oradata/DBSOURCE/archive'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = '%t_%s_%r.arc'
    LatestLog = '(monitor)'
    TopWaitEvents = '(monitor)'
    Current status for "DBTARGET":
    Error: ORA-16662: network timeout when contacting a database
    DGMGRL> show configuration
    Configuration
    Name: DBTEST
    Enabled: YES
    Protection Mode: MaxPerformance
    Databases:
    DBSOURCE - Primary database
    DBTARGET - Physical standby database
    Fast-Start Failover: DISABLED
    Current status for "DBTEST":
    Warning: ORA-16607: one or more databases have failed
    Edited by: 880215 on Aug 29, 2011 2:47 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

  • 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#;

  • Purging archivelogs on Primary and Standby

    Hi all,
    11.2.0.1
    Aix 6.1
    I am monitoring space usage in our FRA for both DG primary and standby. I want to purge all archivelogs once they have been applied to standby. What is the use of it anyway?
    I checked google and I found this procedure,  kindly correct if this is wrong?
    At Primary:
    =========
    RMAN
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    At Standby:
    ========
    RMAN
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    Where do I issue the command DELETE NOPROMPT OBSOLETE ARCHIVELOGS?
    Thanks a lot,
    zxy

    Which tool in oracle dear maintains the FRA/achivelogs? is it RMAN or Dataguard. If it maintains
    them  auto, why is that I still have lots of archivelog at PRIMARY and STANDBY?
    primary:oracle[/backup/flash_recovery_area/PROD/archivelog] ls -lt
    total 200
    drwxr-x---    2 oracle   oinstall       4096 Sep 25 15:59 2013_09_25
    drwxr-x---    2 oracle   oinstall       4096 Sep 24 22:51 2013_09_24
    drwxr-x---    2 oracle   oinstall       4096 Sep 23 22:03 2013_09_23
    drwxr-x---    2 oracle   oinstall       4096 Sep 22 23:02 2013_09_22
    drwxr-x---    2 oracle   oinstall       4096 Sep 21 21:25 2013_09_21
    drwxr-x---    2 oracle   oinstall       4096 Sep 20 22:05 2013_09_20
    drwxr-x---    2 oracle   oinstall       4096 Sep 19 23:00 2013_09_19
    drwxr-x---    2 oracle   oinstall       4096 Sep 18 22:03 2013_09_18
    drwxr-x---    2 oracle   oinstall       4096 Sep 17 22:53 2013_09_17
    drwxr-x---    2 oracle   oinstall       4096 Sep 16 23:00 2013_09_16
    drwxr-x---    2 oracle   oinstall       4096 Sep 15 23:01 2013_09_15
    drwxr-x---    2 oracle   oinstall       4096 Sep 15 02:45 2013_09_01
    drwxr-x---    2 oracle   oinstall       4096 Sep 14 20:32 2013_09_14
    drwxr-x---    2 oracle   oinstall       4096 Sep 13 23:29 2013_09_13
    drwxr-x---    2 oracle   oinstall       4096 Sep 12 22:02 2013_09_12
    drwxr-x---    2 oracle   oinstall       4096 Sep 11 23:43 2013_09_11
    drwxr-x---    2 oracle   oinstall       4096 Sep 10 22:27 2013_09_10
    drwxr-x---    2 oracle   oinstall       4096 Sep 09 23:10 2013_09_09
    drwxr-x---    2 oracle   oinstall       4096 Sep 08 23:00 2013_09_08
    drwxr-x---    2 oracle   oinstall       4096 Sep 07 23:30 2013_09_07
    drwxr-x---    2 oracle   oinstall       4096 Sep 06 23:11 2013_09_06
    drwxr-x---    2 oracle   oinstall       4096 Sep 05 22:02 2013_09_05
    drwxr-x---    2 oracle   oinstall       4096 Sep 04 23:45 2013_09_04
    drwxr-x---    2 oracle   oinstall       4096 Sep 03 22:09 2013_09_03
    drwxr-x---    2 oracle   oinstall       4096 Sep 02 22:33 2013_09_02
    standby:oracle[/backup/flash_recovery_area/PRODDR/archivelog] ls -lt
    total 296
    drwxr-x---    2 oracle   oinstall       4096 Sep 25 15:59 2013_09_25
    drwxr-x---    2 oracle   oinstall       4096 Sep 24 23:24 2013_09_24
    drwxr-x---    2 oracle   oinstall       4096 Sep 23 22:13 2013_09_23
    drwxr-x---    2 oracle   oinstall       4096 Sep 22 23:02 2013_09_22
    drwxr-x---    2 oracle   oinstall       4096 Sep 21 21:39 2013_09_21
    drwxr-x---    2 oracle   oinstall       4096 Sep 20 22:08 2013_09_20
    drwxr-x---    2 oracle   oinstall       4096 Sep 19 23:01 2013_09_19
    drwxr-x---    2 oracle   oinstall       4096 Sep 18 22:23 2013_09_18
    drwxr-x---    2 oracle   oinstall       4096 Sep 17 22:53 2013_09_17
    drwxr-x---    2 oracle   oinstall       8192 Sep 16 23:01 2013_09_16
    drwxr-x---    2 oracle   oinstall       8192 Sep 16 00:46 2013_09_15
    drwxr-x---    2 oracle   oinstall       4096 Sep 15 01:34 2013_09_14
    drwxr-x---    2 oracle   oinstall       4096 Sep 14 01:03 2013_09_13
    drwxr-x---    2 oracle   oinstall       4096 Sep 13 01:48 2013_09_12
    drwxr-x---    2 oracle   oinstall       4096 Sep 12 03:29 2013_09_11
    drwxr-x---    2 oracle   oinstall       4096 Sep 11 01:19 2013_09_10
    drwxr-x---    2 oracle   oinstall       4096 Sep 10 01:54 2013_09_09
    drwxr-x---    2 oracle   oinstall       4096 Sep 09 01:44 2013_09_08
    drwxr-x---    2 oracle   oinstall       4096 Sep 08 01:59 2013_09_07
    drwxr-x---    2 oracle   oinstall       4096 Sep 07 03:30 2013_09_06
    drwxr-x---    2 oracle   oinstall       4096 Sep 06 02:05 2013_09_05
    drwxr-x---    2 oracle   oinstall       4096 Sep 05 03:40 2013_09_04
    drwxr-x---    2 oracle   oinstall       4096 Sep 04 01:48 2013_09_03
    drwxr-x---    2 oracle   oinstall       4096 Sep 03 01:22 2013_09_02
    drwxr-x---    2 oracle   oinstall       4096 Sep 02 02:31 2013_09_01
    drwxr-x---    2 oracle   oinstall       4096 Sep 01 00:08 2013_08_31
    drwxr-x---    2 oracle   oinstall       4096 Aug 31 03:18 2013_08_30
    drwxr-x---    2 oracle   oinstall       4096 Aug 30 00:28 2013_08_29
    drwxr-x---    2 oracle   oinstall       4096 Aug 29 03:51 2013_08_28
    drwxr-x---    2 oracle   oinstall       4096 Aug 28 02:34 2013_08_27
    drwxr-x---    2 oracle   oinstall        256 Aug 26 00:24 2013_08_26
    drwxr-x---    2 oracle   oinstall        256 Aug 25 00:24 2013_08_25
    drwxr-x---    2 oracle   oinstall        256 Aug 24 00:24 2013_08_24
    drwxr-x---    2 oracle   oinstall        256 Aug 23 00:21 2013_08_23
    drwxr-x---    2 oracle   oinstall        256 Aug 22 00:00 2013_08_22
    drwxr-x---    2 oracle   oinstall        256 Aug 21 00:20 2013_08_21
    drwxr-x---    2 oracle   oinstall        256 Aug 20 00:17 2013_08_20
    drwxr-x---    2 oracle   oinstall        256 Aug 19 00:16 2013_08_19
    drwxr-x---    2 oracle   oinstall        256 Aug 18 00:17 2013_08_18
    drwxr-x---    2 oracle   oinstall        256 Aug 17 00:14 2013_08_17
    drwxr-x---    2 oracle   oinstall        256 Aug 16 00:13 2013_08_16
    drwxr-x---    2 oracle   oinstall        256 Aug 15 00:12 2013_08_15
    drwxr-x---    2 oracle   oinstall       4096 Aug 14 10:53 2013_08_14
    drwxr-x---    2 oracle   oinstall       4096 Aug 13 23:34 2013_08_13
    drwxr-x---    2 oracle   oinstall       4096 Aug 12 23:10 2013_08_12
    drwxr-x---    2 oracle   oinstall       4096 Aug 11 21:25 2013_08_11
    drwxr-x---    2 oracle   oinstall       4096 Aug 10 22:44 2013_08_10
    All of the above dates have been applied already. Thanks.

  • Taking RMAN backup of primary and standby databases.

    Hi,
    I am going to setup a Standby for Primary two node RAC to single node standby.
    My doubt is, in standby both primary and standby will have the same db_name. So how can i take the RMAN backup of both primary and standby by using a single catalog.
    That is, we can register the primary DB with catalog using it's db_name. But how can we register the standby with catalog using same db_name as it is already registered.
    Thanks,
    Mahi

    Are you using a physical or logical standby?
    If its a physical standby why do you need to back up both databases? backup the standby and you are done, the backup from the standby can be recovered to either the live serever or the standby if needed, andt hen the archivelogs used to bring it up to date.
    If its a logical standby then change the database name for the standby and you can back both up to the same catalog, or alternativly cretae a new catalog for the standby, either as a new database or a new schema in your existing catalog.

  • 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

  • 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

Maybe you are looking for

  • How can I move an album purchased from MY user account to another account?

    I have three user accounts on my computer at home. I purchased an album through MY user account from the iTunes store for one of the other users. I figured that all I had to do was to burn those songs from my user account onto a cd then go onto the o

  • Internet shuts off after a few minutes requiring wireless network reset on windows 8.1

    I recently upgraded from windows eight to windows 8.1 I do not know if this has anything to do with anything I have a 64 bit OS. My Internet goes off by itself every 5 minutes even though my wireless icon at the lower right of the screen still shows

  • Vendor Master copying through Copy Express

    Hi Experts, I am copying from One Database to a NEW Database ( this database has diffrent configuration ) the Vendor Master Data through Copy Express but while runing the Copy Express I am getting an error as 'Bank does not exsits in the company'. In

  • I can't reinstall flash player - why?

    Flash player has been working perfectly OK on my Macbook pro.  Suddenly several weeks ago, it stopped working.  I cannot view programmes sent with emails.  So I tried to reinstall, but in vain.  At the end of installing flash player it asks for my pa

  • Lightroom 2.6 - lost jumplist

    Windows 7 has the jumplist feature.  With lightroom 2.5, it showed all my catalogs in the jumplist, which was great.  When I upgraded to 2.6, the jumplist disappeared.  Anyone know how to get it back in the windows 7 startmenu?  I know this may be mo