Datagurad setup from 2 Node RAC to single instance (DR site)

Dear Expert,
I have request from management to setup the DR site from current production RAC database using active dataguard. I have two node rac database 11.2.0.3 running on sun solaris machine. I need proper step or good document can refer to setup between production RAC database to DR site single instance standby database. I only experience setup single instance to single instance .Apreciate expert can provide me some link
Regard
liang

Hello;
This will provide a good start and overview :
Creating a Single Instance Physical Standby for a RAC Primary : ( please note parameter changes for Oracle 11 )
http://www.oracle.com/technetwork/database/features/availability/maa-wp-10g-racprimarysingleinstance-131970.pdf
As will this :
http://oracleinstance.blogspot.com/2012/01/create-single-instance-standby-database.html
Oracle 11
Rapid Oracle RAC Standby Deployment: Oracle Database 11g Release 2
http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-rac-standby-133152.pdf
Best Regards
mseberg

Similar Messages

  • Dataguard configuration from 2-node rac to single instance with out ASM

    Hi Gurus,
    Oracle Version : 11.2.0.1
    Operating system:linux.
    Here i am trying to configure data Guard from 2-node rac to a singled instance stanby database . I have done all the changes in the parameter file for both primary and stand by database and when i am trying to duplicate my target database it is giving error as shown below.
    [oracle@rac1 dbs]$ rman target / auxiliary sys/qfundracdba@poorna
    Recovery Manager: Release 11.2.0.1.0 - Production on Thu Jul 21 14:49:01 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: QFUNDRAC (DBID=3138886598)
    connected to auxiliary database: QFUNDRAC (not mounted)
    RMAN> duplicate target database for standby from active database;
    Starting Duplicate Db at 21-JUL-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=63 device type=DISK
    contents of Memory Script:
       backup as copy reuse
       targetfile  '/u01/app/oracle/product/11.2.0/db_1/dbs/orapwqfundrac1' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1//dbs/orapwpoorna'   ;
    executing Memory Script
    Starting backup at 21-JUL-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=10 instance=qfundrac1 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/21/2011 14:49:29
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/21/2011 14:49:29
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database serverHere i was able to connect to my auxiliary database as shown below
    [oracle@rac1 dbs]$ rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Thu Jul 21 15:00:10 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: QFUNDRAC (DBID=3138886598)
    RMAN> connect auxiliary sys/qfundracdba@poorna
    connected to auxiliary database: QFUNDRAC (not mounted)Can any one please help me .
    Thanks & Regards
    Poorna Prasad.S

    Hi All,
    Can any one please find out my both the parameters file and tell me if any thing is wrong.
    Primary Database parameters.
    qfundrac1.__db_cache_size=2818572288
    qfundrac2.__db_cache_size=3372220416
    qfundrac1.__java_pool_size=16777216
    qfundrac2.__java_pool_size=16777216
    qfundrac1.__large_pool_size=16777216
    qfundrac2.__large_pool_size=16777216
    qfundrac1.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    qfundrac2.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    qfundrac1.__pga_aggregate_target=4294967296
    qfundrac2.__pga_aggregate_target=4294967296
    qfundrac1.__sga_target=4294967296
    qfundrac2.__sga_target=4294967296
    qfundrac1.__shared_io_pool_size=0
    qfundrac2.__shared_io_pool_size=0
    qfundrac1.__shared_pool_size=1375731712
    qfundrac2.__shared_pool_size=855638016
    qfundrac1.__streams_pool_size=33554432
    qfundrac2.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/qfundrac/adump'
    *.audit_trail='db'
    *.cluster_database=true
    *.compatible='11.2.0.0.0'
    *.control_files='+ASM_DATA2/qfundrac/controlfile/current.256.754410759'
    *.db_block_size=8192
    *.db_create_file_dest='+ASM_DATA1'
    *.db_create_online_log_dest_1='+ASM_DATA2'
    *.db_domain=''
    *.DB_FILE_NAME_CONVERT='/u02/poorna/oradata/','+ASM_DATA1/','/u02/poorna/oradata','+ASM_DATA2/'
    *.db_name='qfundrac'
    *.db_recovery_file_dest_size=40770732032
    *.DB_UNIQUE_NAME='qfundrac'
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=qfundracXDB)'
    *.fal_client='QFUNDRAC'
    *.FAL_SERVER='poorna'
    qfundrac2.instance_number=2
    qfundrac1.instance_number=1
    *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(qfundrac,poorna)'
    *.LOG_ARCHIVE_DEST_1='LOCATION=+ASM_FRA VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=qfundrac'
    *.LOG_ARCHIVE_DEST_2='SERVICE=boston ASYNC  VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=poorna'
    *.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
    *.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
    *.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
    *.LOG_ARCHIVE_MAX_PROCESSES=30
    *.LOG_FILE_NAME_CONVERT='/u02/poorna/oradata/','+ASM_DATA1/','/u02/poorna/oradata','+ASM_DATA2/'
    *.open_cursors=300
    *.pga_aggregate_target=4294967296
    *.processes=300
    *.remote_listener='racdb-scan.qfund.net:1521'
    *.REMOTE_LOGIN_PASSWORDFILE='EXCLUSIVE'
    *.sec_case_sensitive_logon=FALSE
    *.sessions=335
    *.sga_target=4294967296
    *.STANDBY_FILE_MANAGEMENT='AUTO'
    qfundrac2.thread=2
    qfundrac1.thread=1
    qfundrac1.undo_tablespace='UNDOTBS1'
    qfundrac2.undo_tablespace='UNDOTBS2'and my standby database prameter file.
    poorna.__db_cache_size=314572800
    poorna.__java_pool_size=4194304
    poorna.__large_pool_size=4194304
    poorna.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    poorna.__pga_aggregate_target=343932928
    poorna.__sga_target=507510784
    poorna.__shared_io_pool_size=0
    poorna.__shared_pool_size=176160768
    poorna.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/poorna/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/poorna/control01.ctl','/u01/app/oracle/flash_recovery_area/poorna/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    #*.db_name='poorna'
    #*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=4039114752
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=poornaXDB)'
    *.local_listener='LISTENER_POORNA'
    *.memory_target=849346560
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sec_case_sensitive_logon=FALSE
    *.undo_tablespace='UNDOTBS1'
    ############### STAND By PARAMETERS ########
    DB_NAME=qfundrac
    DB_UNIQUE_NAME=poorna
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(poorna,qfundrac)'
    #CONTROL_FILES='/arch1/boston/control1.ctl', '/arch2/boston/control2.ctl'
    DB_FILE_NAME_CONVERT='+ASM_DATA1/','/u02/poorna/oradata/','+ASM_DATA2/','/u02/poorna/oradata'
    LOG_FILE_NAME_CONVERT= '+ASM_DATA1/','/u02/poorna/oradata/','+ASM_DATA2/','/u02/poorna/oradata'
    LOG_ARCHIVE_FORMAT=log%t_%s_%r.arc
    LOG_ARCHIVE_DEST_1= 'LOCATION=/u02/ARCHIVE/poorna  VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=poorna'
    LOG_ARCHIVE_DEST_2= 'SERVICE=qfundrac ASYNC  VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)  DB_UNIQUE_NAME=qfundrac'
    LOG_ARCHIVE_DEST_STATE_1=ENABLE
    LOG_ARCHIVE_DEST_STATE_2=ENABLE
    REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    STANDBY_FILE_MANAGEMENT=AUTO
    FAL_SERVER=qfundrac
    FAL_CLIENT=poornaThanks & Regards,
    Poorna Prasad.S

  • How to find thead 2 archive log when i recover from 2-node RAC to single

    I backup 2-ndoe RAC and restore to single - node
    Control file created.
    SQL> recover database iuckup controlfile
    SQL> recover database using backup controlfIle;
    ORA-00279: change 12100176131169 generated at 07/06/2013 16:36:57 needed for
    thread 1
    ORA-00289: suggestion : /arch/hop1_566085708_1_212692.dat                 -- Oracle suggest
    ORA-00280: change 12100176131169 for thread 1 is in sequence #212692
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    arch/sch1_566085708_1_212692.dat                                            --- I input  
    ORA-00279: change 12100176131169 generated at  needed for thread 2
    ==> Oracle didn't suggest thread 2 archive log file/
    How can I find ?

    You have to query V$ARCHIVED_LOG for THREAD# 2 on the source database to find the first archivelog where 12100176131169 is less than the NEXT_CHANGE#
    select SEQEUNCE# from V$ARCHIVED_LOG where THREAD#=2 and 12100176131169 between FIRST_CHANGE# and NEXT_CHANGE#
    Once you provide the Sequence# and file name for the first Thread 2 file, the RECOVER command will automatically generate the expected file name for the subsequent archivelogs (of both threads).
    Hemant K Chitale

  • Standby setup in 11g R2 RAC to single node

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

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

  • Moving from Oracle RAC to single instance

    Hi,
    We are running EBS R12 on windows 2008 R2. Its a 2 node setup, we want to move it to single instance.
    I heard that moving from RAC to single instance is not supported by oracle is it true?
    Can someone kindly guide me documentation for the same.

    user10243788 wrote:
    Hi,
    We are running EBS R12 on windows 2008 R2. Its a 2 node setup, we want to move it to single instance.
    I heard that moving from RAC to single instance is not supported by oracle is it true?
    Can someone kindly guide me documentation for the same.Its totally possible technically to move from RAC to single node and its even documented. I dont know where you have heard that its not supported.
    See the process of removing node from rac
    http://docs.oracle.com/cd/B28359_01/rac.111/b28254/adddelunix.htm
    http://docs.oracle.com/cd/B19306_01/rac.102/b14197/adddelunix.htm
    http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_23.shtml
    For performance related
    Moving RAC to single instance

  • RMAN backup restore from RAC to single instance ASM

    Hi,
    We are using oracle 11gR2 on AIX 6.1,
    We need to restore RMAN backup from RAC to single instance ASM,
    Im new to RAC & ASM, What will be the changes
    What will be steps involved into it.
    Thanks

    Hello,
    Refer this MOS doc *HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]*
    On the Single Instance ASM, you need to specify the diskgroup name for the parameters "control_files, db_create_file_dest"
    Handle:      user10745179
    Email:      [email protected]
    Status Level:      Newbie (5)
    Registered:      Feb 24, 2009
    Total Posts:      168
    Total Questions:      74 (52 unresolved)
    Name      Devesh
    Location      Mumbai If you feel that your questions have been answered, then please consider closing the threads by providing appropriate points. Please keep the forum clean !!
    Regards,
    Shivananda

  • How to create 11.2.0.2 physical standby database from 2 node RAC (11.2.0.2)

    Hi,
    Can any one please help me How to manually create 11.2.0.2 standalone physical standby database from 2 node RAC (11.2.0.2) database which is running in RHEL5 and ASM plugged in.
    DB : 11.2.0.2
    OS : RHEL5
    RMAN duplicate is causing problem with network and we decided to go for manual creation of the same.
    Thanks in Advance..

    Hi;
    Can any one please help me How to manually create 11.2.0.2 standalone physical standby database from 2 node RAC (11.2.0.2) database which is running in RHEL5 and ASM plugged in.
    DB : 11.2.0.2
    OS : RHEL5I had similar issue, what i did
    1. Used source oracle_home on standby server
    2. Created new asm instance and use same naming
    3. I took RMAN full backup on source and move it to target
    4. I edit initora file remove RAC setting and restore db(also edited listener file)
    Regard
    Helios

  • How to apply archivelogs from 2 node rac to non-rac

    Is there any way to apply the archivelogs from 2 node RAC to sinlge node non-rac instance while migrating RAC to non-rac.
    Could anyone clarify it?
    -Shanlee

    There's no "different way".
    Each instance in RAC write's to it's own Redo Thread -- so each has it's own set of ArchiveLogs. In the log_archive_format specification %t is the thread identifier.
    Oracle needs the ArchiveLogs from both Threads of the 2 node RAC. When you issue a RECOVER DATABASE, it applies them in the correct (interleaved) sequence.
    What you have to do is to ensure that the ArchiveLogs of both threads are available on the new server.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jun 1, 2011 5:09 PM

  • 2 Node RAC to single node clonning

    Hello,
    We have 2 Node RAC database for R12 EBS on production now we want to refresh developement enviorenment which is single node so now can anybody tell me process to follow this or any documentaion for same.
    Regards
    Saransh Soni

    Hi Saransh,
    Please refer to similar threads in past :
    convert RAC to single instance ebs R12
    Re: Clone Oracle Apps 11.5.10.2 RacDB to Non-RAC DB
    Regards
    Rajesh

  • Db context file creation for rac to single instance cloning

    DOC ID: 559518.1 Section 6: RAC to Single Instance Cloning mentions that the context file creation should be done as in the case of Single Instance cloning
    what would be the command syntax?

    Thanks Hussein. However, section 6 of doc 559518.1 mentions that part 5.1.3 when cloning from rac to single node should be done as in the case of Single Instance cloning.
    the syntax for rac to rac cloning (which is in 5.1.3) is
    perl adclonectx.pl \
    contextfile=[PATH to OLD Source RAC contextfile.xml] \
    template=[NEW ORACLE_HOME]/appsutil/template/adxdbctx.tmp \
    pairsfile=[NEW ORACLE_HOME]/appsutil/clone/pairsfile.txt \
    initialnode
    so what is the syntax for rac to single instance? I reckon I will still use adclonectx.pl, but now what would be the complete sysntax for single instance cloning?

  • Benefit of RAC over single instance

    Dear,
    There would be up-gradation of our main system from oracle 10.2.0.4 to 11.2.0.4. The management wants to stay on single instance as it is now. But Oracle RAC is something that is must for all the critical system I need to present the benefit of RAC over single instance considering the high cost. Can you show me the benefits of RAC that ppl would go for it instead  of single instance????

    Hi,
    The Benefits of Oracle Real Application Clusters.
    High Availability-Oracle Real Application Clusters 11g provides the foundation for data centre-high availability. It is also
    an integral component of Oracle’s Maximum Availability Architecture, which provides best practices to
    provide the highest availability for your data center. Oracle Real Application provides the following ke
    characteristics essential for a high available data management
    Reliability – The Oracle Database is known for its reliability. Oracle Real Application Clusters takes this
    a step further by removing the database server as a single point of failure. If an instance fails, the
    remaining instances in the server pool remain open and active. Oracle Clusterware monitors all Oracle
    processes and immediately restarts any failed component.
    Recoverability – The Oracle Database includes many features that make it easy to recover from all
    types of failures. If an instance fails in an Oracle RAC database, it is recognized by another instance in
    the server pool and recovery will start automatically. Fast Application Notification (FAN) and Fast
    Connection Failover (FCF) or Transparent Application Failover (TAF) make it easy for applications to
    mask component failures from the user.
    Error Detection – Oracle Clusterware automatically monitors Oracle RAC databases as well as other
    Oracle processes (ASM, listener, etc) and provides fast detection of problems in the environment. It also
    automatically recovers from failures often before users noticed that a failure has occurred. Fast
    Application Notification (FAN) provides the ability for applications to receive immediate notification of
    cluster component failures in order to re-issue the transaction before the failure surfaces.
    Continuous Operations – Oracle Real Application Clusters provides continuous service for both
    planned and unplanned outages. If a server (or an instance) fails, the database remains open and the
    application is able to access data. Most database maintenance operations can be completed without
    downtime and are transparent to the user. Many other maintenance tasks can be done in a rolling
    fashion so application downtime is minimized or removed. Fast Application Notification and Fast
    Connection Failover assist applications in meeting service levels.
    Scalability-Oracle Real Application Clusters provides a unique technology for scaling applications. Traditionally,
    when database servers ran out of capacity, they were replaced with new and larger servers. As servers
    grow in capacity, they are more expensive. For databases using Oracle RAC, there are alternatives for
    increasing the capacity. Applications that have traditionally run on large SMP servers can be migrated to
    run on pools of small servers. Alternatively, you can maintain the investment in the current hardware and
    add a new servers to the pool (or to create a server pool) to increase the capacity. Adding servers to a
    server pool with Oracle Clusterware and Oracle RAC does not require an outage and as soon as the new
    instances are started, the application can take advantage of the extra capacity. All servers in the server pool
    must run the same operating system and the same version of Oracle, but they do not have to be of exactly
    the same capacity. Customers today run server pools that fit their needs often using servers of (slightly)
    different characteristics.
    http://www.oracle.com/technetwork/database/clustering/overview/twp-rac11gr2-134105.pdf

  • Streams Setup from RAC to Single instance

    Does anyone have a document to setup streams from RAC to Non RAC. I successfully setup streams on 2 single instances but I am having issues in replicating, Streams is setup on node1 or Rac and Apply process is also setup on single node. but data is not replicating.
    Appreciate any suggestions.

    From Metalink Note 418755.1:
    Additional Configuration for RAC Environments for a Source Database Archive Logs
    The archive log threads from all instances must be available to any instance
    running a capture process. This is true for both local and downstream capture.
    Queue Ownership
    When Streams is configured in a RAC environment, each queue table has an
    "owning" instance. All queues within an individual queue table are owned by
    the same instance. The Streams components (capture/propagation/apply) all
    use that same owning instance to perform their work. This means that
    + a capture process is run at the owning instance of the source queue.
    + a propagation job must run at the owning instance of the queue
    + a propagation job must connect to the owning instance of the target queue.
    Ownership of the queue can be configured to remain on a specific instance,
    as long as that instance is available, by setting the PRIMARY _INSTANCE
    and/or SECONDARY_INSTANCE parameters of DBMS_AQADM.ALTER_QUEUE_TABLE.
    If the primary_instance is set to a specific instance (ie, not 0), the queue
    ownership will return to the specified instance whenever the instance is up.
    Capture will automatically follow the ownership of the queue.If the ownership
    changes while capture is running, capture will stop on the current instance
    and restart at the new owner instance.
    For queues created with Oracle Database 10g Release 2, a service will be
    created with the service name= schema.queue and the network name
    SYS$schema.queue.global_name for that queue. If the global_name of the
    database does not match the db_name.db_domain name of the database, be sure
    to include the global_name as a service name in the init.ora.
    For propagations created with the Oracle Database 10g Release 2 code with
    the queue_to_queue parameter to TRUE, the propagation job will deliver only
    to the specific queue identified. Also, the source dblink for the target
    database connect descriptor must specify the correct service (global name of
    the target database ) to connect to the target database. For example, the
    tnsnames.ora entry for the target database should include the CONNECT_DATA
    clause in the connect descriptor for the target database. This claus should
    specify (CONNECT_DATA=(SERVICE_NAME='global_name of target database')).
    Do NOT include a specific INSTANCE in the CONNECT_DATA clause.
    For example, consider the tnsnames.ora file for a database with the global name
    db.mycompany.com. Assume that the alias name for the first instance is db1 and
    that the alias for the second instance is db2. The tnsnames.ora file for this
    database might include the following entries:
    db.mycompany.com=
    (description=
    (load_balance=on)
    (address=(protocol=tcp)(host=node1-vip)(port=1521))
    (address=(protocol=tcp)(host=node2-vip)(port=1521))
    (connect_data=
    (service_name=db.mycompany.com)))
    db1.mycompany.com=
    (description=
    (address=(protocol=tcp)(host=node1-vip)(port=1521))
    (connect_data=
    (service_name=db.mycompany.com)
    (instance_name=db1)))
    db2.mycompany.com=
    (description=
    (address=(protocol=tcp)(host=node2-vip)(port=1521))
    (connect_data=
    (service_name=db.mycompany.com)
    (instance_name=db2)))
    Use the italicized tnsnames.ora alias in the target database link USING clause.
    DBA_SERVICES lists all services for the database. GV$ACTIVE_SERVICES identifies
    all active services for the database In non_RAC configurations, the service
    name will typically be the global_name. However, it is possible for users to
    manually create alternative services and use them in the TNS connect_data
    specification . For RAC configurations, the service will appear in these views
    as SYS$schema.queue.global_name.
    Propagation Restart
    Use the procedures START_PROPAGATION and STOP_PROPAGATION from
    DBMS_PROPAGATION_ADM to enable and disable the propagation schedule.
    These procedures automatically handle queue_to_queue propagation.
    Example:
    exec DBMS_PROPAGATION_ADM.stop_propagation('name_of_propagation'); or
    exec DBMS_PROPAGATION_ADM.stop_propagation('name_of_propagation',force=>true);
    exec DBMS_PROPAGATION_ADM.start_propagation('name_of_propagation');
    If you use the lower level DBMS_AQADM procedures to manage the propagation schedule,
    be sure to explicitly specify the destination_queue name when queue_to_queue propagation has been configured.
    Example:
    DBMS_AQADM.UNSCHEDULE_PROPAGATION('source_queue_name','destination',destination_queue=>'specific_queue');
    DBMS_AQADM.SCHEDULE_PROPAGATION('source_queue_name','destination',destination_queue=>'specific_queue');, DBMS_AQADM.ENABLE_PROPAGATION_SCHEDULE('source_queue_name','destination',destination_queue=>'specific_queue');,
    DBMS_AQADM.DISABLE_PROPAGATION_SCHEDULE('source_queue_name','destination',destination_queue=>'specific_queue');, DBMS_AQADM.ALTER_PROPAGATION_SCHEDULE('source_queue_name','destination',destination_queue=>'specific_queue');
    Changing the GLOBAL_NAME of the Source Database
    See the OPERATION section on Global_name below. The following are some
    additional considerations when running in a RAC environment.
    If the GLOBAL_NAME of the database is changed, ensure that any propagations
    are dropped and recreated with the queue_to_queue parameter set to TRUE.
    In addition, if the GLOBAL_NAME does not match the db_name.db_domain of the
    database, include the global_name for the queue (NETWORK_NAME in DBA_QUEUES)
    in the list of services for the database in the database parameter
    initialization file.
    Section 4. Target Site Configuration
    The following recommendations apply to target databases, ie, databases in which
    Streams apply is configured.
    1. Privileges
    Grant Explicit Privileges to APPLY_USER for the user tables
    Examples:
    Privileges for table level DML: INSERT/UPDATE/DELETE,
    Privileges for table level DDL: CREATE (ANY) TABLE , CREATE (ANY) INDEX,
    CREATE (ANY) PROCEDURE
    2. Instantiation
    Set Instantiation SCNs manually if not using export/import. If manually
    configuring the instantiation scn for each table within the schema, use the
    RECURSIVE=>TRUE option on the DBMS_STREAMS_ADM.SET_SCHEMA_INSTANTIATION_SCN
    procedure
    For DDL Set Instantiation SCN at next higher level(ie,SCHEMA or GLOBAL level).
    3. Conflict Resolution
    If updates will be performed in multiple databases for the same shared
    object, be sure to configure conflict resolution. See the Streams
    Replication Administrator's Guide Chapter 3 Streams Conflict Resolution,
    for more detail.
    To simplify conflict resolution on tables with LOB columns, create an error
    handler to handle errors for the table. When registering the handler using
    the DBMS_APPLY_ADM.SET_DML_HANDLER procedure, be sure to specify the
    ASSEMBLE_LOBS parameter as TRUE.
    In Streams Concepts manual 10.2 chapter 22: Monitoring Apply
    Displaying detailed information about Apply errors.
    4. Apply Process Configuration
    A. Rules
    If the maintain_* procedures are not suitable for your environment,
    please use the ADD_RULES  procedures (ADDTABLE_RULES , ADD_SCHEMA_RULES ,
    ADD_GLOBAL_RULES (for DML and DDL), ADD_SUBSET_RULES (DML only).
    These procedures minimize the number of steps required to configure Streams
    processes. Also, it is possible to create rules for non-existent objects,
    so be sure to check the spelling of each object specified in a rule carefully.
    APPLY can be configured with or without a ruleset. The ADD_GLOBAL_RULES can
    be used to apply all changes in the queue for the database. If no ruleset is
    specified for the apply process, all changes in the queue are processed by the apply process.
    A single Streams apply can process rules for multiple tables or schemas
    located in a single queue that are received from a single source database .
    For best performance, rules should be simple. Rules that include LIKE clauses are
    not simple and will impact the performance of Streams.
    To eliminate changes for particular tables or objects, specify the
    include_tagged_lcr clause along with the table or object name in the
    negative rule set for the Streams process. Setting this clause will
    eliminate all changes, tagged or not, for the table or object.
    B. Parameters
    Set the following parameters after a apply process is created:
    + DISABLE_ON_ERROR=N Default: Y
    If Y, then the apply process is disabled on the first unresolved error,
    even if the error is not fatal.
    If N, then the apply process continues regardless of unresolved errors.
    + PARALLELISM=3* Number of CPU Default: 1
    Apply parameters can be set using the SET_PARAMETER procedure from the
    DBMS_APPLY_ADM package. For example, to set the DISABLE_ON_ERROR parameter
    of the streams apply process named APPLY_EX, use the following syntax while
    logged in as the Streams Administrator:
    exec dbms_apply_adm.set_parameter('apply_ex','disable_on_error','n');
    Change the apply parallelism parameter recommendation to a lower number.
    In general, try 4 or 8 and increase or decrease as necessary for your workload.
    In some cases, performance can be improved by setting the following hidden
    parameter. This parameter should be set when the major workload is UPDATEs
    and the updates are performed on just a few columns of a many-column table.
    + DYNAMICSTMTS=Y Default: N
    If Y, then for UPDATE statements, the apply process will optimize the
    generation of SQL statements based on required columns.
    CHECKPOINTFREQUENCY=1000
    Increase the frequency of logminer checkpoints especially in a
    database with significant LOB or DDL activity.
    exec dbms_capture_adm.set_parameter('capture_ex','_checkpoint_frequency','1000');
    5. Additional Configuration for RAC Environments for a Apply Database
    Queue Ownership
    When Streams is configured in a RAC environment, each queue table has an
    "owning" instance. All queues within an individual queue table are owned
    by the same instance. The Streams components (capture/propagation/apply)
    all use that same owning instance to perform their work. This means that
    the database link specified in the propagation must connect to the owning
    instance of the target queue. the apply process is run at the owning instance
    of the target queue
    Ownership of the queue can be configured to remain on a specific instance,
    as long as that instance is available, by setting the PRIMARY _INSTANCE and
    SECONDARY_INSTANCE parameters of DBMS_AQADM.ALTER_QUEUE_TABLE. If the
    primary_instance is set to a specific instance (ie, not 0), the queue
    ownership will return to the specified instance whenever the instance is up.
    Apply will automatically follow the ownership of the queue. If the ownership
    changes while apply is running, apply will stop on the current instance and
    restart at the new owner instance.
    Changing the GLOBAL_NAME of the Database
    See the OPERATION section on Global_name below. The following are some
    additional considerations when running in a RAC environment.
    If the GLOBAL_NAME of the database is changed, ensure that the queue is
    empty before changing the name and that the apply process is dropped and
    recreated with the apply_captured parameter = TRUE. In addition, if the
    GLOBAL_NAME does not match the db_name.db_domain of the database, include
    the GLOBAL_NAME in the list of services for the database in the database
    parameter initialization file.

  • Using RMAN to create single instance standby from 2 node rac

    Any advice on the RMAN command to take a non catalog full rman backup from a two node 11gr2 rac node and use it to create the STANDBY single instance.
    The RAC two node instance is in ASM (Linux)
    The Physical Standby is Normal File System (Linux)
    The command that I get from Metalink suggests:
    rman target sys/passwd@primary catalog RMAN/RMAN@RMAN auxiliary sys/passwd
    RMAN> run {
    allocate auxiliary channel C1 device type disk;
    duplicate target database for standby;
    When I took the rman backup I did not use catalog. Please suggest how to accomplish the same task without catalog. Thanks

    Listener.ora
    SID_LIST_STANDBY_LSNR =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = KEMETRAC.respecti.com)
    (SID_NAME = STANDBY)
    (ORACLE_HOME = /u02/standby/11.2.0.3/STANDBY)
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u02/standby/11.2.0.3/STANDBY)
    (PROGRAM = extproc)
    ADR_BASE_STANDBY = /u02/standby/11.2.0.3
    TRACE_LEVEL_STANDBY = OFF
    STANDBY_LSNR =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby.respecti.com)(PORT = 2012))
    LOGGING_STANDBY = OFF
    ...... Tnsnames.ora
    STANDBY.RESPECTI.COM,STANDBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby.respecti.com)(PORT = 2012))
    (CONNECT_DATA =
    (SERVICE_NAME = STANDBY.respecti.com)
    KEMETRAC1.respecti.com, KEMETRAC1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.respecti.com)(PORT = 2012))
    (CONNECT_DATA =
    (SERVICE_NAME = kemetrac1.respecti.com)
    KEMETRAC2.respecti.com, KEMETRAC2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.respecti.com)(PORT = 2012))
    (CONNECT_DATA =
    (SERVICE_NAME = kemetrac2.respecti.com)
    # TAF 2 Node RAC
    KEMETRAC.respecti.com, KEMETRAC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (FAILOVER = ON)
    (LOAD_BALANCE = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.respecti.com)(PORT = 2012))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.respecti.com)(PORT = 2012))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = kemetrac.respecti.com)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 180)
    (DELAY = 5)
    The Standby has been started up with nomount.
    standby> rman target sys/[email protected] auxiliary sys/pw
    Recovery Manager: Release 11.2.0.3.0 - Production on Wed Jan 18 18:16:46 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
    connected to target database: KEMETRAC (DBID=1448030790)
    connected to auxiliary database: KEMETRAC (not mounted)
    RMAN>
    RMAN> run {
    2> duplicate target database for standby from active database dorecover nofilenamecheck;}
    Starting Duplicate Db at 18-JAN-12
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/18/2012 18:23:06
    RMAN-05501: aborting duplication of target database
    RMAN-06217: not connected to auxiliary database with a net service name
    RMAN>

  • Resizing redo log files on a 3 node RAC with single node standby database

    Hi
    On a 3 node 11g RAC system,I have to resize the redo logs on primary database from 50M to 100M. I was planning to do the following steps:
    SQL> select group#,thread#,members,status from v$log;
    GROUP# THREAD# MEMBERS STATUS
    1 1 3 INACTIVE <-- whenefver INACTIVE, logfile group can be dropped
    2 1 3 CURRENT & resized, switch logfile can change logfile group
    3 1 3 INACTIVE
    4 2 3 INACTIVE
    5 2 3 INACTIVE
    6 2 3 CURRENT
    7 3 3 INACTIVE
    8 3 3 INACTIVE
    9 3 3 CURRENT
    9 rows selected.
    SQL> alter database drop logfile group 1;
    Database altered.
    SQL> ALTER DATABASE ADD LOGFILE THREAD 1
    GROUP 1 (
    '/PROD/redo1/redo01a.log',
    '/PROD/redo2/redo01b.log',
    '/PROD/redo3/redo01c.log'
    ) SIZE 100M reuse; 2 3 4 5 6
    Database altered.
    However I am not sure what needs to be done for the standby. The standby_file_management is set to auto and it is single instance standby.
    SQL> select group#,member from v$logfile where type='STANDBY';
    GROUP#
    MEMBER
    10
    /PROD/flashback/PROD/onlinelog/o1_mf_10_7b44gy67_.log
    11
    /PROD/flashback/PROD/onlinelog/o1_mf_11_7b44h7gy_.log
    12
    /PROD/flashback/PROD/onlinelog/o1_mf_12_7b44hjcr_.log
    Please let me know.
    Thanks
    Sumathy

    Hello;
    For Redo and Standby redo this won't help :
    standby_file_management is set to auto
    On the Standby cancel recovery, then drop and recreate the redo and or Standby redo.
    Then start recovery again.
    Example ( I have a habit of removing the old file at the OS to avoid REUSE and conflicts )
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    SQL> ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT='MANUAL';
    alter database add standby logfile group 4
    ('/u01/app/oracle/oradata/orcl/standby_redo04.log') size 100m;
    ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT='AUTO'
    Notes worth reviewing :
    Online Redo Logs on Physical Standby [ID 740675.1]
    Error At Standby Database Ora-16086: Standby Database Does Not Contain Available Standby Log Files [ID 1155773.1]
    Example of How To Resize the Online Redo Logfiles [ID 1035935.6]
    Best Regards
    mseberg

  • Converting from RAC to Single Instance - Memory

    hi,
    we are moving forward with virtualizing our database environment and want to use 11g RACOne. We currently are using 3 node, 10g RAC. In coming up with specifications I am wondering what general rule there is for sizing the SGA. As an example if one of my databases has 3 500MB SGA's do I simply have a single instance with 1500MB SGA? I'm not sure what the approach would be.
    Any info appreciated. Thanks in advance...ron

    RonHeeb wrote:
    thanks for the response. i have been regularly taking current sizes of each SGA from gv$sgastat to see what's being allocated. my thinking is that this is a minimum and that i should add to it for peak loads, ensuring that it's not set below any minimum that RACOne requires.
    beyond that going to RACOne seems to be a direction for virtualized DB servers and for us 24 by 7 is not needed (although more than a few minutes outage would be an issue). in any case if needed we could go RAC on our most critical environments. I'm attracted to how patching/server maintenance can be achieved with RACOne.Okay, you either need high availability or you don't. if having a db go down "for more than a few minutes" is a problem then, don't you really need 24x7 ? And in that case, isn't the high availability offered by RAC is your only option? For me, having a mission critical database (and it looks like this qualifies) on anything "vitualized" is a disaster waiting to happen. I find it lunacy to have, say, 4 virtual failover servers (RACOne) on the same physical hardware. When that server crashes so does your entire failover scenario.
    >
    Edited by: user10489842 on Sep 13, 2012 2:04 PM

Maybe you are looking for

  • IPhone wont let me load up apps, itunes wants to restore it... HELP!

    Hi, Basically, ive been using my iphone without a fault and all of a sudden for some odd reason the apps wouldnt load up. I had this problem before and to solve the problem all i had to do was connect it to itunes and the problem went away. However,

  • Had to restore ipad and all apps are missing in app store

    My daughter was locked out of her ipad by a friend.  I had to restore her ipad.  I was able to download all of her music from icloud but all of her apps are gone.  When I go to the app store it says that she hasn't purchased any apps.  How can I get

  • Displaying note in Web Gallery?

    Is there a way to display the notes I've entered for photos in my Web Gallery? It appears the only option is to display the titles of photos. I know the user can flip over the photo in WG to see the note, but I would like them to appear below the pho

  • FTP and "File-in-use"

    Dear all, We have a scenario in which a file is written to the SAP application server which should be picked up by XI using the FTP adapter. The polling interval of the adapter is set to 60 seconds. We running into a strange problem: it may occur tha

  • Noise problem possibly it's from a fan

    i have gone to apply store to check but they said it's fine. n i still keep on hearing the noise at night which is so annoying. can guys give me some suggestion how to stop the noise....