RMAN restore UNTIL SCN in DATA GUARD environment

Hello,
OS=RHL5
DB=11.2.0.3 Primary and 1 Physical STANDBY database.
I have a huge application changes tomorrow and its possible that I have the requirement to ROLLBACK the database 5 hours back because the application.
I am thinking to adopt following method from the official Oracle documentation (untilClause):
STARTUP FORCE MOUNT
RUN
  SET UNTIL SCN 1418901;  ## Any required SCN number will be used here.
  RESTORE DATABASE;
  RECOVER DATABASE;
ALTER DATABASE OPEN RESETLOGS;
I will of course take LEVEL0 backup tonight and LEVEL1 backup before the start of work.
My humble question to you is that: If this is the correct method I am adopting? and if yes, then what about Physical standby database? Will there something to restore/recover too? or it's not required or standby database need to create again (which I am afraid of)?
Flash back is not enabled.
Bundle of thanks for the suggestion.
Best Regards

hello John-MK,
My humble question to you is that: If this is the correct method I am adopting?
the method is  correct but not the BEST PRACTICE...create a RESTORE POINT instead of using SCN. for example:
SET UNTIL RESTORE POINT before_app_changes;
1. drawbacks of using flashback feature are:
a. you need more disk space
b. there is CPU overhead associated with flashback log operation
c.compulsorily need to use fast recovery area and you can not backup flashback log
d.others..
but my own opinion, i think the advantage out weight the drawbacks, since you are paying for it already
2.  if the standby database did not apply redo data past the new resetlogs SCN, then you do not need to re-build. no manual intervention
HTH
Tobi

Similar Messages

  • ACLs in a Failsafe/data guard environment

    Hi,
    We have recently upgraded to Oracle Enterprise Edition 11.2.0.3
    We had a slight issue with a few batch processes which sent success emails - we hadn't configured ACL permissions (We knew about it, and was on the log, but somehow got missed). All set up fine now in our test environment, but got a couple of queries before I set up in production.
    Had a look in the documentation and tried searching
    The ACLs I believe are managed as an XML file, on the database server, correct?
    If so, how do we manage this on both a clustered, and a data guard environment? Or in the case of a database restore? Is the ACL file automagically regenerated out of some database metadata? Or do we need to recreate in each environment?
    Any ideas?
    Cheers,
    Carl

    Hi,
    there is two ACL(Access Control List) one at Db level ans one is used at UNIX command for file permission , as you mentioned you have permission issue in batch execution.
    so you can check below link
    http://www.dartmouth.edu/~rc/help/faq/permissions.html
    i am not sure which ACL you required.

  • WLS 10.3.x setup in Data Guard environment

    Hi all,
    We are setting up the following environment:
    Oracle Database 11.2.0.2 EE RAC primary and physical standby
    WebLogic Server (WLS) 10.3.0
    We are using MultiDataSource (MDS) per the documentation which is fine. However, this setup requires the data sources to specify the RAC hostnames (VIPs), instance names, and the service name. Per various documents we are not using the SCAN hostname. Considering this is a phsyical data guard environment, how do we set this up so we can have the best 'seamless' transfer of the WLS envrionment when a switchover or failover occurs from the primary to the standby database?
    Thus far we've discussed using instead of the RAC virtual hostname (racprd1), a DNS cname (wls-racnode1) which points to racprd1, but we would modify in the DNS to point to racstby1 when a DG switch or failover occurs.
    Any thoughts or recommendations otherwise?
    Thanks.

    OK...
    Alter database rename should be ok As long as both the PRIMARY directory strucures are same or if you have set the parameter db_file_name_convert
    While asking a question..
    You should post all the necessary information for us to help(is possible)
    1.Oracle version
    2.Os version
    Thread spesific
    3.Directory strucutrs of Both Priimary and Standby
    4.Init .Ora of both PRIMARY AND STANDBY

  • Switchover in a data guard environment using Grid Control 10.2.0.3

    I've tested switchover in a data guard environment using Data Guard Broker in Grid Control.
    However, at times, i receive the message "RemoteOperationException: failed to establish input streaming thread". It looks like it has problems connecting to the remote node using the host credentials supplied. I know the credentials are ok because this worked before. If i test preferred credentials, it's ok too..
    The workaround has been to restart the database and this seems to work.
    Has anyone experienced this?

    Thanks for All for replying.
    *1. How can I upgrade my Grid control 10.2.0.3 to 10.2.0.4?*
    I have upgraded the Grid Control Agent and OMS from 10.2.0.3 to 10.2.0.4
    When we upgrade the OMS which also upgrade the Repository database.
    Apply the patchset p3731593_10204_Linux-x86-64.zip (Which comes with Grid_Control_10.2.0.4.0_Linux-x86-64.zip)
    su - oracle
    cd 3731593/Disk1
    ./runInstaller (Run two times for Agent and oms upgrade)
    Agent upgrade_
    During upgrade
    Specify Home Details: Select the Agent Home to upgrade Grid Control Agent.
    Ex: /u01/app/oracle/OracleHomes/agent10g
    OMS upgrade+
    Specify Home Details: Select the oms home to upgrade oms
    Ex: /u01/app/oracle/OracleHomes/oms10g
    *2. How can I monitor/Connect my Existing database 10.2.0.4 from Grid Control 10.2.0.3?*
    Install Grid Agent on the existing database server 10.2.0.4
    Download Linux_x86_64_Grid_Control_agent_download_10_2_0_4_0.zip from OTN http://www.oracle.com/technology/software/products/oem/htdocs/agentsoft.html
    su - oracle
    cd /u01/software/GridAgent/linux_x64/agent
    ./runInstaller
    Refer:
    [To Install an Additional Management Agent Using OUI|http://download.oracle.com/docs/cd/B16240_01/doc/install.102/e10953/installing_em.htm#sthref318]
    Oracle® Enterprise Manager Grid Control Installation and Basic Configuration
    10g Release 4 (10.2.0.4)
    Part Number E10953-05
    3 Installing Enterprise Manager
    Thanks
    Mukarram Khan
    Edited by: Mukarram Khan on Feb 6, 2009 11:04 PM

  • How many physical standbys can be created in one data guard environment?

    Hi Experts,
    How many physical standbys can be created from primary in one data guard environment? Why LOG_ARCHIVE_CONFIG limits up to 9 unique database names? Thanks.

    Victor Jin-Oracle wrote:
    Hi Experts,
    How many physical standbys can be created from primary in one data guard environment? Why LOG_ARCHIVE_CONFIG limits up to 9 unique database names? Thanks.
    Post the source of your information abouit the limit of 9 names.
    Even the Oracle doc shows 1..30 names in the same provided although that doesn't necessarily indicate a limit.
    https://docs.oracle.com/database/121/REFRN/refrn10237.htm

  • Backuping up a standby database in a Data Guard environment!

    Hello everyone,
    I have set a Data Guard in Oralce 10.2.0 between 2 databases for testing purposes. Each database is located on a different server. I want to schedule an incremental backup of the standby database to do an incremental level_1 backup everyday. I am following this paper:
    [Using Recovery Manager with Oracle Data Guard in Oracle Database 10g|http://www.oracle.com/technetwork/database/features/availability/rman-dataguard-10g-wp-1-129486.pdf]
    but it's really unclear, for me, how this command sequence is constructed:
    RECOVER COPY OF DATABASE WITH TAG ‘OSS’;
    BACKUP DEVICE TYPE DISK INCREMENTAL LEVEL 1 FOR
    RECOVER OF COPY WITH TAG ‘OSS’ DATABASE;
    BACKUP ARCHIVELOG ALL NOT BACKED UP TO SBT;
    BACKUP BACKUPSET ALL;How can I recover a copy of database that wasn't backed up before? When I did that in RMAN, I got the following output:
    Starting recover at 03-APR-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=159 devtype=DISK
    no copy of datafile 1 found to recover
    no copy of datafile 2 found to recover
    no copy of datafile 3 found to recover
    no copy of datafile 4 found to recover
    no copy of datafile 5 found to recover
    Finished recover at 03-APR-11Could anyone please help me understanding this sequence of commands in a simple way to get a better idea of how to backup a standby database?
    Thanks in advance...

    On the first day, there is no backup to recover. It is only on the third day's run that this command will really be successful.
    The white paper does explain this.
    Hemant K Chitale

  • Oracle 11g Goldengate working in a Data Guard environment

    Hey Guys, I have the following setup:
    Oracle 11.2.0.4.4 running on RHEL 6.6 64-bit
    3 node RAC Primary
    Single-node Standby with GI (Oracle Restart)
    4 DBs on Primary - AA, BB, CC and DD
    4 DBs running in Active Standby - AADR, BBDR, CCDR and DDDR
    Databases AA and BB replicate schemas into CC, which is a Reporting/Operational Data Store. GoldenGate 11.2.x is used for the replication
    XAG used for Goldengate HA
    All good here with the Primary DBs and replication humming along quite nicely.
    I have questions as part of building the DR environment. How should this work? As part of the real-time apply and active standby, CCDR should keep pace with the replicated primary DB CC. Now from a role transition perspective, I need to be have the GoldenGate software installed and configured on the Standby Server for starting the processes.
    Question 1: When the role transition happens, based on the data guard role, I could well have a system trigger to spawn off a shell script that starts off the goldengate processes. Would this be the correct approach?
    Question 2: Do I need to worry about setting/starting the extract/replicat from a specific CSN? The checkpoint table will be kept in sync as part of the SQL apply, so would just starting the extract and replicat process on the new Primary (old DR) work?
    I am unable to get any pointers on this in Metalink. Would appreciate anyone could point me to a MOS document that talks about using GG and Data Guard together.
    Thanks

    On the first day, there is no backup to recover. It is only on the third day's run that this command will really be successful.
    The white paper does explain this.
    Hemant K Chitale

  • Applying recommended patch bundles to a Data Guard environment.

    I've learned that there are 3 recommended patch bundles for 10.2.0.4 Data Guard, as follows:
    7937113 - 10.2.0.4 Data Guard Logical Recommended Patch Bundle #1
    7936993 - 10.2.0.4 Data Guard Physical Recommended Patch Bundle #1
    7936793 - 10.2.0.4 Data Guard Broker Recommended Patch Bundle #1
    My question is this...should I apply the logical and physical patch bundles to the primary database as well?
    Thanks,
    Michael Anderson
    OCP - Bank of the West

    That's what I suspected. Now, in my environment, I could never conceive of a situation where I would switch roles between the primary and the logical standby database, so I would only apply the DG physical patch bundle to the primary database but not the DG Logical patch bundle. Agree?

  • Multiple Location of datafiles in Data Guard Environment

    I have Data Guard setup in my oracle 10g database. Uptil now , all the datafiles were at same location, therefore db_file parameter setting in pfile was fine. Now I want to move my few of the datafiles at another location. Say, few of my datafiles would be in F:\ and some of them in G:\. How do I now set db_file parameters in Pfile ?

    OK...
    Alter database rename should be ok As long as both the PRIMARY directory strucures are same or if you have set the parameter db_file_name_convert
    While asking a question..
    You should post all the necessary information for us to help(is possible)
    1.Oracle version
    2.Os version
    Thread spesific
    3.Directory strucutrs of Both Priimary and Standby
    4.Init .Ora of both PRIMARY AND STANDBY

  • RMAN script failed while creating Data Guard 11g

    Hi Friends,
    I am creating Physical Standby (11g) using RMAN (ACTIVE) on windows using the doc : Step by Step Guide on Creating Physical Standby Using RMAN DUPLICATE...FROM ACTIVE DATABASE [ID 1075908.1]
    The folder structure on Primary DB and on Physical Standby is totally different.
    while executing RMAN script i got errors for lot of locations and i specified the proper location in RMAN script itself (ex set diagnostic_dest = 'c:\app\' , set db_recovery_file_dest='C:\app\flash_recovery_area')
    Location of control files on Primary DB:
    D:\oradata\MESSTG\CONTROL01.CTL
    D:\oradata\flash_recovery\messtg\MESSTG\CONTROL02.CTL
    Location of control files (planned) on Physical Standby DB:
    C:\app\oradata\MESSTDBY\CONTROL01.CTL
    C:\app\flash_recovery_area\MESSTDBY\CONTROL02.CTL
    How to specify control file location of Physical standby in set control_files?
    Also i have 2 control files on Primary DB so do i need to specify both the control files , if so how?
    I tried different combination in RMAN script but all are failed:
    set control_files='D:\oradata\MESSTG\CONTROL01.CTL','C:\app\oradata\MESSTDBY\CONTROL01.CTL'
    RMAN Error is :
    while using set control_files=: C:\app\oradata\MESSTDBY\CONTROL01.CTL
    contents of Memory Script:
    backup as copy current controlfile for standby auxiliary format 'D:\ORADATA\MESSTG\CONTROL01.CTL';
    restore clone controlfile to 'C:\APP\ORADATA\MESSTDBY\CONTROL01.CTL' from
    'D:\ORADATA\MESSTG\CONTROL01.CTL';
    executing Memory Script
    Starting backup at 16-APR-13
    channel prmy1: starting datafile copy
    copying standby control file
    released channel: prmy1
    released channel: prmy2
    released channel: prmy3
    released channel: prmy4
    released channel: stby
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 04/16/2013 14:18:41
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on prmy1 channel at 04/16/2013 14:18:41
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    RMAN>
    Error 2)
    while using set control_files='D:\oradata\MESSTG\CONTROL01.CTL','C:\app\oradata\MESSTDBY\CONTROL01.CTL'
    contents of Memory Script:
    backup as copy current controlfile for standby auxiliary format 'D:\ORADATA\MESSTG\CONTROL01.CTL';
    executing Memory Script
    Starting backup at 16-APR-13
    channel prmy1: starting datafile copy
    copying standby control file
    released channel: prmy1
    released channel: prmy2
    released channel: prmy3
    released channel: prmy4
    released channel: stby
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 04/16/2013 13:22:33
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on prmy1 channel at 04/16/2013 13:22:33
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    RMAN>
    Regards,
    DB

    Hi,
    Can you paste here you rman script ?
    I think following script can help you.
    duplicate target database for standby
    from  active database
    spfile
      set "control_files"="d:\oradata\<standbydbuniquename>\CONTROL01.CTL"
      set "db_name"="<DBNAME>"
      set "db_unique_name"="<STANBYD DBA UNIQUENAME>"
      set "db_file_name_convert"="C:\app\oracle\oradata\<dbname>","d:\oradata\<standbydbuniquename>"
      set "log_file_name_convert"="C:\app\oracle\oradata\<dbname>","d:\oradata\<standbydbuniquename>"
      set "db_recovery_file_dest"="D:\fast_recovery_area"
    nofilenamecheck;C:\app\oracle\oradata\<dbname> - it is primary database dafiles location
    D:\oradata\<standbydbuniquename> - it is standby database datafile location.
    Don't forget creation of diagnostinc dests.
    Regards
    Mahir M. Quluzade

  • Active data guard - patching

    Hi Gurus,
    I have primary db amsprd and active data guard amsprd_stby.
    we are planning to apply application patches in amsprd. earlier we used to rely on rman backup for restore in case of any failures.
    I would like to make use of standby as primary and keep the business up immediately after application patch failures.(to reduce the downtime - application failures are not having any rollback steps :-( - vendor product).
    to achieve this,
    before application patch application
    do i have to just stop the log shipping?
    or do i have to stop just log file apply?
    what are the steps involved in case of primary applicaiton patching failures.
    Thank you.

    So the Application Patch may turn out as a "Logical Mistake" from the Database perspective.
    One option would be to stop the Apply on the Standby Database. If your Application Patch was no good, you could do an "Immediate Failover" which will open the Standby immediately without applying the received redo first like an ordinary Failover would. You would have to create a new Standby Database on your Ex Primary site then.
    Another option would be to turn on Flashback Logging on both sites. If your Application Patch was ok - nothing to do. If not, flashback both sites to before the App Patch. Look here for an example:
    http://uhesse.wordpress.com/oracle-database-ha-architecture/2010/08/06/using-flashback-in-a-data-guard-environment/
    Second option has the benefit that you do not delay an emergency failover, should your Primary incidentally get destroyed during the App Patch. Also, if you need to rewind the Logical Mistake, you do not need to recreate the Standby completely. If you are on 11gR2, you can even turn on/off Flashback Logging without having to restart:
    http://uhesse.wordpress.com/2010/06/25/turning-flashback-database-on-off-with-instance-in-status-open/
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Use of Flashback Database in Data guard environments

    11.2.0.3/RHEL 5.8
    I've come across several docs which talk about configuring FLASHBACK DATABASE in dataguard environments. We have several
    Physical standby DBs (Single Instance & RAC) running in our shop.I would like to know two or three major(common) use of FLASHBACK DATABASE in data guard environments.
    I understood one use mentioned in the below URL ie. recovering from a logical mistake
    http://uhesse.com/2010/08/06/using-flashback-in-a-data-guard-environment/
    I would like to know what are the other major/common use of Flashback Database feauture in DataGuard environment

    A couple of other uses:
    1) You can use flashback to test your DR. So you can activate your standby. Test application/network connectivity and functionality on your DR site and when done revert this database back to a physical standby. You do however have to ensure that this is allowed in your environment. In some places I have worked this would be a big no no as there were zero data loss requirements. However some companies will allow this as long as the standby is back in place within a certain time period.
    2) In the case that you have to do a failover for whatever reason, but then what was the primary site becomes available, you can flashback what was your primary to make it the standby rather than re-instatiating the database from scratch.
    Eg. You have a power outage at your primary site so you perform a failover and your standby becomes the primary. Once what was your primary site is back online, you can convert your previous primary into a standby by doing a full back/restore (or whatever method you choose) to recreate your standby again. However you also have the option of using flashback on this database and then convert it into a standby as this would potentially be quicker than re-instantiating the standby.

  • Data Guard: db_file_name_convert/log_file_name_convert when using ASM/OMF

    All,
    I have a call currently open with Oracle regarding the setting of the parameters db_file_name_convert and log_file_name_convert in a data guard environment. We use ASM / OMF for storage and file naming and my question is basically do these parameters have to be set. The documentation says they do where the file structure is different between PRIMARY and STANDBY.
    I have successfully tested failover and switchover without these parameters. I have also added a new tablespace on the PRIMARY and watched it create a new OMF datafile on standby when the logs are switched.
    I just can't see a reason for setting them when using ASM / OMF.
    I'm hoping someone can enlighten me here because I'm getting nowhere whith support. The following is our Data Guard setup:
    PRIMARY
    DB_NAME=IBSLIVE
    DB_UNIQUE_NAME=IBSLIVE
    ASM Disk Groups:
    +PRODDATA (Data Files, Control Files, Redo Logs)
    +PRODFLASH (Archive Logs, Flashback Logs, RMAN backups)
    +PRODLOGS (Multiplexed Control & Redo Logs)
    STANDBY
    DB_NAME=IBSLIVE
    DB_UNIQUE_NAME=IBSDR
    ASM Disk Groups:
    +DRDATA (Data Files, Control Files, Redo Logs)
    +DRFLASH (Archive Logs, Flashback Logs, RMAN backups)
    +DRREDO (Multiplexed Control & Redo Logs)
    Many Thanks,
    Ian.

    Ian,
    I'm having similar thoughts.
    I have created a new instance with files in asm under +datadisk/obosact (this is the smae name as primary)
    I then modify the db_unique_name from obosact to obosactdr as is required for standby to work
    When I recover (duplicate target database for standby; ) I find that the files are in datadisk/obosactdr not in the datadisk/obosact area
    I found this reference http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf
    4. Connect to the ASM instance on one standby host, and create a directory within the DATA disk group that has the same name as the DB_UNIQUE_NAME of the standby database. For example: SQL> ALTER DISKGROUP data ADD DIRECTORY '+DATA/BOSTON';
    This step seems to indicate that the location of the files is determined by the db_unique_name not the db_file_name_convert paramenter
    DId you ever resolve the issue?

  • Block corruptioin after rman restore/recovery

    Thanks for taking my question!
    Oracle Enterprise Edition 11.1.0.7 on Windows 2008. Using Rman on-line backups COMPRESSED.
    Can anyone give me any ideas on why SYSAUX data block corruption should occur after a rman recovery?
    Below is my script. Am I missing something? Should I be physically removing the redo? Any ideas welcome?
    Thanks!
    Kathie
    rman> restore until seq = 123
    recover until seq = 123
    alter database open resetlogs;
    Background:
    I had to do a rman recovery the other day to restore our database back to the previous day. After the recovery the sysaux table became logically corrupted. I tried to fix data corruption with rman but it said it couldn't after reading thru 6 days of backups. I ended up deleting the database, recreating the database and restoring from an export takien a few hours prior.
    I now have a database to test rman recovery. Database has been up and rman backups (compressed) running for several days. I tried to recover back to previouse day and again SYSAUX has logical corruption. I tried to use Rman to recover data corruption but it failed.
    I deleted database and recreated it. Took several rman on-line backups (this time not compressed). Did 3rd recovery this time only a few hours back. This time everything worked - no sysaux block corruption but why? The only difference is the recovery used non compressed backups and recovery was a shorter time frame. why ???

    I agree the errors are not identical but I am going to stop performing compressed backups until I am sure that is not the issue.
    My first two recoveries had logical block corruption and this last one without compression set had no block corruption. I performed the same recovery process for all recoveries and the big difference was the successfull recovery did not have compressed backups. I checked v$database_block_corruption and it shows no errors. I also, performed a backup and verify to double check.
    The only issue I can see is below. I am hoping someone can confirm this is normal after "alter database open resetlogs". Can anyone verify that?
    Thanks!
    Kathie
    Thu Aug 27 10:17:49 2009
    alter database open resetlogs
    RESETLOGS after incomplete recovery UNTIL CHANGE 3587892
    Resetting resetlogs activation ID 3129052671 (0xba818dff)
    Thu Aug 27 10:17:50 2009
    Errors in file e:\oracle\diag\rdbms\cs90dev\cs90dev\trace\cs90dev_m000_2244.trc:
    ORA-00316: log 1 of thread 1, type 0 in header is not log file
    ORA-00312: online log 1 thread 1: 'E:\ORACLE\11.1.0\ORADATA\CS90DEV\REDO01.LOG'
    Errors in file e:\oracle\diag\rdbms\cs90dev\cs90dev\trace\cs90dev_m000_2244.trc:
    ORA-00316: log 2 of thread 1, type 0 in header is not log file
    ORA-00312: online log 2 thread 1: 'E:\ORACLE\11.1.0\ORADATA\CS90DEV\REDO02.LOG'
    Errors in file e:\oracle\diag\rdbms\cs90dev\cs90dev\trace\cs90dev_m000_2244.trc:
    ORA-00316: log 3 of thread 1, type 0 in header is not log file
    ORA-00312: online log 3 thread 1: 'E:\ORACLE\11.1.0\ORADATA\CS90DEV\REDO03.LOG'
    Thu Aug 27 10:17:53 2009
    Setting recovery target incarnation to 3

  • OS and DB upgrades to databases under data guard

    Hello,
    Here is the scenario. I have an OPS db and a physical standby of OPS. Platform is solaris 9 with both a 9i instance and a 10g instance. I want to be able to do a switchover of the ops to the standby and then upgrade the standby. I believe that I can upgrade the OS to solaris 10 with no problems. However, I also want to be able to upgrade the 9i instance to 10gR2. Is it possible to do an upgrade of this degree to a standby under data guard? At the point that the db upgrade has completed data guard will no longer have the same configuration. This scenario is starting to send off alarms to me. Thanks in advance for your responses.

    Hi,
    Is it possible to do an upgrade of this degree to a standby under data guard? Yes. Steve Karam does it all the time, and he has these notes:
    "Dataguard's physical backups are a GREAT DR situation for a failed upgrade. You will have an exact physical copy of your database ready to switchover to if anything goes wrong with the upgrade. Basically you switch your final archive log and shut down your primary, then begin the standard upgrade.
    If something goes wrong, you can perform a failover on your standby server and you're back up with no possibility of inconsistencies since it's a physical backup. In my opinion, the only method better than DataGuard for a backup for upgrade scenario would be to use SAN tools like NetApp's snapMirror or Sun's
    Availability Suite in order to back it up; these tools can snapshot a DB in a matter of seconds and are good for this sort of situation: if the upgrade goes wrong, simply restore the snapshot.
    If you do it right, you can set up dataguard with only 5 minutes of downtime, then perform your database upgrade with only 5 minutes of downtime. I have done this method for clients in the past and they have been very happy with the results."
    Bipul Kumar has a book devoted to using Data Guard, that you may find helpful, and he notes the steps for a Data Guard-based upgrade:
    http://www.rampant-books.com/book_2004_2_dataguard.htm
    "Upgrading to Oracle10g database software in a Data Guard environment involves the following activities:
    If the Data Guard configuration is managed by Data Guard broker, the broker configuration needs to be removed using the existing version of database software. In other words, remove the Oracle9i configuration before upgrading to Oracle10g. Execute the following command after connecting to any site in the configuration using DGMGRL to remove the configuration:
    REMOVE CONFIGURATION;
    Install Oracle10g database software. The Data Guard feature is not available with the Standard edition, so the Enterprise edition must be installed. Additionally, install Oracle Enterprise Manager (OEM) 10.1 in order to manage the configuration using Data Guard Manager GUI interface, which is tightly integrated with OEM.
    The primary and standby databases should be upgraded to Oracle10g. The log management services should be stopped during the primary database upgrade. All of the redo logs generated during the database upgrade should be applied manually on each standby database. For more information on upgrading to Oracle10g, refer to the documentation, “Oracle Database Upgrade Guide 10g Release 1(10.1)”.
    Update the initialization parameter files or server parameter files on the primary database and all the standby databases to include the parameter db_unique_name. The database unique name must be identical on all the databases in a configuration.
    Once all the databases in the Data Guard configuration are upgraded to Oracle10g, the broker configuration file will have to be created in order to manage it using Data Guard broker. Execute the following command, connecting to the primary database using DGMGRL, to recreate the broker configuration file and to add standby databases"
    Also, see the docs, with their instructions:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/upgrades.htm
    Hope this helps. . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference":
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

Maybe you are looking for

  • How do i get songs on itunes from old computer to itunes on the new computer?

    i have an ipod that i used with itunes on an old computer...got new computer and ipad. how should i transfer my songs and apps?

  • RTF Template field display

    Hi, I have created a xml report,In RTF Template some fields are placed one below another by using a table eg. Name: Add1: Add2: city,postalcode,State,country result on rtf is as Name Add1 city,postalcode, country my problem is that if 1 field is blan

  • UNABLE TO INSTALL FLASH PLAYER IN IE 8 XP

    I have taken all measures to uninstall with your uninstaller & reinstall in command prompt. With standalone installer, installation stops with a message 'failed to install for trouble shooting tips go to......tn_19166. As a result many softwares are

  • App Update Problems

    I have experienced this issue with 4 different apps, that I know of, and am not sure how many other apps I deleted as being "useless" because of the same problem... When any of my apps has an update, I prefer downloading the update in iTunes and then

  • Verify sha256 signed S/MIME Mail from IBM Notes

    Hello, we are using IBM Notes9 to write S/MIME mails signed with a sha256 certificate. Our CA is the DFN Verein. When the received mail is opend with Thunderbird (newest Version), the virification says that the mail was changed and the signature is n