Oracle 10g standby configuration - Restoring primary backup to Standby DB.

Hi experts,
This is my first time configuring a Standby (Data Guard) scenario for our Oracle data base. The platform used is Solaris 10 with Oracle 10g.
After reviewing a lot of documents and tutorials regarding this matter still have some doubts on how to get this scenario finally configured.
Basically I would like some confirmations regarding the following point. We have the new db already installed in our disaster recovery site and the next step I need to do is to perform an offline backup from our primary data base and then transfer that backup to our standby database. Iu2019m currently stuck in this steps since Iu2019m not completely sure on how proceed with this specific step. According to the following link http://help.sap.com/saphelp_nw04s/helpdata/en/08/5744b84ae611d1894f0000e829fbbd/content.htm , the following steps are necessary:
       1.      Take a backup (online or offline) of the data files of the production database
       2.      Create a control file at the production site to be used at the standby site, by entering the following command:
alter database create standby controlfile as <filename>
       3.      Archive the current online redo log of the production database, by entering the following command:
alter system archive log current
       4.      Transfer the backed up data files, the control file and all archived redo log files to the standby site.
Regarding the above step u201C4u201D... Could someone please detail me what all the data files are? As per SAP System Copy guide in its section u201CRestoring Database Files on the Target Systemu201D the following is indicated...and I think these are the files to transfers to the standby db.
Files/oracle/<DBSID>/sapdata<x>
All files/oracle/<DBSID>/origlog<x>
All files/oracle/<DBSID>/mirrlog<x>
Is my assumption correct?
Please let me know which the correct steps are and if any other process is applicable or advisable over the above mentioned....let me know.
Regards

Hi,
As far as cold backup of database is concerned, backup of the folders you have mentioned is enough.
Hope you have created a parameter file for the standby database and changed the primary parameter file as part of preparation of primary database.
Here is a sample entry you have to have on standby parameter file apart from other entries..
db_unique_name='STANDBY'
fal_client='STANDBY'
fal_server='PRIMARY'
log_archive_config='DG_CONFIG=(PRIMARY,STANDBY)'
Also browse through the following threads...it may help..
Re: Standby server - WAIT_FOR_GAP error
Re: Hot DR site preparation
Regards,
Anish

Similar Messages

  • Oracle 10g AS configuration file tutorial

    Is there any site from where I can get tutorial about oracle 10g AS configuration file? I have to modify the configuration file according to my application need.

    Hi,
    the OracleAs documentation contains a Forms Services deployment guide that explains all files used within Forms on the Web
    Frank

  • Oracle data guard configuration for primary and standby db_name

    I am working on configuring an active data guard for one primary DB and one standby DB. I have a few questions:
    1. Can I use different db_name, db_unique_name and instance_name for primary and standby. For example: primary(db_name, db_unique_name and instance_name)=chicago. When I create standby DB with Rman backup and copy of pfile and control file from primary DB or use Grid control to create standby database. Oracle document or Grid control all keep standby db_name=chicago. Only make standby db_unique_name and instance_name=boston. Due to my application system condition, I want to make db_name=boston, not keep it as the same as primary=chicago. Is this valid configuration?
    2. In primary datafiles, application system generate datafile name like this: hr_chicago_01.dbf, fn_chicago_01.dbf. When I move datafiles to standby server, if I plan to use db_name=boston for standby DB, can I rename datafiles as
    hr_boston_01.dbf, fn_boston_01.dbf? In this way, datafile name match up with db_name. but I will create standby log group and members on primary and standby identically. If in future switching over, DB will not have problems.
    3. If I don't use primary DB backup. Instead, I copy all datafiles, redo_log files (no control files) to standby. Then "alter database backup controlfile to trace" from promary and also " create pfile='/xxx/initSTANDBY.ora' from primary. Then modify init.ora and controlfile. Then run control.sql to bring standby DB up. After that, configure redo log shipping and apply with data guard or SQL. Is this a acceptable way to create physical standby DB?
    Please advise your comments. Thanks in advance.

    I want to make db_name=boston, not keep it as the same as primary=chicago. Is this valid configuration?NO. DB_NAME must be the same ("chicago") at both sites. The Standby will be using a different DB_UNIQUE_NAME (e.g. "boston") and can be using a different Instance name / SID (e.g. "boston").
    can I rename datafiles Yes. The database file names can be changed.
    If I don't use primary DB backup. Instead, I copy all datafiles, redo_log files (no control files) to standbyWhat is the difference between the first sentence (a backup of the primary) and the second sentence (a copy of the primary) ? A Copy is a backup.
    Are you intending to differentiate between an RMAN Backup and a User-Managed (aka "scripted") backup ?
    Normally, for DataGuard, tou can use non-RMAN methods to copy the database but there's no value add in this.
    You'd still have to setup DataGuard ! (and I wonder if you'd have complications setting up Active DataGuard).
    But remember that you MUST create the Standby controlfile from the Primary and copy it over to your Standby -- particularly as you are planning to use DataGuard. This is not created by 'alter database backup controlfile to trace' , but by 'ALTER DATABASE CREATE STANDBY CONTROLFILE AS 'filename''
    Hemant K Chitale

  • Creating logical standby from non primary backup

    We want to test creation for logical standby in our test enviroment.
    Here is the plan we are
    1. Backup Prod.
    2. Restore Test Primary (T1) and Restore test standby (T2) from Prod backup.
    3. Setup standby between T1 and T2.
    Plan is to save the time for backup and restore process. I have not doe it before. Will this process work or T2 restore needs to be done from backup of T1 as that would be primary.
    Manuj

    969257 wrote:
    Thanks Tobi.
    I will try this. The test system is very large about 16TB and the backup/restore process takes days. I just wanted to be sure if the same backup would work for creating the primary and standby at the same time.
    So in this case, I will just have to restore from backup and move forward with archivelogs. Will I have to use the control-file from Prod or from T1.
    Use the control file from T1(test primary)
    I would like to use the backup COPY.
    General steps to follow:
    1. restore T1 as the (test)primary DB.
    2. recover/apply the T1 using the redo log.
    3. restore T2 but do not apply redo to prevent it from divergence from T1. i mean, let T2 scn be behind T1 scn.
    4. following the general steps as it apply to you in preparing and creating primary and standby DB
    http://docs.oracle.com/cd/B19306_01/server.102/b14239/create_ps.htm
    5. make sure T2 can receive and apply redo data from T1
    6.covert T2 to logical standby DB
    http://docs.oracle.com/cd/B19306_01/server.102/b14239/create_ls.htm
    HTH
    Tobi

  • Private interconnect oracle 10g RAC configuration

    Can you please answer below questions?
    Why does a private interconnect need a switch, and why is straight through cables not supported.

    Hi,
    Why do you need a switch between the nodes".When network plugs are pulled out from one node on a two node cluster, a split brain scenerio occurs. (just it's enough)
    If you are using a crossover cable and you shutdown node (A) you will loose the network (private) link from node (B) (this happens in some servers.), Oracle RAC will not work with private network link down, both nodes will down and will not start until you get link on network private. (Goodbye high availability)
    You will be very unhappy with the error ORA-29740. Prelude to suggest this note: Troubleshooting ORA-29740 in a RAC Environment [ID 219361.1]
    There is no "why" Oracle RAC does not support crossover cable because RAC depends of SWITCH (it's a Hardware Requirements) and any problems in your environment Oracle will force you to implement a supported solution.
    You will have implemented a poor environment, if you not use a GB switch for private network.
    Oracle Words:
    *Physical Layout of the Private Interconnect*
    The basic requirements are described in the Installation Guide for each platform. Additional information about certification can be found on Metalink Certify.
    The interconnect as identified by both subnet number and interface name must be configured on all clustered nodes.
    *A switch between the clustered nodes is an absolute requirement.*
    *Cluster Interconnect in Oracle 10g and 11g [ID 787420.1]*
    Regards,
    Levi Pereira

  • 10g (Primary) to 9i (Standby) configuration

    Dear Gurus,
    Can you please inform me that Is it possible to run Oracle 10g 10.2 as Primary Database Server and Oracle 9i 9.2.0.7 as Standby Database Server.
    Kindly help.
    Regards,
    Asif Abbasi

    Note the requirement that the 10g database be running with COMPATIBLE set to 9.2 in order to permit a downgrade to 9.2. That would be a pretty unusual setting for a 10g database to have unless you had just upgraded it from 9.2 to 10.2. The last step of the upgrade process is generally to update the COMPATIBLE parameter.
    Justin

  • Oracle 10g new feature to backup to tape?

    I heard rumours that Oracle 10g has new features to backup to tape directly. I don't know exactly how this is done, and I'd like the experts to comment. What I've discovered so far is that there is this program called Legato Single Server Version (LSSV) which ships with the Oracle 10g Companion CD which makes RMAN use the tape directly as a medium to backup. Is this CD available for download?

    I am truly curious why you actively ask to avoid the "New Features Guide" which provides much of the information you desire.
    (http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm)

  • Oracle 10G

    When Oracle 10G is MOUNT,
    beside cold backup, and recovery,
    What can you do ?

    If you mean the RMAN COPY command, then no difference, from the OS point of view : the result is the same.
    The RMAN BACKUP command, instead, has a proprietary format, and its output is only suitable to the RMAN RESTORE command.
    Any action made by RMAN updates the controlfile, while OS copies (also known as USER-MANAGED copies) are not known to the DB, but only to you.
    OS copies could then be catalogued in the RMAN repository.
    See [url http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10735/toc.htm]
    Backup and Recovery documentation

  • Export and import Oracle 10G database

    Hello all
    Can anyone tell me once for all how can i backup oracle 10G database and restore it in other computer (export and import)
    thanks alot
    Ron

    Do you can access to metalink?
    If not, I copy an paste this doc's....
    Doc ID: Note:10767.1
    Subject: How to perform FULL System Export/Imports
    Type: BULLETIN
    Status: PUBLISHED
    Content Type: TEXT/X-HTML
    Creation Date: 18-APR-1994
    Last Revision Date: 30-AUG-2002
    Purpose
    This article highlights some important points to consider when performing
    a Full System Export and Import.
    Scope and Application
    It is intended to assist users performing FULL System Exports and Imports.
    A Full System Export and Import is a useful way to replicate or clean up
    a database. Please note the following guidelines when performing a Full
    System Export and Import:
    1. When performing the import, ensure you are pointing at the correct
    instance. Always check values for the SID and two task driver before
    proceeding.
    *Note:   On Unix systems, just entering a sub-shell, such as using
    C-shell, can change the database that the import would work
    against.
    2. When possible, it is advisable to take a physical copy of the
    exported database and the database you intend to import into before
    starting the import. This ensures any mistakes are reversible.
    3. NEVER run a FULL SYSTEM IMPORT on a machine that has more than one
    database UNLESS you are 100% sure all tablespaces have been
    pre-created. A full import will create any undefined tablespaces
    using the same datafile names as the exported database. There are
    situations where this is very dangerous:
    -> If the datafiles belong to ANY other database, they will be
    CORRUPTED. This is especially true if the exported database is
    on the same machine, because its datafiles will be re-used by
    the database you are importing into.
    -> If the datafiles have names that clash with existing operating
    system files.
    4. When exporting, it is advisable to also produce a report showing
    information you may need before / after the import:
    -> List the tablespaces and datafiles
    -> List the rollback segments
    -> List a count, by user, of each object type such as tables,
    indexes, etc.
    This enables you to ensure that tablespaces have been pre-created
    and to check the success of the import after it is complete.
    5. If you are creating a completely new database from an export, remember
    to create an extra rollback segment in SYSTEM, and make this available
    in the init.ora file before proceeding with the import.
    6. There are some versions of export that do not retain sequence numbers
    correctly. It is advisable to select next_value for each sequence
    after the export so that these can be checked after import.
    Following these guidelines will help you to avoid major problems.
    Doc ID: Note:174226.1
    Subject: How To Copy an Oracle Database To Another Machine
    Type: HOWTO
    Status: PUBLISHED
    Content Type: TEXT/X-HTML
    Creation Date: 12-OCT-2001
    Last Revision Date: 01-OCT-2003
    goal: How to copy an Oracle database to another machine
    fact: Oracle Server - Enterprise Edition
    fix:
    Pre-requisites: The copy is between 2 machines, both have to be on the same OS
    and have to have exactly the same database version installed.
    1. Make sure the database you want to copy was closed with a SHUTDOWN IMMEDIATE,
    SHUTDOWN NORMAL or SHUTDOWN TRANSACTIONAL.
    2. Copy init.ora and control files to create instance and be able to go in
    mount mode. Check the init.ora for the locations where the controlfiles have
    to be, if those locations are not valid on the machine put the control files on
    different places and adjust the init.ora accordingly.
    3.a. Copy the datafiles (all of them).
    b. Copy the redo-logfiles (all of them).
    4.a. (Unix only) Set the environment variables:
    ORACLE_SID - set to the database name you wish to create
    ORACLE_HOME - set to full pathname of the Oracle system home directory
    PATH - needs to include $ORACLE_HOME/bin
    b. (NT/2000 only) Do 'set ORACLE_SID=<SID>'
    Use oradim to create the service for the instance. For more information
    on oradim please refer to (the part that refers to creating a new instance):
    Note:68720.1 Creating a new 7.3, 8.0, 8.1 Instance/Database
    5. Use servermanager (check the name to use for your version of oracle) or
    sqlplus (version 9i and above) to startup the database in mount mode.
    Do
    CONNECT INTERNAL/<PASSWORD>
    then
    STARTUP MOUNT
    Then do a rename of the copied datafiles if they are not in the same path as on
    the other machine. For all the files that are in the result of the query:
    SELECT NAME FROM V$DATAFILE;
    do
    ALTER DATABASE RENAME FILE '<oldfullpath>\<filename>' to <
    newfullpath>\<filename>';
    6. Query the datadictionary for the old location of the redolog files using:
    SELECT MEMBER FROM V$LOGFILE;
    If the new place is not the same as the old do:
    ALTER DATABASE RENAME FILE '<oldfullpath>\<redologfilename>' to &
    lt;newfullpath>\<redologfilename>';
    7. Now open the database:
    ALTER DATBASE OPEN;
    ******************************************************************

  • Oracle 10g RAC - Private Interconnect on Private non-routable VLAN

    In our data center there is an existing Oracle 10g RAC configured with private VLAN for Interconnect administered by a different group of DBAs.
    We are designing a new, separate Oracle 10g RAC environment to support our application.
    When we discussed with our data center folks to set up a private VLAN for our RAC Interconnect, they suggest to use the same existing Private VLAN used by other Oracle RAC configurations. In that case the Interconnect IPs will be on the same subnet as other Oracle RAC configurations.
    For example, if
    RAC1 with 2 nodes is using 192.168.1.1 and 192.168.1.2 in the VLAN_1 for the Interconect, they want us to use the same VLAN_1 with Interconnect IPs 192.168.1.3 and 192.168.1.4 for our 2 node RAC.
    Is Sharing same subnet on the same Private VLANs for interconnects of different RAC configurations supported?
    Will that cause any performance hit? That means the Interconnect IPs of One RAC configuration is pingable from other RAC configuration.
    Did anyone come across such a design?
    Could not find any info on this on Metalink.
    Thanks

    yes
    this is practically very much feasible.. as you would have only 4 m/c in ip subnet .... and this is very much less than the public subnet which we should refrain from using from interconnect.

  • Best Practices for deployment of Oracle 10g database.

    Hello ,
    Is anyone aware of a whitepaper/ document that talks about best pratices in deploying a database on Oracle 10g and configuration of the database to utilize all the features available in 10g ( eg. ADDM , reports setup etc )
    Thanking you in Advance.
    Cheers..rCube

    Appreciate the input Jaffer. Thanks.
    However I was referring to a Best Practices whitepaper like the one existing for Data Guard & MAA available at the follwogng url : - http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm
    Is there something available along the same lines ?
    Cheers..rCube

  • Shared Disk Subsystem for Oracle 10g RAC

    I am investigating the feasibility of clustering two 220Rs together in an Oracle 10g RAC configuration. Can I use a D1000 disk array for the shared storage between the two nodes? Can you briefly describe how to do it or point me to documentation on how to do it?

    hi dstmark,
    can you kindly share some information with me? i am thinking of building up a small lab at home using A1000 to build up an Oracle RAC, as a1000 have 2 scsi port and have a build in controller.
    but i am unsure about the detail software requirement, as google return some conflict information.
    is SUN cluster would be enough? do i need to get something like Veritas Cluster? which may require a license key....
    thanks for sharing information.

  • Oracle 10g administrator guide??

    Plissss, somebody knows where can I find an OracleAS 10g administrator, configurator and tunning guide??? (also with High availability options).
    It seems to be hidden because in several sites refer to it but always de links return 404 - Error....
    Also would be great an quick and basic application deployment guide I have found some references but they seems to refer using oracle developer products. I would need a guide to tell me were I should deploy just an ear generted with any standard tool....
    Thanks in advance and regards

    Checkout the doc library:
    http://download-west.oracle.com/docs/cd/B10464_04/index.htm
    Pavna

  • Creating a standby control file for cloning a standby database

    Hi
    I am in the process of trying to document the cloning of a standby database. I am trying to amalgamate three different documents - one for a normal clone, one for the creation of a SB database, and the other a formal Oracle document - the Business Continuity doc.
    Among the several things that confuse me, is the issue of creating (or not) a standby control file.
    I am not doing any kind of data file deletion / copying from source to target, as the SB database is updated all day with data file changes. I am doing a complete copying over of the APPL_TOP and techstacks.
    My question then, is this: should I be worried about creating a standby control file? I am told by our Senior here that "you can get away with not doing it", which sounds like too much of a risk to me.
    I am under a bit of pressure for this and I am not 100% sure about certain issues (see my other post for knowing how many DATA_TOPS we have on the SB, for instance).
    Thanks for listening.
    AIX 5.2.
    Oracle 10g.
    DA

    Do you already have a Standby running ? (then it may be using a standby controlfile).
    Yes. And there is already a standby control file there. It seems to me, that if the data (logs) transfers are done each minute or whatever between source and SB, and the SB is a copy of the db, then we dont need to worry about any kind of data files, since they should be identical. The only things I will need to change are the configuration files like the ifile in both dbs and tns_names, listener, tnsnames.ora, and the init.ora.
    b. Are you creating a document about the process of creating standby from production ? If you plan to use DataGuard, you will need a standby controlfile. Otherwise , it depends on how you configure the standby.
    No. I am creating a doc for how to clone from Production to a SB environment. A reason behind this is that the Apps side of the SB is about 9 patches behind the Production box, and we need to update it. I believe this is the main reason for doing this.
    c. Just to check : You are NOT using Storage Mirroring -- ie D.R. ?
    No, no DR on this environment.
    Thanks.
    DA

  • Forward physical standby archivelog files to a logical standby database

    Hi,
    We have a production database (1) and we have a physical standby database (2) for it.
    Is it possible to forward the archivelogs files from (2) to a logical standby database (3). We want to use the (3) as a UAT - Ad Hoc read only Database.
    Thanks.

    Hi,
    The following Data Guard configurations using cascaded destinations are supported.
    A. Primary Database > Physical Standby Database with cascaded destination > Physical Standby Database
    B. Primary Database > Physical Standby Database with cascaded destination > Logical Standby Database
    A physical standby database can support a maximum of nine (30 as of Version 11.2) remote destinations.
    Physical Standby Forwarding Redo to a Logical Standby :
    Advantages :
    1. Users can connect to Logical Standby database and they can access
    2. Instead of querying primary database they can use logical standby database.
    3. without any additional overhead on your primary system, and without consuming any additional transatlantic bandwidth.
    Disadvantages :
    The following data types will not support in Logical standby database just check your application before implementing logical standby
    a. BFILE
    b. Collections (including VARRAYS and nested tables)
    c. Multimedia data types (including Spatial, Image, and Oracle Text)
    d. ROWID, UROWID
    e. User-defined types
    f. LOBs stored as SecureFiles
    g. XMLType stored as Object Relational
    h. Binary XML
    Thanks
    LaserSoft

Maybe you are looking for

  • Customer service Complaint!​! Beware of hidden charges!!

    I recently decided to install cable into two additional rooms in my apartment. I placed a call to Verizon and the rep quoted me $129.00  for the installation (new jacks and wiring included).  It did feel steep but I decided to go ahead and place the

  • EDI header segment E1EDK04 not populating

    Hello, We are currently using the intercompany EDI process to create vendor invoices based on an EDI output from a billing document.  This worked well for us, until we wanted to change our pricing procedure for tax condition type MWST print i.d. for

  • Outlook Calendar Appointment Custom Form Finding Contacts

    I have an Outlook Calendar appointment custom form with a button to enter contacts. When the user presses the button, it brings up a window that starts in the user's own contact folder. Since the user of this application is supposed to use contacts i

  • MultiThread Problem

    My applet constructs and starts 2 identical Threads. While running, my debuging utility tells me that one of them quits running at some point. Moving the mouse, it makes it to continue to run. At some other point again, one of the Threads stops runni

  • Fields to be maintained

    Dear Quality Experts, If I want to implement QM, what are the fields I've to maintain with respect ot Finsihed Product, Semifinished, Raw materials etc... Can anybody throw some lite ont his issue. Scenario for INprocess Goods: Material in process->