Convert Standyby to Primary and Primary to Standby using Data Gaurd

What are the steps involved to do the following.
Convert Standyby to Primary and Primary to Standby databse server using Data Gaurd.
Pls help.

That will be a role Switchovers.
Check the Oracle document and follow the steps.
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/role_management.htm#i1030646

Similar Messages

  • Trying to convert word to pdf and getting error message using Ver. 7

    I what sent a word doc by a correspondent of mine which I tried to convert to a pdf. I right clicked the doc on my desk top and chose "convert to PDF". It looked as it has all the other times but after it had opened word it came up with an error window/message of "Missing PDFmaker files." "Do you want to run the installer in repair mode?" and then a yes or no button. If I hit no it closes everything if I hit yes it acts like it's installing something and after a while it tells me that the computer needs to be restarted for changes to take affect. I have run it twice now and it doesn't change anything.
    can someone give me any tips on this?
    D

    You did not indicate the version of WORD. If it is WORD 2007, then you can not do this function with AA7. Try opening the file in WORD and printing to the Adobe PDF printer. If that works, then look for the PDF Maker options in WORD (create PDF). If you find them, then try that. If they do not show but the print worked, then you indeed have an issue with PDF Maker - probably either the macro is not activated in WORD or the version of WORD is 2007.

  • How to convert XML into idocs and post in ECC using PI

    Hello All,
    I want to configure the scenario like this MDM->PI->ECC. Using FTP I am getting able to fetch the xml file from MDM Server Ready folder. Now, I need to convert this XML file into Idocs and post it in ECC. Can anyone provide me step by step configuration in PI to achieve this. I have configured communication channel with adapter type Idoc in Itegration Builder. But, I am not sure where it will do the conversion of XML into Idoc and how do post it to ECC. I am working first time on PI 7.1. I have worked on XI 3.0 in 2006-2007. Any help to configure this step by step shall be appreciated.
    Thanks & Regards,
    Hemal

    In you have the XML from MDM you have to use the mapping provided by the funtionals in the Funtional specification documents. once you did it you must configure the Receiver IDoc Adapter. and later dont fonget to configure properly the ReceiverAgreement.
    as you receive the docuement from MDM via FTP, thats not a SAP System that means that you have to define PI as the sender of the IDoc,otherwise you will have the Error "Unable to convert the sender service to an ALE logical system"
    to do that in the receiver Agreement>Header Mapping>Sender System-->Select PI server.
    Take in mind to send IDocs to any SAP System, the system that send it must be a SAP system too. thats why you configure it
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/112d20f6ce6c46ba66afb98d278fbd/frameset.htm
    Another thing is you have configure the ALE distribution Model.
    se this:
    http://wiki.sdn.sap.com/wiki/display/XI/FileToIDOC
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    Let us know
    Rodrigo P-.

  • Has anyone else experienced InDesign CC and 2014 crashing when using Data Merge?

    I have already tried the Shift+Ctrl+Alt+Cmd keystroke upon start-up and saying "yes" to clearing the preferences, but unlike previously where this solved the issue (a few months back, until Adobe released an update which meant this was no longer needed) this hasn't worked. I have also tried using both a CSV and a TXT file as the source file, same crash.
    Anyone found a solution? I am using Mac OSX.9. Same thing happens on a colleagues Mac, so isn't my machine.

    This is about all the information I could provide, hence why I was asking a general question. If I'd known what steps to take I wouldn't be asking. I have solved the problem, it seemed to be the InDesign file, not the data file.

  • How to tell if my wifi is working and my phones not using data when Im connected to wifi

    My data is sky high and I have a feeling my wifi isn't worKing... How do I tell if when I'm connected to wifi that it isn't sucking up all my data ?

    If the wi-fi symbol is showing at the top of the screen, then you are using wi-fi.
    Some things, like visual voicemail, use cellular data not wifi

  • How to Create Primary DB and Physical/Logical Standby DB on the same host?

    Now I encounter a issue. I want to create one Primary DB and one Physical standby DB and one Logical standby DB on the same host.
    Create this env on the same host aims to test whether we can using EM Patching DP to apply patches on Primary/Physical/Logical DB successfully.
    I try to setup this env but fails. I want to know more related issues about create Primary DB /Physical DB/Logical DB on the same host and how to configure between them.
    Below steps is my try:
    1. Create Primary DB on the /scratch/primary_db
    2. Create Physical Db software only on the /scratch/physical_db
    3. Create Logical Db software only on the /scratch/logical_db
    4. Using EM Wizard to create physical standby database and logical standby database, and these two targets can show up on the "All Targets" Page.
    5. But when using EM Patching DP, it fails and the reason is the listener of physical and logical db cannot configured well.
    Issues:
    So I want to know about how to configure physical db and logical db's listener using EM or manually?
    If the listener name of Primary Db is LISTENER and the port is 1521,and the listener.ora is under the /scratch/primary_db/network/admin directory, then how to config physical db and logical db's listener's name and port?

    Hi,
    As this a test case then you need to create two more listener for each Oracle Home (/scratch/physical_db & /scratch/logical_db) make sure that they have different names and ports.
    Then add the new listeners manually using GC?
    Try it and let me know
    Regards
    Amin

  • Upgradation of Primary (RAC) two node database and single node standby DB

    We have our primary setup in Oracle RAC in 10g R2 (10.2.0.1.0) in HP UX 11i 64bit (PA RISC). It is a two node RAC.
    And we have a single node standby database (DR).
    Both the primary and standby database are existing in 10.2.0.1.0
    We need to upgrade the primary and standby database from 10.2.0.1.0 to 10.2.0.4.0
    Am planning to go through the DBUA method for upgrading the database.
    I like to know is there any special cases for upgrading both the primary and standby database.
    since as i mentioned i will upgrade the database through dbua method, and if i upgrade my standby database as same as primary,
    will it forcefully open the database, because while we upgrade the database through dbua it will open the database at the end of installation.
    Is it possible to upgrade the standby database with DBUA method even when my standby database is in Mount state.
    I will be helpfull if anyone has done this earlier, are there any know issues and is there any good document which i can refer.
    with regards
    A.Aravind

    hi,
    thanks for your reply, and i was following the document.
    I like to know that is it mandatory to create a new Oracle Home for upgrading from 10.2.0.1.0 to 10.2.0.4.0
    or i can proceed the installation of software in the same oracle home.
    I will list out my action plan, please correct me if am wrong,
    In Primary RAC,
    a) Shutdown the database
    b) Shutdown the asm instance
    c) Stop the nodeapps services
    d) Stop the cluster ready services.
    e) Stop the enterprise manager
    f) Stop the isqlplus
    In Standby single node database,
    1)Cancel the managed Recovery process
    2) shutdown the database
    3) Shutdown the asm instance.
    PATCHING Process
    g) Apply the oracle clusterware patch 10.2.0.4.0 in the same old existing ORA_CRS_HOME
    h) Apply the oracle database software patch 10.2.0.4.0 in the same old existing ORACLE_HOME
    Note: In my case both the ORACLE_HOME and ASM_HOME are in the same location.
    i) Execute dbua to update the database in the primary database.
    j) Apply the 10.2.0.4.0 patch in standby database ORACLE_HOME where as ORACLE_HOME and ASM_HOME are in the same location
    k) Copy the recently generated archive logs from primary to standby manually and apply in standby database.
    l) Mount the database in standby
    m) Start the Managed recovery process.
    with regards
    A.Aravind

  • Dataguard switching back to primary from standby:

    I have switched my Primary database to standby database successfully.
    I am now in the process of switching the standby back to the primary
    However I am running into a small problem.
    I am using the command
    alter system set log_archive_dest_2=defer;
    but I am getting the error:
    incremental changes to log_archive_dest_2 not allowed with spfile;
    (I didn't get this error when swicthing fron primary to standby)

    Sorry, just want to confirm, you original post indicated log_archive_dest_2 and not log_archive_dest_state_2 .
    Is that correct?

  • Not able to get data of primary in standby database (configured dataguard)

    Hi all, I configured dataguard in my local system, i ve a few qsns (as i am new, ve patience)
    1) scn differs wrt primary in standby (i checked, 1day difference), how to make scn same?
    2)i created a table in primary, its not refelecting in standby, (below i ve pasted alertlog entries)
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\SYSAUX01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\UNDOTBS01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\USERS01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\EXAMPLE01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\STREAM_TBS.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
    ORA-01110: data file 7: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\DATA01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-16004 signalled during: alter database open read only...
    3)wen i try to open standby database in read only mode gives below error..how do i solve it?
    ERROR at line 1:
    ORA-16004: backup database requires recovery
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1:
    'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\SYSTEM01.DBF'

    971424 wrote:
    Hi all, I configured dataguard in my local system, i ve a few qsns (as i am new, ve patience)
    1) scn differs wrt primary in standby (i checked, 1day difference), how to make scn same?Please do not use IM language here, instead of "qsns" use questions.
    SCN can be differ in standby and it can be behind to primary based on the backup you have restored. Of course by performing recovery you can synchronize standby with primary database. You can use incremental backups for standby using link http://www.oracle-ckpt.com/rman-incremental-backups-to-roll-forward-a-physical-standby-database-2/
    2)i created a table in primary, its not refelecting in standby, (below i ve pasted alertlog entries)
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\SYSAUX01.DBF'
    ORA-27041: unable to open fileFirst check whether those files are exist in that location or not and if file names are different other than primary then rename file locations. Also check the permissions on the folder/files.

  • Can I use data guard to create a RAC standby database for a non RAC primary

    Hi,
    we need to RAC our production database but the normal methods will mean a long outage. It is possible to create a standby as a single node RAC database and when ready do a graceful failover to the standby database and open it for business. The next step would be to create another RAC node from this on the original server.
    servers are already cluster aware, using ASM etc
    Oracle 10.2

    Yes, you will be able to setup RAC stnadby for a non-RAC Primary. For primary it just needs a available destination for redo shipping it doesn't matter whether it's RAC enabled or not. And ofcourse you are using 10.2 anyway only one node will be running MRP and that is too in standby mount mode.
    However since you have are using You may follow below sequence.
    1. Setup a new standby as RAC enabled.
    2. Perform a switchover.
    3. Shutdown the Old primary (which is standby now).
    4. Install CRS and RDBMS on the old primary and it's new node.
    5. Modify the cluster_database=TRUE and cluster_database_instances=<required number of instances>.
        With above modification mount the standby database in standby mode and start MRP.
    6. Introduce the database and instances to the OCR using SRVCTL add command.
    7. Once you your database is synchronized with Primary do a switchover.
    9. Now you can repeat step 3 to 6 on the other site too.   <- if you need your secondary site to be RAC enabled too
    10. Finally both the sites should be RAC enabled.
    Hope this is helpful!!!
    Thanks,
    Asif Haliyal

  • Dataguard Config - Primary ASM - Standby Non ASM

    Hi,
    I'm having an issue with a new configuration of dataguard.
    Primary Standby
    OS Win2008 R2 Win2008 R2
    DB 11.2.0.2 11.2.0.2
    Storage ASM NTFS
    I have created standby logs on the standby and on the primary. I have configured real time apply(maximum availibility) but when I look in the rfs.trc files on standby I receive the following error:
    primary database is in maximum protection or maximum availability mode and the standby database does not contain and viable standby redo logs.
    I dropped all standby logs on the standby and recreated them, the real time apply then worked until all the standby redo logs filled. Now I'm receiving the error again.
    For some reason the standby logs are not clearing and this is the issue. I have looked at metalink notes Error At Standby Database Ora-16086: Standby Database Does Not Contain Available Standby Log Files [ID 1155773.1] and Primary Database Stops with ORA-16098 When Standby Put in Protected Mode [ID 187235.1].
    I think the issue may be that the primary databases online redo logs are on asm disks and the standby are on ntfs disks. I can't find any clear documentation that says that this config is unsupported. Any ideas would be greatly appreciated.
    Keith
    SQL> select group#, thread#, sequence#, used, archived, status, first_change#, n
    ext_change#, last_change# from v$standby_log;
    GROUP# THREAD# SEQUENCE# USED ARC STATUS FIRST_CHANGE#
    NEXT_CHANGE# LAST_CHANGE#
    5 2 255 30208 NO ACTIVE 196829409
    196829442 196829442
    6 2 254 3308032 NO ACTIVE 196826945
    196829409 196829409
    7 2 256 5200896 NO ACTIVE 196829442
    196838727 196838727
    8 2 257 6098944 NO ACTIVE 196838727
    196849666 196849666
    9 2 258 9165312 NO ACTIVE 196849666
    196862607 196862607
    SQL> SELECT GROUP#, BYTES FROM V$LOG;
    GROUP# BYTES
    1 52428800
    2 52428800
    3 52428800
    4 52428800
    SQL> SELECT GROUP#, BYTES FROM V$STANDBY_LOG;
    GROUP# BYTES
    5 52428800
    6 52428800
    7 52428800
    8 52428800
    9 52428800
    Primary Errors:
    TO_CHAR(TIMESTAMP,'YYYY-MON-DDHH24:MI:SS')||''||MESSAGE
    2011-DEC-08 12:00:12 LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect ab
    andoned
    2011-DEC-08 12:00:12 Error 16086 for archive log file 3 to 'PBONDSDR'
    2011-DEC-08 12:00:13 LGWR: Failed to archive log 3 thread 2 sequence 503 (1608
    6)
    2011-DEC-08 12:00:13 ARC3: Beginning to archive thread 2 sequence 502 (1971278
    31-197131866)
    TO_CHAR(TIMESTAMP,'YYYY-MON-DDHH24:MI:SS')||''||MESSAGE
    2011-DEC-08 12:00:13 ARC3: Completed archiving thread 2 sequence 502 (19712783
    1-197131866)
    standby Errors:
    2011-DEC-08 11:54:09 Media Recovery Waiting for thread 2 sequence 501
    2011-DEC-08 11:54:09 Primary database is in MAXIMUM AVAILABILITY mode
    2011-DEC-08 11:54:09 Standby controlfile consistent with primary
    2011-DEC-08 11:54:10 Standby controlfile consistent with primary
    2011-DEC-08 11:54:10 RFS[46]: Assigned to RFS process 3956
    2011-DEC-08 11:54:10 RFS[46]: No standby redo logfiles available for thread 2
    2011-DEC-08 11:54:10 RFS[46]: No standby redo logfiles selected (reason:7)
    2011-DEC-08 12:00:09 RFS[47]: Assigned to RFS process 2080
    2011-DEC-08 12:00:10 Media Recovery Log C:\ORACLE\FAST_RECOVERY_AREA\PBONDSDR\

    Standby database
    QL> select group#, thread#, status from v$standby_log;
    GROUP# THREAD# STATUS
    5 2 ACTIVE
    6 2 ACTIVE
    7 2 ACTIVE
    8 2 ACTIVE
    9 2 ACTIVE
    Primary DB
    SQL> select group#, thread#, members, status from v$log;
    GROUP# THREAD# MEMBERS STATUS
    1 1 2 INACTIVE
    2 1 2 INACTIVE
    3 2 2 CURRENT
    4 2 2 ACTIVE
    Minimally, the configuration should have one more standby redo log file group than the number of online redo log file groups on the primary database. However, the recommended number of standby redo log file groups is dependent on the number of threads on the primary database. Use the following equation to determine an appropriate number of standby redo log file groups:
    (maximum number of logfiles for each thread + 1) * maximum number of threads
    Using this equation reduces the likelihood that the primary instance's log writer (LGWR) process will be blocked because a standby redo log file cannot be allocated on the standby database. For example, if the primary database has 2 log files for each thread and 2 threads, then 6 standby redo log file groups are needed on the standby database.
    I'm a bit confused by above note does that mean I should create (2+1)*2 =6 standby logs?
    Thanks,
    keith

  • Procedure to switch Primary into Standby database

    Hi group,
    I have been asked to write a document describing a procedure to put a standby database as a primary database ((1)primary -> (2)standby) to ((1)failed db - (2)primary), and after their testing switch them again to the first state ((1)primary -> (2)standby), All this as a test just in case a disaster occurs, To be honest I have never been on this kind of situation that is why I ask for your help. The procedure must contain steps for 3 databases:
    1. Oracle 10g r2 Enterprise Edition (Dataguard Real Time apply) (40GB data size) (SO: AIX)
    2. Oracle 9i r2 Standard Edition (Manual Standby) (400GB data size) (SO: AIX)
    3. Oracle 9i r2 Standard Edition (Manual Standby) (80GB data size) (SO: AIX)
    I would appreciate a lot your help.
    Thanks in advance.

    Not a valid tittle.

  • Shell script to get the mail whenever the primary or standby DBs down

    Hi,
    Can any one please provide the shell script to monitor the primary and standby databases, such that whenever the primary or standby database is down we have to get the mail.
    Thanks,
    Mahi

    Hi Mahi,
    in 10g you can configure this through EM dbconsole which will be very easy.
    (i am not sure if this exists in 9i EM)

  • Local logical standby and remote physical standby

    Dear All,
    My database version is 10.2.0.1.0(production) and Operating System Linux x86-64 OS Version Red Hat Enterprise 4
    Below is my configuration details:
    Rprimary Database:Two Nodes RAC
    StandBy Database LOCAL:Standalone database
    Standby Database Remote:Two Node RAC
    So,my question is, i want my local physical DR to convert into logical standby and
    Remote DR will operate as physical standby as it IS.
    sql>EXECUTE DBMS_LOGSTDBY.BUILD
    After executing the above statement in my production primary database will there be any performance HIT.
    And another important is that my above statement shouldn't affect my remote physical DR database.
    Just the local DR should get converted into logical standby database
    Thanks and Regards
    Monoj Das

    monoj wrote:
    Dear All,
    My database version is 10.2.0.1.0(production) and Operating System Linux x86-64 OS Version Red Hat Enterprise 4
    Below is my configuration details:
    Rprimary Database:Two Nodes RAC
    StandBy Database LOCAL:Standalone database
    Standby Database Remote:Two Node RAC
    So,my question is, i want my local physical DR to convert into logical standby and
    Remote DR will operate as physical standby as it IS.
    sql>EXECUTE DBMS_LOGSTDBY.BUILD
    After executing the above statement in my production primary database will there be any performance HIT.
    And another important is that my above statement shouldn't affect my remote physical DR database.
    Just the local DR should get converted into logical standby database
    Thanks and Regards
    Monoj DasIn any Data Guard environment, you can have either physical or logical or even mixed[physical + logical]
    There will be no performance issue if you run the package for logical standby DBMS_LOGSTDBY.BUILD , This package provides you to manage even logical standby database.

  • Using RAC One Node as a primary database in a Data Guard configuration

    Is it possible to use RAC One Node as a primary database in a Data Guard configuration ?
    Oracle doc states: "Supports Oracle Data Guard such that you can run physical or logical standby databases on it or even we can NOT run primary databases on it either if the primary databases have DG"
    I guess it is not possible but can you folks confirm?
    Alessio

    Hmmm.... still unclear.
    I've submitted a comment which the documentation team should pick up :
    "+This sentence : "Supports Oracle Data Guard such that you can run physical or logical standby databases on it or even we can NOT run primary databases on it either if the primary databases have DG"+
    +is not very clear.+
    +I can understand it upto the words "on it" but the second part of the sentence, beginning with "or even we can NOT ..." seems mangled and unclear.+
    +Can you clarify whether RAC One Node can be used as :+
    +a. A Primary in a DataGuard configuration+
    +b. A Standby in a DataGuard configuration ?+"
    Hemant K Chitale

Maybe you are looking for