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

Similar Messages

  • Need advice regarding physical standby databases in rac environment on orac

    need advice regarding physical standby databases in rac environment on oracle 10G r2
    I like to have have a Primary ( 10 node RAC cluster ) shipping to a physical standby ( 3 node RAC cluster ) shipping using LGWR .
    So I have a lot of questions
    1) What will be the performance overhead on the Primay if we are using LGWR SYNC option .
    2) Does the overhead depends on the physical distance between primary & physical
    3)Do you recommend a seperate private network for shipping logs between primary and standby.
    4) I know that DGMGRL supports RAC only from 10g. So are there any know issues are bugs using DGMGRL is RAC environments.
    Thanks in advance
    -Satish

    Generally you should have same CPU architecture and same operating system but it's not mandatory to have the exactly the same CPU model, the same number of CPU, the same RAM size etc.
    Actually starting with 11.1 you don't need to have the same hardware setup: it 's even possible to have primary and standby database on different platforms: http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/standby.htm#i72053.

  • How to change the database character set on physical standby database?

    Hi,
    We have a database with character set WE8ISO8859P1 and migrated the character set to WE8MSWIN1252 using csscan/csalter scripts. This database has a physical standby database setup also and after the migration, the physical standby database is still showing the character set as WE8ISO8859P1. How can I change the characterset on the physical standby? I raised a Service Request with Oracle, and they said that recreating the standby database is the only supported way of changing the char set on the standby database. Is this true?
    Thanks,
    Sreekanth

    Thank you, Robert, for your reply.
    The standby is in sync with the primary.
    see below
    SYS@sisprod>select * from v$dataguard_stats;
    NAME VALUE UNIT TIME_COMPUTED
    apply finish time +00 00:00:00.0 day(2) to second(1) interval 12-NOV-2009 14:02:46
    apply lag +00 00:00:00 day(2) to second(0) interval 12-NOV-2009 14:02:46
    estimated startup time 11 second 12-NOV-2009 14:02:46
    standby has been open N 12-NOV-2009 14:02:46
    transport lag +00 00:00:00 day(2) to second(0) interval 12-NOV-2009 14:02:46
    SYS@sisprod>
    I am selecting from v$nls_parameters;
    I don't know how to restore the controlfile from primary. Could you please tell me how to do it?
    Thanks,
    Sreekanth

  • Procedure for Standby Database for SAP ERP 6.0

    Hello All,
    We are using SAP ERP 6.0 with Oracle 10g with AIX 5.3.
    We are planning to setup a standby database for our SAP ERP 6.0 production system as part of remote DR site using Oracle Data Guard.
    I was under the assumption that i can first install an erp 6.0 (ABAP) system using homogeneous system copy from my erp 6.0 (ABAP) production system and then start configuring oracle dataguard.
    But the System Copy Guide "System Copy for SAP Systems Based on SAP NetWeaver 7.0 SR3 ABAP" has mentioned that "You cannot create standby systems with a system copy".
    Please suggest the best practise or the procedure for creating standby database for SAP ERP 6.0 system. Iam not looking at the steps for creating a pure oracle 10g standby database, but with SAP instances as well.
    Thanks in advance.
    CVS

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

  • 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.

  • Help with setting a 2nd Standby Database

    Hi,
    I have an active DataGuard 11gR2 with a physical standby actively running on Linux.
    Now, I need to add a 2nd physical Standby database (for reads only) to this environment, can someone please point to a resource/document which discusses the steps which are involved?
    Thanks much
    -Sravan

    Hello;
    One option is to setup a Cascading Standby. I tested this last spring and I'm happy to share my setup notes.
    www.visi.com/~mseberg/Data_Guard_Cascading_Standby_Setup_and_Test.pdf
    Also worth noting if you have Active Data Guard you don't need a second Standby, ( license for active Data Guard required ).
    Best Regards
    mseberg
    Edited by: mseberg on Nov 22, 2011 7:09 AM
    For additional information see :
    Data Guard Concepts and Administration
    12.1.3 Configuring Both Physical and Logical Standby Databases ( Oracle document B14239-05 )
    In this case you could use the Logical Standby as you "Reader" database.

  • Upgrade database for RAC

    I have 11g standard edition database installed without RAC in a server environment. But, now I have needed to keep this database in RAC. Could I install or upgrade database with RAC environment without re-installation of oracle software/database from the scratch?

    depends
    you can relink the database home with RAC option on Linux/UNIX platforms: RAC Survival Kit: Rac On / Rac Off - Relinking the RAC Option [ID 211177.1]
    but not on Windows
    if you already have grid infrastructure (clusterware) configured as Oracle Restart, you can convert it to cluster configuration:
    http://docs.oracle.com/cd/E11882_01/install.112/e22489/rem_orcl.htm#CBHEEJAA
    otherwise you will have to install it (this can be higher version than your database home)

  • 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]

  • Standalone Standby Creation for RAC database

    Hi,
    I am in process of configuring standalone standby for my RAC database. The database version is 11.2.0.3. RAC is using SCAN listeners. I have got MOS for configuring standalone standby for RAC 387339.1. But specific steps I need to perform in case of SCAN listeners.
    Any document or link is appreciated.
    Regards,

    Hello;
    The white paper "Rapid Oracle RAC Standby Deployment: Oracle Database 11g Release 2" has a section on this.
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-rac-standby-133152.pdf
    This may also help :
    http://www.oracle.com/technetwork/database/availability/maa-wp-11g-racone-standby-501088.pdf
    And these :
    Configuring and Administering Oracle Net Listener
    http://docs.oracle.com/cd/E11882_01/network.112/e10836/listenercfg.htm
    srvctl relocate scan
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/srvctladmin.htm#RACAD7499
    srvctl relocate scan_listener
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/srvctladmin.htm#CDDIDDCF
    Troubleshooting Oracle Clusterware
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16794/troubleshoot.htm#CHDFJIEG
    From Oracle support :
    How to Setup SCAN Listener and Client for TAF and Load Balancing [Video] [ID 1188736.1]
    Best Regards
    mseberg

  • 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

  • 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.

  • Related to recovery in Physical standby database in RAC

    In Physical Standby database all instance involved in recovery processes or any one instance will be their in in recovery mode
    If is like this another instance will be for high availabily can any one in forum explain me it will be help full

    With your Primary database being RAC, the Physical Standby does not have to be RAC, although, obviously it would be preferred to have scalability as required at a DR site.
    Whether your Standby is RAC or non-RAC, the automatic Recovery that is done at the Standby is done by one instance only. It would be applying the ArchiveLogs from all the threads (i.e. instances) of the Primary.
    Database Recovery is always done by a single instance.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Standby Database in RAC

    Hi,
    We have two nodes RAC environment on the AIX 6.1
    Our requirement is to have a database for the reporting purpose in one of the node and replicate the data from source to target.  Is it possible to create physical standby database in one of the node and do log shipping to another database within the node.
    Any other suggestions also appreciated.
    Thanks.

    I would first say if you are planning to create the standby for report it is for off loading the report from production database. If you create the reporting instance on the same hardware you would still e sharing if the primary service is active on the node that the reporting instance is running on. You would also be sharing the storage unless you separate the storage. If this is SAN storage you would be using the same HBA card.
    It is possible to create the physical standby on another node in the cluster you just need to make sure to give the standby a different name. You would also need to make sure that the datfiles ,controlfile, redologs and archivelogs are not in the same location as the primary. One more thing to remember this will double you storage if you plan to use the same storage where the primary is located.

  • Standby Database for Oracle 8.1.7 Std Ed

    Hi, I am using Oracle 8.1.7 std ed with W2K Adv Server. Both primary host and remote host using the same version of oracle and OS.
    So far both oracle path are identical and the standby folder is same with primary and I don't think I need to add the db_name_convert and log_name_convert into my standby parameter file.
    I have make a consistent backup from primary to standby and also create the standby control file from primary. However, I am having the problem on setting up the tnsnames.ora and listener.ora for both primary and standby? Can someone here give me the sample on configure those ora file? Say example
    Host Name (Primary) : PRMY
    DB_NAME (Primary) : PRMY
    SID (Primary) : PRMY
    Instance (Primary) : PRMY
    Host Name (Primary) : STBY
    DB_NAME : PRMY
    SID (Primary) : STBY
    Instance (Primary) : STBY.
    This error message is once i am going to connect the standby database via SQL*Plus using sys/change_on_install@STBY, error ORA-12154: TNS:could not resolve service name displayed. However, I managed to login follow by set oracle_sid=STBY and connect as sysdba.

    Hi Albert,
    Please find below the ora files for your perusal.
    # TNSNAMES.ORA for Primary Database
    PRMY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PRMY)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PRMY)
    STBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = STBY)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = STBY)
    ============================================================
    # LISTENER.ORA for Standby Database
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = STBY)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_DESC =
    (GLOBAL_DBNAME = STBY)
    (ORACLE_HOME = E:\oracle\ora81)
    (SID_NAME = STBY)
    ==============================================================
    # LISTENER.ORA for Primary Database
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PRMY)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_DESC =
    (GLOBAL_DBNAME = PRMY)
    (ORACLE_HOME = E:\oracle\ora81)
    (SID_NAME = PRMY)
    )

Maybe you are looking for

  • How do I find Shockwave, its not there.

    Ok, so I want to play a game on facebook. It says " no, sorry. click this button to install flash player" fine. I clicked the button Then the process starts, check your ActiveX (whatever that is) and check to Enable your "shockwave blah de blah blah"

  • Thumbnail view of  tabs in JTabbedPane

    Hi all, I am doing a desktop app . In my app i am using JTabbedPane . In order to view the contents of all tabs in one shot,i need to bring the JPanel in each tab into a single frame,that contains a scrollbar.i.e,something like a thumbnail view of al

  • Program not running, error -10810

    i was using flash on my ibookk G4, they i closed the progam and later tried to work on it again, however this time there appears a window, which reads: An unexpected error has occured, error -10810. really need help, dunno whats happening with my com

  • Flash 11, does not play some content, cannot fix

    I updated to flash 11 this past week, worst decision ever.  This is what is going on, and the steps I've taken to resolve it. OS: Windows 7 64 bit professional edition. Browsers:  Firefox, Chrome, Safari, IE 9 Thursday (before update): Have had an is

  • HT2486 I can't get the address book (Contacts) to work on my computer.

    Everything is on my phone but not on the computer. Can't add anything to the address book on my computer. I have everything set to back up to the computer from my phone but it doesn't. Can anyone help with this issue.