RAC Standby Database rebuild

Hi
Current 10.2.0.4 Setup is with Dataguard Broker (Unix/No OEM Setup):
Rac Primary 2node cluster
Rac Standby 2node cluster
The rac Standby Database are going to be opened read/write.
Then will require a rebuild of standby ie delete db files and duplicate db using rman
1) My questions is how do I rebuild of a rac standby database with an existing enabled dg broker?
2) Are there any documentation on the steps to follow.
3) Should the dg broker config be dropped or just disabled and if so at which stage?
Config on Rac primary should be kept to a minimum as its being used so no outage expected here.
Regards
Me

Have you given any thought to using flashback (depending on how long your standby will be open for read/write)? You could (before you open read/write) copy your dr*.dat files (broker config files), stop the broker and create a guarenteed restore point. After you have finished and ready to convert back to standby you would flashback your database to the restore point, convert back to a physical standby, restart the broker and shutdown. Restore the dr*.dat files to their location and then startup the standby. From there it should fetch the logs from the time the broker was down and catch back up.
If you would rather rebuild, again you would need to take the broker out of the equation and use RMAN to create a clone for standby and then once in place you would reconfigure the broker (may be able to just restore the dr*.dat files from before the open operation but unsure.

Similar Messages

  • 2 Node RAC standby database

    Hi,
    I am planning to create a 2-node RAC physical standby database which uses ASM from 2-node RAC production database. I am familiar with RMAN duplicate (11g) network based backup to create the physical standby database, but not sure how this will work to create 2-node RAC standby with ASM.
    Could any help me with the document ID which describes how to create a RAC standby database using ASM as storage.
    Source:
    OS: Linux 64 bit
    Oracle: 11.2.0.1
    RAC/ASM: yes/yes
    Target:
    OS: Linux 64 bit
    Oracle: 11.2.0.1
    RAC/ASM: yes/yes
    Thanks in advance!!
    Regards,

    Hi
    You can follow following...
    1.Install crs.
    2.Create ASM instance at standby site...
    3.Prepare parameter file for standby database.
    4.start database instance in one node at nomount state..
    5.create standby control file at primary database...
    6.Copy and paste created control file at primary to standby site..
    7.Copy control file at file system and modify location of control file at init<SID>.ora.
    8.start standby database mount state..
    9.create backup text backup controlfile at primary site...
    10.shutdown standby database,change location of controfile inside ASM.. and place nomount state...
    11.Create controfile through text backup controfile...
    12.backup primary db and paste it in standby site..
    13.Use RMAN to place datafile inside ASM..if you not using RMAN for backup and restoration purpose..
    14.start standby database in mount state and recover through MRP or foreground process..
    15.use SRVCTL to register ASM instances..database and database instances.
    For standby database of RAC..there can only be one node up...So..remember you can start instance of one node only...
    Hope this will help U.
    Tinku

  • Can I use data guard to create a RAC standby database for a non RAC primary

    Hi,
    we need to RAC our production database but the normal methods will mean a long outage. It is possible to create a standby as a single node RAC database and when ready do a graceful failover to the standby database and open it for business. The next step would be to create another RAC node from this on the original server.
    servers are already cluster aware, using ASM etc
    Oracle 10.2

    Yes, you will be able to setup RAC stnadby for a non-RAC Primary. For primary it just needs a available destination for redo shipping it doesn't matter whether it's RAC enabled or not. And ofcourse you are using 10.2 anyway only one node will be running MRP and that is too in standby mount mode.
    However since you have are using You may follow below sequence.
    1. Setup a new standby as RAC enabled.
    2. Perform a switchover.
    3. Shutdown the Old primary (which is standby now).
    4. Install CRS and RDBMS on the old primary and it's new node.
    5. Modify the cluster_database=TRUE and cluster_database_instances=<required number of instances>.
        With above modification mount the standby database in standby mode and start MRP.
    6. Introduce the database and instances to the OCR using SRVCTL add command.
    7. Once you your database is synchronized with Primary do a switchover.
    9. Now you can repeat step 3 to 6 on the other site too.   <- if you need your secondary site to be RAC enabled too
    10. Finally both the sites should be RAC enabled.
    Hope this is helpful!!!
    Thanks,
    Asif Haliyal

  • Creating a RAC standby database for a single instance database

    Dear All,
    I have a task of migrating a 500GB single instance database to a two-node RAC database with a little downtime at hand. My migration strategy is to:
    1) Create a RAC physical standby for the Single Instance database
    2) Switchover to RAC standby.
    Primary and Standby OS and DB configurations:
    OS: Windows Server EE 2003 (64-bit)
    DB: Oracle 10g Database Release 2 (10.2.0.4)
    Oracle 10g Clusterware Release 2 (10.2.0.4)
    To create a RAC standby, I will:
    a) Install Clusterware (10.2.0.1)
    b) Install Database (10.2.0.1)
    c) Patch both Clusterware and Database (10.2.0.4)
    d) Create ASM instance for both the nodes (+ASM1 & +ASM2)
    e) create standby controlfile on primary
    f) Move standby controlfile, RMAN backup of primary, pfile, listener.ora, tnsnames.ora, password file to standby host-1
    g) make necessary changes to the pfile on standby host-1 like cluster_database, instance_name, thread, ...
    h) mount standby database and restore backup
    Kindly validate my steps and if there already exists such a document then please do provide me with a link.
    Regards

    Please refer to MAA whitet paper :
    [http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf]
    [MAA website|http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm]

  • RAC Standby database sync

    Hi all,
    I have 2 node rac database and also it is having standby database on another standalone server with asm.
    Now how can i check the sync between these two databases. Both the instances having different sequence numbers.
    Please let me know.
    thanks

    you can check current_scn of database from v$database in standby and prod....

  • Standby database query

    Hi All,
    How do i find the standby databases that are available for a primary database?
    Suppose i have 2 standby databases for the primary. How do i find out the standby databases from the primary database other than checking the log_archive_dest parameter?
    For eg: I have a 2 node rac database and a 2 node rac standby database.
    I want to find out the standby node names and instance names from the primary node
    OS:AIX
    DB:10.2.0.5
    Edited by: user13364377 on Oct 7, 2011 8:26 AM

    user13364377 wrote:
    Hi All,
    How do i find the standby databases that are available for a primary database?
    Suppose i have 2 standby databases for the primary. How do i find out the standby databases from the primary database other than checking the log_archive_dest parameter?
    For eg: I have a 2 node rac database and a 2 node rac standby database.
    I want to find out the standby node names and instance names from the primary node
    OS:AIX
    DB:10.2.0.5
    Edited by: user13364377 on Oct 7, 2011 8:26 AM"other than checking the log_archive_dest parameter?"
    Why the limitation/restriction from doing the obvious? Is this another "interview" question?
    How to change a flat tire without using a jack and lug wrench?

  • Backup standby database

    We have 11grac implemented on windows with a physical standby on DR site, please advise how I can take backup of the phyiscal standby database?

    I have done cold backups of the RAC standby databases in ASM from another database on the same box that is open using the DBMS_FILE_TRANSFER.COPY_FILE unility. I do the following steps 1) Use the following script to create a cold backups script when the standby is in mount mode. 2) Shutdown the standby. 3) Run the result script in another database that is in open mode (the DBMS_FILE_TRANSFER.COPY_FILE will only run in an open database). 4) restart the standby application of archive logs after the cold backup is done.
    -- script to create cold backup of RAC ASM Standby
    set pages 0
    set feedback off
    set lines 300
    col dummy noprint
    set wrap off
    -- for gzip's to work
    col name for a50
    select name from v$datafile;
    select 'cd /stg/oracle/backups/cold_backup' from dual
    select 'CREATE OR REPLACE DIRECTORY asm_files AS '''||'&substr_ASM_PREFIX_OF_FILENAME'||''' ;' from dual
    -- grants not needed if running from sys
    select 'GRANT WRITE ON DIRECTORY asm_files TO "ENWEBP1";' from dual
    select 'CREATE OR REPLACE DIRECTORY DSK_FILES AS ''/stg/oracle/backups/cold_backup'';' from dual
    select 'GRANT WRITE ON DIRECTORY dsk_files TO "ENWEBP1";' from dual
    select substr(name,length(name)-instr(reverse(name),'/',1)+2,100)||'.A' dummy,'exec DBMS_FILE_TRANSFER.COPY_FILE ( ''asm_files'' , '''
    ||substr(name,length(name)-instr(reverse(name),'/',1)+2,100)
    ||''' , ''dsk_files'' , '''||substr(name,length(name)-instr(reverse(name),'/',1)+2,100)||''' );' cmd
    from v$datafile
    where upper(substr(name,1,length('&substr_ASM_PREFIX_OF_FILENAME')))=upper('&substr_ASM_PREFIX_OF_FILENAME')
    union
    select substr(name,length(name)-instr(reverse(name),'/',1)+2,100)||'.B' dummy,'host gzip '
    ||substr(name,length(name)-instr(reverse(name),'/',1)+2,100) cmd from v$datafile
    where upper(substr(name,1,length('&substr_ASM_PREFIX_OF_FILENAME')))=upper('&substr_ASM_PREFIX_OF_FILENAME')
    order by dummy
    select name||'.A' dummy,'CREATE OR REPLACE DIRECTORY asm_files AS '''||substr(name,1,length(name)-instr(reverse(name),'/',1))||''' ;'
    from v$controlfile
    union
    select name||'.b' dummy,'exec DBMS_FILE_TRANSFER.COPY_FILE ( ''asm_files'' , '''||substr(name,length(name)-instr(reverse(name),'/',1)+2,100)
    ||''' , ''dsk_files'' , '''||substr(name,length(name)-instr(reverse(name),'/',1)+2,100)||''' );'
    from v$controlfile order by dummy
    set pages 100
    set feedback on
    If I do happen to restore, I 1) Shutdown the standby 2) Erase datafiles and controlfiles (I keep the redo logs but that last script later (see below) will drop and recreate them with the clear command so you can also remove the redo logs if you wish). 3) Use the following script to create a restore script.
    -- Script to create cold restore of RAC standby database in ASM
    set pages 0
    set feedback off
    set lines 300
    col dummy noprint
    set wrap off
    -- for gzip's to work
    col name for a50
    select name from v$datafile;
    select 'cd /stg/oracle/backups/cold_backup' from dual
    select 'rm '||name from v$datafile order by name
    select 'CREATE OR REPLACE DIRECTORY asm_files AS '''||'&substr_ASM_PREFIX_OF_FILENAME'||''' ;' from dual
    -- grants not needed if running from sys
    select 'GRANT WRITE ON DIRECTORY asm_files TO "ENWEBP1";' from dual
    select 'CREATE OR REPLACE DIRECTORY DSK_FILES AS ''/stg/oracle/backups/cold_backup'';' from dual
    select 'GRANT WRITE ON DIRECTORY dsk_files TO "ENWEBP1";' from dual
    select substr(name,length(name)-instr(reverse(name),'/',1)+2,100)||'.A' dummy,'host gunzip '
    ||substr(name,length(name)-instr(reverse(name),'/',1)+2,100)||'.gz' cmd from v$datafile
    where upper(substr(name,1,length('&substr_ASM_PREFIX_OF_FILENAME')))=upper('&substr_ASM_PREFIX_OF_FILENAME')
    union
    select substr(name,length(name)-instr(reverse(name),'/',1)+2,100)||'.B' dummy,'exec DBMS_FILE_TRANSFER.COPY_FILE ( ''dsk_files'' , '''
    ||substr(name,length(name)-instr(reverse(name),'/',1)+2,100)
    ||''' , ''asm_files'' , '''||substr(name,length(name)-instr(reverse(name),'/',1)+2,100)||''' );' cmd
    from v$datafile
    where upper(substr(name,1,length('&substr_ASM_PREFIX_OF_FILENAME')))=upper('&substr_ASM_PREFIX_OF_FILENAME')
    union
    select substr(name,length(name)-instr(reverse(name),'/',1)+2,100)||'.C' dummy,'host gzip '
    ||substr(name,length(name)-instr(reverse(name),'/',1)+2,100) cmd from v$datafile
    where upper(substr(name,1,length('&substr_ASM_PREFIX_OF_FILENAME')))=upper('&substr_ASM_PREFIX_OF_FILENAME')
    order by dummy
    select name||'.A' dummy,'CREATE OR REPLACE DIRECTORY asm_files AS '''||substr(name,1,length(name)-instr(reverse(name),'/',1))||''' ;'
    from v$controlfile
    union
    select name||'.b' dummy,'exec DBMS_FILE_TRANSFER.COPY_FILE ( ''dsk_files'' , '''||substr(name,length(name)-instr(reverse(name),'/',1)+2,100)
    ||''' , ''asm_files'' , '''||substr(name,length(name)-instr(reverse(name),'/',1)+2,100)||''' );'
    from v$controlfile order by dummy
    set pages 100
    set feedback on
    and finally I run 4) clear redo logs with the following script:
    set pages 0
    set feedback off
    select 'alter database recover managed standby database cancel;' from dual;
    select 'alter database clear logfile group '||group#||';' from v$log order by group#;
    set feedback on
    set pages 100
    and 5) Open database and restart replication
    For Example:
    ENWEBP1 > @cr8_COLD_BACKUP_dbms_FILE_TRANSFER_COPY_FILE_from_ASM_to_FS.sql
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    cd /stg/oracle/backups/cold_backup
    CREATE OR REPLACE DIRECTORY asm_files AS '+DATA1/nwebp/datafile' ;
    GRANT WRITE ON DIRECTORY asm_files TO "ENWEBP1";
    CREATE OR REPLACE DIRECTORY DSK_FILES AS '/stg/oracle/backups/cold_backup';
    GRANT WRITE ON DIRECTORY dsk_files TO "ENWEBP1";
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'content_data.290.623955671' , 'dsk_files' , 'content_data.290.623955671' );
    host gzip content_data.290.623955671
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'gsis_data.284.623955547' , 'dsk_files' , 'gsis_data.284.623955547' );
    host gzip gsis_data.284.623955547
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'site_data.288.623955617' , 'dsk_files' , 'site_data.288.623955617' );
    host gzip site_data.288.623955617
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'sysaux.264.621275031' , 'dsk_files' , 'sysaux.264.621275031' );
    host gzip sysaux.264.621275031
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'system.262.621275025' , 'dsk_files' , 'system.262.621275025' );
    host gzip system.262.621275025
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'undotbs1.263.621275031' , 'dsk_files' , 'undotbs1.263.621275031' );
    host gzip undotbs1.263.621275031
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'undotbs2.266.621275035' , 'dsk_files' , 'undotbs2.266.621275035' );
    host gzip undotbs2.266.621275035
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'undotbs3.267.621275037' , 'dsk_files' , 'undotbs3.267.621275037' );
    host gzip undotbs3.267.621275037
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'users.268.621275039' , 'dsk_files' , 'users.268.621275039' );
    host gzip users.268.621275039
    CREATE OR REPLACE DIRECTORY asm_files AS '+DATA1/nwebp' ;
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'control01.ctl' , 'dsk_files' , 'control01.ctl' );
    CREATE OR REPLACE DIRECTORY asm_files AS '+DATA1/nwebp' ;
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'control02.ctl' , 'dsk_files' , 'control02.ctl' );
    CREATE OR REPLACE DIRECTORY asm_files AS '+DATA1/nwebp' ;
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'asm_files' , 'control03.ctl' , 'dsk_files' , 'control03.ctl' );
    ENWEBP1 > @cr8_COLD_RESTORE_dbms_FILE_TRANSFER_COPY_FILE_from_FS_to_ASM.sql
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    CREATE OR REPLACE DIRECTORY asm_files AS '+DATA1/nwebp/datafile' ;
    GRANT WRITE ON DIRECTORY asm_files TO "ENWEBP1";
    CREATE OR REPLACE DIRECTORY DSK_FILES AS '/stg/oracle/backups/cold_backup';
    GRANT WRITE ON DIRECTORY dsk_files TO "ENWEBP1";
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    Enter value for substr_asm_prefix_of_filename: +DATA1/nwebp/datafile
    cd /stg/oracle/backups/cold_backup
    rm +DATA1/nwebp/datafile/content_data.290.623955671
    rm +DATA1/nwebp/datafile/gsis_data.284.623955547
    rm +DATA1/nwebp/datafile/site_data.288.623955617
    rm +DATA1/nwebp/datafile/sysaux.264.621275031
    rm +DATA1/nwebp/datafile/system.262.621275025
    rm +DATA1/nwebp/datafile/undotbs1.263.621275031
    rm +DATA1/nwebp/datafile/undotbs2.266.621275035
    rm +DATA1/nwebp/datafile/undotbs3.267.621275037
    rm +DATA1/nwebp/datafile/users.268.621275039
    rm +DATA3/nwebp/datafile/content_index01.dbf
    rm +DATA3/nwebp/datafile/gsis_index01.dbf
    rm +DATA3/nwebp/datafile/polls_data01.dbf
    rm +DATA3/nwebp/datafile/polls_index01.dbf
    rm +DATA3/nwebp/datafile/profile_data01.dbf
    rm +DATA3/nwebp/datafile/profile_index01.dbf
    rm +DATA3/nwebp/datafile/site_index01.dbf
    CREATE OR REPLACE DIRECTORY asm_files AS '+DATA1/nwebp/datafile' ;
    GRANT WRITE ON DIRECTORY asm_files TO "ENWEBP1";
    CREATE OR REPLACE DIRECTORY DSK_FILES AS '/stg/oracle/backups/cold_backup';
    GRANT WRITE ON DIRECTORY dsk_files TO "ENWEBP1";
    host gunzip content_data.290.623955671.gz
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'content_data.290.623955671' , 'asm_files' , 'content_data.290.623955671' );
    host gzip content_data.290.623955671
    host gunzip gsis_data.284.623955547.gz
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'gsis_data.284.623955547' , 'asm_files' , 'gsis_data.284.623955547' );
    host gzip gsis_data.284.623955547
    host gunzip site_data.288.623955617.gz
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'site_data.288.623955617' , 'asm_files' , 'site_data.288.623955617' );
    host gzip site_data.288.623955617
    host gunzip sysaux.264.621275031.gz
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'sysaux.264.621275031' , 'asm_files' , 'sysaux.264.621275031' );
    host gzip sysaux.264.621275031
    host gunzip system.262.621275025.gz
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'system.262.621275025' , 'asm_files' , 'system.262.621275025' );
    host gzip system.262.621275025
    host gunzip undotbs1.263.621275031.gz
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'undotbs1.263.621275031' , 'asm_files' , 'undotbs1.263.621275031' );
    host gzip undotbs1.263.621275031
    host gunzip undotbs2.266.621275035.gz
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'undotbs2.266.621275035' , 'asm_files' , 'undotbs2.266.621275035' );
    host gzip undotbs2.266.621275035
    host gunzip undotbs3.267.621275037.gz
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'undotbs3.267.621275037' , 'asm_files' , 'undotbs3.267.621275037' );
    host gzip undotbs3.267.621275037
    host gunzip users.268.621275039.gz
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'users.268.621275039' , 'asm_files' , 'users.268.621275039' );
    host gzip users.268.621275039
    CREATE OR REPLACE DIRECTORY asm_files AS '+DATA1/nwebp' ;
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'control01.ctl' , 'asm_files' , 'control01.ctl' );
    CREATE OR REPLACE DIRECTORY asm_files AS '+DATA1/nwebp' ;
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'control02.ctl' , 'asm_files' , 'control02.ctl' );
    CREATE OR REPLACE DIRECTORY asm_files AS '+DATA1/nwebp' ;
    exec DBMS_FILE_TRANSFER.COPY_FILE ( 'dsk_files' , 'control03.ctl' , 'asm_files' , 'control03.ctl' );
    ENWEBP1 > @RMAN_Cr8_Clear_Standby_logs.sql
    alter database recover managed standby database cancel;
    alter database clear logfile group 1;
    alter database clear logfile group 2;
    alter database clear logfile group 3;
    alter database clear logfile group 4;
    alter database clear logfile group 5;
    alter database clear logfile group 6;
    alter database clear logfile group 7;
    alter database clear logfile group 8;
    alter database clear logfile group 9;
    alter database clear logfile group 10;
    alter database clear logfile group 11;
    alter database clear logfile group 12;
    alter database clear logfile group 13;
    alter database clear logfile group 14;
    alter database clear logfile group 15;
    Alan

  • Rebuild RAC standby

    Hi all,
    Can anyone give any insight into the steps to rebuild a RAC standby?
    My guess is as follows:
    The following is all on standby side
    1. activate standby r/w
    2. Test failover
    3. use dbca to delete the database (dbca unregisters instances and services from OCR)
    4. use RMAN to recreate the duplicate standby
    --creation of logs needs to be done..
    5. re-register the instances and services with the OCR
    Does seem about right?
    Can anyone recommend a document detailing the instructions for re-building a RAC standby after activation?
    Thanks in advance.
    john

    I need a high level view... like task list..
    Its a rebuild of an 11gR2 physical RAC standby on Linux RH4.
    My guess is I can use dbca to delete the activated standby and then use RMAN to recreate the standby and then manually register the instances and services to the OCR.
    My query is the steps with the RMAN creation of the new standby, do I do it in single instance mode and then add standby logs then modify the spfile to reflect cluster_database = true and then register the services and instances and put it in managed standby mode etc..
    The bottom line is I need to some offical documentation for the steps involved in recreating an activated RAC standby.
    I will contact oracle support.
    Edited by: user9179270 on 25-May-2010 04:33
    Edited by: user9179270 on 25-May-2010 04:36

  • Differences in creating a Standby database in RAC

    Hi All
       SO...: Solaris 11 SPARC 64
       DB...: 11.2.0.3.6 (64 bits)
       My experience regarding creating Physical Standby Databases is restricted in only single instances to single instances. I am reading the book "Oracle Database 11g Release 2 High Availability", but, in parallel, i would like to hear from the experienced DBAs here some opinions and recomendations in how to implement a RAC to RAC solution. Below are my doubts:
       1) In single instance, using RMAN Backup to create the Physical Standby, i have to create manually a static Listener Entry. But in a RAC env, the listener is a resource, so, i have to create that resource in the Clusterware manually, or there is other approach?
       2) I have to create a pfile and start the instance in NOMOUNT mode, but in RAC, i have to start all the nodes in NOMOUNT, or just one node is sufficient?
       3) The archives will be replicated from FRA to FRA. Is this the best approach?
       My main concern is with the Listener and SCAN questions... If you have any considerations, they will be most welcome.
       Thanks in advance.

    Following link might be helpful
    http://www.oracledba.org/11gR2/dr/11gR2_dataguard_RAC_to_RAC.html

  • 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

  • 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

  • Multiple Standby Databases on same RAC nodes.

    We have a 3 node Oracle 10gR2 RAC production environment on site A and a 3 node Oracle 10g RAC standby environment on site B. Both use like HW and OS - HP BL45p with RHEL AS 4.x.
    Can we have heterogeneous standby databases(logical and physical) running on the same RAC nodes?
    Can the 2 apply processes (MRP-manageed recovery process & LSP-logical standby process) coexists on the same set of nodes in a cluster at the same time. Are there any conflicts or limitations?
    Is there any documentation that supports this?

    Would Active Data Guard give you the best of both worlds?
    The caveat might be your SID_LIST_LISTENER setup.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (global_dbname = <database1>_DGMGRL.yourdomain)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (sid_name = <database1>)
    (SID_DESC =
    (global_dbname = <database2>_DGMGRL.yourdomain)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (sid_name = <database2>)
    I have a server with ten standbys on it currently and no issues.
    As long as the version is the same you should be good.

  • Physical standby database in RAC system

    Hi EXperts,
    We have a 4 nodes 11.2 cluster system. i will set a data guard as a disaster recovery mothods.
    As a physical standby database set, does we need to configure same nodes (4 nodes) in other city as primary database cluster system?
    Can we set physical standby database is in 2 nodes cluster system and primary database is in 4 nodes cluster system?
    Thanks explaining!
    Jin

    Can we set physical standby database is in 2 nodes cluster system and primary database is in 4 nodes cluster system?Yes. You can setup 2 node RAC as physical standby and also with different memory parameters. But, the only issue is when DB failover from primary to standby, the applications connect to 2 node RAC in place of 4 node RAC and may be overloaded.

  • Manually Setting up a Standby Database for RAC Environment

    Hi,
    I am a Junior DBA so apologies if this sounds like a silly question.
    We have production 11g Extended RAC environment setup. Management have asked for a separate single instance database be setup as a standby DB on a separate 'cold' server in case we lose complete connection to both sides of the RAC. I read up on Oracle Data Guard and presented this as a solution, but they seem adamant about manually going in and copying out the latest backup and archive logs over to the standby database.
    Can this be done? I mean, can ASM managed backup files and archive logs from one database be simply copied out of the backup directory and imported into a completely separate database as easy as that?
    We are using ASM to manage to data files on the RAC. My understanding is that we cant manually access the files on an OS level when using ASM, but maybe I am wrong. Any help or opinions on this would be greatly appreciated.
    Rgs,
    Rob

    Hi,
    Can this be done? I mean, can ASM managed backup files and archive logs from one database be simply copied out of the backup directory and imported into a completely separate >database as easy as that?Yes, but depends on DB version.
    what is the DB version.
    from 11g you have cp command so there is a possibility to copy generated archive logs to standby location, so that you can apply..
    In 10g there is no such option. you need to create a standby database. with automatic shipping
    Thanks

  • Snapshot standby database in oracle 11g r2 RAC

    Folks,
    i am just wondering if the process is same for standalone and RAC snapshot standby database.
    We have a DR test
    1 / I just converted the standalone DR on 11g to snapshot standby database for users to do some testing and reverted back to physical standby after test was done. i folllowed metalink note ID 443720.1
    2/ now there is anotherDR test where we have 2 node prod and 2 node DR on oracle 11g rel2 RAC, so not sure we can follow the same process that i used for 11g standalone database. If somebody have done this on RAC, would you please provide the steps ?
    Thanks in advance
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> !uname -a
    Linux 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

    I haven't done a Snapshot Standby (RAC or non-RAC). But I see no reason why it shouldn't work with a RAC Standby either.
    The command is a Database level command, not an Instance level command.
    Hemant K Chitale

Maybe you are looking for

  • Hard drives not showing up need to reset the access??? how do you do that

    i have an internal hard drive & an external hard drive and in the info section of both it was changed to no access. I tryed to change it back to read & write but when i close it out and go back in the info it still says no access. I tryed restarting

  • How to update managed metadata column for all file in document library using powershell

    Hi, How to update managed metadata column for all file in document library using powershell? Any help on it. Thanks & REgards Poomani Sankaran

  • Change page name and title

    Hello, I am using oracle apex 4.1. I created two pages with a tab set. I am able to change the page name/title through edit page properties. But it is not reflecting when I run the application/page. If I delete the page and create a new page with new

  • Web dyn pro+ALV

    Hi all, I am using alv in web dyn pro. I want Drop downs in alv list. Eg: alv is displaying carrid,connid,price,and etc., i want carrid and connid as read only drop downs. Regards, sarath

  • ABAP code for validation OB28

    I want to make a validation for callup point 3 'Complete Document' I would like a validation in bool_data-bseg that only 1 transaction type (bewar) or no transaction type is used in any of the line items. If 0 or only 1 transaction type has been used