Configure standby database

hi all;
how many system r required to configure standby database
i m configure standby database in a single(same) system where my primary database already running.if this possible or not
i have configured my standby
but when i start "c:\sqlplus sys@orclstdy as sysdba"
then he create error ora-12154: TNS:could not resolve the connect identifier specified
and when i start with "c:\set oracl_sid=orclstdy"
sql>conn as sys/pass as sysdba
connected to an idle instance
sql> startup
ora-02778: Name given for the log directory is invalid
how can solve this problem . please reply

Hi user569791
you can configure standby to multiple destinations(up to 9 different destinations) and it is also possible to configure in same system also.
you need to create standby controlfile for Physical standby database.
check whether the standby instance run as a separate service and whether you
have an relevant entry in tnsnames.ora file. note that the db_name is same for both
sites but only the instance name differs.
Ensure that you have a
1.valid cold backup of datafiles,
2.valid standby controlfile
3.standby init parameters with db_file_name_convert and log_file_name_convert
parameters are valid
4. a special init parameter called lock_name_space need to be given when you configure standby on same site.
check all these condition and Try again.
Regards
SM

Similar Messages

  • Configuring Standby database.....but not able to finish it

    Friends,
    DB: 10.2.0.4
    OS: RHEL 4.8
    I have done all the preliminary steps in the primary database like...
    force logging
    archivelog
    creating standy redo loo.
    etc....as per the documentation....
    my problem is what about the standby system not db...i mean the node or os....
    i have installed rhel 4.8 and the db 10.2.0.4 ...
    In the standby os....am i have to create a db or only the oracle installation is enough....?
    anyway...i have to copy all the datafiles and controlfile and pfile from primary os...
    thanks

    906621 wrote:
    Friends,
    DB: 10.2.0.4
    OS: RHEL 4.8
    I have done all the preliminary steps in the primary database like...
    force logging
    archivelog
    creating standy redo loo.
    etc....as per the documentation....
    my problem is what about the standby system not db...i mean the node or os....
    i have installed rhel 4.8 and the db 10.2.0.4 ...
    In the standby os....am i have to create a db or only the oracle installation is enough....?
    anyway...i have to copy all the datafiles and controlfile and pfile from primary os...
    thanksIf you just install OS, it wont be enough, you should have control files, data files, standby redo log files.
    Then only it can communicated.
    Refer this link to create/configuring standby database
    http://docs.oracle.com/cd/E11882_01/server.112/e25608/create_ps.htm#i67520
    http://oracleinstance.blogspot.com/2010/01/step-by-step-document-for-creating.html

  • CONFIGURE STANDBY DATABASE IN 10G

    hi experts,
                  Need help for configuring standby database in Oracle 10g/Windows.

    Hi Sumeesh,
    Please refer the below mentioned link for configuring data guard.
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10823/create_ps.htm
    Below mentioned are the sequence of stpes, which needs to be followed for setting up data guard.
    3.1     Configuring the Primary Database     
    3.1.1     Enable archiving and define a local archiving destination     
    3.1.2     Create a password file     
    3.1.3     Configuring the Oracle networking files     
    3.1.4     Set initialization parameters on the primary database     
    3.1.5     Take Offline/Online backup of the primary database     
    3.1.6     Create a control file for the standby database     
    3.1.7     Prepare initialization parameter file for the standby database and start the primary database with the changed pfile.     
    3.1.8     Copy all files from the primary host to the standby host     
    3.2     Configuring the Standby Database     
    3.2.1     Configuring the Oracle networking files     
    3.2.2     Create a INIT parameter file for the standby database     
    3.2.3     Copy the standby controlfile to the appropriate location     
    3.2.4     Create Oracle Password File     
    3.2.5     Start the physical standby database     
    3.2.6     Initiate log apply services
    Regards,
    Ranjith

  • Configuring standby databases

    Hello
    Is there a way to configure standby databases in gc11g ?
    When I enter sys credentials, I get the below error :
    Failed to connect to the database: ORA-01033: ORACLE initialization or shutdown in progress The Connect Descriptor was (description=(address=(host=prddb)(protocol=tcp)(port=1824))(connect_data=(service_name=orclprd)(instance_name=orclprd)(UR=A)))

    Ricardinho wrote:
    Hello
    Is there a way to configure standby databases in gc11g ?
    When I enter sys credentials, I get the below error :
    Failed to connect to the database: ORA-01033: ORACLE initialization or shutdown in progress The Connect Descriptor was (description=(address=(host=prddb)(protocol=tcp)(port=1824))(connect_data=(service_name=orclprd)(instance_name=orclprd)(UR=A)))Do you want to create a standby standby database?
    You are trying to "orclprd" - is it your primary database? Are you sure that it's open?
    Regards
    Gokhan

  • How to configure standby database in a single machine

    I am in Windows XP professional and oracle 9i . I want to configure a standby database for a database called proddb in the same machine. For doing this, I created a standby controlfile. But this work for the same name standby database?. How this happen ? two database with same name possible? How to create the second database (Standby) Please help?
    Shiju

    The Oracle Solaris Cluster concepts guide has some information on which zone model to choose:
    http://docs.oracle.com/cd/E18728_01/html/821-2682/gcbkf.html#scrolltoc
    When managing a Solaris zone with the HA Zones agent, the cluster basically regards the non-global zone as a blackbox.
    As such you can either start the Oracle database as part of the runlevel/SMF startup of the non-global zone, or you can use the sczsh or sczsmf component and use your own scripts to start, probe and stop the Oracle database.
    Usage of the standard HA Oracle data service is not supported in combination with the HA Zones agent.
    If you require a more fine grained control of services running in non-global zones, why not setup a zone cluster and then having HA Oracle failover the Oracle database between non-global zones?
    Regards
    Thorsten

  • Configuring Standby Database from non ASM to ASM

    Hi All,
    i am trying to configure a standby database from non ASM file system to ASM file system.
    my primary database having datafiles in /u02,/u03,/u04 etc, and my Standby database having filesystem in ASM diskgroup DATA.
    can anyone of you help me in setting up of parameters db_file_name_convert and log_file_name_convert etc,;
    thanks in Advance,
    TEJAS

    Hi,
    You can check this. May it help you
    http://gavinsoorma.com/2010/04/creating-an-asm-duplicate-database-from-a-non-asm-database/

  • Problem when configuring standby database

    Hi,
    i am getting the following error when i am configuring the standby database,i have set every thing right
    ORA-28547: connection to server failed, probable Net8 admin error
    PING[ARC0]: Heartbeat failed to connect to standby 'orcl5'. Error is 28547.
    Error 28547 received logging on to the standby
    Tue May 29 22:13:21 2007
    Errors in file /u01/u06/bdump/orcl4_arc0_32147.trc:
    ORA-28547: connection to server failed, probable Net8 admin error
    PING[ARC0]: Heartbeat failed to connect to standby 'orcl5'. Error is 28547
    please suggest me how to go about this

    This is my primary
    *.background_dump_dest='/u01/u06/bdump'
    *.compatible='10.1.0.2.0'
    *.control_files='/u01/u06/ctrl01.ctl'
    *.core_dump_dest='/u01/u06/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='orcl4'
    *.instance_name='orcl4'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orcl2XDB)'
    *.job_queue_processes=10
    *.log_archive_dest_1='LOCATION=/u01/u06/arch'
    *.log_archive_dest_2='SERVICE=orcl5 reopen=60'
    *.log_archive_format='%t_%s_%r.dbf'
    *.open_cursors=300
    *.pga_aggregate_target=200278016
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=601882624
    .undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/u01/u06/udump'
    #*.standby_archive_dest=/u01/u05/arch
    #*.standby_file_management=manual
    *.lock_name_space=orcl4
    standby
    #########3
    *.background_dump_dest='/u01/u03/bdump'
    *.compatible='10.1.0.2.0'
    *.control_files='/u01/u03/stdbyctrl.ctl'
    *.core_dump_dest='/u01/u03/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='orcl4'
    *.instance_name='orcl5'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orcl2XDB)'
    *.job_queue_processes=10
    *.log_archive_dest=/u01/u03/arch
    *.log_archive_format='%t_%s_%r.dbf'
    *.open_cursors=300
    *.pga_aggregate_target=200278016
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=601882624
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/u01/u03/udump'
    *.standby_archive_dest=/u01/u03/arch
    *.standby_file_management=manual
    *.lock_name_space=orcl5

  • Issue in configuring Standby Database from Active database in 11g by RMAN

    POSTED THE SAME IN DATA GUARD CATEGORY UNABLE TO DELETE
    Hi All,
    I am facing issue in creating the standby database from Active database using RMAN and getting the below issue after i executed the duplicate command.
    Version of Database:11g(11.2.0.1.0)
    Operating System:Linux 5
    Error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/21/2012 17:26:52
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Primary Database Entries:
    Tnsentry:
    SONYPRD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprd.localdomain)(UR=A)
    SONYPRDSTBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprdstby)(UR=A)
    Listner Entry:
    SID_LIST_SONYPRD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtproc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = SONYPRD)
    (GLOBAL_DBNAME = SONYPRD)
    Auxiliary Details:
    Tns Entry:
    SONYPRD =
    (DESCRIPTION =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11g.localdomain)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprd.localdomain)
    SONYPRDSTBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprdstby)(UR=A)
    Listener Entry in auxiliary:
    SID_LIST_SONYPRDSTBY =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = SONYPRDSTBY)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = SONYPRDSTBY)
    TNSPING from Primary DB:
    [oracle@oracle11g ~]$ tnsping sonyprdstby
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:39:28
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprdstby)(UR=A)))
    OK (0 msec)
    TNSPING from Auxuliary server
    [oracle@oracle11gstby ~]$ tnsping sonyprd
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:40:19
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprd.localdomain)))
    OK (10 msec)
    Script Used for duplicate:
    run {
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate auxiliary channel stby type disk;
    duplicate target database for standby from active database
    spfile
    parameter_value_convert 'sonyprd','sonyprdstby'
    set db_unique_name='sonyprdstby'
    set db_file_name_convert='/sonyprd/','/sonyprdstby/'
    set log_file_name_convert='/sonyprd/','/sonyprdstby/'
    set control_files='/u01/app/oracle/oradata/control01.ctl'
    set log_archive_max_processes='5'
    set fal_client='sonyprdstby'
    set fal_server='sonyprd'
    set standby_file_management='AUTO'
    set log_archive_config='dg_config=(sonyprd,sonyprdstby)'
    set log_archive_dest_2='service=sonyprd ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=sonyprd'
    Tried the script from both Primary and auxiliary but no luck
    [oracle@oracle11gstby admin]$ rman target sys/welcome@sonyprd auxiliary sys/*****@sonyprdstby
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Dec 21 17:26:24 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: SONYPRD (DBID=3131093559)
    connected to auxiliary database: SONYPRD (not mounted)
    Listener Status from primary:
    [oracle@oracle11g ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:08:56
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 20-DEC-2012 17:42:17
    Uptime 1 days 0 hr. 26 min. 41 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "sonyprd.localdomain" has 1 instance(s).
    Instance "sonyprd", status READY, has 1 handler(s) for this service...
    Service "sonyprdXDB.localdomain" has 1 instance(s).
    Instance "sonyprd", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Listener Status from Standby when database bring to Nomount state:
    [oracle@oracle11gstby admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:11:54
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 21-DEC-2012 16:13:47
    Uptime 0 days 1 hr. 58 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/oracle11gstby/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11gstby)(PORT=1521)))
    Services Summary...
    Service "sonyprdstby" has 1 instance(s).
    Instance "sonyprdstby", status BLOCKED, has 1 handler(s) for this service...
    The command completed successfully
    Please provide any work arounds to proceed further in creating the standby database.
    Thanks,
    Ram.
    Edited by: 895188 on Dec 21, 2012 5:50 PM
    Edited by: 895188 on Dec 21, 2012 6:09 PM
    Edited by: 895188 on Dec 21, 2012 6:22 PM

    Hello;
    Script has to be run from auxiliary.
    Great details, but what I don't see is how you connect in RMAN.
    Example
    Start RMAN
    $ORACLE_HOME/bin/rman target=sys/@recover2 auxiliary=sys/@reclone
    Recovery Manager: Release 11.2.0.2.0 - Production on Wed Feb 22 14:50:31 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: RECOVER2 (DBID=3806912436)
    connected to auxiliary database: RECLONE (not mounted)Nothing in your tnsnames or listener jumps out as wrong. I copied them into my text editor and compared against my working ones.
    Generally for active duplication I start the future standby on a pfile NOMOUNT.
    Auxiliary Instance Initialization Parameters Needed :
    DB_NAME
    CONTROL_FILES
    DB_BLOCK_SIZE
    ( add extra parameters like DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT instead of using the SET command - clean up standby spfile right after duplication )
    Then start RMAN and finally run a single line duplication command.
    $ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
    RMAN>duplicate target database for standby from active database NOFILENAMECHECK;Best Regards
    mseberg

  • Configuring standby database on local machine in NT

    Dear friends,
    I have oracle 8.1.6 on NT version 4.0. I have two servers one for production and another for standby. but my standby database has crashed and i am in the process of rectifying it..
    for temporary basis, i want to have both the production and standby database on same NT machine.. but the NT platform is not allowing the same name on instance/ database..
    is there any way out to have the production and standby database on same machine on NT pltaform..
    kindly guide me as my database is up for 24 hours..
    regards,
    viral shah

    Viral,
    You should be able to create the standby on the same NT server. Take a look at the documentation @ http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a76995/standbys.htm#29841

  • Anyone succesful configuring standby database

    by using data guard manager?? It always fail and showing java error. Please HELP!!

    Please check metalink to install the latest Data Guard Manager patches for 9.0.1 (patch #1892082).

  • Issue in creating the standby database from Active database using RMAN

    Hi All,
    I am facing issue in creating the standby database from Active database using RMAN and getting the below issue after i executed the duplicate command.
    Version of Database:11g(11.2.0.1.0)
    Operating System:Linux 5
    Error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/21/2012 17:26:52
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Primary Database Entries:
    Tnsentry:
    SONYPRD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprd.localdomain)(UR=A)
    SONYPRDSTBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprdstby)(UR=A)
    Listner Entry:
    SID_LIST_SONYPRD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtproc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = SONYPRD)
    (GLOBAL_DBNAME = SONYPRD)
    Auxiliary Details:
    Tns Entry:
    SONYPRD =
    (DESCRIPTION =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11g.localdomain)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprd.localdomain)
    SONYPRDSTBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprdstby)(UR=A)
    Listener Entry in auxiliary:
    SID_LIST_SONYPRDSTBY =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = SONYPRDSTBY)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = SONYPRDSTBY)
    TNSPING from Primary DB:
    [oracle@oracle11g ~]$ tnsping sonyprdstby
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:39:28
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprdstby)(UR=A)))
    OK (0 msec)
    TNSPING from Auxuliary server
    [oracle@oracle11gstby ~]$ tnsping sonyprd
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:40:19
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprd.localdomain)))
    OK (10 msec)
    Script Used for duplicate:
    run {
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate auxiliary channel stby type disk;
    duplicate target database for standby from active database
    spfile
    parameter_value_convert 'sonyprd','sonyprdstby'
    set db_unique_name='sonyprdstby'
    set db_file_name_convert='/sonyprd/','/sonyprdstby/'
    set log_file_name_convert='/sonyprd/','/sonyprdstby/'
    set control_files='/u01/app/oracle/oradata/control01.ctl'
    set log_archive_max_processes='5'
    set fal_client='sonyprdstby'
    set fal_server='sonyprd'
    set standby_file_management='AUTO'
    set log_archive_config='dg_config=(sonyprd,sonyprdstby)'
    set log_archive_dest_2='service=sonyprd ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=sonyprd'
    Tried the script from both Primary and auxiliary but no luck
    [oracle@oracle11gstby admin]$ rman target sys/welcome@sonyprd auxiliary sys/*****@sonyprdstby
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Dec 21 17:26:24 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: SONYPRD (DBID=3131093559)
    connected to auxiliary database: SONYPRD (not mounted)
    Listener Status from primary:
    [oracle@oracle11g ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:08:56
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 20-DEC-2012 17:42:17
    Uptime 1 days 0 hr. 26 min. 41 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "sonyprd.localdomain" has 1 instance(s).
    Instance "sonyprd", status READY, has 1 handler(s) for this service...
    Service "sonyprdXDB.localdomain" has 1 instance(s).
    Instance "sonyprd", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Listener Status from Standby when database bring to Nomount state:
    [oracle@oracle11gstby admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:11:54
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 21-DEC-2012 16:13:47
    Uptime 0 days 1 hr. 58 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/oracle11gstby/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11gstby)(PORT=1521)))
    Services Summary...
    Service "sonyprdstby" has 1 instance(s).
    Instance "sonyprdstby", status BLOCKED, has 1 handler(s) for this service...
    The command completed successfully
    Please provide any work arounds to proceed further in creating the standby database.
    Thanks,
    Ram.

    Pl do not post duplicates - Issue in configuring Standby Database from Active database in 11g by RMAN

  • Regrading standby database in standard edition

    hi gurus
    i m facing problem in configuring standby database in standard edition windows 2008 .
    os-windows 2008 standard
    oracle 11gr2
    i have copied files from primary n copied it to same location on standby...at that time database was in noarchivelog mode
    then i made it archive n create standby controlfile...also i have created same service name thru oradim with mentioning pfile and same password as on primary
    so it created pfile and password file...
    i opened the database in nomount with pfile
    then mount with standby controlfile it got mounted n the mode is automatically archivelog mode but as i didn't taken the same pfile of primary it didnt take the destinations as such n made archive in flash recovery area
    now i m a bit confused how to apply archive..i copied some archive and placed it in flash rec area
    i tried all options managed recovery.recover standby database,recover database until cancel
    but all give error
    please tell how i proceed..what shud b the right process in standby standard edition
    if possible send me a good link for standby database creation in windows 2008 standard with how to ftp files with mget mput..
    anyone if kindly provide a good link...wud b of great help
    thanks all

    on your standby database you can use:
    set logsource path_to_archives
    This will let Oracle know where the archive files are on the standby database.
    Then you can apply the archives with:
    recover standby database
    Another option is to use Dbvisit Standby to automate the whole standby database (including creation) for you when you have Oracle Standard One or Oracle Standard Edition One.

  • What are the steps applying incremental backups to standby database 11g

    Hi All,
    I have built 11g none ASM standby database from ASM RAC Database. Now I want to apply incremental backup to the standby database from primary but not sure how to do it. I tried following and I had an error “ORA-01103: database name 'ins-prim' in control file is not 'ins-sec'”
    1- I have configured standby database with RMAN backup.
    2- After finishing installation, I took a incremental backup from primary server(ins-prim) and moved incremental backup and control file to the standby (ins-sec) database
    3- I stared standby database nomount mode
    4- restore controlfile from “incremental backup location in standby database”
    5- alter database mount; and got this error
    “ORA-01103: database name 'ins-prim' in control file is not 'ins-sec'”
    What are the steps applying incremental backups to standby database with 11g?
    Thank you

    I build the database from backup and changed from ASM to none ASM and changed location of data files and logfiles. I think this changes makes the standby database as logical one.
    You can a have a physical standby with different locations for everything (redo/controlfiles/datafiles), ASM and no ASM etc. I have a such a configuration in production (10gR2)
    I build the database from backup
    Are you sure you have a standby ? Ins-sec receives the archivelog files from the primary ? How did you proceed to build this database ? I suspect you don't have a standby at all ! If you have duplicated the database ins-sec and ins-pri are independent databases and you won't be able to apply an incremental backup (your script was not correct but it is another story)

  • Standby database is not Sync with primary DB

    Hi,
    One week back I configured standby database and It was running fine.
    But 2 days back(Saturday) somebody had down my standby database. Today when I mounted my database; I saw this is not sync with primary database.
    Database Name :- pcs
    Primary db_unique_name :- pcs
    standby db_unique_name :- pcstd
    Present scanerio is...
    Status of Standby Database is...
    SQL> startup mount;
    ORA-32004: obsolete and/or deprecated parameter(s) specified
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size 2063792 bytes
    Variable Size 301990480 bytes
    Database Buffers 763363328 bytes
    Redo Buffers 6324224 bytes
    Database mounted.
    SQL> select GROUP# ,SEQUENCE# ,ACTIVE_AGENTS,STATUS from v$managed_standby;
    GROUP# SEQUENCE# ACTIVE_AGENTS STATUS
    N/A 0 0 CONNECTED
    N/A 0 0 CONNECTED
    SQL> recover managed standby database disconnect from session;
    Media recovery complete.
    SQL> select GROUP# ,SEQUENCE# ,ACTIVE_AGENTS,STATUS from v$managed_standby;
    GROUP# SEQUENCE# ACTIVE_AGENTS STATUS
    N/A 0 0 CONNECTED
    N/A 0 0 CONNECTED
    N/A 130 0 WAIT_FOR_LOG
    SQL> archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /backup/bkpcs/
    Oldest online log sequence 121
    Next log sequence to archive 0
    Current log sequence 126
    Status of Primary database is..
    SQL> archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /data/pcs10g/archive/
    Oldest online log sequence 129
    Next log sequence to archive 131
    Current log sequence 131
    SQL>
    Somebody can help me to resolve the following issues
    (1). Why archive log list not showing exact log sequence number on Standby Database.
    (2). How can I configure automatic archive logs apply from Live to Standby again.
    Regards,

    Problem has been resolved.

  • Standby database ALERTLOG displays WARNING in Readonly mode

    Hi,
    I have configured Standby database through RMAN and open it in read only mode after opening Alertlog file display below warning every 4/5 minutes, if some one knows plz let me know. Thanks
    ***Warning - Executing transaction without active Undo Tablespace
    Tue Jul 12 07:44:38 2005
    Restarting dead background process QMN0
    QMN0 started with pid=9

    Hi,
    configuration of undo tablespace are.
    NAME VALUE
    undo_management AUTO
    BDC> show parameter undo_tablespace
    NAME VALUE
    undo_tablespace UNDOTBS2
    From DBA_TABLESPACE
    STATUS TABLESPACE_NAME
    ONLINE UNDOTBS1
    ONLINE UNDOTBS2
    why undo tablespace is not Active as ALERTLOG says, Waiting for reply, and PAUL how can I check METALINK as it requires registration, Thanks
    KHAWAR

Maybe you are looking for