Why do we have to flashback the failed primary DB to make it the new standby ?

RDBMS Version: 11.2.0.3
Platform : RHEL 5.8
Standby Type : Physical Standby
Primary DB name        : berlin
Standby DB Unique name : lisbon
Lets say berlin DB goes down due to a hardware failure so lisbon is made the Primary DB. Now lisbon is running without a standby DB.
berlin crashed --------> at SCN 4000
lisbon takes over ------> from SCN 4000 and proceeds
In the below url, some steps involving flashback are mentioned on how to make the failed primary (berlin) the new physical standby.
http://docs.oracle.com/cd/E11882_01/server.112/e25608/scenarios.htm#i1050055
berlin DB crashed at SCN 4000. So, to make berline the new physical standby , can't we just run
SQL> ALTER DATABASE CONVERT TO PHYSICAL STANDBY;
and mount the DB and start the Redo apply ?
Why do we need to flashback the old primary DB to SCN 4000. Wasn't berlin DB already at SCN 4000 when it crashed?

Hello;
The key is the SCN must be at exactly the same point the Standby became Primary.
Generally you want to use Flashback so the "Old primary" can be at a point where it can become the new Standby. Once you are there you can use Switchover to return the Data Guard setup.
To get the correct SCN I use :
SELECT TO_CHAR(STANDBY_BECAME_PRIMARY_SCN) FAILOVER_SCN FROM V$DATABASE;
Example
SQL> FLASHBACK DATABASE TO SCN 1011295;
Flashback complete.
SQL>ALTER DATABASE CONVERT TO PHYSICAL STANDBY;
Database altered
If you don't have flashback you can use RMAN to perform the same thing.
Best Regards
mseberg

Similar Messages

  • Tomcat Server Port Number: Why do I have to enter the port number?

    My ultimate goal is to setup a website that displays data from a database. I will use Java, Apache, Oracle, and whatever else I need to create a website the uses servlets, JavaServer Pages, and JDBC.
    I�ve got four Pentium III computers:
    1. Windows 2000 Server to be the web server (MyWebServer, IP = 10.10.1.1).
    2. Windows 2000 Professional to be the database server (MyDatabaseServer, IP = 10.10.1.2).
    3. Windows 2000 Professional that I use to develop and test (MyDeveloperPC, IP = 10.10.1.3).
    4. Windows 2000 Professional that I use as a client to connect to the website (MyClientPC, IP = 10.10.1.4).
    I installed Java Web Services Developer Pack on MyWebServer. It requires Java 2 Standard Edition (J2SE), so I installed that first. The files I downloaded and installed are as follows:
    J2SE: j2sdk-1_4_0-rc-win.exe
    JWSDP: jwsdp-1_0-ea1-win.exe
    After installing these products, I set the environment variables as follows:
    JAVA_HOME = c:\j2se
    JWSDP_HOME = c:\jwsdp
    Path = c:\j2se\bin;c:\jwsdp\bin; [and other previous statements]
    On MyWebServer I start Tomcat (from the JWSDP menu option). It starts properly (as far as I can tell).
    Then, from MyClientPC I open Internet Explorer and in the address box I type:
    http://10.10.1.1
    �The page cannot be displayed�.
    I then try again and add the port number:
    http://10.10.1.1:8080
    This displays the page c:\jwsdp\webapps\root\index.html.
    Here�s my question: Why do I have to enter the port number to get a page displayed? Do I have to have Apache HTTP Server running on MyWebServer to display pages without entering the port number?
    Thanks for your help.

    Oh simmy1, so silly....
    You have to enter the port number because Tomcat is running on that port (probably 8080). You actually don't NEED apache at all. Most people use it an HTTP listener because historically, servlet engines and application servers had shitty listeners. (WebLogic 5.1 was really bad.) Not sure how they stack up today.
    Port 80 is the default port that browsers will look at. (Try it, hit these forums with http://forum.java.sun.com and then hit it with http://forum.java.sun.com:80. See? Same thing.) If you don't want to have to enter a port number, just make sure whatever is running at the front of your network is serving on port 80. It doesn't matter if its apache, tomcat, weblogic, iis or whatever. There is nothing wrong with running Tomcat on port 80, although using a webserver proxy like apache is generally recommended.
    And don't listen to simmy1, this is his second bonehead post I've seen today: http://forum.java.sun.com/thread.jsp?forum=45&thread=231154

  • Why do I have to repeat the installation process every time I turn on my PC?

    Why do I have to repeat the installation process every time I turn on my PC?

    Why do I have to repeat the installation process every time I turn on my PC?
    Because you never run the install of whatever program you are referring to with sufficient user privileges and it thus never "sticks". Run as admin, turn of security tools, let the install finish properly. If you need more guidance, provide system info and tell us what program you actualyl mean.
    Mylenium

  • Why do I have to click the mouse so hard?

    Why do I have to click the mouse so hard? Whether I'm using a Bluetooth or a wired mouse, I find I have to click really hard to make it work when selecting text (in any application). This is not good for my wrist. Is anyone else experiencing this?

    two types: an old and excellent Apple wired mouse (not mighty) and a Bluetooth mouse (not mighty).

  • Why do I have to restart the iPad every time I try to access the internet?

    Why do I have to restart the iPad every time I try to access the internet?

    (A) Try reset iPad
    Hold the Sleep/Wake and Home button down together until you see the Apple Logo.
    Note: Data will not be affected.
    (B) Close all apps in the multi-task window
    1.Double-click the Home button.
    2. Swipe the app's preview up to close it.
    3. Preview will fly off the screen.

  • Why do I have creative cc AND creative cc 2014 versions on my computer? And why do I have to uninstall the CC version?

    Why do I have creative cc AND creative cc 2014 versions on my computer? And why do I have to uninstall the CC version?

    definitely.
    i mostly use flash and haven't found any need for cc.  but there are definitely reasons to keep flash pro cs6.
    and you may find if you continue using adobe products that saving source files for other users becomes an issue unless you save older versions.  typically, (with flash pro at least) you can save to the current version and one version older.  after a few years, the current version cannot save for older versions and you may work with someone that only has an older version.

  • I have three chargers(the newer kind) and all three of them have major shorts in them. They have to be in a specific postition for them to charge! Why is this? Are all of them having problems?!?!

    I have three chargers(the newer kind) and all three of them have major shorts in them. They have to be in a specific postition for them to charge! Why is this? Are all of them having problems?!?! This is just RIDICULOUS!!!

    I have a charger for the iPhone 5 that has absolutely no problems.  I got my iPhone 5 the day they were first sold almost a year ago.  Also in my family are 2 iPads and 2 iPad mini's all with the new lightning cables and none have had problems. 
    If you have problems and they're legitimate Apple products, bring them back for replacement.

  • I bought a ipod touch 4g. it worked realy well on the first two weeks, but them it stoped to turn sideways, and i dont know why! i have checked if the portrait orientation was locked, i tried to turn of and on,shuting down and restoring.but nothing works!

    i bought a ipod touch 4g. it worked realy well on the first two weeks, but them it stoped to turn sideways, and i dont know why! i have checked if the portrait orientation was locked, i tried to turn of and on,shuting down and restoring.but nothing works! Can someone help me i dont know more what to do!!!!.
    And this doesn't let whatch to youtube, videos, typing sideways, playns games tha need the acelerometer.......

    What happens when you try to restore the iPod? Error message?
    If this program will not get the iPod out of recovery mode your data should be safe.
    RecBoot: Easy Way to Put iPhone into Recovery Mode

  • Why do I have to reboot the iPad to receive FaceTime calls?

    Why do I have to reboot the iPad to receive FaceTime calls?

    Razmee, many thanks for your correct advice.  You are a STAR.  So nice now to be able to get the Internet all the time.  Great advice.

  • HT204370 why did i have to buy the movie again if i allready bought it?

    why did i have to buy the movie again if i allready bought it? i want my money back

    You can't get a new DVD, which is what RG said. VUDU, the download service Walmart resells, is a different subject and not what RG was referring to.
    But what some other company can allow is irrelevent to the issue. From the iTunes Store, movies can be re-downloaded only in the US, and then only from those movie studios that have allowed it. This is not by Apple's choice; it's completely the choice of the movie studios.If your movie is not available under the Purchased section of your iTunes Store account, then redownloading is available only if you purchase the movie again.
    Regards.

  • HT1695 why do I have to disable the cellurlar data to connect to Optimum or xfinity public wifi?

    why do I have to disable the cellurlar data to connect to Optimum or xfinity public wifi?

    you are pretty quick at responding and that is excellent.
    MY issue is: when I log on to Optimum or Xfinity public wifi and I dont change the Cellular Data (settings), it says that there is an error loading the page and it wont let me put in the login information. My wifi works fine at home without having to configure or touch the cellular data.

  • HT201317 We had to replace my husbands iphone. Everything but our photos have transferred to the new phone.  I made sure that the new device is showing up in find my iphone.  I have turned on photo stream on all devices.  Why aren't they streaming to new

    We had to replace my husbands iphone. Everything but our photos have transferred to the new phone.  I made sure that the new device is showing up in find my iphone.  I have turned on photo stream on all devices.  Why aren't they streaming to new phone?

    Only photos taken in the last 30 days are transferred using Photo Stream.

  • I have just purchased the new macbook pro 15" and see that it comes with 2 discs in the box, one being Mac OS X and the other being Applications Install DVD. Are these pre installed? or do I need to insert the discs and install them?

    I have just purchased the new macbook pro 15" and see that it comes with 2 discs in the box, one being Mac OS X and the other being Applications Install DVD. Are these pre installed? or do I need to insert the discs and install them?

    All has been installed. Those are there in case you need to do a reinstall. Unlike most Windows based hardware vendors these days. Apple still ships software you might need in case a drive fails. Even in the case of the new MacBook Air, Apple ships the software on a flash drive.

  • Have you used the new workflow features in CM 12?

    In CM 12.0, users can optionally deploy the standard
    approval processing or new flexible, workflow approval
    processing based on the project and/or document. Have you
    used the new workflow features? Do you think the new
    workflows will allow your organization to better drive and
    control internal and multiple party reviews?

    I was one of those users who fight for this
    functionality.
    I find using it however very
    unhandy.
    Let me give you real
    life examples:
    1. Once you
    create an order/contract and do not choose "New
    Method" you cannot change approval method to new any
    more. Imagine one of my users was creating an order
    with 120 items (hell of typing!) then she spotted that
    she cannot send it with new review process to several
    reviewers in sequence. The need for retyping it makes
    5 other ppl already against this software, even if
    they did not used it at all.
    2.
    Document Owner has admin rights.
    For some
    reason user needs to be document owner in order to
    setup review process. Imagine in our situation usual a
    site assistant, or junior person in technical office
    is responsible for creating and typing all the
    orders/contracts. So this person needs to be Document
    Owner in order start review.
    Document owner
    however can also approve/reject in name of other users
    mentioned in review cycle. This I find strange and
    make entire new review/approval cycle worthless, as
    the situation is still that anyone can approve someone
    on someone behalf with no control.
    <br
    />3. Alerts missing. I couldn't find an alert that
    would be generated if a document is held internal (by
    user) for more then ... x days.
    <br
    />4. I'm also missing a Project Setting for "all
    documents must use new review process"; "defoult
    reviewers is + 'All in sequence' + 'list of reviewers'
    - for each kind of document.<br /><br />If
    you want to force users to follow a strict
    methodology, and your software gives them chance to
    choose whomever they want, wherever they want, use any
    approval method, approve on someone behalf ... you
    will finally fail.<br /><br />I keep
    hearing that Primavera sold thousand of licenses, and
    they will develop this product, I just hope they will
    hurry, before users switch to other software.<br
    /><br />

  • Why Netflix does not open after the new 7.0 update?

    WHY  Netflix does not open after the new update 7.9?

    Vincent149 wrote:
    I went to At&t yesterday, they said you have to call Apple support! Which im gong to try today since no one on here has posted anything back! Im frustrated! Maybe its there way of selling new phone!!!!
    These are user to user forums.  You are not addressing Apple by posting here.  If some other person has a solutoin for you, then they will post it.

Maybe you are looking for

  • How can i use a Property as Link in the Resource Renderer Setings

    Hi to all, i have created a Propertry with the name SFS_NewsLink. The content of this Property is http://<server>.<domain>/path/sitemap Now, how can i use this property in the Visible Propertis? i dont will use use the default "contentLink" i will us

  • Customer number not in the inspection lot for a make to order scenario

    Hi All, I know that standard SAP will get the Customer number into Insp. lot only for insp. types 10/11/12.  I am wondering if someone know a way to get the customer no. into insp. lot for insp. type 04 where the material is make-to-order scenario an

  • Profit center in Asset Reports

    Guys, Is it possbile to derive profit center field in asset transfer reports or any other trans.report or it will be  just on the GL side? I know  in FI document posted for asset reco. accounts ,profit center field is available , but in asset reports

  • Duplex printing issues

    Hi all, run into a problem with duplex printing in oracle reports lately where data for seperate groups is ending up on the previous or next group's page. This is using 10g and a xerox high speed printer. Basically if I have a report with groups a, b

  • Cannot load plugin problem in idesign cs3

    Hi ,      I am using MySQL Connector/C++ for connecting my indesign cs3 plugin to mysql database. The plugin created successfully. But i load this plugin in idesign cs3 it raise the following assertion: Cannot load plugin pluginname.pln ..\.\.\source