RMAN Connections To Primary DB While Creating Standby With Active Database

OS Version : AIX 6.1
DB Version : 11.2.0.1
I am creating a standby database with active database option (without any backups). When i am checking number of connections in my primary database, i can see 3 rman connections
from the standby machine. How oracle reaches to a conclusion of 3 sessions ? Is this number fix or this number can be manipulated with requirment ?
SQL> select sid,serial#,program from v$session;
       SID    SERIAL# PROGRAM
         1          1 oracle@cph-core-db01-s (DIA0)
         2          1 oracle@cph-core-db01-s (MMNL)
         3          1 oracle@cph-core-db01-s (QMNC)
        32          1 oracle@cph-core-db01-s (MMAN)
        33          1 oracle@cph-core-db01-s (DMON)
        34          3 oracle@cph-core-db01-s (Q000)
        63          1 oracle@cph-core-db01-s (PMON)
        64          1 oracle@cph-core-db01-s (DBW0)
        65          3 sqlplus@cph-core-db01-s (TNS V1-V3)
        66         10 oracle@cph-core-db01-s (Q001)
        94          1 oracle@cph-core-db01-s (VKTM)
       SID    SERIAL# PROGRAM
        95          1 oracle@cph-core-db01-s (LGWR)
        96          3 oracle@cph-core-db01-s (INSV)
        *97         27 rman@cph-core-db02-s (TNS V1-V3)*
       125          1 oracle@cph-core-db01-s (GEN0)
       126          1 oracle@cph-core-db01-s (CKPT)
       127          3 oracle@cph-core-db01-s (ARC0)
       *129         18 rman@cph-core-db02-s (TNS V1-V3)*
       156          3 oracle@cph-core-db01-s (ARC1)
       157          1 oracle@cph-core-db01-s (DIAG)
       158          1 oracle@cph-core-db01-s (SMON)
       159         12 oracle@cph-core-db01-s (SMCO)
       SID    SERIAL# PROGRAM
       187          1 oracle@cph-core-db01-s (DBRM)
       188          1 oracle@cph-core-db01-s (RECO)
       189          1 oracle@cph-core-db01-s (ARC2)
       192          2 oracle@cph-core-db01-s (W000)
       218          1 oracle@cph-core-db01-s (PSP0)
       219          1 oracle@cph-core-db01-s (MMON)
       221          1 oracle@cph-core-db01-s (ARC3)
       *222          3 rman@cph-core-db02-s (TNS V1-V3)*

Check for the RMAN parallelism in standby database it might be set to 3.
RMAN> show all;
or
Might be you had allocated 3 channels while executing active standby database query.

Similar Messages

  • Gating error while creating standby database in oracle 11g

    Dear Gurus
    I am getting following error while creating standby database. My database version is oracle 11g 11.2.0.1 in Redhat 5.2
    RMAN> duplicate target database for standby from active database;
    Starting Duplicate Db at 10-MAY-12
    using channel ORA_AUX_DISK_1
    contents of Memory Script:
    backup as copy reuse
    targetfile '/oracle/product/11.2.0/dbhome_1/dbs/orapworcl' auxiliary format
    '/oracle/product/11.2.0/dbhome_1/dbs/orapwstdb' ;
    executing Memory Script
    Starting backup at 10-MAY-12
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/10/2012 15:44:18
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/10/2012 15:44:18
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    ORA-17629: Cannot connect to the remote database server
    RMAN>
    Regards
    Rabi

    Hello;
    Generally for the connection to work you need to add something like this to the listener.ora file :
    (SID_DESC =
        (global_dbname = STANDBY.hostname)
        (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
        (sid_name = STANDBY)
    )You should stop and start the listener on the Standby after adding this. Also your tnsnames.ora must be correct on both the primary and the Standby.
    Also you need an INIT for the Standby side :
    STANDBY.__db_cache_size=343932928
    STANDBY.__java_pool_size=4194304
    STANDBY.__large_pool_size=4194304
    STANDBY.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    STANDBY.__pga_aggregate_target=281018368
    STANDBY.__sga_target=834666496
    STANDBY.__shared_io_pool_size=0
    STANDBY.__shared_pool_size=469762048
    STANDBY.__streams_pool_size=0
    audit_file_dest='/u01/app/oracle/admin/PRIMARY/adump'
    audit_trail='db'
    compatible='11.2.0.0.0'
    control_files='/u01/app/oracle/oradata/PRIMARY/control01.ctl','/u01/app/oracle/oradata/PRIMARY/control02.ctl'
    db_block_size=8192
    db_domain='SOME.DOMAIN.COM'
    db_flashback_retention_target=2880
    db_name='PRIMARY'
    db_recovery_file_dest_size=2147483648
    db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    diagnostic_dest='/u01/app/oracle'
    dispatchers='(PROTOCOL=TCP) (SERVICE=PRIMARYXDB)'
    log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
    open_cursors=300
    pga_aggregate_target=277872640
    processes=150
    remote_login_passwordfile='EXCLUSIVE'
    sga_target=833617920
    undo_tablespace='UNDOTBS1'
    log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
    log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) '
    LOG_ARCHIVE_DEST_STATE_1=ENABLE
    LOG_ARCHIVE_DEST_STATE_2=DEFER
    LOG_ARCHIVE_MAX_PROCESSES=30
    FAL_SERVER=STANDBY
    STANDBY_FILE_MANAGEMENT=AUTO
    DB_UNIQUE_NAME=STANDBYFinally
    startup nomount
    Start RMAN and issue duplicate command
    $ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
    RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
    Keys to success
    1. New Standby start NOMOUNT on new password file. ( On Oracle 11 you must copy and rename the file from Primary server )
    2. Hard coded listener on new Standby server.
    3. Correct tnsnames.ora files.
    4. Correct duplicate command.
    Please consider closing some of you old answered questions
    Best Regards
    mseberg
    Edited by: mseberg on May 10, 2012 7:06 AM

  • 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

  • RMAN DUPLICATE FOR STANDBY FROM ACTIVE DATABASE fails

    Hello
    I'm trying to use RMAN DUPLICATE to create a standby database using Oracle 11.2.0.3 with PSU 6 on HP-UX.
    Primary is 2 node RAC. Standby is also 2 node RAC.
    Standby database instance is started in nomount mode.
    I use:
    duplicate target database for standby from active database
      spfile
      <some spfile parameters>
    with PFILE I get:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/01/2013 12:41:13
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of sql command on clone_default channel at 10/01/2013 12:41:13
    RMAN-11003: failure during parse/execution of SQL statement: alter system set spfile= '/opt/oracle/db11203/dbs/spfileCU1.ora'
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-01565: error in identifying file '/opt/oracle/db11203/dbs/spfileCU1.ora'
    ORA-27037: unable to obtain file status
    HPUX-ia64 Error: 2: No such file or directory
    With SPFILE I get;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/01/2013 13:06:34
    RMAN-05501: aborting duplication of target database
    RMAN-05537: DUPLICATE without TARGET connection when auxiliary instance is started with spfile cannot use SPFILE clause
    But I do have RMAN connexion to target database.
    Thanks for your help.

    Here is the output beginning of the script which clearly shows that I'm always connected to target database:
    Recovery Manager: Release 11.2.0.3.0 - Production on Tue Oct 1 13:05:47 2013
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: CU (DBID=1143962925)
    connected to auxiliary database: CU (not mounted)
    RMAN> set echo on
    2> run
    3> {
    4>  configure device type disk parallelism 10;
    5>   allocate channel pr1 type disk;
    6>   allocate channel pr2 type disk;
    7>   allocate channel pr3 type disk;
    8>   allocate channel pr4 type disk;
    9>   allocate channel pr5 type disk;
    10>   allocate channel pr6 type disk;
    11>   allocate channel pr7 type disk;
    12>   allocate channel pr8 type disk;
    13>   allocate channel pr9 type disk;
    14>   allocate channel pr10 type disk;
    15>   allocate auxiliary channel st1 type disk;
    16>   allocate auxiliary channel st2 type disk;
    17>   allocate auxiliary channel st3 type disk;
    18>   allocate auxiliary channel st4 type disk;
    19>   allocate auxiliary channel st5 type disk;
    20>   allocate auxiliary channel st6 type disk;
    21>   allocate auxiliary channel st7 type disk;
    22>   allocate auxiliary channel st8 type disk;
    23>   allocate auxiliary channel st9 type disk;
    24>   allocate auxiliary channel st10 type disk;
    25>   duplicate target database for standby from active database
    26>   spfile

  • Error while Creating form on remote Database

    Hi All
    I m getting error while creating form on remote database thru
    Database link
    Line/Column Error
    7099/21 PLS-00454: with a returning into clause, the table
    expression cannot be remote or a subquery
    7099/9 PL/SQL: SQL Statement ignored
    7749/16 PLS-00454: with a returning into clause, the table
    expression cannot be remote or a subquery
    7749/9 PL/SQL: SQL Statement ignored
    and statement at line specified is insert statement. and at end
    of insert statement Returning caluse is there as follows
    RETURNING ROWID INTO "_ROWID";
    This returning clause is causing error. Does anybody knows how
    to handel it??
    Thanks
    Yogesh

    Yogesh
    I haven't seen the ora-03116 problem.
    What version of Portal are you running? Are the databases at the same version? Does your table have longs or anything strange in it?
    Can you query the table via the synonyms and link in sqlplus as the application schema? This is a good test because it eliminates Portal.
    You should try setting up synonyms etc for the emp table. If you still get the problem then Oracle may be able to replicate it. If not, then there's sth funny about your table maybe.
    I agree with Vishnu about creating everything in sqlplus. I create all my links and synonyms in sqlplus. They are all public. I have 2 synonyms: one takes you over the link the other takes you to the right schema. It's flexible and it works.
    data database: D grants to P (local schema) on table T
    public syn T = D.T (sys) (get the right schema)
    portal dbase : public db link to data database connecting as P
    public syn T = T@dblink (sys) (over the link)
    P is a schema created in both databases.
    Test is: P in portal dbase can "select * from T" and gets the right data.
    I never, ever refer to a schema when defining a form. ie. never P.T or D.T or whatever. I always refer simply to a synonym. For the above my form would be defined simply on the table T.
    Hope this helps
    Greg

  • Problem while Creating MVLOG with synonym in Oracle 9i:Is it an Oracle Bug?

    Hi All,
    I am facing a problem while Creating MVLOG with synonym in Oracle 9i but for 10G it is working fine. Is it an Oracle Bug? or i am missing something.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
      2  REFRESH ON DEMAND
      3  WITH PRIMARY KEY
      4  AS
      5  SELECT name,id
      6  FROM syn_t;
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
      2  WITH PRIMARY KEY
      3   (name)
      4    INCLUDING NEW VALUES;
    Materialized view log created.
    SQL> select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE    9.2.0.6.0       Production
    TNS for Solaris: Version 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
    REFRESH ON DEMAND
    WITH PRIMARY KEY
    AS
      2    3    4    5  SELECT name,id
    FROM syn_t;   6
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
    WITH PRIMARY KEY
    (name)
      INCLUDING NEW VALUES;  2    3    4
    CREATE MATERIALIZED VIEW LOG ON  MV_t
    ERROR at line 1:
    ORA-12014: table 'MV_T' does not contain a primary key constraintRegards
    Message was edited by:
    Avinash Tripathi
    null

    Hi Nicloei,
    Thanks for the reply. Actually i don't want any work around (Creating MVLOG on table rather than synonym is fine with me) . I just wanted to know it is actually an oracle bug or something else.
    Regards
    Avinash

  • Check while creating PR with account assignment K

    Hi Gurus,
    Can I put a check while creating PRs for account assignment category K, that only statistical order number range is allowed.
    In other words, user should not be allowed to put any internal order other than statistical order in PR, while creating it with account assignment category K..
    Thanks in Advance,
    Vikash

    Hi,
    You can check on business transaction RMBA - it's the purchase requisition. Set it to prerequisites and for the validation select the order type (it's better than a number range - I believe you use different order types for real/statistical I/O) from AUFK (you will see this structure as available, when creating a validation). If you do use the same order type, then check on I/O itself COBL-AUFNR.
    Regards,
    Eli

  • Problem while creating xml with cdata section

    Hi,
    I am facing problem while creating xml with cdata section in it. I am using Oracle 10.1.0.4.0 I am writing a stored procedure which accepts a set of input parameters and creates a xml document from them. The code snippet is as follows:
    select xmlelement("DOCUMENTS",
    xmlagg
    (xmlelement
    ("DOCUMENT",
    xmlforest
    (m.document_name_txt as "DOCUMENT_NAME_TXT",
    m.document_type_cd as "DOCUMENT_TYPE_CD",
    '<![cdata[' || m.document_clob_data || ']]>' as "DOCUMENT_CLOB_DATA"
    ) from table(cast(msg_clob_data_arr as DOCUMENT_CLOB_TBL))m;
    msg_clob_data_arr is an input parameter to procedure and DOCUMENT_CLOB_TBL is a pl/sql table of an object containing 3 attributes: first 2 being varchar2 and the 3rd one as CLOB. The xml document this query is generating is as follows:
    <DOCUMENTS>
    <DOCUMENT>
    <DOCUMENT_NAME_TXT>TestName</DOCUMENT_NAME_TXT>
    <DOCUMENT_TYPE_CD>BLOB</DOCUMENT_TYPE_CD>
    <DOCUMENT_CLOB_DATA>
    &lt;![cdata[123456789012345678901234567890123456789012]]&gt;
    </DOCUMENT_CLOB_DATA>
    </DOCUMENT>
    </DOCUMENTS>
    The problem is instead of <![cdata[....]]> xmlforest query is encoding everything to give &lt; for cdata tag. How can I overcome this? Please help.

    SQL> create or replace function XMLCDATA_10103 (elementName varchar2,
      2                                             cdataValue varchar2)
      3  return xmltype deterministic
      4  as
      5  begin
      6     return xmltype('<' || elementName || '><![CDATA[' || cdataValue || ']]>
      7  end;
      8  /
    Function created.
    SQL>  select xmlelement
      2         (
      3            "Row",
      4            xmlcdata_10103('Junk','&<>!%$#&%*&$'),
      5            xmlcdata_10103('Name',ENAME),
      6            xmlelement("EMPID", EMPNO)
      7         ).extract('/*')
      8* from emp
    SQL> /
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SMITH]]></Name>
      <EMPID>7369</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ALLEN]]></Name>
      <EMPID>7499</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[WARD]]></Name>
      <EMPID>7521</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JONES]]></Name>
      <EMPID>7566</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MARTIN]]></Name>
      <EMPID>7654</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[BLAKE]]></Name>
      <EMPID>7698</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[CLARK]]></Name>
      <EMPID>7782</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SCOTT]]></Name>
      <EMPID>7788</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[KING]]></Name>
      <EMPID>7839</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[TURNER]]></Name>
      <EMPID>7844</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ADAMS]]></Name>
      <EMPID>7876</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JAMES]]></Name>
      <EMPID>7900</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[FORD]]></Name>
      <EMPID>7902</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MILLER]]></Name>
      <EMPID>7934</EMPID>
    </Row>
    14 rows selected.
    SQL>

  • Net_PRICE problem while creating PO with BAPI_PO_CREATE1 ***ASAP

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

  • Standby from active database

    Hello,
    I am attempting to create a physical standby database, following this guide:
    http://www.oracle.com/global/uk/education/downloads/uwe_data_guard.pdf
    as well as the oracle documentation on Data Guard. Using Oracle 11gR2 patched at #7 running on Windows Server 2008.
    I've set all the parameters, created password files and checked connectivity. Hopefully correctly. I will post pfile exports at the end.
    Here is where I hit a dead end.
    RMAN> connect target system/password@HPROD89
    connected to target database : HPROD89 (DBID)
    RMAN> connect auxiliary sys/password@HPROD89STND
    connected to auxiliary database: HPROD89STND (not mounted)
    RMAN> duplicate target database for standby from active database;Error from spool. I need to spool the file to get the error code, otherwise the only thing rman provides is a "error message stack follows" message with nothing after that.
    RMAN-03002: failure of Duplicate Db command at 11/19/2010 21:24:04
    RMAN-06136: ORACLE error from auxiliary database: ORA-03114: not connected to ORACLEI'm running rman on the standby server with the database in NOMOUNT as the guide linked above suggests. This raises a simple question to start with: what server do I run rman on? The one with the primary database, or on the standby?
    I hope it's just because it's getting late, but this issue has me confused .. rman clearly connects the auxiliary, but when trying to perform the actual duplication, it's not connected.
    Thanks for input.
    Regards.

    primary parameters:
    hprod89.__db_cache_size=3825205248
    hprod89.__java_pool_size=33554432
    hprod89.__large_pool_size=33554432
    hprod89.__oracle_base='C:\app\oracle'#ORACLE_BASE set from environment
    hprod89.__pga_aggregate_target=4127195136
    hprod89.__sga_target=6375342080
    hprod89.__shared_io_pool_size=0
    hprod89.__shared_pool_size=2415919104
    hprod89.__streams_pool_size=0
    *._gby_hash_aggregation_enabled=FALSE
    *._unnest_subquery=FALSE
    *.audit_file_dest='C:\app\oracle\admin\HPROD89\adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='E:\oracle\oradata\HPROD89\controlfiles\control01.ctl','E:\oracle\oraflash\HPROD89\controlfiles\control02.ctl'
    *.db_block_size=8192
    *.db_domain='ad.rferl.org'
    *.db_file_name_convert='E:\oracle\oradata\HPROD89STND\datafiles\','E:\oracle\oradata\HPROD89\datafiles\'
    *.db_files=1021
    *.db_name='HPROD89'
    *.db_recovery_file_dest='E:\oracle\oraflash'
    *.db_recovery_file_dest_size=104857600000
    *.diagnostic_dest='C:\app\oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=HPROD89XDB)'
    *.fal_server='HPROD89STND'
    *.log_archive_config='dg_config=(HPROD89, HPROD89STND)'
    *.log_checkpoint_interval=0
    *.log_checkpoint_timeout=0
    *.log_file_name_convert='E:\oracle\oradata\HPROD89STND\redologs\','E:\oracle\oradata\HPROD89\redologs\'
    *.memory_target=10485760000
    *.nls_language='ENGLISH'
    *.nls_length_semantics='CHAR'
    *.nls_territory='CZECH REPUBLIC'
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.standby_file_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    standby:
    hprod89stnd.__db_cache_size=5100273664
    hprod89stnd.__java_pool_size=33554432
    hprod89stnd.__large_pool_size=33554432
    hprod89stnd.__oracle_base='C:\app\oracle'#ORACLE_BASE set from environment
    hprod89stnd.__pga_aggregate_target=4227858432
    hprod89stnd.__sga_target=6274678784
    hprod89stnd.__shared_io_pool_size=0
    hprod89stnd.__shared_pool_size=1040187392
    hprod89stnd.__streams_pool_size=0
    *._gby_hash_aggregation_enabled=FALSE
    *._unnest_subquery=FALSE
    *.audit_file_dest='C:\app\oracle\admin\HPROD89STND\adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='E:\oracle\oradata\HPROD89STND\controlfiles\control01.ctl','E:\oracle\oraflash\HPROD89STND\controlfiles\control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_name_convert='E:\oracle\oradata\HPROD89\datafiles\','E:\oracle\oradata\HPROD89STND\datafiles\'
    *.db_files=1021
    *.db_name='HPROD89S'
    *.db_recovery_file_dest='E:\oracle\oraflash'
    *.db_recovery_file_dest_size=104857600000
    *.db_unique_name='HPROD89STND'
    *.diagnostic_dest='C:\app\oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=HPROD89STNDXDB)'
    *.log_checkpoint_interval=0
    *.log_checkpoint_timeout=0
    *.log_file_name_convert='E:\oracle\oradata\HPROD89\redologs\','E:\oracle\oradata\HPROD89STND\redologs\'
    *.memory_target=10485760000
    *.nls_language='ENGLISH'
    *.nls_length_semantics='CHAR'
    *.nls_territory='CZECH REPUBLIC'
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'

  • Is it possible to create report with two databases in Web Analysis Studio

    Hi,
    I am new to Hyperion Web Analysis, Could anyone help me out, whether its possible to create report with two databases for eg: OLAP(ESSBASE) and relational.
    Thanks & Regards,
    Prashanthi.

    Hi Mohit,
    Thanks for the reply, could you throw out some scenario so that i can try it out.As I am just trying my hands wet on this would like to know in detail & even i have gone through WA user guide but dint get any clue. Please throw some light.
    thanks
    prasanthi

  • Error while creating standby database for ebs prod database

    Hi,
    We are getting error while trying to create a standby database for EBS database by using RMAN DUPLICATE commands,
    Steps followed:
    1.) Backup the primary database (Ebs PROD db). This was done on 12-Mar-2012
    ***RMAN backups are scheduled to run @10:00 pm every night. Flash Recovery Area has been configured and backup is taken at this location
    everyday.
    2.) Tar the backupset, autobackup, archivelogs etc in FRA .... and copy this to the target server (STANDBY).
    *** Copy(oracle rdbms binaries and FRA) completed @12:00AM on 14-Mar-2012
    3.) Tried to create standby database by using RMAN duplicate on 14-Mar-2012
    RMAN> rman sys/sys@PROD auxiliary /
    RMAN> duplicate target database for standby dorecover nofilenamecheck;
    After, some time the RMAN DUPLICATE process errors out with,
    ORA-19563: header validation failed for file
    We are not sure about the cause of this error. While searching in Metalink, we got several notes (ex, 352074.1) but all the causes stated for this error
    are not applicable in our case. We double checked our instance to confirm this.
    We have also found that in PROD database there are 65 datafiles and after the RMAN DUPLICATE errors out in the targer server (STANDBY) the RMAN managed to restore 51 datafiles before erroring out.
    # Please note PROD database was also backed up on 13-Mar-2012. We have a suspicion that backup on 13-Mar may be a possible cause for this error but we are
    not sure.
    Need suggestions if there can be any other possible causes???
    We are in a fix and it would be appreciable if we get some quick suggestions..
    Regards,
    Rupdipt
    Edited by: orarup on Mar 14, 2012 12:29 AM

    When opening the file to be placed in a copy or backup set, to be inspected, or used as the target for an incremental restore, its header was not recognized as a valid file header for a file of the indicated type (data file, archived log, or control file) belonging to the current database.
    Kindly Ensure that the correct files are being specified for the copy or backup operation.
    Regs,
    Bhavi Savla.

  • Getting error while creating standby database

    I am creating standby database in oracle 10.2 on windows (same machine)and getting following error.Could any one please suggest me on this.
    on primary database alert log file
    ================================================
    Error 1031 received logging on to the standby
    Fri Jul 17 18:09:23 2009
    Errors in file c:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_4512.trc:
    ORA-01031: insufficient privileges
    PING[ARC0]: Heartbeat failed to connect to standby 'IDR'. Error is 1031.
    ================================================
    my LISTENER file is as below
    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)
    (SID_DESC =
    (GLOBAL_DBNAME = idr)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = idr)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    and tns file is as below
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    IDR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = IDR)
    )

    recreate the instance at standby database without password file
    oradim -new -IDR standby -startmode manual recreate password file at primary database , copy the same password file from primary database to standby database,also make sure primary database started with REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE parameter.
    Check also the primary database is able to tnsping to standby database.
    Khurram

  • Updating Primary key while creating entries

    Hi All,
    I have a requirement to update a primary key while the entry is being created in the database table.
    The program uses the INSERT statement to create entries but the primary key is unknown at that time. I want to create this primary key value and update that record before being saved in the database.
    Is there a place where i can write this code which gets called while INSERT/UPDATE statements.
    Request you urgent help.
    Thanks in advance

    Hello Archana,
    As per my understanding providing BADI implementation is one of the better options you have.
    Firstly you have to find out the standard BADI Definition provided by SAP for your functionality. You can search the same in the transaction <b>SE18</b>.
    Your BADI definition will have predefined interface methods
    (like BEFORE_SAVE, AFTER_SAVE, BEFORE_UPDATE, AFTER_UPDATE ... )
    with necessary parameters(parameter types: IMPORTING/EXPORTING/CHANGING/RETURNING). Mind you, you can't add your own methods/parameters to these standard BADI definitions.
    Now you can create your own BADI implementation(ie., you can write you code in the one of the predefined methods you have) for the standard BADI definition. For that in your BADI Definition screen go to <i>Implementation</i> in Menu bar and click on <i>Create</i>.
    I hope you will definitely have <b>Primary Key</b> as importing parameter so you can write your code logic by using this primary key in one of the methods you have based on your requirement
    <b>@</b> Please take Backend expert help in your team for finding out BADI Definition Name & for also BADI Implementation Code if you are not sure about BADI concept.
    I hope this answers your question, If YES,  !!! REWARD POINTS !!!
    Regards, Srikanth

  • Error while creating BOM with FM CSAP_MAT_BOM_MAINTAIN

    Hi All,
    While creating the bom with the FM "CSAP_MAT_BOM_MAINTAIN" using change number i am getting the below error message.
    " Processing of this object is not supported with change number."
    Please help me out.
    Regards
    Suresh

    call function 'CSAP_MAT_BOM_MAINTAIN'
      exporting
        material                 = material
        plant                    = plant
        bom_usage                = usage
        alternative              = alternat
        valid_from               = y_date
    *   CHANGE_NO                =                   "<----Have u used this field for creating ?
    *   REVISION_LEVEL           =
        i_stko                   = l_stko
    *   FL_NO_CHANGE_DOC         = ' '
        fl_commit_and_wait       = 'X'
        fl_bom_create            = 'X'
        fl_new_item              = ' '
        fl_complete              = ' '
    * IMPORTING
    *   FL_WARNING               =
    *   O_STKO                   =
    CSAP_MAT_BOM_CREATE would be an ideal one for creation and CSAP_MAT_BOM_MAINTAIN for change
    Regards,
    Mithun Shetty.

Maybe you are looking for

  • Connecting usb to networked printer

    Officejet Pro Plus 8600,  Win 7 HP Printer works very well networked.  How can I connect a USB cable to use the USB  port without the printer defaulting to USB connection?

  • Hot sync overwrite question

    Is there a way to overwrite the data on the palm centro with data from my computer without losing the applications that are installed on the palm?  I have acquired a used centro with lots of great applications on it that I want to keep.  I know how t

  • MRP Not Running on Subcontracting Material

    Hi All, I have done the following :- Created a SUBCON Component with all the correct views, procurement type 30 etc. Created a RAW Material again with all the correct views. Created a BOM for the Above. Created Subcont PIR for SUBCON Material Created

  • Error HTTP Status 500 after installing DS Management Console and IPS Services on BI Enterprise Server

    The following error HTTP Status 500 - while trying to invoke the method java.util.Properties.entrySet() of an object loaded from local variable 'globalProperties' occurred after installing DS Management Console and IPS Services on BI Enterprise Serve

  • OLS    AND    VPD Column Masking.

    I have gone over a couple of sources on OLS and VPD. BTW I am working with Oracle 11g R1. What I am trying to accomplish is cell level protection. Where cell is defined as the intersection between a row and a column. OLS will get me the proper row re