Refresh primary db in a dataguard environment using datapump

I just built a dataguard 10.2.0.3 environment(primary/physical standby)...we need to refresh the primary database using a datapump export. Can i just go ahead and refresh it just as i would refresh a normal database?
For e.g., i would drop the users, create users, and run the datapump import. This will automatically get run on the standby as well, if i understand it properly. Has anyone done this and can confirm?
Thanks.

Thanks for the reply.

Similar Messages

  • Flashback in dataguard environment

    Hi,
    We have dataguard environment with Sun OS & Oracle 10g, 11g. Now we want to enable flashback for the primary database as well as standby database (physical standby). NO RMAN. I did manage to configure the flashback for the primary database but confusion is:
    -- Do I need to configure flashback at standby or recreate standby after enabling flashback at primary site?
    -- Suppose if I use flashback database to restore point and open database with resetlogs, what would be the situation at standby site? Will it be in sync with primary or after resetlogs I need to make new standby database??
    -- Is there any space requirement ratio for flashback recovery partition?
    Thanks,
    Amit.

    If you only enabled flashback on your Primary, your Standby is not affected. If you did actually a flashback database on your Primary, you need to address that on the Standby. See an example here:
    http://uhesse.wordpress.com/oracle-database-ha-architecture/2010/08/06/using-flashback-in-a-data-guard-environment/
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Configuring rman for dataguard environment.

    Hi all,
    Here we have a dataguard environment with db1 as primary and db2 as physical standby database. We configured dataguard in 10g environments and we are not using grid control. Can anyone provide the steps for configuring rman for incremental backups in this environment? We want to schedule the backups to be taken in standby db, (that is applicable in case of swithover too). In the case of swithover to db2 what all do we need to do in rman manually to resume backups in db1?
    Thanks

    Hello;
    A Standby database is a copy of the Primary so if you try to register it RMAN will probably tell you its already registered. I would start with this :
    Standby based backup
    1. Enable auto backup of the control file and server parameter file. CONFIGURE CONTROLFILE AUTOBACKUP ON.
    2. Skip backups on datafiles already backup. CONFIGURE BACKUP OPTIMIZATION.
    3. Set the archive deletion policy. CONFIGURE DELETION POLICY TO NONE.
    You have to decide on the exact RMAN script you want to use, but since the database is registered you can perform backup on either the Primary or the Standby as the need arises.
    See "Using RMAN to Back Up and Restore Files" in "Data Guard Concepts and Administration 10g Release 2 (10.2) B14239-05"
    http://docs.oracle.com/cd/B19306_01/server.102/b14239/rman.htm
    Example in this post
    How to manage primary and standby database backups using rman catalog
    How to use standby backup to restore primary db
    http://alexzeng.wordpress.com/2008/09/13/how-to-use-standby-backup-to-restore-primary-db/
    Best Regards
    mseberg

  • How to test failover of dataguard environment?

    I would like to test failover (not switchover ) in dataguard environment.
    How to achieve that?
    Thanks.

    Hello;
    Happy to share my test notes :
    http://www.visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.pdf
    These oracle notes may also help :
    Can We Use Manual SQL*PLUS Steps For (switchover,Failover,etc....), If DataGuard Broker Has Already Activated And GridControl Is Also Used? [ID 744396.1]     
    Oracle10g: Data Guard Switchover and Failover Best Practices [ID 387266.1]
    Step by Step Guide on How To Reinstate Failed Primary Database into Physical Standby [ID 738642.1]
    Best Regards
    mseberg

  • Standby redologfile -Dataguard environment

    Hi,
    I have had a small confusion regarding an oracle Dataguard environment(standby database).
    If i add a redo log group in my production db say "PRODDB",is the same log file will be replicate to the standby db say "STDBYDB"?
    If so, based on which parameter settings/functions the redo log group switches may happen?
    Kindly suggest
    Regards,
    mafaiz

    Hello;
    No , it wont create.
    If you want to add Standby Redo you have to use a different method.
    1. On primary defer log shipping (dynamic change)
    alter system set log_archive_dest_state_2 = defer
    2. On standby database cancel managed recovery
    alter database recover managed standby database cancel;
    3 Create the new Standby logs
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 '/u01/app/oracle/oradata/PRIMARY/redo04.log' SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 5 '/u01/app/oracle/oradata/PRIMARY/redo05.log' SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 6 '/u01/app/oracle/oradata/PRIMARY/redo06.log' SIZE 50M;
    4. Enable log shipping on the Primary database
    alter system set log_archive_dest_state_2 = enable scope = memory;
    5. Enable managed recovery on standby database
    alter database recover managed standby database using current logfile disconnect;
    Test of ONLINE addition
    set linesize 200
    select type,member from v$logfile;
    ONLINE /u01/app/oracle/oradata/PRIMARY/redo01.log
    ONLINE /u01/app/oracle/oradata/PRIMARY/redo02.log
    ONLINE /u01/app/oracle/oradata/PRIMARY/redo03.log
    STANDBY /u01/app/oracle/oradata/PRIMARY/redo04.log
    STANDBY /u01/app/oracle/oradata/PRIMARY/redo05.log
    STANDBY /u01/app/oracle/oradata/PRIMARY/redo06.log
    -- add ONLINE group 7
    /u01/app/oracle/oradata/PRIMARY/redo07.log
    alter system switch logfile;
    Check of Standby system, no group 7 exists
    Summary
    So neither ONLINE or STANDBY logs gets added despite STANDBY_FILE_MANAGEMENT=AUTO on both systems.
    Best Regards
    mseberg

  • Oracle patching on Dataguard Environment

    Hi,
    I have to do oracle patching on my customer system having Dataguard environment.
    Can someone please guide me, if i have to run installer on both primary and standby server or not ?
    Is someone has done it in past, please share your experience.
    Thanks,
    Kanchan

    In Readme they have just mentioned to refer oracle note 278641.1. When i checked that note, it says
    1. In the primary disable log shipping to the standby site.
    2. Shutdown the standby site and apply interim patchsets to the RDBMS binaries as per the README. This includes Patchset/Patchset Update (PSU)/Critical Patch Update (CPU). You will not be able to and do not need to run the scripts (catpatch.sql etc) against the standby rdbms itself.
    3. Shutdown the primary site, apply the Patchset/PSU/CPU patch to the RDBMS binaries and patch the RDBMS itself using the instructions in the README (run catpatch/catbundle/catcpu etc).
    4. Start the primary site, re-enable log shipping to the standby.
    5. At the standby site restart redo apply/managed recovery and the RDBMS changes implemented in the Primary Site through catpatch/catbundle/catcpu will also be applied to the standby.
    Information about Bundle patch is clear. But Applying patchset is not clear.
    Do we need to run catupgrd.sql script on standby after patchset installtion ? or that will also be shipped through logs ?
    and if below command is right for disabling the Log shipping from primary ?
    SQL> alter system set log_archive_dest_state_2=defer scope=both sid='*'

  • Applying oracle patchset in oracle-dataguard environment

    Hello There,
    I wish to apply oracle patchset in oracle dataguard environment.
    can you please let me know the steps that has to be taken on Primary & standby database?
    is there any specific document for this?
    DB - oracle 10.2.0.4
    OS - Linxu x86_64
    Best Regards
    Sachin Bhatt

    Hi Sachinn,
    To patch primary site, you can find the detailed infirmation in readme.html, in the patch zip file. Additionally, at the standby site, In order to apply the patch;
    1) stop the log shipment
    2) stop the oracle related services
    3) patch the Oracle
    4) Startup migrate
    5) execute the SQL scripts
    6) start the log shipment
    Check the link below;
    http://dbaforums.org/oracle/index.php?showtopic=17398
    Best regards,
    Orkun Gedik

  • RMAN catalog resync in Dataguard environment

    Hello,
    I have a quick question regarding the resync of the recovery Catalog in a 10g Dataguard environment...
    I plan to perform the backups from the physical standby side. (Backups of DB and archives).
    If I want to restore/recover a datafile on the primary side, do I automatically see the backup information once i am connected to the catalog DB, or do I have to perform a "resync catalog;" statement to resync the control file of the primary side with the actual backup information from the catalog?
    Thanks in advance,
    Boris...

    But what is the effect, if I perform this statement on the primary side? Do I loose backup information if I perform a resync of the catalog because the backups were made from standby side? If I perform all backups from standby side the control file on the primary side does not know about the backups.
    I am asking because I want to know if I have to adjust the backupscripts. They perform a resync of catalog per default.
    Thx, Boris..

  • I want to change my primary e-mail address that I use with Apple ID - help guide says Select Edit next to "Apple ID and Primary Email Address." But there is no 'edit' on that section there is on every other but not that one. Can anyone help?

    I want to change my primary e-mail address that I use with Apple ID - help guide says Select Edit next to “Apple ID and Primary Email Address.” But there is no 'edit' on that section there is on every other but not that one. Can anyone help?

    You can create an alias @icloud.com email address within your current account that will receive email in your current iCloud inbox (see http://help.apple.com/icloud/#/mm6b1a490a).  (@me.com addresses are no longer available as new addresses.)  Just be aware that you cannot use an alias address later to create a new iCloud account or move it to a different account.
    Also, even if you created a new iCloud account with a new ID, your existing purchases would not be lost.  They are permanently tied to the original ID you used to purchase them.  You can also continue to use the existing ID for the iTunes store; it does not need to be the same as the ID you use for iCloud.

  • 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

  • We have created two partitions in removable drive(USB). One of the partition is active and the other is hidden. We are trying to acess the hidden partition in Win PE 3.0 environment using WMI

    We have created two partitions in removable drive(USB). One of the partition is active and the other is hidden. We are trying to access the hidden partition in Win PE 3.0 environment using WMI. VBScript code snippet used to detect the partitions is given
    below:- 
    SetobjWMIService = GetObject("winmgmts:"_&
    "{impersonationLevel=impersonate}!\\"&
    strComputer & "\root\cimv2")
    SetcolDisks = objWMIService.ExecQuery
    Select * from Win32_LogicalDisk")
    It will return the partition which is active but fails to list the partition which is hidden. The same piece of code was supported on WinPE 2.0

    I am giving the complete code, may be you are able to understand better. We are using Win32_LogicalDisk to retrieves the complete information of all the drives (like C:, D:) including removable drives. 
    Function
    LocalDriveFound()
        strComputer =
    SetobjWMIService = GetObject("winmgmts:"_
    "{impersonationLevel=impersonate}!\\"&
    strComputer & "\root\cimv2")
    SetcolDisks = objWMIService.ExecQuery
    "Select * from Win32_LogicalDisk")
    ForEachDiskDrive
    IncolDisks
            DriveLetter = Left(DiskDrive.Name,1)
            DriveType = DiskDrive.DriveType
            VolumeName = DiskDrive.VolumeName
            WScript.echo Driveletter &
    "|"& Drivetype &
    "|"&VolumeName
    SelectCaseDriveType
    Case2 ,3  
    'Fixed or removable
    If(VolumeName=USBVolumeName)
    Then
    If(DriveLetter<>
    "Z")
    Then
                        ChangeDriveLetterWithMountvol DriveLetter,
    "Z"
    EndIf
                    bIsLocal=
    True
    EndIf 
    If(VolumeName=USBRootName)
    Then
    If(DriveLetter<>
    "Y")
    Then
                        ChangeDriveLetterWithMountvol DriveLetter,
    "Y"
    EndIf
                    bIsLocal=
    True
    EndIf 
    CaseElse
    EndSelect
    Next
    SetDrives =
    Nothing
    SetFileSystemObject =
    Nothing
    End
    Function

  • How do i setup WTC in cluster environment using WLS6.1 sp3?

    Hello:
    the situation is:
    (1)Two solaris machines.
    (2)one WLS domain.
    (3)one admin server and four managed servers in this domain.
    (4)we cluster these 4 managed servers.
    (5)each machine contains 2 managed server.
    Here is the problem,
    when we start managed servers in the same machine, the wtc is ok, but when we start managed servers in diffent machine, the wtc fail.
    here is the error message:
    [Error][Cluster][Conflict start: You tried to bind an object under the name tuxedo.services.TuxedoConnection in the JNDI tree. The object you have bound  from 10.64.32.188 is non clusterable and you have tried to bind more than once from two or more servers. Such objects can only deployed from one server.]
    [Error][Cluster][Conflict start: You tried to bind an object under the name tuxedo.services.TuxedoConnection in the JNDI tree. The object you have bound  from 10.64.32.187 is non clusterable and you have tried to bind more than once from two or more servers. Such objects can only deployed from one server.]
    So, how can i setup wtc in cluster environment using WLS 61. sp3?
    Regards,
    cjyang

    cjyang <[email protected]> writes:
    [Error][Cluster][Conflict start: You tried to bind an object under the name tuxedo.services.TuxedoConnection in the JNDI tree. The object you have bound  from 10.64.32.188 is non clusterable and you have tried to bind more than once from two or more servers. Such objects can only deployed from one server.] I believe that this is a known problem and that WTC clustering is not
    supported in WLS 6.1.
    andy

  • UNIX: problem running an DEV & QA environment using form/report servlets

    UNIX: problem running an DEV & QA environment using form/report servlets
    I am trying to setup on one server an DEV and QA environment using the Forms Servlet, Forms Listener Servlet and Report Servlet.
    I think I have the Forms Servlet and Forms Listener Servlet running properly. The problem is setting up the DEV and QA environment for running reports.
    For example, when in DEV environment I would like to run a report from a directory specified in the REPORTS60_PATH. This doesn't seem possible.
    It might be easier if I describe my configuration first:
    DEV: run all forms and reports from the directory /data/release/dev
    QA: run all forms and reports from the directory /data/release/qa
    ---DEV & QA Settings Forms Listener Servlet:
    zone.properties:
    # DEV
    servlet.fl60dev.code=oracle.forms.servlet.ListenerServlet
    servlet.fl60dev.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/dev.env
    # QA
    servlet.fl60qa.code=oracle.forms.servlet.ListenerServlet
    servlet.fl60qa.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/qa.env
    ---DEV & QA Settings Forms Servlet:
    servlet.f60servlet.code=oracle.forms.servlet.FormsServlet
    --- Settings for Reports Servlet:
    servlet.RWServlet.code=oracle.reports.rwcgi.RWServlet
    Custom Env files since we are using Developer 6i Patch 7
    dev.env and qa.env
    Here I specify FORMS60_PATH and REPORTS60_PATH,
    eg: DEV -> FORMS60_PATH=/data/release/dev
    REPORTS60_PATH=/data/release/dev
    likewise for QA ../qa
    In the formsweb.cfg file i have something like:
    [dev]
    serverURL=/servlet/fl60dev
    form=test.fmx
    [qa]
    serverURL=/servlet/fl60dev
    form=test2.fmx
    I have tested the following and they work without problems:
    1. forms listener test page, eg: http://webserver:7777/servlet/fl60dev
    2. running forms from the 2 environments
    eg: http://webserver:7777/servlet/f60servlet?config=dev
    this runs the form in the FORMS60_PATH (/data/release/dev)
    Now my problems start with Reports.
    When I run a report from forms (using run_report_object) it will not run any reports
    as specified in the REPORTS60_PATH
    Even using this url:
    http://webserver:7777/servlet/RWServlet?server=rep60&report=test.rdf&destype=cache&desformat=html&
    userid=scott/tiger@test9i
    It NEVER seems to pickup and use the REPORTS60_PATH. I have tried nearly everything.
    I have gone throught the instructions in "Integrating Oracle9iAS Reports in Oracle9iAS Forms -
    White Paper"
    (http://otn.oracle.com/products/forms/pdf/277282.pdf)
    and Forms6i Patch 7: Oracle Forms Listner Servlet for Deployment of FOrms on the Internet
    (http://otn.oracle.com/products/forms/pdf/p7listenerservlet.pdf)
    plus any other documents in metalink relating to forms, or report servlets. I am
    totally confused, please help.
    I have tried setting the REPORTS60_PATH in the following files without success:
    custom.env (as specified by initArgs=EnvFile in zone.properties)
    jserv.properties
    in the zone.properties I have tried to set a custom env file for the report servlet:
    servlet.RWServlet.code=oracle.reports.rwcgi.RWServlet
    servlet.RWServlet.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/dev_rep.env
    NO LUCK.
    The only place that I can set the REPORTS60_PATH
    is in "[6iserver home]/reports60_server" file when I start the reports server (did I even
    get this right - I do have to have a reports server running don't I?)
    Does this meaan I have to run multiple report servers for each of my environments?
    Based on all the documentation I thought that REPORTS60_PATH as specified in the files relating
    to the forms servlet would be the place to specify the path.
    As you will understand I am getting really fustrated with this and it seems to
    me that the reports servlet configuration in 6i is really half baked and since 9i
    is coming out it will never be fixed.

    I am even not able to run forms servlets from two different forms60_path, Is there any configuration do you make other than what you have mentioned in this post.
    I already open a TAR in this regard, I am still waiting reply from ORACLE.
    Thanks,
    Shaik Ather Ahmed

  • Can't turn off Verbose Mode after running disk defrag in minimal environment using Drive Genius 3

    New to posting on here. I'm using a
    Mid-2009 15in MacBook Pro
    2.8 GHz Intel Core 2 Duo
    4 GB memory
    After running Disk Defrag in a minimal environment using Drive Genius 3 my MacBook Pro only starts up in Verbose Mode.
    I've done my searching on how to turn verbose mode on and off on the web and it gets me nowhere.
    Using
         sudo nvram –p
    in terminal shows that there is no " v" after " boot-args "
    Using
         sudo nvram boot-args=
    to turn it off hasn't done anything.

    I'm having the same issue but the solution suggested by prosoft doesn't work because that file des not exist.
    Prosoft was able to help me.
    First, FileVault is not reccomended and they are adding a FAQ to address that.  Next, they said to trash this file:
    /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
    and to restart.  It seemed to have worked for me.
    If anyone has any other suggestions then I would be grateful.
    Many Thanks.

  • Delete primary email address and reset to use the ...

    How can I delete the primary email address and reset to use the second email address?
    Because I cannot remember the password (always used automatic sign in option) and I no longer have access to the primary email address.
    Now I cannot sign-in to my skype account from any other computer.  I do not want to loose the skype account as I have many phone numbers and contact information saved.
    Thank you and Merry Christmas

    if your account has a billing or purchase history in the last 6 months, you can request for a new password without the need of your registered email address. just click the link below;
    https://login.skype.com/account/password-automation
    Then after you reset your password, you can change your primary email address.  
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

Maybe you are looking for

  • Issue with sy-tabix..

    hey, In my BADI, i have a variable l_ztabix of type sy-tabix. i loop thru my idoc data internal table and modify the internal table if neccessary. loop at t_idoc_data INTO wa_idoc_data. l_ztabix = sy-tabix. modify t_idoc_data index l_ztabix FROM wa_i

  • Vista Performanc​e

    Hi everyone. I have a Lenovo 3000 N200- 0687-A11 with 2gb of RAM & I'm using windows Vista Home Premuim SP1. It has all Windows Updates installed and everything, but still starts-up & Logs in slow, and sometimes runs slow. I have run Diskeeper, & Dis

  • Tab between custom meta columns in the project panel

    If you've got a custom meta column in the project panel and you use are editing the previous column and then use the keyboard tab key to move to the next column (the custom meta field), that column is selected but not you can't edit it with out click

  • Indesign C6 will not start on a network PC.

    I have uninstalled and reinstalled the software while logged on as a local admin and have ensured that the user is an admin to the machine and I still see an error that reads : "Adobe Indesign C6 has stopped working correctly. Please close the progra

  • New Lr and Ps show up as trials in CC?

    Hi, After updating both Lr and Ps to the latest versions, they show up as trials that will only last for 30 days more even though I am a paid subscriber to the Photography $9.95 monthly deal. Any ideas? Thanks