Standby connecting to node2

hi
i have 2 node rac as primary db.11gr2
sometime when i reboot standby db it tries to connect to second instance of the rac but this fails. is standby db suppose to be bale to connect to either of the rac instances? how can i control this?
it all works fine when it connects to instance number one... but when it connects to instance 2 the connection fails. and therefore it cant recieve any redo

Has instance 2 ever worked?
Are all the LOG_ARCHIVE_DEST_ set correctly?
Can you tnsping to and from instance 2?
Can you connect to instance 2 from sqlplus and from instance 2 using sqlplus?
Can you post : (Or at least double check them all?)
fal_server
fal_client
log_archive_config
log_archive_dest_n
For all servers?
mseberg

Similar Messages

  • Database Connectivity takes long time if one of the Node is down .. ??

    Hello All,
    Env: 10.2.0.4 on Solaris 10
    I have 2 nodes.
    When Node1 server is down, it takes long time to connec to the database.
    tnsping would give "OK(2050ms)". Below is the tnsalias.
    RAC_test  =
      (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST=20.268.169.123)(PORT= 1521))
         (ADDRESS = (PROTOCOL = TCP)(HOST=20.268.169.127)(PORT= 1521))
         (LOAD_BALANCE = yes)
              (CONNECT_DATA =
            (SERVICE_NAME = DK.com)
          (FAILOVER_MODE =
            (TYPE = SELECT)
            (METHOD = BASIC)
            (RETRIES = 180)
            (DELAY = 5)
    )I put the trace on sqlnet.ora and found that first it pings to the "20.268.169.123",
    since the Server is down there will not be any reply and this consumes the delay and
    later it would ping "20.268.169.127" and connect to it.
    If i keep "20.268.169.127" above "20.268.169.123" in tnsalias, and keep "LOAD_BALANCE=no",
    it gets connected very fast, as its directly connecting to Node2. In tnsping i get Ok(40ms).
    How do i reduce the connect timing if i use the first step. Why does it take long time for
    Oracle Client to understand that the Node1 Server is down ?
    TIA,
    J J

    I hope the IP's you are using in the TNS are Virtual IP's.
    You must use Virtual IP's / hostnames for the failover to be quick. If Node 1 is not available then then it's (Node 1's) virtual IP would also get assigned to Node 2 hence all client connections are still able to get a response from the Node Virtual IP address without needing to wait for TCP/IP timeouts. This helps clients to get notified immediately that node 1 is unavailable and the connection tries the 2nd ip/host in the connect descriptor.
    Hope this helps.
    - Siba

  • RMAN 11gR2 DUPLICATE TARGET FOR STANDBY FROM ACTIVE DATABASE - Issue -HELP

    First question.
    Can primary and standby database have the same SID name?
    As I recall it is yes.
    I believe they must have different GLOBAL or DB_UNIQUE_NAME?
    Anyway, RMAN I believe is telling me it is having problems copying control file on first and dies.
    Permissions Issue on STANDBY machine?
    RMAN> connect target backup_admin/backup_admin
    connected to target database: LABDG (DBID=1973403623)
    RMAN> connect auxiliary sys/oracle@STANDBY;
    connected to auxiliary database: LABDG (not mounted)
    RMAN> DUPLICATE TARGET DATABASE FOR STANDBY FROM ACTIVE DATABASE;
    Starting Duplicate Db at 18-JUL-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=10 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwLABDG' auxiliar
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwLABDG' ;
    executing Memory Script
    Starting backup at 18-JUL-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=151 device type=DISK
    Finished backup at 18-JUL-11
    contents of Memory Script:
    backup as copy current controlfile for standby auxiliary format '/u01/oradat
    restore clone controlfile to '/u01/app/oracle/flash_recovery_area/LABDG/cont
    '/u01/oradata/LABDG/control01.ctl';
    executing Memory Script
    Starting backup at 18-JUL-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile copy
    copying standby control file
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/18/2011 11:20:54
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/18/2011 11:20:
    ORA-17628: Oracle error 19505 returned by remote Oracle server

    Hi,
    Permissions Issue on STANDBY machine?First problem I see is the sysdba password must be the same on both sides (target and auxiliary dbs).
    From the documentation.
    The source database and auxiliary instances must use the same SYSDBA password, which means that both instances must have password files. You can
    create the password file with a single password so you can start the auxiliary instance and enable the source database to connect to it.Check all prereqs for the standby db duplicate here.
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10643/rcmsynta020.htm#i81724
    Rgds,
    Tycho

  • Manual Standby on Standard Edition

    Hey, I try to setup a manual standby on standard edition 10gR2.
    Source is a RAC database (standard edition on sles10 sp3)
    I created a node and created a oracle instance on this node. This node is using the filesystem for the oracle files.
    I did a hotbackup of the source database and copied all files over to the other host.
    Which parameters needs to be change in the init.ora and how can I recover my database ?
    Articles like
    http://www.databasejournal.com/features/oracle/article.php/3682421/Manual-Standby-Database-under-Oracle-Standard-Edition.htm
    or
    Alternative for standby database in standard edition [ID 333749.1]
    does not really help me.
    Thanks for your patience... :-)

    ./rman target / cmdfile=/opt/oracle/rman.sh
    rman.sh
    run{
    change archivelog all crosscheck;
    allocate channel ch1 type disk;
    backup incremental level 0 database format
    '/opt/oracle/backup/backupnew/bk_inc0_%s_%p' include current
    controlfile for standby ;
    sql "alter system archive log current";
    backup archivelog all format '/opt/oracle/backup/backupnew/al_%s_%p';
    release channel ch1;
    copy files from '/opt/oracle/backup/backupnew' to standbyhost:'/opt/oracle/backup/backupnew'
    ./rman cmdfile=/opt/oracle/duplicate.rman
    duplicate.rman
    connect auxiliary sys/oracle@standby
    connect target /
    run {
    allocate auxiliary channel ch1 type disk;
    duplicate target database for standby dorecover nofilenamecheck;
    release channel ch1;
    Now I get this:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/15/2010 15:20:35
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    When do have I to issue the
    ALTER DATABASE CREATE STANDBY CONTROLFILE AS '/opt//oracle/stbycf.ctl';
    command. And where to copy ?

  • Problem While Creating Physical Standby Using RMAN

    Hi Guru's
    May be this incidence you all face while creating physical standby DB. I try to create Physical standby database Using RMAN Duplicate Command from one server
    (pri machine) to Standby Machine.
    The steps i followed to create the above are as follows:
    Step 1:- Enable Forced Logging
    SQL> ALTER DATABASE FORCE LOGGING;
    Step 2:- Configure a Standby Redo Log
    SQL> ALTER DATABASE ADD STANDBY LOGFILE GROUP 10
      2> ('/oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500M;
    Step 3:- Set Primary Database Initialization Parameters
    SQL> create pfile='?/dbs/pfileorcl.ora' from spfile;
    Edit the pfile to add the standby parameters, here shown:
    db_unique_name='orcl'
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(orcl,orcldr)'
    LOG_ARCHIVE_DEST_2='SERVICE=orcldr LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=orcldr'
    *.fal_server=orcldr
    *.fal_client=orcl
    *.standby_file_management=auto
    Step 4:- Enable Archiving
    SQL> SHUTDOWN IMMEDIATE;
    SQL> STARTUP MOUNT;
    SQL> ALTER DATABASE ARCHIVELOG;
    SQL> ALTER DATABASE OPEN;
    Step 5:- Setup tnsnames for standby database
    This should be done on primary database by altering tnsnames.ora or using NetCA command, and create it by the name orcldr
    orcldr =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby-svr)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcldr)
    Step 6:- Backup database and copy it to standby
    This backup script should be run on primary and copied to standby on the same mount point, running this scripts using RMAN, all files under /rman_backup should be copied to /rman_backup on standby server.
    $rman target /
    RMAN> run
    allocate channel c1 type disk;
    allocate channel c2 type disk;
    backup database format '/rman_backup/%U';
    backup archivelog all format '/rman_backup /%U';
    backup current controlfile for standby format '/rman_backup/%U';
    Step 7:- Standby Database Steps
    Installing Oracle Software
    This should be same release and patchset with exactly same ORACLE_HOME mount point.
    Setting Up listener
    Create and start a listener on standby database using NetCA, or creating listener.ora in $ORACLE_HOME/network/admin
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = standby-svr)(PORT = 1521))
    Step 8:- Set Standby Database Initialization Parameters
    Copying the pfile created in primary database and renames it to initorcldr.ora, and changes these parameters:
    db_unique_name='orcldr'
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(orcldr,orcl)'
    LOG_ARCHIVE_DEST_2='SERVICE=orcl LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=orcl'
    *.fal_server=orcl
    *.fal_client=orcldr
    *.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
    Step 9:- Setup tnsnames for primary database
    This should be done on standby database by altering tnsnames.ora or using NetCA command, and create it by the name orcl
    orcl =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary-svr)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    Step 10:- Copy a Password File
    A password file must be created on the Primary and copied over to the Standby site. The sys password must be identical on both sites. Copy orapworcl to $ORACLE_HOME/dbs and rename file to orapworcldr
    Step 11:- Create mount points for Oracle
    Mount point should be created on standby server with the same convention used in primary, this includes the location for controlfiles, redo logs, datafiles, archive log destination and alert logs.
    $ mkdir -p /u01/app/oracle/oradata/orcl/
    $ mkdir -p /u01/app/oracle/flash_recovery_area/
    $ mkdir -p /u01/app/oracle/admin/orcl/adump
    $ mkdir -p /u01/app/oracle/admin/orcl/bdump
    $ mkdir -p /u01/app/oracle/admin/orcl/cdump
    $ mkdir -p /u01/app/oracle/admin/orcl/udump
    Step 12:- Use RMAN to restore backup and setup standby
    Connect to RMAN and execute the following command to create standby database, this should be performed on standby server after copying backup and setting tnsnames.
    $ export ORACLE_SID=orcldr
    $ rman target sys/tiger@orcl auxiliary sys/tiger@orcldr
    RMAN> duplicate target database for standby dorecover;
    Here i am getting problem as :
    While trying to connect to traget database and auxiliary database i notice that when RMAN is connect to both databases it shows
    orcl ( DBID xyz)
    orcl (not mounted)
    Here in my view the second database must be standby database name or auxiiary db name is standby db name which in my case is orcldr
    after this issue i am facing the second issues as :
    in command
    duplicate target database for standby dorecover;
    After modifying the command to
    RMAN> duplicate target database to "standby";
    rman-05520 database name mismatch
    Can u please let me know where i am mistaking

    ok for pri:
    db_name=orcl
    db_unique_name=orcl
    for standby:
    db_name=orcl 
    db_unique_name=sbyorcl ( i change orcldr to sbyorcl later)for new testing
    but now what i am getting on
      Verify connectivity
    On Primary Server:
    C:\> lsnrctl stop LISTENERI (working fine)
    C:\> lsnrctl start LISTENER (working fine)
    C:\> tnsping orcl (working fine)
    C:\> tnsping sbyorcl (working fine)
    C:\> sqlplus sys/xxxxx@orcl (working fine)
    C:\> sqlplus sys/xxxxx@sbyorcl (not working fine)
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    On Standby Server:
    C:\>lsnrctl stop LISTENER
    C:\> lsnrctl start LISTENER
    C:\> tnsping orcl
    C:\> tnsping sbyorcl
    C:\> sqlplus sys/xxxxx@orcl
    C:\> sqlplus sys/xxxxx@sbyorcl
    My listner file for pri :-
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
          (SID_NAME = ORCL)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.129)(PORT = 1521))
    tnsnames.ora file on pri is:
    sbyorcl =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.128)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = sbyorcl)
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.129)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
    and listener file on standby :
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
          (SID_NAME = orcl)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.128)(PORT = 1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    and tnsnames.ora file on standby:
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.128)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
    sbyorcl =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.129)(PORT = 1521))
    (CONNECT_DATA =
           SERVICE_NAME = sbyorcl)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    Kinldy guide me where i am mistaking it's urgent

  • Not able to connect RAC database

    hi all
    i am using oracle 10.2 RAC on suse enterprse linux server 10.1
    from node 1 i am able to connect database but from node 2 i m not able to connect..
    when try to connect system/test.. its hang and didnt dispaly any error messg..
    even yesterday i was able to connect on node2 but at that i was not able to execute query like..select * from all_users...its just hang..but i was able to execute select username from all_users... and it was working wothour any error..

    thanx
    output of crs_stat -t
    Name Type Target State Host
    ora.rubikon.db application ONLINE ONLINE rubikon121
    ora....ikon.cs application ONLINE ONLINE rubikon120
    ora....on1.srv application ONLINE ONLINE rubikon120
    ora....on2.srv application ONLINE ONLINE rubikon121
    ora....n1.inst application ONLINE ONLINE rubikon120
    ora....n2.inst application ONLINE ONLINE rubikon121
    ora....SM1.asm application ONLINE ONLINE rubikon120
    ora....20.lsnr application ONLINE ONLINE rubikon120
    ora....120.gsd application ONLINE ONLINE rubikon120
    ora....120.ons application ONLINE OFFLINE
    ora....120.vip application ONLINE ONLINE rubikon120
    ora....SM2.asm application ONLINE ONLINE rubikon121
    ora....21.lsnr application ONLINE ONLINE rubikon121
    ora....121.gsd application ONLINE ONLINE rubikon121
    ora....121.ons application OFFLINE OFFLINE
    ora....121.vip application ONLINE ONLINE rubikon121
    output of alter.log file
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 12:53:12 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
    ORA-00604: error occurred at recursive SQL level 3
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 13:05:40 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 13:20:52 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 13:36:04 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 13:38:12 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
    ORA-00604: error occurred at recursive SQL level 3
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 13:51:16 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 14:06:28 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 14:21:40 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 14:23:12 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
    ORA-00604: error occurred at recursive SQL level 3
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 14:36:52 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 14:52:04 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:07:16 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:08:12 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
    ORA-00604: error occurred at recursive SQL level 3
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:22:28 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:37:40 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:52:52 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:53:12 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
    ORA-00604: error occurred at recursive SQL level 3
    ORA-04021: timeout occurred while waiting to lock object

  • StandBy Database goes Corrupt

    Hi,
    I'm new to Data Guard tech. I've installed Oracle 10g Data Guard on Solaris platform.
    However, while doing some operation i noticed that the control file of the StandBy db has been corrupted, soon after i took its backup (By Renaming it) and create new Control file from Primary DB and placed at same location with same name.
    As i restarted the Standby Db - it gave me an error of Datafile old and i got it as the SCN number has been changed with respect to new control file and Datafile.
    Currently, there is nothing in the DB's and both (Primary and Standby DB) are blank and will go in production after some days.
    Now, my Query is how to make them synchronize - how to make my StandBy Db in working condition???
    Note: >> If required, I can Shutdown Primary DB.
    >> Db is running in Archive Log mode but it got corrupted long back and i dont know the exact date of its corruption.
    While Surfing, i got at some site that:
    Create StandBy control file from Primary DB and place it at StandBy DB.
    Place all Datafiles and index and Redo log files form primary to StandBy DB And then try to start. Now please suggest - Will these steps make my StanDby Db working - Else Plz provide me the correct stpes ot make my StandBy Db working.
    PS: Both my DBs are empty currently.
    Thanks a lot for your help.

    mate I suggest that you do a number of different things.
    one is shut down the database and copy all the files to the standby database location,
    startup mount the production database and create the standby control file
    alter database create standby controlfile ' location /standby.ctl';then copy it to the location of the control files in your standby database. then delete all the control file there. and copy the standby in control01.ctl control02.ctl and control03.ctl
    the startup no mount your standby,
    alter database mount standby database; then get your connectivity to your production working by doing a conn to each database from the other one, ie. from the sql prompt on the production , connect to the standby,from the sql prompt on the standby connect to the production etc.
    if that is fine then on the production database at the prompt
    open it up
    alter database openon the standby database .
    alter database recover managed standby database disconnect from session;and it should go.

  • Logical Standby Database Down

    I am new to the Data Guard process and i wanted to know the following:
    I have a 9i Primary DB that ships to a Logical Standby Database, however if the logical standby database goes down for whatever reason, (hardware failure) it is unreachable, what can I configure to alert me that the has occurred?
    Is it something on the Primary DB that alerts me that the redo logs are perhaps not being processed? Does one use the Dead Connection Detection parameter SQLNET.EXPIRE? How do I identify the Primary to Standby connection is down amongst so many user connections?
    Many Thanks
    AM

    You will have an error for the archive log destiantion that is for your standby
    For like 10g or 11g using a SYNC or ASYC the logwr reports the issue the archiver process will report same as well.
    LGWR: Error 1041 disconnecting from destination LOG_ARCHIVE_DEST_2 standby host 'testsb'
    so for your archive destination for you standby look for errors to the destination and then alert.

  • Logs not applying on Standby Database

    I am afraid I am back.
    I now have a primary database and a standby database and logs are being shipped but not applied. Done some research and I have got to the point where in my alert log I find the following when I try to start MRP:
    Fri Jun 29 15:03:40 2012
    alter database recover managed standby database disconnect from session
    Attempt to start background Managed Standby Recovery process (SAPDS)
    Fri Jun 29 15:03:40 2012
    MRP0 started with pid=29, OS id=23272
    MRP0: Background Managed Standby Recovery process started (SAPDS)
    started logmerger process
    Fri Jun 29 15:03:45 2012
    Managed Standby Recovery not using Real Time Apply
    Read of datafile '/var/hpsrp/drforp03/oradata/u04/SAPDS/DRFSAPDS/sysaux01.dbf' (fno 2) header failed with ORA-01206
    Rereading datafile 2 header failed with ORA-01206
    MRP0: Background Media Recovery terminated with error 1110
    Errors in file /var/hpsrp/drforp03/oradata/u04/SAPDS/admin/diag/rdbms/drfsapds/SAPDS/trace/SAPDS_pr00_23308.trc:
    ORA-01110: data file 2: '/var/hpsrp/drforp03/oradata/u04/SAPDS/DRFSAPDS/sysaux01.dbf'
    ORA-01122: database file 2 failed verification check
    ORA-01110: data file 2: '/var/hpsrp/drforp03/oradata/u04/SAPDS/DRFSAPDS/sysaux01.dbf'
    ORA-01206: file is not part of this database - wrong database id
    Recovery Slave PR00 previously exited with exception 1110
    Errors in file /var/hpsrp/drforp03/oradata/u04/SAPDS/admin/diag/rdbms/drfsapds/SAPDS/trace/SAPDS_mrp0_23272.trc:
    ORA-01110: data file 2: '/var/hpsrp/drforp03/oradata/u04/SAPDS/DRFSAPDS/sysaux01.dbf'
    ORA-01122: database file 2 failed verification check
    ORA-01110: data file 2: '/var/hpsrp/drforp03/oradata/u04/SAPDS/DRFSAPDS/sysaux01.dbf'
    ORA-01206: file is not part of this database - wrong database id
    MRP0: Background Media Recovery process shutdown (SAPDS)
    Completed: alter database recover managed standby database disconnect from session
    My question therefore is how can I get out of this and get my logs to apply on standby?

    Hello again;
    Do you think if I tried to repeat the duplicate?
    Yes I think you should do this.
    Give me a few minutes and I will review my Word document and provide a step by step overview here as insurance.
    I always cleanup the standby before trying another dup
    OVERVIEW
    Step 1 - Password file fro standby - Copy from primary and rename
    Step 2 - Directory Structure on the remote server - Make sure noting is missing
    Step 3 - Oracle Net Setup - entry for the CLONE in your TNSNAMES.ORA on both servers
    Step 4 - SID_LIST_LISTENER addition ( assumes listener named LISTENER )
    Step 5 - Timeouts set in listener.ora and sqlnet.ora Both Servers
    Step 6 - Initialization Parameter File for the Auxiliary Instance
    Step 7 - Set SID for Auxiliary Instance
    Step 8 - Create an SPFILE for the new database by using a pfile with the INIT settings
    Step 9 - Shutdown and startup nomount on new Spfile ( Auxiliary Instance )
    Step 10 - Start RMAN and run the DUPLICATE Command
    SID_LIST_LISTENER Example from mine
    SID_LIST_LISTENER =
       (SID_LIST =
           (SID_DESC =
           (SID_NAME = PLSExtProc)
           (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
           (PROGRAM = extproc)
           (SID_DESC =
           (global_dbname = CLONE.hostname)
           (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
           (sid_name = CLONE)
    Prevent Timeouts
    Add these to both servers
    To listener.ora
    INBOUND_CONNECT_TIMEOUT_ = 120
    To sqlnet.ora
    SQLNET.INBOUND_CONNECT_TIMEOUT = 120
    Then stop and start the listener.
    RMAN
    $ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
    Connect should return something like this
    connected to target database: RECOVER9 (DBID=3806912436)
    connected to auxiliary database: CLONE (not mounted)RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
    INIT Extras
    To avoid ORA-09925 make sure the PFILE has audit_file_dest and core_dump_dest set
    Best Regards
    mseberg
    Edited by: mseberg on Jun 29, 2012 11:12 AM

  • Successfully Opened STANDBY DB!!

    Hi all,
    i just tried to open my standby DB!!
    i never thought this is so easy!!
    i had a document to from net which i refered!!(Thanx to that)!!
    below mentioned are the steps i did!!(for the help or reference, for any user)
    Rgegard!!
    =========================================
    SQL*Plus: Release 9.2.0.1.0 - Production on Sat Jun 30 14:23:36 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> conn sys@standby as sysdba
    Enter password: ******
    Connected.
    SQL> ed
    SP2-0107: Nothing to save.
    SQL> select
    2
    SQL> ed
    Wrote file afiedt.buf
    1* ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH
    SQL> /
    Database altered.
    SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
    ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY
    ERROR at line 1:
    ORA-16139: media recovery required
    SQL> ed
    Wrote file afiedt.buf
    1* ALTER DATABASE ACTIVATE STANDBY DATABASE SKIP STANDBY LOGFILE
    SQL> /
    ALTER DATABASE ACTIVATE STANDBY DATABASE SKIP STANDBY LOGFILE
    ERROR at line 1:
    ORA-01507: database not mounted
    SQL> ed
    Wrote file afiedt.buf
    SQL> shut imemdiate
    SP2-0717: illegal SHUTDOWN option
    SQL> shut immediate
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup nomount pfile=E:\oracle\oradata\pfile\init.ora
    ORACLE instance started.
    Total System Global Area 312024024 bytes
    Fixed Size 453592 bytes
    Variable Size 159383552 bytes
    Database Buffers 150994944 bytes
    Redo Buffers 1191936 bytes
    SQL> recover standby database;
    ORA-01507: database not mounted
    SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO primary;
    ALTER DATABASE COMMIT TO SWITCHOVER TO primary
    ERROR at line 1:
    ORA-01507: database not mounted
    SQL> ALTER DATABASE ACTIVATE STANDBY DATABASE;
    ALTER DATABASE ACTIVATE STANDBY DATABASE
    ERROR at line 1:
    ORA-01507: database not mounted
    SQL> ALTER DATABASE ACTIVATE STANDBY DATABASE;
    ALTER DATABASE ACTIVATE STANDBY DATABASE
    ERROR at line 1:
    ORA-01507: database not mounted
    SQL> alter database mount standby database;
    alter database mount standby database
    ERROR at line 1:
    ORA-01665: controlfile is not a standby controlfile
    SQL> disconn
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> conn sys@standby as sysdba
    Enter password: ******
    Connected.
    SQL> shut immediate
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> disconn
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> conn sys@standby as sysdba
    Enter password: ******
    ERROR:
    ORA-01031: insufficient privileges
    =================================
    2nd day gave a try
    ================================
    SQL> conn sys@standby as sysdba
    Enter password: ******
    Connected to an idle instance.
    SQL> startup nomount pfile=e:\oracle\oradata\pfile\init.ora
    ORACLE instance started.
    Total System Global Area 312024024 bytes
    Fixed Size 453592 bytes
    Variable Size 159383552 bytes
    Database Buffers 150994944 bytes
    Redo Buffers 1191936 bytes
    SQL> ed
    Wrote file afiedt.buf
    1* SELECT THREAD#, LOW_SEQUENCE#, HIGH_SEQUENCE# FROM V$ARCHIVE_GAP
    SQL> /
    SELECT THREAD#, LOW_SEQUENCE#, HIGH_SEQUENCE# FROM V$ARCHIVE_GAP
    ERROR at line 1:
    ORA-01507: database not mounted
    SQL> ed
    Wrote file afiedt.buf
    1* ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH
    SQL> /
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH
    ERROR at line 1:
    ORA-01507: database not mounted
    SQL> alter database mount standby database;
    alter database mount standby database
    ERROR at line 1:
    ORA-01665: controlfile is not a standby controlfile
    SQL> alter database mount;
    Database altered.
    SQL> alter database startup;
    alter database startup
    ERROR at line 1:
    ORA-02231: missing or invalid option to ALTER DATABASE
    SQL> alter database open
    2 ;
    Database altered.
    SQL> conn excise/excise@standby as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    Warning: You are no longer connected to ORACLE.
    SQL> conn excise/excise@standby;
    Connected.
    SQL> conn excise/excise@standby;
    Connected.
    SQL> conn sys@standby as sysdba
    Enter password: ******
    Connected.
    SQL> shut immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup open pfile=e:\oracle\oradata\pfile\init.ora
    ORACLE instance started.
    Total System Global Area 312024024 bytes
    Fixed Size 453592 bytes
    Variable Size 159383552 bytes
    Database Buffers 150994944 bytes
    Redo Buffers 1191936 bytes
    Database mounted.
    Database opened.
    SQL> shut immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL>

    Actually we had basically problem with Standby Setup initially.
    we couldn't able to create it properly..when we did it. i thought if it is ok now ,then
    how could we open it as a primary if any problem occurs?
    then we had a problem(not a major one) with primary..then we stopped standby DB.
    then i decided now for practice make it online..
    the document i refered was on
    http://www.dbasupport.com/forums/archive/index.php/t-47575.html
    Many thanx to the Author.
    Thanx to
    all the OTN members for help and Informations/Knowledge they Spread!!
    Regrads!!

  • Sleep and hibernation is working on Server 2012 with started hypervisor! I do not know why...

    Hi,
    I enabled Hyper-V role in the Microsoft Windows Server 2012 on testing computer (PC with i7 CPU and 16GB RAM). I found very strange behavior. The sleep mode was enabled and after command “powercfg /hibernation on” the hibernation is also working.
    I tested sleep (S3) and hibernation with started hypervisor and with running virtual machine. I tested sleep and hibernation triggered by power button and even with time-out that was set in the Power Options (I set sleep after 1 minute and
    later hibernate after 1 minute and wait).
    Sleep and hibernation is working! I do not understand why. Sleep and hibernation should be functional only on Client Hyper-V on Windows 8 and not on the Server 2012.
    Some examples:
    Testing workstation (i7, 16GB RAM) with Server 2012 and with started hypervisor:
    C:\Users\Administrator>powercfg /a
    The following sleep states are available on this system:
        Standby (S3)
        Hibernate
        Fast Startup
    The following sleep states are not available on this system:
        Standby (S1)
            The system firmware does not support this standby state.
        Standby (S2)
            The system firmware does not support this standby state.
        Standby (Connected)
            The hypervisor does not support this standby state.
            The system firmware does not support this standby state.
        Hybrid Sleep
            The hypervisor does not support this standby state.
    My laptop (i5, 8GB RAM) with Server 2012 and with started hypervisor:
    >powercfg /a
    The following sleep states are not available on this system:
        Standby (S1)
            The system firmware does not support this standby state.
            An internal system component has disabled this standby state.
                    Hypervisor
        Standby (S2)
            The system firmware does not support this standby state.
            An internal system component has disabled this standby state.
                    Hypervisor
        Standby (S3)
            An internal system component has disabled this standby state.
                    Hypervisor
        Hibernate
            An internal system component has disabled hibernation.
                    Hypervisor
        Standby (Connected)
            The hypervisor does not support this standby state.
            The system firmware does not support this standby state.
        Hybrid Sleep
            Standby (S3) is not available.
            Hibernation is not available.
            The hypervisor does not support this standby state.
        Fast Startup
            Hibernation is not available.
    R. Revil
    Relef Revil

    Hi Ben,
    I have nearly exactly the same Problem as Relef Revil.
    I have Lenovo T510 Notebook with Core I7 and a Lenovo T420 Notebook with a CoreI5.
    On my T510 S3 Sleep works perfectly with Hyper-V Role. On my T420 Sleep is disabled due to Hypervisor.
    If I uninstall Hyper-V Role then Sleep works again as expected.
    So, from a Little simple perspective, I Looks like this is a Hyper-V Thing or Problem.
    I have als updated to the latest BIOS and latest Intel HD Graphics 3000 Drivers on this Win 2012R2 Maschine.
    Also I have installed all possbile latest Versions of all other devices.
    Could you probably give me an idea where to search for a solution.
    So, what is the logic why Hyper-V disables sleep, when Sleep worked before?
    I assumed that Hyper-V and Sleep ist generally possible on Win2012R2, especially when Sleep works perfectly when Hyper-V Role is not installed.
    Kind Regards
    Marcus
    C:\Users\Marcus.Koenig>powercfg /a
    The following sleep states are not available on this system:
    Standby (S1)
    The system firmware does not support this standby state.
    An internal system component has disabled this standby state.
    Hypervisor
    Standby (S2)
    The system firmware does not support this standby state.
    An internal system component has disabled this standby state.
    Hypervisor
    Standby (S3)
    An internal system component has disabled this standby state.
    Hypervisor
    Hibernate
    An internal system component has disabled hibernation.
    Hypervisor
    Standby (Connected)
    The hypervisor does not support this standby state.
    The system firmware does not support this standby state.
    Hybrid Sleep
    Standby (S3) is not available.
    Hibernation is not available.
    The hypervisor does not support this standby state.
    Fast Startup
    Hibernation is not available.
    C:\Users\Marcus.Koenig>

  • Error while deleting instance in 10g RAC

    Hi,
    I am trying to delete an instance in node 3 using DBCA. I am in node 2 and when I give username and password (Instance Management --> Delete Instance) i get the following error
    "SID given in connect descriptor could not be resolved.
    Connection to the database failed. Please make sure that service "xxxxxx" is registered with the listener. Username Sys has SYSDBA privleges, password is correct and then try again."
    The local_listener parameter is set to the listener name.
    Please provide suggestions...Its urgent.

    Hello,
    I think you should refer to this Doc ID:  269320.1 : Removing a Node from a 10g RAC Cluster ; this might be helpful to you. You can also try srvctl command to remove instance from the RAC and follow the instructions.
    Make sure you take backup of OCR before removing the node /instances.
    Can you connect from node2 to node 2 using explicit connection string, how is your tnsnames.ora configured? If not able to connect correct that issue and try again
      sqlplus username/password@NODE3_INSTANCE;
    Regards

  • Active Directory Domain Services crash after Administrator renames object in Active Directory Users and Computers

    Hello.
    We have two domain controllers - node1 (Windows 2008 R2) and node2 (Windows 2012 R2). When administrator connects to node2 and tries to rename some object in AD (for example, user) AD Domain Services crashes and reboot server after 60 seconds.
    In Events I can see these messages:
    Log Name:      Directory Service
    Source:        Microsoft-Windows-ActiveDirectory_DomainService
    Date:          04.03.2014 12:37:58
    Event ID:      1173
    Task Category: Internal Processing
    Level:         Warning
    Keywords:      Classic
    User:          domain\admin
    Computer:      NODE2.domain.example
    Description:
    Internal event: Active Directory Domain Services has encountered the following exception and associated parameters.
    Exception:
    c0000005
    Parameter:
    0
    Additional Data
    Error value:
    7ffc7c38e45d
    Internal ID:
    0
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-ActiveDirectory_DomainService" Guid="{0e8478c5-3605-4e8c-8497-1e730c959516}" EventSourceName="NTDS General" />
        <EventID Qualifiers="32768">1173</EventID>
        <Version>0</Version>
        <Level>3</Level>
        <Task>9</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2014-03-04T06:37:58.116264800Z" />
        <EventRecordID>881</EventRecordID>
        <Correlation />
        <Execution ProcessID="572" ThreadID="2580" />
        <Channel>Directory Service</Channel>
        <Computer>NODE2.domain.example</Computer>
        <Security UserID="S-1-5-21-3794920928-4165619442-305938157-2047" />
      </System>
      <EventData>
        <Data>c0000005</Data>
        <Data>7ffc7c38e45d</Data>
        <Data>0</Data>
        <Data>0</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Microsoft-Windows-Wininit
    Date:          04.03.2014 12:37:58
    Event ID:      1015
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NODE2.domain.example
    Description:
    A critical system process, C:\Windows\system32\lsass.exe, failed with status code c0000005.  The machine must now be restarted.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Wininit" Guid="{206f6dea-d3c5-4d10-bc72-989f03c8b84b}" EventSourceName="Wininit" />
        <EventID Qualifiers="49152">1015</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-03-04T06:37:58.000000000Z" />
        <EventRecordID>189578</EventRecordID>
        <Correlation />
        <Execution ProcessID="0" ThreadID="0" />
        <Channel>Application</Channel>
        <Computer>NODE2.domain.example</Computer>
        <Security />
      </System>
      <EventData>
        <Data>C:\Windows\system32\lsass.exe</Data>
        <Data>c0000005</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Application Error
    Date:          04.03.2014 12:37:58
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NODE2.domain.example
    Description:
    Faulting application name: lsass.exe, version: 6.3.9600.16384, time stamp: 0x5215e25f
    Faulting module name: ntdsai.dll, version: 6.3.9600.16421, time stamp: 0x524fcaed
    Exception code: 0xc0000005
    Fault offset: 0x000000000019e45d
    Faulting process id: 0x23c
    Faulting application start time: 0x01cf3773fe973e1b
    Faulting application path: C:\Windows\system32\lsass.exe
    Faulting module path: C:\Windows\system32\ntdsai.dll
    Report Id: 85cfbe32-a367-11e3-80cc-00155d006724
    Faulting package full name:
    Faulting package-relative application ID:
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-03-04T06:37:58.000000000Z" />
        <EventRecordID>189576</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NODE2.domain.example</Computer>
        <Security />
      </System>
      <EventData>
        <Data>lsass.exe</Data>
        <Data>6.3.9600.16384</Data>
        <Data>5215e25f</Data>
        <Data>ntdsai.dll</Data>
        <Data>6.3.9600.16421</Data>
        <Data>524fcaed</Data>
        <Data>c0000005</Data>
        <Data>000000000019e45d</Data>
        <Data>23c</Data>
        <Data>01cf3773fe973e1b</Data>
        <Data>C:\Windows\system32\lsass.exe</Data>
        <Data>C:\Windows\system32\ntdsai.dll</Data>
        <Data>85cfbe32-a367-11e3-80cc-00155d006724</Data>
        <Data>
        </Data>
        <Data>
        </Data>
      </EventData>
    </Event>
    In node2 we installed all available updates and hotfixes.

     Hi Azamat Hackimov,
    Regarding to error messages, it seems that the
    ntdsai.dll file caused the issue. Based on current situation, please use
    sfc /scannow command to scan protected system files and check if find error and repair. Meanwhile, you can also navigate to the location of this DLL file and confirm details.
    In addition, Windows Server 2012 R2 has reboot unexpectedly. Please check if you get some dump file and then analysis it. It may help us to find the root reason. Please refer
    to the following KB.
    How to read the small dump memory dump file that is created by Windows if a crash occurs.
    http://support.microsoft.com/kb/315263/en-us
    By the way, it is not effective for us to debug the crash dump file here in the forum. If this issues is a state of emergency for you. Please contact Microsoft Customer Service
    and Support (CSS) via telephone so that a dedicated Support Professional can assist with your request.
    To obtain the phone numbers for specific technology request, please refer to the web site listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
    Hope this helps.
    Best regards,
    Justin Gu

  • Oracle RAC 11G - Service configuration

    Hi,
    I have been reading a lot of documentation regarding oracle services and I have an ok understanding of how they work. However, I have a general question regarding configuring services using Oracle RAC. For instance, if I have a 2 node oracle 11GR2 RAC on a Linux Redhat server. I have an application that connects to a service I have created. I create the service as follows.
    srvctl add service -d ORCL_RAC -s APP_SERVICE -r ORCL_RAC1,ORCL_RAC2
    The tnsnames contains:
    APP_OLTP =
    (DESCRIPTION =
    (LOAD_BALANCE = ON)
    (FAILOVER = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = server01)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = server02)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = APP_SERVICE)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 20)
    (DELAY = 1)
    My questions are as follows:
    1) When I do a 'srvctl status service -d ORCL_RAC', should I see the service running on both nodes of the RAC? Or does it run only one node, then it will fail over to the other when needed?
    2) If I have a RAC environment where I see two services created (RAC_SRV1 and RAC_SRV2). I see that RAC_SRV1 is only running on node1 and RAC_SRV2 is only running on node2. There are two applications sharing the same database, one application is using RAC_SRV1 and the other application is using RAC_SRV2. Am I correct in thinking that there is no failover available here? If node1 goes down, the application connecting to RAC_SRV1 will not be able to connect to node2 right?
    3) In the case of the scenario in question 2 above, would it be best practise to simply create one service and have both applications connecting to the one service? Could I configure the one service to point connections from one application to node1 and connections from the other application to node2?

    1) When I do a 'srvctl status service -d ORCL_RAC', should I see the service running on both nodes of the RAC? Or does it run only one node, then it will fail over to the other when needed?you can see its running on both nodes.
    use option -a in srvctl ( A list of available instances to which the service fails over when the database is administrator managed.)
    http://docs.oracle.com/cd/E11882_01/rac.112/e16795/srvctladmin.htm#i1008562
    2) If I have a RAC environment where I see two services created (RAC_SRV1 and RAC_SRV2). I see that RAC_SRV1 is only running on node1 and RAC_SRV2 is >only running on node2. There are two applications sharing the same database, one application is using RAC_SRV1 and the other application is using RAC_SRV2. Am >I correct in thinking that there is no failover available here? If node1 goes down, the application connecting to RAC_SRV1 will not be able to connect to node2 >right?All depend on your service configuration. check it by srvctl config
    3) In the case of the scenario in question 2 above, would it be best practise to simply create one service and have both applications connecting to the one >service? Could I configure the one service to point connections from one application to node1 and connections from the other application to node2? better create two service ,one for each application with specific node and other node in available list.

  • ORA-01033: ORACLE initialization or shutdown in progress at client side

    This is my client TNS entry
    myApp =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primhost)(PORT = 1944))
    (ADDRESS = (PROTOCOL = TCP)(HOST = dghost)(PORT = 1946))
    (CONNECT_DATA =
    (SERVICE_NAME = dbname)
    I have 2 listeners configured on the Primary, running at 1944 and second one at 2873 which is for shipping the redo to standby
    I have 2 listeners configured on standby one running at 1946 and second one at 2873 which is for shipping redo back to primary during switchover
    So i tried client TNS entry with PORT 2873 as well, still i get the same error. Even tried with FAILOVER=yes, still i got the same error.
    Any help is aprreciated

    Hello;
    Odd setup ( No offense ).
    This error is not a listener issue generally. In fact if the Standby is in Mount it could be normal.
    Error ORA-1033 is expected for connections when they attempt to connect to standby instance, because it is mounted and not open.
    Can you try to connect as sys from the Primary to the Standby and then the other way. The Primary to Standby connect should error.
    Example from Standby
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> connect sys/<sys_password>@primary as sysdba
    Connected.
    SQL> Best Regards
    mseberg
    h2. Comment
    There was a large debate about having multiple listeners in the General forum a while back which I stayed away from. I try very hard not to tell people strong opinions, sometimes its very hard.
    But in this case I would consider ditching the multiple listener setup. I believe it gives you nothing, and just makes things more complex.
    Here's that thread :
    How to configure multiple listeners
    Edited by: mseberg on Jul 19, 2012 3:05 PM

Maybe you are looking for