Standby Setup

Can i setup physical standby wihtout RMAN ? I want to create a fresh single physical standby without RMAN .. If i copy all files in another system and take the controlfile from primary as alter database create controlfile for standby ... and fill all the gaps with archives.. Should it work ? i am on 10G Rhel 4 linux.. and both machines would have same config

no luck CKPt and msberg...
pfile for TEST1 PRIMARY
test1.__db_cache_size=167772160
test1.__java_pool_size=4194304
test1.__large_pool_size=4194304
test1.__shared_pool_size=83886080
test1.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/test1/adump'
*.background_dump_dest='/u01/app/oracle/admin/test1/bdump'
*.compatible='10.2.0.3.0'
*.control_files='/u01/app/oracle/oradata/test1/control01.ctl','/u01/app/oracle/oradata/test1/control02.ctl','/u01/app/oracle/oradata/test1/control03.ctl'
*.core_dump_dest='/u01/app/oracle/admin/test1/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='/u01/app/oracle/oradata/test2','/u01/app/oracle/oradata/test1'
*.db_name='test1'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.db_unique_name='test1'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=test1XDB)'
*.fal_client='test1'
*.fal_server='test2'
*.job_queue_processes=10
*.log_archive_config='dg_config=(test1,test2)'
*.log_archive_dest_1='location=/u01/arch valid_for=(all_roles,all_logfiles) db_unique_name=test1'
*.log_archive_dest_2='service=test2 LGWR ASYNC valid_for=(primary_role,online_logfiles) db_unique_name=test2'
*.log_archive_dest_state_1='enable'
*.log_archive_dest_state_2='enable'
*.log_archive_format='%t_%s_%r.arc'
*.log_file_name_convert='/u01/app/oracle/oradata/test2','/u01/app/oracle/oradata/test1'
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.service_names='test1'
*.sga_max_size=400m
*.sga_target=250m
*.standby_archive_dest='/u01/arch'
*.standby_file_management='auto'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/app/oracle/admin/test1/udump'
PFILE FOR STANDBY TEST2
test2.__db_cache_size=171966464
test2.__java_pool_size=4194304
test2.__large_pool_size=4194304
test2.__shared_pool_size=79691776
test2.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/test2/adump'
*.background_dump_dest='/u01/app/oracle/admin/test2/bdump'
*.compatible='10.2.0.3.0'
*.control_files='/u01/app/oracle/oradata/test2/control05.ctl'
*.core_dump_dest='/u01/app/oracle/admin/test2/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='/u01/app/oracle/oradata/test1','/u01/app/oracle/oradata/test2'
*.db_name='test1'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.db_unique_name='test2'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=test2XDB)'
*.fal_client='test2'
*.fal_server='test1'
*.job_queue_processes=10
*.log_archive_config='dg_config=(test1,test2)'
*.log_archive_dest_1='location=/u01/arch valid_for=(all_roles,all_logfiles) db_unique_name=test2'
*.log_archive_dest_2='service=test1 valid_for=(primary_role,online_logfiles) db_unique_name=test1'
*.log_archive_dest_state_1='enable'
*.log_archive_dest_state_2='enable'
*.log_archive_format='%t_%s_%r.arc'
*.log_file_name_convert='/u01/app/oracle/oradata/test1','/u01/app/oracle/oradata/test2'
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.service_names='test2'
*.sga_max_size=400m
*.sga_target=250m
*.standby_file_management='auto'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/app/oracle/admin/test2/udump'
ON STANDBY
SQL> select process,status from v$managed_standby;
PROCESS STATUS
ARCH CONNECTED
ARCH CONNECTED
MRP0 WAIT_FOR_LOG
sql> select applied,sequence#,to_char(completion_time,'dd-mon-yyyy hh24:mi:ss') from v$archived_log
APP SEQUENCE# TO_CHAR(COMPLETION_T
YES 1 01-jul-2012 19:19:11
YES 2 01-jul-2012 19:19:21
YES 3 01-jul-2012 19:19:28
YES 4 01-jul-2012 19:19:36
YES 6 01-jul-2012 19:22:41
YES 5 01-jul-2012 19:22:51
YES 7 01-jul-2012 19:23:02
YES 8 01-jul-2012 19:23:06
ON PRIMARY
SQL> select max(SEQUENCE#) from v$archived_log;
MAX(SEQUENCE#)
11

Similar Messages

  • Standby setup in 11g R2 RAC to single node

    Hi,
    How can we setup 11gR2 Standby Setup : Primary Database 2 Node RAC to Standalone Standby Database

    ashish wrote:
    Hi,
    Our requirement is to create single node standby of a 11g R2 RAC 2 node database.To implement there is not much changes in functionality of dataguard, Except some new features like
    1) Active dataguard
    -- Where you can run MRP even in open status, so that it can be only readable.
    2) password file on standby should not be created, it should copy from primary and rename it.
    3) from 11g you can perform duplicate from active database without backup.
    & so on.
    To build a stand alone standby from 2-node RAC, MAA pdf is better one
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-10g-racprimaryracphysicalsta-131940.pdf
    http://www.oracle.com/technetwork/database/features/availability/twp-dataguard-11gr2-1-131981.pdf
    *How to create physical standby database with 11g RMAN DUPLICATE FROM ACTIVE DATABASE [ID 747250.1]*

  • Oracle Standby setup for firewall

    Hi,
    Recently one of my client separated their primary and standby databases with Juniper firewall. After the activity, some primary database servers were unable to ship the archives whereas some of the primary databases were shipping the archives but the archives at standby site getting corrupted.
    telnet from both the sides are happening properly.
    telnet <ip_address> <listener_port>-----------------------> works fine
    My question is:
    Is there any recommended setting for Juniper Network firewall, which can be used for Oracle databases?
    What are ports which needs to opened for a standby to work? (Apart from opening ports, Is there any other setting which can hinder physical-standby setup)
    Regards,

    Hello;
    Make sure SQL ALG is enabled.
    "set alg sql ena" to enable it.
    Connect Oracle Behind a Firewall
    http://forums.juniper.net/t5/ScreenOS-Firewalls-NOT-SRX/oracle-behind-firewall/td-p/23096
    Might also be of interest
    http://forums.juniper.net/t5/SRX-Services-Gateway/sqlnet-protocol-and-Oracle-10-problems/td-p/34684
    Best Regards
    mseberg
    Edited by: mseberg on May 7, 2012 12:17 PM

  • Have i missed any archive log in Standby setup?, im unable to find

    Dear All,
    I setup standby in Oracle10g.
    In my Primary the archive log list shows as
    primary>archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination D:\STANDBY\Archive
    Oldest online log sequence 30
    Next log sequence to archive 32
    Current log sequence 32
    In my standby the archive log list shows as
    standby>archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination C:\PRIMARY\Archive
    Oldest online log sequence 31
    Next log sequence to archive 0
    Current log sequence 32
    Have i missed any archive log file?
    But in my archive location of the primary i found the archive files from ARC00002_0633898426.001,ARC00003_0633898426.001 to ARC00031_0633898426.001
    and in my archive location of the standby i found the archive files from
    ARC00002_0633898426.001,ARC00003_0633898426.001 to ARC00031_0633898426.001 and one more extra archive file ARC00032_0633898426.001.
    I am getting confused from where i got the archive file ARC00032_0633898426.001 in standby only which is not in primary?
    Please clarify this...

    Please let me know abiut the above issue, i will be thankful to you.

  • Switchover scenario in a cascaded standby setup

    Hi,
    I have a setup of primary and standby databases in three locations A, B, C as below:
    Database version: 11.1.7.0
    In location A I have the primary database that ships redo log to a physical standby at location B alone.
    In location B I have a physical standby that replicates to site C.
    In site C I have the final physical standby that receives its redo logs directly from site B. In essence, this is a cascaded standby database.
    My question is about the switchover:
    Currently, both the instances in sites A and B have the LOG_ARCHIVE_DEST_3 set to point to site C and this is valid for standby role alone.
    Which means in case the two sites - A & B reverse roles, site C will continue receiving redo logs from either A or B, depending on which one is the new standby.
    However, the doubt comes in if site C were to become the new primary instance. I suspect that I would need to add two parameters LOG_ARCHIVE_DEST_2 and LOG_ARCHIVE_DEST_3 and point them to sites A and B respectively, and make them valid only for the primary role. In this case, if site C becomes the new primary, then both sites A and B can continue receiving redo logs from site C.
    Anyone who has ever implemented this?
    Regards,
    dula

    The scenario in the doc. may also help you:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/cascade_appx.htm#i638620
    Example E-1 Sample Use of Initialization Parameters in Cascaded Destinations
    Boston Database (Primary Role)
    DB_UNIQUE_NAME=boston
    REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(chicago,boston,denver)'
    LOG_ARCHIVE_DEST_1='LOCATION=/arch1/boston/ VALID_FOR=(ALL_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=boston'
    LOG_ARCHIVE_DEST_2= 'SERVICE=denver VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=denver'
    LOG_ARCHIVE_DEST_3= 'SERVICE=chicago VALID_FOR= (ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=chicago'
    Chicago Database (Standby Role)
    DB_UNIQUE_NAME=chicago
    LOG_ARCHIVE_CONFIG= 'DG_CONFIG=(chicago,boston,denver)'
    REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    LOG_ARCHIVE_DEST_1= 'LOCATION=/arch1/chicago/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=chicago'
    LOG_ARCHIVE_DEST_2= 'SERVICE=denver VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=denver'
    LOG_ARCHIVE_DEST_3= 'SERVICE=boston VALID_FOR= (ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=boston'
    Denver Database (Standby Role)
    DB_UNIQUE_NAME=denver
    LOG_ARCHIVE_CONFIG= 'DG_CONFIG=(chicago,boston,denver)'
    REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    LOG_ARCHIVE_DEST_1= 'LOCATION=/arch1/denver/ VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=denver'
    LOG_ARCHIVE_DEST_2= 'LOCATION=/arch2/denver/ VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=denver'
    Both the Boston primary database and the Chicago physical standby database define the LOG_ARCHIVE_DEST_2 initialization parameter as SERVICE=denver VALID_FOR=(STANDBY_LOGFILES, STANDBY_ROLE). Hence, even if the Boston and Chicago databases switch roles, the redo data will continue to be forwarded to the Denver database. Remember, as part of the original setup of the physical standby database, you should define a local destination, VALID_FOR=(ALL_LOGFILES, PRIMARY_ROLE), that will be used for local archiving when the physical standby database transitions to the primary role.

  • Tnsping issues for oracle 10g standby setup

    Hi All, i'm setting up standby database,
    i'm getting below error while doing tnsping after made all the necessary entries in listene.ora and tnsnames.ora,
    in both server listener is up and running.
    Please suggest me on this to resolve the issue,
    Primary Site
    tnsping DEVP
    TNS Ping Utility for Solaris: Version 10.2.0.2.0 - Production on 24-OCT-2011 16:09:59
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /arch/oracle/devora/ora10g/network/admin/DEVP_mareno/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =alpha)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DEVP)))
    OK (10 msec)
    tnsping DEVPDR
    TNS Ping Utility for Solaris: Version 10.2.0.2.0 - Production on 24-OCT-2011 16:08:37
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /arch/oracle/devora/ora10g/network/admin/DEVP_mareno/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = beta)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DEVPDR)(UR=A)))
    TNS-12541: TNS:no listener
    Standby site
    tnsping DEVPDR
    TNS Ping Utility for Solaris: Version 10.2.0.2.0 - Production on 24-OCT-2011 10:21:08
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /oracle/soft/ora10g/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = beta)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DEVPDR)(UR=A)))
    OK (10 msec)
    tnsping DEVP
    TNS Ping Utility for Solaris: Version 10.2.0.2.0 - Production on 24-OCT-2011 10:21:29
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /oracle/soft/ora10g/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = alpha)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DEVP)))
    TNS-12541: TNS:no listener

    Hi,
    Now tnsping is working in primary site of both
    but from standby site,
    Used parameter files:
    /oracle/soft/ora10g/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = beta.pati.com)(PORT = 1524)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DEVP)))
    TNS-12541: TNS:no listener
    Please suggest me on this.

  • Logical standby setup

    Hi,
    i'm configuring logical standby database,after giving alter database start logical standby apply; database was altered.
    but select name, value
    from v$logstdby_stats
    where name = 'coordinator state' 2 3 ;
    is not showing the status applying .how much will it take to come to applying status.
    SQL> alter database start logical standby apply;
    Database altered.
    SQL> select name, value
    from v$logstdby_stats
    where name = 'coordinator state' 2 3 ;
    NAME
    VALUE
    coordinator state
    INITIALIZING
    please help me

    Oralce 10.1.0.3 on Linux
    Wed Aug 8 21:52:21 2007
    LOGSTDBY status: ORA-16111: log mining and apply setting up
    Wed Aug 8 21:52:22 2007
    LOGMINER: Parameters summary for session# = 1
    LOGMINER: Number of processes = 3, Transaction Chunk Size = 201
    LOGMINER: Memory Size = 10M, Checkpoint interval = 50M
    LOGMINER: StopMiningThreshold = 3M
    Wed Aug 8 23:30:26 2007
    Private_strands 2 at log switch
    Thread 1 advanced to log sequence 18
    Current log# 2 seq# 18 mem# 0: /u01/u10/LOGSTDBY/redo02.log
    Wed Aug 8 23:30:26 2007
    ARC0: Evaluating archive log 1 thread 1 sequence 17
    Wed Aug 8 23:30:26 2007
    ARC0: Beginning to archive log 1 thread 1 sequence 17 (0.160249:0.163193) (LOGSTDBY)
    ARCH: Connecting to console port...
    Wed Aug 8 23:30:26 2007
    ARC0: Creating local archive destination LOG_ARCHIVE_DEST_1: '/u01/u10/LOGSTDBY/arch/1_17_630100862.arc' (thread 1 sequence 17)
    (LOGSTDBY)
    .Thu Aug 9 17:38:14 2007
    ARC0: Creating local archive destination LOG_ARCHIVE_DEST_1: '/u01/u10/LOGSTDBY/arch/1_33_630100862.arc' (thread 1 sequence 33)
    (LOGSTDBY)
    ARCH: Connecting to console port...
    Thu Aug 9 17:38:14 2007
    ARC0: Closing local archive destination LOG_ARCHIVE_DEST_1: '/u01/u10/LOGSTDBY/arch/1_33_630100862.arc'
    (LOGSTDBY)
    ARCH: Connecting to console port...
    can i know wat are the datagurard logfiles
    Please reply ...

  • Standby setup - error in shipping logs

    Hello all,
    I have configured a physical standby database at the DR site which is connected by a 2mbps line to the primary database at Mumbai. A log file 20 MB in size takes 90 seconds to traverse this line (through manual ftp).
    When I put the database in managed recovery mode, and after a while when the log gets switched at the primary, i get the error: 16166 at the primary database trace file. There is also another error like 'possible disconnect with the standby' in the alert log file at the primary.
    Is there anything that i can change at Oracle side which can improve the situation ?
    Is the 2mbps (mega bits is what i understand) line sufficient to transfer data ?
    At times, the log generation rate at the primary site is 4 - 5 logs per second, is this generation rate okay ?
    Let me know what other details you would want to assist.
    Praveen

    this is the last portion of the alert log file...
    /oracle/PRD/mirrlogA/redo_3_2_prd.log
    Tue Jun 9 17:17:14 2009
    ARC0: Evaluating archive log 2 thread 1 sequence 7847
    ARC0: Beginning to archive log 2 thread 1 sequence 7847
    Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/PRD/oraarch/prd/PRDarch_1_7847.arc'
    ARC0: Completed archiving log 2 thread 1 sequence 7847
    Tue Jun 9 17:22:03 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 17:28:24 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 17:33:46 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 17:38:33 2009
    Completed checkpoint up to RBA [0x1ea8.2.10], SCN: 0x0000.07797063
    Tue Jun 9 17:39:50 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 17:43:36 2009
    Beginning log switch checkpoint up to RBA [0x1ea9.2.10], SCN: 0x0000.07797861
    Thread 1 advanced to log sequence 7849
    Current log# 4 seq# 7849 mem# 0: /oracle/PRD/origlogB/redo_4_1_prd.log
    Current log# 4 seq# 7849 mem# 1: /oracle/PRD/mirrlogB/redo_4_2_prd.log
    Tue Jun 9 17:43:36 2009
    ARC1: Evaluating archive log 3 thread 1 sequence 7848
    ARC1: Beginning to archive log 3 thread 1 sequence 7848
    Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/PRD/oraarch/prd/PRDarch_1_7848.arc'
    ARC1: Completed archiving log 3 thread 1 sequence 7848
    Tue Jun 9 17:45:50 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 17:52:12 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 17:58:15 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 18:04:15 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 18:10:37 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 18:16:40 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 18:22:44 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 18:28:48 2009
    Completed checkpoint up to RBA [0x1ea9.2.10], SCN: 0x0000.07797861
    Tue Jun 9 18:29:05 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 18:35:27 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-01034: ORACLE not available
    Tue Jun 9 18:42:24 2009
    ALTER SYSTEM SET log_archive_dest_2='SERVICE=stdbyprd LGWR ASYNC=10240 AFFIRM' SCOPE=BOTH;
    Tue Jun 9 18:43:21 2009
    ALTER SYSTEM SET log_archive_dest_2='SERVICE=stdbyprd LGWR ASYNC=10240 AFFIRM' SCOPE=BOTH;
    Tue Jun 9 18:43:39 2009
    Creating archive destination LOG_ARCHIVE_DEST_2: 'stdbyprd'
    LNS0 started with pid=32
    Tue Jun 9 18:43:42 2009
    LGWR: Beginning to archive log 1 thread 1 sequence 7850
    Beginning log switch checkpoint up to RBA [0x1eaa.2.10], SCN: 0x0000.07798861
    Thread 1 advanced to log sequence 7850
    Current log# 1 seq# 7850 mem# 0: /oracle/PRD/origlogA/redo_1_1_prd.log
    Current log# 1 seq# 7850 mem# 1: /oracle/PRD/mirrlogA/redo_1_2_prd.log
    Tue Jun 9 18:43:42 2009
    ARC0: Evaluating archive log 4 thread 1 sequence 7849
    ARC0: LGWR is actively archiving destination LOG_ARCHIVE_DEST_2
    ARC0: Destination LOG_ARCHIVE_DEST_2 archival not expedited
    ARC0: Beginning to archive log 4 thread 1 sequence 7849
    Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/PRD/oraarch/prd/PRDarch_1_7849.arc'
    ARC0: LGWR is actively archiving destination LOG_ARCHIVE_DEST_2
    Invoking non-expedited destination LOG_ARCHIVE_DEST_2 thread 1 sequence 7849 host stdbyprd
    ARC0: Completed archiving log 4 thread 1 sequence 7849
    ARC0: Begin FAL noexpedite archive (thread 1 sequence 7849 destination stdbyprd)
    Creating archive destination LOG_ARCHIVE_DEST_2: 'stdbyprd'
    Tue Jun 9 18:44:03 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-03114: not connected to ORACLE
    ARC0: FAL archive failed, see trace file.
    ARCH: FAL archive failed. Archiver continuing
    Tue Jun 9 18:44:03 2009
    ORACLE Instance PRD - Archival Error. Archiver continuing.
    ARCH: Connecting to console port...
    Tue Jun 9 18:44:03 2009
    ORA-16055: FAL request rejected
    ARCH: Connecting to console port...
    Tue Jun 9 18:44:03 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_arc0_24894.trc:
    ORA-16055: FAL request rejected
    Tue Jun 9 18:44:50 2009
    LGWR: I/O error 3114 archiving log 1 to 'stdbyprd'
    Tue Jun 9 18:44:50 2009
    Errors in file /oracle/PRD/saptrace/prd/bdump/prd_lgwr_24886.trc:
    ORA-03114: not connected to ORACLE
    thank you

  • Data Guard - Physical Standby Setup by RMAN

    I am trying to set up a physical standby using RMAN. After I brought up the standby db, I failed to turn on redo apply. I found out that the standby redo log files were not copied over to the standby.
    The back up script I use is as follows.
    run {
    allocate channel ch2 type disk;
    backup current controlfile for standby format '/backups/sitv/cf_%d_t%t_s%s_p%p';
    backup format '/backups/sitv/%U.bkup' database;
    sql 'alter system archive log current';
    backup format '/backups/sitv/al_t%t_s%s_p%p.bkup' archivelog all;
    release channel ch2;
    What command should I use to be able to make a backup of the standby log files as well?
    Thanks.

    Hi Sybrand,
    Thank for the reply. Let me give a little bit more detailed information on what I did.
    I followed the documentation as follows to set up the physical standby
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#g88234
    I created the standby log files per section 3.1.3 on the primary db before the standby is created.
    I used the following command to restore the standby on a different server.
    run {
    allocate auxiliary channel ch1 device type disk;
    duplicate target database for standby dorecover nofilenamecheck;}
    My question is the standby log files did not show up on the standby server. However, the log files showed in the v$logfile table. After I tured on the redo apply, the changes I made in primary db did not happen in the standby db.
    Any idea on how to fix it?
    Thanks.

  • Logica and Physical standby to the same Primary?

    Hi,
    I have a primary - standby setup operating in the production. i now have a requirement to configure a Logical standby to the primary server. Can I do that leaving the already existing physical standby intact?
    Thanks,
    Aswin.

    Yes you can have both physical and logical standby from one primary. The logical standby will need to start as a second physical standby.

  • Version diff in standby and primary

    Hi, we have production and standby setup in oracle10g. As I would like to upgrade the database from oracle10g to oracle11g. I would like to know if there is version difference in between primary (11g) and standby database (10g) will the datagaurd will sync the standby database ?

    Dear Beginner,
    There is nothing like version sync in Oracle Data Guard. They should be the same because at the end of the day if it is the physical standby of the production database, this means one day it could be the production database indeed. Treat the physical standby database as a prodcution database and they really should be twins on every aspects.
    Regards.
    Ogan

  • Corrupting the block to continue recovery in physical standby

    Hi,
    Just like to inquire how I will be able to corrupt the block to be able to continue the recovery in the physical standby.
    DB Version: 11.1.0.7
    Database Type: Data Warehouse
    The setup we have is primary database and standby database, we are not using dataguard, and our standby setup is another physical copy of production which act as standby and being sync using script that being run from time to time to apply the archive log came from production (its not configured to sync using ARCH or LGWR and its corresponding configurations).
    Then, the standby database is not sync due to errors encountered while trying to apply the archive log, error is below:
    Fri Feb 11 05:50:59 2011
    ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Media Recovery Log /u01/archive/<sid>/1_50741_651679913.arch
    Fri Feb 11 05:52:06 2011
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x7FFFD2F18FF8] [PC:0x60197E0, kdr9ir2rst0()+326]
    Errors in file /u01/app/oracle/diag/rdbms/<sid>/<sid>/trace/<sid>pr0028085.trc (incident=631460):
    ORA-07445: exception encountered: core dump [kdr9ir2rst0()+326] [SIGSEGV] [ADDR:0x7FFFD2F18FF8] [PC:0x60197E0] [Address not mapped to object] []
    Incident details in: /u01/app/oracle/diag/rdbms/<sid>/<sid>/incident/incdir_631460/<sid>pr0028085_i631460.trc
    Fri Feb 11 05:52:10 2011
    Trace dumping is performing id=[cdmp_20110211055210]
    Fri Feb 11 05:52:14 2011
    Sweep Incident[631460]: completed
    Fri Feb 11 05:52:17 2011
    Slave exiting with ORA-10562 exception
    Errors in file /u01/app/oracle/diag/rdbms/<sid>/<sid>/trace/<sid>pr0028085.trc:
    ORA-10562: Error occurred while applying redo to data block (file# 36, block# 1576118)
    ORA-10564: tablespace <tablespace name>
    ORA-01110: data file 36: '/u02/oradata/<sid>/<datafile>.dbf'
    ORA-10561: block type 'TRANSACTION MANAGED DATA BLOCK', data object# 14877145
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00602: internal programming exception
    ORA-07445: exception encountered: core dump [kdr9ir2rst0()+326] [SIGSEGV] [ADDR:0x7FFFD2F18FF8] [PC:0x60197E0] [Address not mapped to object] []
    Based on the error log it seems we are hitting some bug from metalink (document id 460169.1 and 882851.1)
    my question is, the datafile # is given, block# is known too and the data object is also identified. I just verified that object is not that important, is there a way to set the block# to corrupted to be able the recovery to continue? Then I will just drop the table from production so that will also happen in standby, and the block corrupted will be gone too. Is this feasible?
    If its not, can you suggest what's next I can do so the the physical standby will be able to sync again to prod aside from rebuilding the standby?
    Please take note that I also tried to dbv the file to confirm if there is marked as corrupted and the result for that datafile is also good:
    dbv file=/u02/oradata/<sid>/<datafile>_19.dbf logfile=dbv_file_36.log blocksize=16384
    oracle@<server>:[~] $ cat dbv_file_36.log
    DBVERIFY: Release 11.1.0.7.0 - Production on Sun Feb 13 04:35:28 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    DBVERIFY - Verification starting : FILE = /u02/oradata/<sid>/<datafile>_19.dbf
    DBVERIFY - Verification complete
    Total Pages Examined : 3840000
    Total Pages Processed (Data) : 700644
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 417545
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 88910
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 2632901
    Total Pages Marked Corrupt : 0
    Total Pages Influx : 0
    Total Pages Encrypted : 0
    Highest block SCN : 3811184883 (1.3811184883)
    Any help is really appreciated. I hope to hear feedback from you.
    Thanks

    damorgan, i understand the opinion.
    just new with the organization and just inherit a data warehouse database without rman backup. I am still setting up the rman backup thats why i can't use rman to resolve the issue, the only i have is physical standby and its not a standby that automatically sync using dataguard or standard standby setup, i am just checking solution that is applicable in the current situation

  • Creating physical standby through Cloud Control 12C fails

    Hi,
    I have a SR with MOS on physical standby setup through Cloud Control 12C. My setup is two Exadata Quarter RAC X2-2 installations and i'm setting up primary standby/between those two installations. Lets call them exa1db01(primary) and exa2db01(standby).
    I'm using Cloud version 12.1.0.2 and agents on the latest version and patch. We just upgraded before Christmas. When i try to create a physical standby it fails on the transfer stage with below error:
    "Uncaught exception in command fileTransfer: unable to instantive value javax.xml.bind.JAXBE1ement@46dd1e39 for attribute actualException"
    At the moment its sent to developement so i have to wait for a fix. The reason for posting here is that i cant believe that this is not working on Cloud Control 12.1.0.2. This is basic functionality and i'm amazed that this is a bug. Our Exadata installation is running on 11.2.0.3 BP10 so it should be fairly fresh.
    I truly believe the problems needs to be somewhere in our installation or the connectivity between our Exadata environments. Do any of you have any experience with DG through Cloud on that participial version ?
    Cheers

    Hello again;
    Check the solution in this: ( and note the multiple versions of oracle it covers )
    UNABLE TO FIND GRID INFRASTRUCTURE LISTENER (Doc ID 1483234.1)
    Best Regards
    mseberg

  • Replicating System Stored Procedures in MSA Setup

    I started replicating system stored procedures in my MSA environment due to the fact that commands such as sp_rename was not making it to my MSA server. This caused some issues downstream resulting in the DSI goign down and having to manually apply these statements on the target server.
    My question is, are there any cons/drawback to enabling such option
    In reading the manual one of the requirements was that
    Make sure that both the primary and replicate data servers are the same version of Adaptive Server.
    I am Replication from Sybase Cluster Edition 15.7 SP131 to Sybase SMP 15.7 SP131. So far I have not encountered any issues but I don't like surprises.
    Other requirements are met
    When replicating DDL – the primary and replicate databases must have the same login names and passwords; the DSI uses the original server login name and password to log in to the replicate database.
    For me the logins are identical on both servers so this is not an issue
    To replicate DDL and system procedures:
    Mark the primary database using sp_reptostandby.
    Set the RepAgent parameter send warm standby xacts to true—even if there is no standby database
    I also have a warm standby setup and I am using the logical connection as the primary dataserver so these conditions are also met
    Thanks

    I started replicating system stored procedures in my MSA environment due to the fact that commands such as sp_rename was not making it to my MSA server. This caused some issues downstream resulting in the DSI goign down and having to manually apply these statements on the target server.
    My question is, are there any cons/drawback to enabling such option
    In reading the manual one of the requirements was that
    Make sure that both the primary and replicate data servers are the same version of Adaptive Server.
    I am Replication from Sybase Cluster Edition 15.7 SP131 to Sybase SMP 15.7 SP131. So far I have not encountered any issues but I don't like surprises.
    Other requirements are met
    When replicating DDL – the primary and replicate databases must have the same login names and passwords; the DSI uses the original server login name and password to log in to the replicate database.
    For me the logins are identical on both servers so this is not an issue
    To replicate DDL and system procedures:
    Mark the primary database using sp_reptostandby.
    Set the RepAgent parameter send warm standby xacts to true—even if there is no standby database
    I also have a warm standby setup and I am using the logical connection as the primary dataserver so these conditions are also met
    Thanks

  • Create standby database using restore backup

    Hi,
    I am creating a standby database 11g using  manual process of restoring a backup , but to no avail. I can not even restore the backup successfully.
    This is the steps I followed (courtesy of ORACLE-BASE) ORACLE-BASE - Data Guard Physical Standby Setup in Oracle Database 11g Release 2
    I am confused about these steps:
    Copy the files from the primary to the standby server.
    Copy Standby controlfile to all locations.
    $ scp oracle@ol5-112-dga1:/tmp/db11g_stby.ctl /u01/app/oracle/oradata/DB11G/control01.ctl
    $ cp /u01/app/oracle/oradata/DB11G/control01.ctl /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl
    My question is, for the 2nd copy, do I need to shutdown the primary db? since control01.ctl is being updated all the time?
    Can I not used the standby ctl (db11g_stbg.ctl) and copy it to /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl instead?
    Your assistance is highly appreciated.

    f55237a7-2c38-4db3-a7a3-1d77256f0730 wrote:
    Hi,
    I am creating a standby database 11g using  manual process of restoring a backup , but to no avail. I can not even restore the backup successfully.
    This is the steps I followed (courtesy of ORACLE-BASE) ORACLE-BASE - Data Guard Physical Standby Setup in Oracle Database 11g Release 2
    I am confused about these steps:
    Copy the files from the primary to the standby server.
    Copy Standby controlfile to all locations.
    $ scp oracle@ol5-112-dga1:/tmp/db11g_stby.ctl /u01/app/oracle/oradata/DB11G/control01.ctl
    $ cp /u01/app/oracle/oradata/DB11G/control01.ctl /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl
    My question is, for the 2nd copy, do I need to shutdown the primary db? since control01.ctl is being updated all the time?
    Can I not used the standby ctl (db11g_stbg.ctl) and copy it to /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl instead?
    Your assistance is highly appreciated.
    Hi,
    You are created standby  control file on primary and copied to standby  side:
    $ scp oracle@ol5-112-dga1:/tmp/db11g_stby.ctl /u01/app/oracle/oradata/DB11G/control01.ctl
    And now, in paramter files, you have CONTROL_FILES parameter as below :
    control_files='/u01/app/oracle/oradata/DB11G/control01.ctl', '/u01/app/oracle/fast_recovery_area/DB11G/control02.ctl'
    it means you must copy controlfile IN standby side to second control file. Control  files must be same.
    $ cp /u01/app/oracle/oradata/DB11G/control01.ctl /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl
    My question is, for the 2nd copy, do I need to shutdown the primary db? since control01.ctl is being updated all the time?
    You not need shutdown priamry database, becuase you  copied standby control file to standby side, and all operations goin in standby side.
    Can I not used the standby ctl (db11g_stbg.ctl) and copy it to /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl instead?
    Yes, you can use (db11g_stbg.ctl)  standby controlfile
    Regard
    Mahir M. Quluzade

Maybe you are looking for

  • Is it possible to zip a file and send it as an attachment in a mail?

    Hi, Is it possible to zip a file and send it as an attachment in a mail?

  • Is there a better way to do this?

    WOW, much of the things I'm reading here are far beyond my current knowledge (or atleast seem to be). Anyway I have been given my first cryptology assignment. I have it done already but I wish to speed it up, hopefully alot. The equation I'm working

  • Initial load of material classification

    Hi, We want to start using GTS to maintain tariff codes and to assign materials to tariff codes. We will start off with loading tariff codes in GTS from a dataprovider. However, we do not want to start from scratch with assigning materials to tariff

  • How to get Flash to use AIR 2.7 for iOS?

    How do I force Flash Pro to use AIR 2.7 for an iOS-project? When choosing Publish settings you can only choose AIR for iOS without any version numbers. But when you choose only AIR there is a version number. According to an informative video http://t

  • Get Digit String in IVR with variable string?

    Hello, everyone! I  have the same problem, I need to have both 3 and 4 length input. With #  everything works fine, but I want to configure it without terminator to  be used by the caller. This is what I got so far: tranext = Extended Get String Digi