Dataguard 10gR2

I have setup the dataguard 10gR2 Physical standby(maximum availability) database, i should stick to this release only.
In case of disaster, this is manual switching. My question is How can I make automate, once happened disaster without knowing effect from user.
thank u.

you can switch to primary role when yours standby database is either in mounted state for redo apply mode i.e recovery mode or it is open for read only then
at standby
alter databse commit to switchover to primary
alter database open
Khurram

Similar Messages

  • Change the maxsize of the datafiles in DataGuard 10gR2

    We have the DataGuard 10gR2, 1 is primary and other is physical standby in production.
    My questions:
    1/ The maxsize of the datafiles is being modified by either increasing or decreasing in primary, does it modification change automatically also in standby ? Note: the parameter is set in the init.ora file standby_file_management = AUTO.
    If it does not change in standby, what can we do to change it in stanby
    2/ We want to resize the datafile in primary using the below command, does it modification change automatically also in standby ?
    If it does not change in standby, what can we do to change it in stanby
    ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/stuff01.dbf' RESIZE 100M;

    Pl do not post duplicates - Change the maxsize of the datafiles in DataGuard 10gR2

  • DataGuard 10gr2 (10.2.0.4) AIX 5.2-primary Aix 6.1-Standby possible?

    We currently have 10.2.0.4 DG configuration running on three AIX 5.2 servers (one primary, two standbys). We will be installing some new servers that will be pre-loaded with AIX 6.1. If we were to install 10.2.0.4 on these new AIX 6.1 servers is it possible to create additonal standbys on them? Or is there a limitation in 10gR2 Datagurad that the OS versions must be exactly the same?
    Doc ID: 413484.1 indicates that this is possible but I am unclear if this only applies to DataGuard 11g?
    Thanks in advance. It would also be appreciated if anyone knows of an Oracle document that definitively states whether this can or cannot be done.

    Whilst I've only done AIX upgrades at the level like 5.2 to 5.3 etc using standbys, there is no reason that a major OS release level shouldn't function correctly. As long as both run the same DB software patch level (10.2.0.4 as you've stated) then it should be fine. If you're really paranoid raise an SR with Metalink and get it in writing.

  • Dataguard 10gr2 sequence

    Can we replicate the sequence from primary to standby... using logical standby.

    sequences are stored and administrated in a datadictionary table.
    The dictionary is 'replicated'.
    What is your exact problem?
    Sybrand Bakker
    Senior Oracle DBA

  • Restore standby database 10gR2 after crash

    The RMAN do a full backup of the physical standby of the DataGuard 10gR2 everyday.
    If the standby was dead, disks corrupted, and replaced with a new server.
    Can we restore the standby from the RMAN backup, apply the archivelogs or we have re-create the standby db from the primary ?
    If possible to restore the standby from the RMAN backup, what are the procedure exactly ?
    Is it like this:
         RMAN>     Startup force nomount;
         RMAN>     Restore spfile;
         RMAN>     Restore controlfile;
         RMAN>     Shutdown
         RMAN>     Startup mount
         RMAN>     Restore database
         SQL> Recover standby database until cancel;
    ## to start Redo Apply
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;

    user565394 wrote:
    The RMAN backup of the standby db is not obsolete and the archivelogs are still available for the last 30 dayson the RMAN backup.
    I believe there is no need to re-create the standby db from the primary because the RMAN backup is still valid so it's must be possible to get the standby db back from the RMAN. If anyone who has experience and could confirm this with the procedure. That would be great.Why not test it by your own? Create a standby database and practice. You can check my video tutorial on creating standby database:
    http://kamranagayev.wordpress.com/2010/06/25/rman-video-tutorial-series-creating-duplicate-and-standby-database-using-rman/
    Moreover, read the "Backing Up a Standby Database with RMAN" of the following documentation:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmbackp.htm#445993
    Use the RMAN BACKUP command to back up the standby database. A backup of the standby database is exactly the same as a backup of the primary database, except that the backup takes place on the standby site. The primary database has no influence on the backup of the standby database. Note that when you connect to the standby database to perform the backup, you connect using the TARGET keyword and not the AUXILIARY keyword.
    Whether the standby database backup is consistent or inconsistent depends on the state of the standby database when the backup is made. Only a consistent backup can be restored without performing media recovery.

  • Data Guard Info

    I have a simple question - using Dataguard 10gR2 is it possible to open the standby database and perform queries requiring sorting? I mean is the temporary tablespace available for writing?

    but is that similar to "alter database open read only"? because if that is the case only queries without the need to perform any use of the TEMP tablespace can be executed...

  • Oracle 10gR2  RAC / Dataguard on Linux Redhat 4.2  X86_64 and ASM / OCFS2

    Hi All,
    Well don't know if this is bleeding edge or not, but wanted to know if anybody has a system running the following setup and if there are any issues like some components are not certified on 64 bit (e.g is OCFS2)
    We are in process of building a system with
    Oracle RAC on 10gR2 on a 64 bit Linux OS 4.2 (2.6.9-22.ELsmp)
    The system has a EMC CX500 and we are going to use ASM for the datafiles and OCFS2 for the Voting Disk and OCR.
    We are also going to have a single (no RAC) Physical Dataguard instance at another site also using ASM.
    We have seen that the OEM Grid Controller and agents are not supplied on x86_64
    so we can't use it in a 64bit environment. (are we correct)
    Anybody with suggested alternatives with the kit we have or a strong suggestion that 32 bit for RAC and Dataguard are best
    Thanks in advance
    John

    I have a similar configuration, 3 nodes of SunFire X4100 (dual opteron), on RedHat 4 ES Update 2 using Dell/EMC CX300.
    I am using OCFS2 for data and voting disks.
    We had a couple of freeze-up (total node lockup) and I could not figure out what was wrong (this happens randomly).
    Anybody have any idea where should I look for possible reasons?

  • Oracle Dataguard 11gR2 -- 10gR2 compatibility

    Hi,
    The short question is: with physical standby, is Dataguard compatible with different source/destination database releases?
    I am planning to perform an upgrade from Oracle 10gR2 to 11gR2. I have a Production 2 node RAC and a geographically seperate physical standby DR site 2 node RAC using Dataguard.
    Naturally (I think) I would upgrade Production first and then DR later. During the time when my Production is on 11gR2 and my DR is on 10gR2, can I still maintain a physical standby with Dataguard? My gut tells me that is not possible since the data dictionary is going to be completely differently between the 2 releases. I would need at least 1 week before I am able to perform the upgrade on the DR side, and have no possibility of getting more disk space for a temporary logical standby.
    Conversely if it is backward compatible, can I perform the upgrade on the DR site first then use Dataguard to keep the DBs in sync until the next weekend where I upgrade the Production?
    Any other options I can exercise with the boundaries that I have? (No additional disk space can be allocated)
    Thanks in advance.

    hi,
    you cannot have different version at primary and DR sites..
    There is procedure for this.. Please read oracle documentation for step by step procedure:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/upgrades.htm
    Please follow steps from above documentation:
    Perform the following steps to upgrade to Oracle Database 11g Release 1 (11.1) when a physical standby database is present in the configuration:
    1. Review and perform the steps listed in the "Preparing to Upgrade" chapter of the Oracle Database Upgrade Guide.
    2. Shut down the primary database.
    3. Shut down the physical standby database.
    4. Install the new release of the Oracle software into a new Oracle home on the physical standby database system, as described in the Oracle Database Upgrade Guide.
    5. Mount the physical standby database.
    Note: The standby database should not be opened until the primary database upgrade is completed.
    6. Start Redo Apply on the physical standby database.
    7. Install the new release of the Oracle software into a new Oracle home on the primary database system as described in the Oracle Database Upgrade Guide.
    8. Upgrade the primary database as described in the Oracle Database Upgrade Guide. Note that the physical standby database will be upgraded when it applies the redo generated by the primary database as it is upgraded.
    9. Open the upgraded primary database.
    10. If Active Data Guard was being used prior to the upgrade, then refer to Section 9.2.1 for information about how to reenable it after upgrading.
    Regards
    Rajesh

  • Creating Standby database with Oracle 10gR2 SE (no dataguard). Procedure

    Hello,
    I have problems in creating a standby database without Dataguard (Oracle Standard Edition)
    -Oracle 10gR2 SE (No DataGuard !!!!)
    - SUSE Enterprise 10.
    Both primary and standby databases are running in Virtual machines (lab).
    I will describe the exact steps I followed :
    1.---------------------------------------------------
    Both primary and standby databases have exactly the same file / folder structure
    2.---------------------------------------------------
    I enabled archive log mode with a new destination : /opt/oracle/oradata/orcl/archive_logs.
    Also : SQL> alter database force logging;
    3.---------------------------------------------------
    I shut down the primary database (shutdown immediate)
    4.---------------------------------------------------
    I created a standby controlfile on the primary database:
    SQL> startup mount
    SQL> alter database create standby controlfile as '/tmp/standby.ctl'
    SQL> shutdown immediate
    5.---------------------------------------------------
    I did a cold backup from the primary db to the standby db
    (I copied all the db files, control files, redo log)
    6.---------------------------------------------------
    I copied from the primary db to the standby db the standby control file
    (from primary /tmp/standby.ctl)
    7.---------------------------------------------------
    I copied from the primary db to the standby db the standby control file
    (from primary /tmp/standby.ctl)
    8.---------------------------------------------------
    I created on the standby database a pfile from the spfile :
    SQL> create pfile from spfile;
    9.---------------------------------------------------
    I edited the pfile and changed the controlfile location (with the standby controlfile created in step 4)
    >>>>> *.control_files='/opt/oracle/oradata/orcl/standby.ctl'
    10.--------------------------------------------------
    I started the standby db
    SQL> startup mount pfile='/opt/oracle/product/10.2/db_1/dbs/initorcl.ora'
    SQL> alter database recover managed standby database disconnect from session;
    SQL> quit
    11.--------------------------------------------------
    I made some changes on the primary db on user scott
    SQL> update table set .......
    12.--------------------------------------------------
    I switched logfile on the primary db
    SQL> alter system switch logfile;
    13.--------------------------------------------------
    I manually copied the new archivelog to the standby db
    And then nothing !!!
    The db changes are not applied.
    Please help me fix the procedure !!!
    Thanks

    Hi
    Ref to your Oracle SE Standby issue, we were in similar situation couple of years ago to build an Automated Standby for our disaster recovery on Oracle SE. We finally got a solution provider Anbul Technologies , they have a one of their solutions based on Oracle SE which provided fully automated Standby in Oracle SE.
    We are successfully running that solution in our prod env for many years. You can visit their site www.anbultechnologies.co.uk or contact them for further details. They are Uk based but provides support and services all over Europe.
    Cheers

  • Oracle 10gR2 Dataguard quick question

    Hi -
    Just a quick question about Oracle 10gR2 Dataguard. I'm in the process of creating dataguard standby, which is running for few hours and could take few more hours because of the size and the standby's network latency, and i'm using OMS to create the DG. I'm in a situation now to create new tablespace(A) and also one more datafile to the existing tablespace(B).
    Question is: How would this new tablespace and the new datafile in the existing tablespace affect the DG standby which is about to finish in couple hours? Will the DG pickup the new changes from the primary? Or, will it be done with error from the mismatch of the number of files? The issue is that i can't wait for the standby creation to be done as the additional tablespace and datafile requirement is production critical, and should be added right away.
    note: standby_file_management is set to auto.
    Thanks for your response.
    regards.

    Your post is a bit vague, as OMS is an acronym for Oracle Management Server, which is a service only.
    If you would have stated you are using Database Control, or RMAN duplicate database, the picture would have been much clearer.
    Database Control uses rman duplicate database.
    Recovery is the mandatory implicit last step of this procedure to pick up all changes since you started the duplicate.
    One word of warning: Network latency is one thing to avoid like hell in a standby configuration.
    It might even slow down your production database.
    Sybrand Bakker
    Senior Oracle DBA

  • DataGuard-Standby on IBM Power6  work with Production 10gR2 on IBM Power5?

    Hi
    We plan to configure Data Guard(Logical) for reporting purpose with production 10gR2 RAC installed on IBM Power5 64bit machine.
    For dataguard -logical standby, available machine is IBM Power6 64bit. As per the data gaurd document, the hardware architecture needs to be same.
    But it is not clear if DataGaurd on IBM Power6 will work with Production IBM Power5 machine. Can we go ahead with this configuration? Please advice!
    Thanks
    Bijay
    Edited by: user13310901 on 17 Sep, 2012 2:58 AM
    Edited by: user13310901 on 17 Sep, 2012 3:03 AM

    Yes I believe it does work.
    Sources -
    Data Guard Support for Heterogeneous Primary and Logical Standbys in Same Data Guard Configuration [ID 1085687.1]
    Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration [ID 413484.1]
    Best Regards
    mseberg

  • Major issue's or bugs in 10gr2 dataguard?

    We have implements the physical standy database in 10gr2. My manager what know about dataguard major issues or bugs in 10gr2 ? Please share your experience.
    Appreciate your reply.

    Dear user530956,
    Please first check below link;
    http://www.oracle.com/technetwork/topics/security/alerts-086861.html
    Can you see any bug fixes about the Oracle Data Guard?
    There could be always bugs but i don't know that 10gR2 has data guard bugs or bugs that affects the system critically. I have never faces a bug for the data guard.
    Tell your manager to get you a metalink account and check the metalink for further information and articles about the Oracle Data Guard. You need more than people's experiences.
    Regards.
    Ogan

  • Dataguard and ASM on 10gR2

    I can find no information on if dataguard can be used with ASM. Does it require the use of datafiles? I am upgrading databases from 9.2.0.4 to 10g and will have a standby and remote location standby also for distaster recovery. Any information and book/url/other sources is greatly appreciated.
    SL Niemann

    Take a look at http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gASMMigration.pdf
    Andrey

  • 10gR2 RAC, more 10gR2 RAC, DataGuard and Grid Control on Windows 2003

    Hello all,
    I have never used GC to implement DG between two different RAC installations, so if i could just a few questions to the experts.
    1) It seems that the Grid Control GUI of the DG broker cannot created a RAC instance for physical/logical standby. You have to use the third option from the wizzard, the one about the previously created standby database.
    Can i hope that as long as i create the RAC standby i will still be able to work with GC?
    2) Currently, when i try to create a physical standby from my primary RAC instance, i get a Java exception when i try to perform the backup and message like "Index: 3, Size: 3". doesnt really help... Does anybody know what this means?
    3) Once i have the whole solution implemented, will the two clusters require the presence of the Grid Control machine to "talk to each other"? Ie what will happen if i shutdown the Grid Control machine?
    GC: Grid Control
    DG: Data Guard
    RAC: Real Application Clusters

    well i skipped Grid Control all together and went for an all command-line approach and ... it works! Maybe i shall setup GC now to see graphically what i did, but i found more confidence working the traditional way, both for creating the standby backup with RMAN and starting up the initial standby instance, registering it with the clustered ASM and adding more stby instances with srvctl as i needed.
    I found a great ally in all the documents listed in the MAA section of oracle.com
    and i could only suggest them (at least until 10.2 version of GC comes out)
    http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm

  • Logical Standby Dataguard experience. Robust? Reliable?

    DBAs,
    Need sharing from all of your experience using logical standby Dataguard in 10gR2 or 11gR1. Do you feel that this logical standby technology requires high operational overhead (e.g. lots of problems, bugs, not so robust, error prone, etc). Transaction load is rather high for my environment.
    I only use physical standby so far.
    Thanks in advance

    Hi - first you need to know the purpose of requiring a logical standby.
    If it's for active standby - you might consider active dataguard in 11g.
    Also you have to go through the doc for the list of limitation/s (regarding db objects) on logical standby - there's quite a few of them.
    A well maintained/monitored system will have no additional admin overhead (maybe not initially) than the orhers.
    cheers.
    Lovell.

Maybe you are looking for

  • Can we use if/else condtions like

    can we use if [condtion1] then [condition2] elseif [condtion3] then [conditon4] in oracle.

  • Field Control settings in SRM 7.0

    Hi Experts , We are configuring SRM7.0 with ECC6 ( Ehp4) having Classic Scenario . We want to make 1. Some fields mandatory for example Refernce Document in Confirmation document..etc --->> I done setting in the sRM Config at   SPRO......-> Configure

  • [JS][CS3] Selection Menu with images

    I have no idea it this is possible, but I have written this code at the start of a script to select a function within the script: myDialog = app.dialogs.add({name:"Catalogue Selector"}); with(myDialog)         with(dialogColumns.add())           with

  • What is the user and password to Oracle 8.17

    Dear expert, I have loaded IDES 4.7 with Oracle 8.17. I wish to query the SAP table using Oracle PL/SQL. What is the user, password and string to login into SAP Oracle database? Since I was not asked for user and password when installing Oracle I do

  • Lob Chunk size defaulting to 8192

    10.2.0.3 Enterprise on Linux x86-64 DB is a warehouse and we truncate and insert and or update 90% of all records daily. I have a table with almost 8mill records and I ran the below to get max lenght for the lob. select max(dbms_lob.getlength(C500170