How to make the transition to digital in 10g

Hi all


We have 10g database of primary and standby, I have never worked before sleep, customer wants me start switch, can you please let me know how to make the transition to digital in 10g.


Thank you very much.

It's the way I'm following passage in the
------------------------------------------------------------

(1) check that there is no active users connected to databases.
(2) select message from v$ dataguard_status;
(3) select protection_mode from database v$.

Step 1 check if it is possible to perform a failover.

SQL > select database_role, db_unique_name, SWITCHOVER_STATUS, v database name $;

DATABASE_ROLE DB_UNIQUE_NAME SWITCHOVER_STATUS NAME
---------------- ------------------------------ -------------------- ---------
PRIMARY OFMSREGT_SIM UNAUTHORIZED OFMSREGT

SQL >

If you get NO allow status for SWITCHOVER_STATUS, verify that the standby database is connectivity.

If the SWITCHOVER_STATUS column displays ACTIVE SESSIONS, you can successfully achieve a failover by adding the WITH clause LOGOFF to the statement ALTER DATABASE COMMETTRE through PHYSICAL standby

Step 2 open the passage on the primary database.

SQL > SHUTDOWN IMMEDIATE;
SQL > STARTUP MOUNT;
SQL > ALTER DATABASE COMMIT TO SWITCH STANDBY MODE PHYSICAL;

Step 4, check the transition state in the view V$ DATABASE.

SQL > SELECT SWITCHOVER_STATUS FROM V$ DATABASE;
SWITCHOVER_STATUS
-----------------
TO_PRIMARY
1 selected line

Step 5 place yourself in the role of physical standby database target the main role.

You can switch a standby database physical role ensures the primary role
When the standby database instance is mounted mode redo apply or open
for read-only access

SQL > ALTER DATABASE COMMIT AT THE GRADE CROSSING;

Step 6 complete the transition of the database ensures the main role.

If the physical standby database has not been opened in read-only mode since the
the last time it was started, run the SQL ALTER DATABASE OPEN to open
the new primary database:

SQL > ALTER DATABASE OPEN;

If the physical database was opened read only since the last
time it was launched, you must close the database waiting for target and restart:

SQL > SHUTDOWN IMMEDIATE;
SQL > STARTUP;

Note: There is no need to close and restart other bases before (not involved in the digital switchover) who are online at the time of the failover. These databases on hold will continue to
function normally once the failover is completed.

Step 7 if necessary, restart log apply services on standby databases.
He must deliver the command FRO repeat apply as:
SQL > change database recovery managed standby database disconnect from the session.
or
And stop repeating applies to give
SQL > alter database recover managed standby database cancel;

Step 3 Shut down and restart the former primary instance.

SQL > SELECT OPEN_MODE FROM V$ DATABASE;

Step 9 check the synchronization between the primary and standby:

Primary
SQL > select thread #, max(sequence#) in v$ archived_log where archived = 'YES' group by thread #;

Sleep mode
SQL > select thread #, max(sequence#) in v$ archived_log in case of application = 'YES' group by thread #;

Stop the former primary instance and restart and mount the database:

Sense of SWITCHOVER_STATUS
--------------------------------------------
The column SWITCHOVER_STATUS of v$ database can have the following values:

NOT ALLOWED - this is a database of pending and the primary database has
not been first switched, or it's a back-end database and there is no data pending.

ACTIVE SESSIONS - indicates that there are active sessions of SQL attached to
the primary database or emergency that must be disconnected before the
failover operation is allowed.

Transition to THE PENDING - this is a database of relief and the primary database
application of the digital switchover has been received but untreated.

LATENT pass - the digital switchover has been waiting mode, but has not completed
and I went back to the primary database.

Primary SCHOOL - this is a database of pending, any sessions active, i.e.
allows to switch to a primary database.

In STANDBY mode - this is a primary database, any sessions active, i.e.
allows to switch to a standby database.

RECOVERY NEEDED - this is a database of pending that has not received the
application of the digital switchover.

Tags: Database

Similar Questions

  • keynote address during registration how to make the transition between slides

    Hello

    I am doing a keynote presentation. When I recorded my first slide, I can't go to the next slide.

    To create a recorded slideshow:

    • Open the Keynote presentation and click slide 1 in the browser
    • go to: play > slide show folder
    • Click on the Red record button
    • after count down, press the SPACEBAR, whenever you want to move to the next slide or animation Keynote
    • Click on the Red record button to complete the registration
    • Press the ESC key to exit the record mode
  • How to make the content of the DIV on the page that I'm going to fade out?

    I'm trying to figure out how to make the content of a DIV on the page I'm clicking away from fade. I know how to do the Next page load with a fade in. So I'm half there (I guess).  WiX has many designs which use for this purpose. Here is a link to an example:

    http://www.wix.com/website-template/view/HTML/633?originUrl=http%3A%2f%2Fwww.wix.com & numbe r page = 1 & = 1 position-in-page

    This is the code I use to make a DIV load with a melted in:

    I have add this CSS code in the div I want to apply the fade in effect to:

    Animation: fadein 2s;

    -moz-animation: fadein 2s; / * Firefox * /.

    -webkit-animation: fadein 2s; / * Safari and Chrome * /.

    -o - animation: fadein 2s; / * Opera * /.

    And I add this additional code to the CSS stylesheet:

    }

    fadein {} @keyframes

    of {}

    opacity: 0;

    }

    to {}

    opacity: 1;

    }

    }

    @-moz - keyframes fadein {/ * Firefox * /}

    of {}

    opacity: 0;

    }

    to {}

    opacity: 1;

    }

    }

    @-webkit - keyframes fadein {/ * Safari and Chrome * /}

    of {}

    opacity: 0;

    }

    to {}

    opacity: 1;

    }

    }

    @-o - keyframes fadein {/ * opera * /}

    of {}

    opacity: 0;

    }

    to {}

    opacity: 1;

    }

    }

    Tutorial with demo & downloadable files here: http://www.onextrapixel.com/2010/02/23/how-to-use-jquery-to-make-slick-page-transitions/

  • Can you please tell me how to make the thicker arrows on the Pages.

    Can you please tell me how to make the thicker arrows on the Pages. Thank you very much. There is something incredibly simple to do, but I, having a disconcerting brain, am totally unable to understand. Please please help me. Thank you

    < re-titled by host >

    Try here > Pages for Mac: Add and edit forms

  • How to make the top sites page appears when I open a new tab? Why have I not of "buttons" to pin a top site of the page tab?

    When I open a new tab, NO best sites don't show up... shows just a search engine box. I have Firefox 33.0. Why is there no 'pin' button when I opened a new page? How to make the top sites page appears when I open a new tab?

    Here is some additional information on the configuration of the new tab page:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste newtab and make a pause so that the list is filtered

    (3) double-click the preference browser.newtab.url and enter your favorite page:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Press Ctrl + t to open a new tab and check that it worked. Fixed?

    Some traps:

    If Firefox will not let you change this setting: you can have what is called SearchProtect on your system.

    Firefox if allows you to save your changes, but he doesn't know: one of your extensions may be the substitution of her. You can consult, disable and/or remove extensions on the addons page:

    "3-bar" menu button (or tools) > Add-ons > in the left column click on Extensions

    If the modification works during your session, but during the next startup is leads to: you could have a user.js file in your personal settings Firefox (your Firefox profile folder). This article describes how to track down and delete the file: How to fix preferences that will not save.

    A little luck?

  • I have associated my pencil to Apple for the iPad Pro; How to make the Widget of batteries displayed on the notification Center 'today '?

    I have associated my pencil to Apple for the iPad Pro; But how to make the Widget of batteries displayed on the notification Center 'today '?

    See if it works. Scroll to the bottom of the list in the display today. Tap on edit. Press on the + sign next to battery.

  • How to make the snow fall go far in the background that I've recently added a newsletter on your part?

    How to make the snow fall go far in the background that I've recently added a newsletter of mozilla to? It appears on things, I feel.

    I can't talk about it. What is an extension?

    You can disable or remove unwanted page extensions modules. Either:

    • CTRL + SHIFT + a
    • Firefox orange (or the Tools menu) button > Add ons

    In the left column, click Extensions. If you don't it spot, perhaps in the appearance section?

  • How to make the text bigger in youtube! Cubs in youtube!

    I made the largest text where google search arrives! But when I go on youtube the text is much tinier and I 65 to cataract and I can't read the text at right! How to make the text bigger in youtube? Thank you very much! I tried everything, but nothing changes the size!

    When you view this page hit {Ctrl + 0} < is a zero number -to reset the zoom level for this area.

    https://support.Mozilla.com/en-us/KB/page+zoom

    If you move the scroll wheel, and are now the CTRL key, you can change the zoom level of the page that is viewed - both in & out.

  • When I run a web browser immediately loaded two blank tabs. How to make the browser to load the only?

    When I run a web browser immediately loaded two blank tabs. How to make the browser to load the only?

    Have you checked the home page to make sure that if is not the vertical bar (|) symbols?

    See the following for a few suggestions:

  • How to make the text darker or bolder

    How to make the text darker or bolder in safari

    shutterbox-

    I'm with you.  Cataract surgery, it will take longer, and the thin, plugged in my humble OPINION, typeface they chose is really for less than 40 eyes.

    The same "BOLD" of the police system capacity would be so appreciated.

    There are 3rd party apps that can change system fonts, and I saw messages claiming success, but I'm a purist to try.

    Small fonts (to us) make it very painful to be here.  I just hope they realize that our needs must be met, as well.

  • S3000-514: how to make the secondary battery to unload everything first?

    Hello world!
    After I ve managed to charge my secondary battery on my laptop (see my previous announcement), I'm now getting another "strange" problem
    With my two batteries in and on the battery the first battery to discharge is the main battery - and not high school!
    This leads to a problem: when I want to change the secondary battery with my combo player, I'm not always have enough power in my battery.
    I have found how to make the battery discharging first of haven´t.
    Can anyone help?

    Hello

    Unfortunately, it is not for me and as much as I know it can not be changed. Probably the electronic power supply is configured to run on this path. Have you tried to remove the main battery and work by simply using secondary? What happens in this case?

  • How to change the location of the @ how to make the Euro symbol and where is 'hash '?

    I am a proud new owner Portege M300. Now all I need? knowledge is:

    -keyboard looks liks the sign @ is above the 2. In fact, it's above the apostrophe, where the quote is true. I want to have the @ sign overcoming the 2 because that's what I'm used to =. How I change these autour?

    -How to make the Euro sign (as £ and $)?

    -Why is£ 3 rather than the 'hash' sign that is posted above? How to make the sign of 'hash '?

    Hello

    Before you can perform any discussion can you please tell me in which country is your laptop bought and what specific keyboard of the country to unity? Each cell has a specific keyboard of the country.

  • How to make the button to set the properties of auto-scale one of the Axes on the graphical indicator so I can turn on or off when I press on it. In the Labview web UI designer

    How to make the button to set the properties of auto-scale one of the Axes on the graphical indicator so I can turn on or off when I press on it.

    I need to change the adjustment vaguely Autoscale property for my graphic indicator. Can someone help me please.

    Thank you!

    Hello

    I have confirmed that there is currently no way programmatically enable/disable autoscaling for axes on the LabVIEW graphical indicator generator of the user Web interface. We noted this to possibly be implemented in the future; Sorry for the inconvenience.

  • How to make the difference in percentage between two matrices?

    Hello everyone, I just want to ask how to make the difference in percentage between two binary matrices. This is to compare two images converted to matrices in LabView. Thank you.

    Well, in the current image interesting pixels are zero in the reference image. Here is a small example that would take all the zero 100% pixel, then look at the pixels of same in the other image to see how are always 0.

    Modify if needed.

  • How to make the network I have a WinbitXP, 32 bit SP 3 to a Win 7, 64?

    How to make the network I have a WinbitXP, 32 bit SP 3 to a Win 7, 64?

    Monday, February 27, 2012 04:40:18 + 0000, Bruce Giese says:

    How to make the network I have a WinbitXP, 32 bit SP 3 to a Win 7, 64?

    Make sure that you create a Working Group. Do not create a homegroup, which
    can only be used with Windows 7 computers.
    Ken Blake, Microsoft MVP

Maybe you are looking for

  • HP Pavilion g6 1321-sx: BCM20702A0

    Can someone please tell me that is this machine supports bluetooth, I hope because it has the drivers drivers and downloads page, but can not do work I have done everything possible in my knowledge and reach it please help.Computer name: Hp Pavilion

  • device problems

    My wireless keyboard stopped working, and to install the device, I need to go on my administrative account, which has a password. But since I don't have a keyboard work I can't type the password to install the device to get the keyboard work. Does an

  • Where can I find key for business to Vista pre-installed on my laptop?

    Where can I find key for business to Vista pre-installed on my laptop?  Yes, I have a legal authenticated copy of Vista business on my laptop.  I recently had to reinstall everything on my laptop, but had some problems using the backup disks that I i

  • Is APC battery backup compatible win 7 Home Premium

    Is APC battery backup compatible win 7 Home Premium I have: HP Omni 220-1180 QD Win 7 64 bit Win 7 goes to sleep when idle for 20 min., by default. I downloaded the latest software for the home, 3.0.2 inverters I had some repair work done recently be

  • Cannot install the printer on the laptop

    Point question: Product name: HP Photosmart e-all-in-one printer-D110a Model name: CN731A Portable printer is installed: Operating system: Windows 07-34 bits Brand: Dell I'm unable to install my photosmart D110a printer.  Previously, I have installed