How to implement Data guard

hi all
I am new to data guard.I want help to implement dataguard.so can anybody tell me link for good document,video to implement dataguard.

I am new to data guard.I want help to implement dataguard.so can anybody tell me link for good document,video to implement dataguard.What is the version is it 10g or 11g?
is it Windows/Unix?
You can follow emre baransel mentioned documents and also some more here.
if 11g you can implement dataguard without any backup. However mentioning both the links. Go through.
*Creating a Standby Database on a new host [ID 374069.1]*
*How to create physical standby database with 11g RMAN DUPLICATE FROM ACTIVE DATABASE [ID 747250.1]*
*Step By Step Guide To Create Physical Standby Database Using RMAN [ID 469493.1]*

Similar Messages

  • How to access Data Guard option in Oracle 10g OEM

    Hi All,
    I have Oracle 10g ENTERPRISE EDITION on Unix envoirement. I want to setup logical standby Database through Data Guard technology. But when I brows through OEM I do not find Link for DATA GUARD????
    1) How to access Data Guard option from oracle 10g OEM.
    2) Does It come with Enterprise Edition OR I have to install it separately.
    Regards,
    Darshan

    I am managing almost everything through EM Grid Control. It is easy to setup and configure.
    Anyways, if you have read the documentation on
    Oracle® Data Guard Concepts and Administration and setup your environment accordingly then you should not have any problems. Atleast I can assure you that your production database will not be affected by it.
    Just make sure that you follow each step and read thoroughly. If you have spare machines then you can test and record your configuration before performing it on your production db. This link will provide you with the information on DataGuard.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/concepts.htm
    If you think that way then you will never be able to do any new stuff since you will always fear that something might go wrong. Go ahead pal, try it on test machines and you will know that it is not that difficult.
    There are real experts who help people like us in this forum and I know that they are doing a pretty good job.
    All the best.
    Rgds
    Adnan

  • How to implement data level security

    How to implement data level security in BI Publihser?. I am using Obiee enterprise edition and bi publihser. My requirement is to show data based on User- Region relation ship.
    User A - belongs to Eastern Region
    User B - belongs to Southern Region
    so if user A logged in he should see only Eastern Region report. If user B logged in He should see only Southern region. I am using direct sql to my oralce database as data source.
    i appriciate your help

    I am using a common database username and password for jdbc connection. what i am looking is based the BI Publihser login, is there any way?
    say i have userregion table joined with fact. so that i can write a query to get the data
    select c1,c2,c3
    from userregion, fact
    where fact.region=userregion.region
    and userregion.user = BIPUBLIHSERUSER
    but my question is ithere any variable to tell who is logged in BI Publisher? Any server varaibles?
    Other related question is, In every report i want to show User name who is running the report. How can i get this?

  • How to setup Data guard for SAP database?

    Can someone please tell me how to setup data guard for SAP databases?
    Thanks,
    Abhi

    Hi Abhi,
    have a look at OSS 105047 - Support for Oracle functions in the SAP environment you find this under
    14
    Oracle Data Guard
    You can use "Physical Standby".
    You cannot use "Logical Standby".
    You are allowed to use Fast Start Failover (FSFO) but SAP Support is not provided.
    You can use Data Guard Broker.
    You can use Maximum Performance Mode, Maximum Availability Mode and Maximum Protection Mode.
    In the case of Maximum Availability and Maximum Protection, you must pay particular attention to a fast network connection in order to avoid performance problems.
    Maximum Protection causes the primary database to terminate if problems occur in the standby database.
    And here you find on Oracle white paper from 2010 http://www.oracle.com/us/solutions/sap/wp-ora4sap-dataguard11g-303811.pdf
    Perhaps some SAP user have answers for you http://scn.sap.com/community/oracle/content?query=guard
    regards
    Kay

  • Implementing Data Guard

    I am in need of Step by Step instruction set to implement Data Guard on 11gr2 OS linux.

    Hi again;
    Please also see:
    http://wiki.oracle.com/page/DataGuard+%3A+Step-by-Step+Instructions+for+Creating+a+Physical+Standby+Database
    http://www.oracletutorial.info/oracle-data-guard-11g/videos/oracle-data-guard-11g-step-by-step/
    Regard
    Helios

  • How to remove data guard broker configuration when  ORA-16625?

    I setup data guard broker for a standby database. However, we recreate the database and re-setup the standby database. But find the earlier broker configuration still exists. But I cannot remove or disable the configuration or any database within the configuration. When I try to do so I got the error, although all network settings are correct:
    Error: ORA-16625: cannot reach the database
    How to remove the configuration at this stage?
    Thanks for help,

    Hi, I saw same issue when doing switchover testing in my lab environment.prerequisite is primary role and standby role switched and og can be applied without data guard broker.
    Here is the step I resolved the issue
    1)on both primary and standby database
    SQL> alter system set dg_borker_start=false;
    on primary DB:
    SQL>alter system set dg_broker_config_file1='?/dbs/dr1afterswichoverpry.dat';
    SQL>alter system set dg_broker_config_file1='?/dbs/dr2afterswichoverpry.dat';
    on standby DB:
    SQL>alter system set dg_broker_config_file1='?/dbs/dr1afterswichoverstby.dat';
    SQL>alter system set dg_broker_config_file1='?/dbs/dr2afterswichoverstby.dat';
    2) enable dg_borker_start on both primay and sandbby db
    SQL> alter system set dg_borker_start=true;
    3)on primary database to create configuration
    Hope this can help you!
    email: [email protected]

  • How to implement "Date searching criteria"

    I have a block contains some textboxes such as project_no, project_name, startdate.
    I would like to search by startdate.
    For example, I have 2 other text items for searching only. the first item is "DATE1" the second item is "DATE2". I want a user to enter a date into the first text item "DATE1" and enter another date into the second text item "DATE2". then click on execute button to get the result.
    The result is supposed to be all StartDates that match the criteria.
    How can i implement this in forms6i???
    Thank you in advance for your help.

    ok, i will explain more in details,
    I have a data block contains some text boxes (sno, empno, projectno, startdate), currently, users can click the "Execute" button and return all records or users can go to Enter query mode and insert a value (search criteria) into any of these textboxes, and then they will get the required record after clicking the "Execute" button.
    I added 2 non database text boxes(date1,date2) for searching purpose, it will return all startdates located between these 2 dates. I used the following code for that and its working fine but "IT DISABLED THE OTHER SEARCHING CRITERIA (sno, empno...)" which is not good because i want a suer to have a choice.
    Declare
    where_dt varchar2(150);
    Begin
         IF :System.Mode = 'NORMAL' THEN
         set_block_property('blk_name', default_where,'');
         Else
    where_dt:='startdate between :blk_name.date1 and :blk_name.date2';
    set_block_property('blk_name', default_where,where_dt);
         End if;
    Execute_query;
    End;
    So, i edited the code to include the other criteria, users can search by one criteria only.
    Declare
    where_dt varchar2(150);
    Begin
    IF :System.Mode = 'NORMAL' THEN
    set_block_property('blk_name', default_where,'');
    Else if :System.Mode = 'Query' Then
    if :blk_name.Date1 and :blk_name.Date2 is not null then
    where_dt:='startdate between :blk_name.date1 and :blk_name.date2';
    end if;
    if :blk_name.sno is not null then
    where_dt:='sno = :blk_name.sno';
    end if;
    if :blk_name.empno is not null then
    where_dt:='empno = :blk_name.empno';
    end if;
    set_block_property('blk_name', default_where,where_dt);
    End if;
    Execute_query;
    End;
    Unfortunately, this code is not working, i am getting error.
    It points to the last "END;" and returns error: "Encountered the symbol ";" when expecting one of the following IF "
    Any help please??

  • Data Guard Implementation   Importing one schema  will it reflect in other?

    Hi All,
    I have succesfully implemented data guard (Primary) and Physical Standby
    for 10g R2.
    It works fine. I would like to know if on the primary if I remove one schema and import the data/objects using a dump file will it get reflected in the standby?
    ie we have to refresh our primary database with actual production data by dropping one user (prod) and its objects. And I will run the import(dump file) in order to bring the data from production
    Will this refresh the data in the standby ?
    Thank u all
    Rajesh Alex

    The answer is Yes, that's the goal of the dataguard configuration, to replicate all changes from the primary to the standby database.
    Any DML or DDL is recorded by the redolog mechanism, and the redo information is transported from the primary to the standby database where the information is applied, exactly the same way it was applied at the primary database. DDL commands (create, alter, drop) are considered transactions against data dictionary tables, so they are recorded just like any other DML transaction on the redolog mechanism and transfered just the same to the standby.
    The time it will take to get replicated at the standby database will depend on the kind of Dataguard configuration you have, if you have a high avilability or a high performance configuration.
    ~ Madrid

  • Data guard implementation

    Hi ALL
    i want to install a data guard on windows servers.
    So i got two windows servers set up.Now i need to implement data guard.
    Since both the servers are new and only oracle in installed,it will be easy to implement.So before proceeding i want to take all your suggestions.
    Thank you one and all........................

    Hi, i recommend you read the next documentation before start with the configuration,you can design your environment careful attention to detail and get more performance in your implementation.
    Oracle® Data Guard Concepts and Administration
    10g Release 2 (10.2)
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/toc.htm
    Regards.

  • Init SID .ora during configuration of Data Guard - advice required

    Hi All,
    I am looking to implement data guard across 2 RAC clusters. One cluster will be primary and the other is for Disaster Recovery.
    I have already set up the two 11g R 2 RAC clusters on RHEL 5 and now need some pointers to good docs for data guard install.
    Can some one direct me to good step by step info for configuring data guard between to RAC clusters - detailed explanations of each step would be useful too, in particular around the init.ora file configuration changes between the primary and DR sites
    Much appreciated
    Steve

    Hi Steve,
    look at the MAA Whitepapers:
    http://www.oracle.com/technetwork/database/features/availability/oracle-database-maa-best-practices-155386.html
    There are very good ressources in setting up RAC DG environments like:
    Data Guard 11g Installation and Configuration Best Practices on Oracle RAC
    Rapid Oracle RAC Standby Deployment: Oracle Database 11g Release 2
    Setup Guide: Creating a RAC Logical Standby Database for a RAC Primary Database
    Client Failover in Data Guard Configurations for Highly Available Oracle Databases
    a.s.o.
    Sebastian

  • Error during implenting Data Guard

    I am implementing Data guard on two different PC's by following this URL,
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/ha/dataguard/physstby/physstdby.htm
    i the last step when i execute RMAN script, it is giving errors, i need your help in resolving this.
    RMAN> run {
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate auxiliary channel stby type disk;
    duplicate target database for standby from active database
    spfile
    parameter_value_convert 'tmdb','tbdb'
    set db_unique_name='tbdb'
    set db_file_name_convert='/tmdb/','/tbdb/'
    set log_file_name_convert='/tmdb/','/tbdb/'
    set control_files='/u01/app/oracle/oradata/tbdb/tbdb1.ctl'
    set log_archive_max_processes='5'
    set fal_client='tbdb'
    set fal_server='tmdb'
    set standby_file_management='AUTO'
    set log_archive_config='dg_config=(tmdb,tbdb)'
    set log_archive_dest_2='service=tmdb ASYNC
    valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=tmdb'
    Output of Script
    using target database control file instead of recovery catalog
    allocated channel: prmy1
    channel prmy1: SID=16 device type=DISK
    allocated channel: prmy2
    channel prmy2: SID=21 device type=DISK
    allocated channel: prmy3
    channel prmy3: SID=152 device type=DISK
    allocated channel: prmy4
    channel prmy4: SID=24 device type=DISK
    allocated channel: stby
    channel stby: SID=135 device type=DISK
    Starting Duplicate Db at 19-APR-11
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwtmdb' auxiliary format
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwtbdb' targetfile
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfiletmdb.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfiletbdb.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfiletbdb.ora''";
    executing Memory Script
    Starting backup at 19-APR-11
    RMAN-03009: failure of backup command on prmy1 channel at 04/19/2011 14:46:28
    ORA-17627: ORA-12577: Message 12577 not found; product=RDBMS; facility=ORA
    continuing other job steps, job failed will not be re-run
    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/19/2011 14:46:29
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on prmy2 channel at 04/19/2011 14:46:28
    ORA-17627: ORA-12577: Message 12577 not found; product=RDBMS; facility=ORA

    https://supporthtml.oracle.com/ep/faces/secure/km/BugDisplay.jspx?id=8406972&bugProductSource=Oracle&h=Y
    WORKAROUND:
    Use RMAN duplicate database based on backup
    https://supporthtml.oracle.com/ep/faces/secure/km/BugDisplay.jspx?id=10339515&bugProductSource=Oracle&h=Y
    WORKAROUND:
    Make sure that the raw partition on the Standby has equal size than the one
    on the Primary.

  • Data Guard ON ODA

    can you please help with any documents that show how to configure Data Guard on two ODA?
    Thanks,

    Hello;
    Based on what I read in E22692-11 its not any different than any other database with Data Guard
    Both require Enterprise Edition and can be Single instance or RAC.
    However given the odd size templates and the fact I search the document and cannot find one word about Data Guard concerns me a little.
    But if you have two of them I don't see any reason one cannot be Primary and the other Standby.
    If you dig deep on the oracle page for it you see "Active Data Guard" as an option.
    Based on a hard search I think my first thought is correct. The use of Data Guard falls into "Enterprise Edition" and there's Nothing special about it on ODA. Decided which ODA template you want to use and build it.
    http://www.oracle.com/us/products/database/oracle-db-appliance-whitepaper-495291.pdf
    Has a tiny note on Public Network and Data guard
    Inside the Oracle Database Appliance (ODA) [ID 1385831.1]
    http://www.oracle.avnetportal.ch/fileadmin/oracle.avnetportal.ch/templates/pdf/ODA/ODA-VAD-VAR-Tech-Avnet-LIGHT.pdf
    Best Regards
    mseberg
    Edited by: mseberg on Apr 12, 2012 7:32 AM
    Edited by: mseberg on Apr 12, 2012 7:34 AM

  • MC Service Guard + Data Guard + Data Broker?

    Hi guys,
    A clustered 2 nodes on HP-UX with MC service guard (active/standby), have a running oracle 10g db in one of the nodes. I am planning to implement data guard on the 2 node. But MC service guard is responsible for failover of the nodes, which I think is the same role of data broker. Would this cause a conflict between the MC service guard and data broker failover role? Should I not implement data broker? Could anyone give me some ideas? Thanks in advance.

    YES!! you can install 10g grid control under HP MC/Service guard. I have done it with some undocumented tweaking. As this is an undocumented feature, use it at your own risk.
    Problem :
    Installer picks up the hostname and the Management service is installed on the host instead of the package. When the package flips over to the other host the management service breaks.
    Solution :
    Copy the CD/DVD to the host or better still download the media from edelivery.oracle.com to your host. (I personally do not mount CD/DVD on HP servers because of the crazy pfs mounting. It tends to hang the server if you don’t do it right). You will have to install from the copied media since you will be modifying one of the supplied ini files.
    Edit oraparam.ini under Disk1/install in the copied installation media. Change SHOW_HOSTNAME=NEVER_SHOW to SHOW_HOSTNAME=ALWAYS_SHOW and save the file
    Start the installer. During the installation there will be a screen to enter the hostname. Change the hostname to the package name. (The labels in the hostname screen did not display properly. I use Exceed. If you see a screen with your hostname in a text box, just change it to the package name and continue).
    Towards the end of the installation, opmn configuration will fail. When it does open $ORACLE_HOME/webcache/webcache.xml and find the line “HOSTNAME=package_name” and change it to “HOSTNAME=hostname”. Retry the configuration step after making the change and your install should proceed and complete successfully.
    Web cache does not like packages. You should have multiple copies of webcache.xml – one for each host in the package (webcache.host.xml) – with the corresponding hostname in each file. As part of the package startup webcache.host.xml should be copied as webcache.xml before "opmnctl startall".
    Given Oracle’s direction and attitude, these solutions will be short lived. They want you to use RAC and Application Server HA instead of Service Guard.

  • Data Guard Test cases

    Hi All we are in process of implementing Data Guard (Physical Standby) setup. Everything has been done. Now we need some good test cases to test our setup. Can you please provide some inputs in testing this.

    Simple test would be to create few test tables with some data in primary and see if they are applied in your DR site by Data Guard.
    In terms of testing failover & failback or Switchover and Switch back you would need to go through oracle documents or refer the following link.
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_SwitchoverFailoverBestPractices.pdf
    sbs

  • Configuring Data Guard on 2 different instance in same machine

    Hi All,
    I am new to the Data Guard concept. I am using Oracle 10g (Release 10.2.0.1.0) in Windows 7 environment . I have created 2 database instance its running fine.
    For testing purpose, Is it possible to implement Data Guard concept between 2 instance in the same machine? whether it will impact any problem?
    Thanks & Regards
    Sami.

    You would use the same one. That is, you would not have a separate tnsnames.ora and listener.ora.
    What I was trying to say is you still need to add the SID_LIST_LISTENER lines that Data Guard uses
    Example
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (global_dbname = PRIMARY_DGMGRL.uservices.umn.edu)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (sid_name = PRIMARY)
    TNS Example
    STANDBY =
    (DESCRIPTION =
    (SDU=32767)
    (SEND_BUF_SIZE=2092500)
    (RECV_BUF_SIZE=2092500)
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = HOSTNAME)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = STANDBY)
    Best Regards
    mseberg (Its very late here)

Maybe you are looking for

  • Flex to AS3 swf

    I want to get swf files I have produced in Flash Builder 4.5 into Prezi. They require what they are calling an "AS3 SWF" file for loading. My SWF from FB is not making the trip. Any ideas as to how I can get my FB swf to be/look like an AS3 swf? Than

  • Why is the ipod insisting on pausing between tracks?

    My ipod 30g is pausing between tracks and there is no apparent way of altering that. This is a serious unresolved problem with the ipod which I feel needs to be discussed until Apple either recalls it or resolves the issue. I did a search for this to

  • My ipod keeps flashing on and off

    My IPOD keeps flashing on and off how do i fix it

  • Help: Error on SELECT INTO TABLE2 FROM TABLE AS E1 JOIN...

    Can anyone help? I am getting an error in my sql statement below: SELECT E1.COL1, E1.COL2, E2.COL3, E1.COL4 INTO TABLE2 FROM TABLE AS E1 JOIN TABLE AS E2 ON (E1.COL1 = '10000' AND E2.COL1 = '20000') OR (E1.COL1 = '20000' AND E2.COL1 = '10000') WHERE

  • Inactive version to active version

    Hi Gurus. In this scenario I want to convert the PIR's that I am getting from APO in inactive version and I want to convert it into active version before running the MRP.Pls suggest how to do it?