Manual switch over for maintenance

Hi experts:
Following are the steps for Manual Switch over from primary to standby
connect /@PRIM as sysdba
ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSION SHUTDOWN;
connect /@STAN as sysdba
ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
ON previous primary
SHUTDOWN IMMEDIATE;
SQL>STARTUP MOUNT;
New Primary (previous stand by )
ALTER DATABASE OPEN;
I have primary & standby with protection mode maximize availability
How can I vice versa the above process lets say my primary is down for maintenance & i want this as my primary again ?
one more thing is that reports are generated from standby right now so it mean active dg is configured.
Regards

Hello;
Try to remember if you databases are in sync its kind of like having one database in two different roles, Primary role and Standby role.
Also if you want to do maintenance then don't issue this command after switchover, wait until the maintenance is complete and then issue it and Data Guard will catch up :
alter system set log_archive_dest_state_2=enable;Once you have done a switchover its a good idea to do a log switch and make sure the new primary and standby are working correctly. Once you have done that the step to switch back are as follows : ( Do not use if you have Data Guard Broker setup )
h3. Verify that it is possible to perform a switchover operation.
SQL> select switchover_status from v$database;
Note:All v$database switchover_status values are shown at the bottom of this page.
If SWITCHOVER_STATUS returns SESSIONS ACTIVE then you should either
disconnect all sessions manually or when performing step 2 you should append
the with session shutdown clause. For example:
SQL> alter database commit to switchover to standby with session shutdown;h3. Convert the primary database to the new standby
SQL> alter database commit to switchover to standby with session shutdown;
Note: This might take a few minutes.h3. Shutdown the former primary and mount as a standby database
SQL> shutdown immediate
Note: An ORA-01507: database not mounted is normal
SQL> startup nomount
SQL> alter database mount standby database;h3. Defer the remote archive destination on the old primary
SQL> alter system set log_archive_dest_state_2=defer;h3. Verify that the physical standby can be converted to the new primary
QL> select switchover_status from v$database;
SWITCHOVER_STATUS
TO PRIMARY
Note that if the status returns SESSIONS ACTIVE then you should append the with session shutdown clause to the command in step 6.h3. Convert the physical standby to the new primary ( step 6 )
SQL> alter database commit to switchover to primary;h3. Shutdown and startup the new primary
SQL> shutdown immediate
ORA-01109: database not open
SQL> startuph3. Enable remote archiving on the new primary to the new standby
SQL> alter system set log_archive_dest_state_2=enable;h3. Start managed recover on the new standby database
SQL> recover managed standby database disconnect;
Media recovery complete.
SQL>
Note: It’s a good idea to perform a log switch on the new primary.
SQL>alter system switch logfile;Best Regards
mseberg

Similar Messages

  • Manual Switch over the operation modes

    Hi,
    What's is purpose of RZ03(Manual Switch Over the Operations Modes)? Where extactly useful?
    Regards
    Basis Admin

    Hi,
    Operation Modes are the best way to change the amount of processes in the system, Administrators usually prefer more dialog processes during the day to deal with the users requests and more batch processes during the night to deal with all the system jobs, reports, archiving, etc.. The manual switch is used to change the Operation mode instantly to deal with a special demand, like heavy reporting, special month end jobs, testing, etc...
    Hope this help!
    Juan
    Please reward with points if helpful

  • Switch over for oracle application

    Hi Guru
    By using dataguard we can achieve switch for database but i need how to configure switch over on oracle apps 11i
    Thanks
    user7300437

    Hi,
    Please see section 5 in
    Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g [ID 216212.1]
    Section 6.1 in
    Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC [ID 1068913.1]

  • Switch over between two SAP PI systems for downtime minimization

    Hello Colleagues,
    with our interfaces over our SAP PI 7.31 (ABAP/Java) system we assume we will run in a 7x24 h runtime scenario in the future.
    Regarding Business Continuity we have to think about solutions which help us to handle downtimes greater than 15 min. regarding Support Package upgrade, Kernel update, EHP, etc.
    The first idea is to implement a second equal SAP PI productive system in parallel to the existing one.
    On the sender side a switch over implementation like WebDispatcher, Load Balancer, etc.
    For maintenance all Interface traffic can run over PI Nr. 1 and PI Nr. 2 can be updated.
    Afterward all interfaces will switched to PI Nr. 2 and PI Nr. 1 can go in maintenance.
    Could be this as suitable solution for SAP PI Business Continuity or do you know better solutions?
    Many thanks in advance!
    Regards,
    Jochen

    Hello Bernhard, Hello Holger,
    many thanks for reply and providing these valuable information's.
    The nZDM Concept is already known to me but it doesn’t answer all our questions.
    Please let me explain a little more in detail.
    Not currently but in the near future we assume some new interface over our SAP PI System will come with the requirement max. downtime lower thank 10 to 15 min. only allowed.
    To be prepared regarding this possible scenario, we start thinking about possible different solutions.
    First step was the nZDM Concept, of course. But it didn’t meet all our requirements regarding interface downtime.
    Some points are:
    possible min. downtime is 30 min. and thus is over our requirements for interfaces
    only for Update (and planed for Upgrade) the SAP PI application
    all operating system and database related maintenance tasks are not covered by nZDM
    all Hardware (Server, Storage, etc.) as well not covered by nZDM
    Among others, because of these facts we start thinking about a second equal SAP PI system beside to existing productive one.
    Than line 1 will take over the whole interface traffic and in the meantime the line 2 can go in maintenance. After finalizing the maintenance for SAP PI Nr. 2 we can switch the interface traffic to SAP PI Nr. 2 to get SAP PI Nr. 1 free for maintenance.
    Regarding the topic “PI Federation” I found here in these documentation's several hints regarding this scenario (two SAP PI systems in an switch over scenario).
    PI Federation – An Overview
    among others  Page: 27
    Business Continuity: Central PI integration Server with redundant Integration Server to be used in controlled switch over scenarios when upgrading or patching.
    or
    How to Fast-Switch Integration Scenarios between SAP PI Runtimes Part II: Web Dispatcher
    But I didn’t found any further detail documentation's regarding this approach.
    The solution should fit as well to our existing hardware infrastructure.
    For production we use an IBM (AIX) failover-cluster switch between our both data center.
    Regarding our hardware infrastructure prerequisites and downtime requirements, which solution(s) do you recommend? Is PI Federation still an option?
    Many thanks in advance!
    Regards,
    Jochen

  • TS4002 Manually changing settings for Mail after iCloud switch?

    I'm using Mail for Mac (ver 4.5) with OS X.6.8 at home and am suddenly NOT able to check mail.  Should I have to change mail settings once I am switched over to iCloud??
    chris

    Chris_frustrated wrote:
    .........Should I have to change mail settings once I am switched over to iCloud??
    Yes
    Delete your mail account from Mail preferences and set it up again using the Mail Server Information.
    Some users have apparently encountered issues using this information in pre-Lion set ups (I haven't), Roger Wilmut has kindly provided instructions for those who find themselves with this problem.
    Entering iCloud email settings manually in Snow Leopard or Leopard

  • My iPod 5th gen. doesn't have a back camera. Can I trade it in for one that does have a back camera? If I can, can I keep all my pictures and have them switched over to the other one?

    My iPod 5th gen. doesn't have a back camera. Can I trade it in for one that does have a back camera? If I can, can I keep all my pictures and have them switched over to the other one?

    If you purchased it from Apple within the last 14 days then you can return it for a full refund. otherwise no. If you purchased it elsewhere you have to check with them.
    Do this to transfer info
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • I'm looking for a voicemail app that will automatically switch over after normal business hours and play an alternate voice-mail message. Does this currently exist?

    I’m looking for a voicemail app that will automatically switch over after normal business hours and play an alternate voice-mail message. Does this currently exist?

    Voicemail is through your carrier and on their equipment.
    It's function and features is set by them, not your phone.

  • I have a licensed copy of Adobe Acrobat X Pro for Windows.  I recently switched over to MAC OS and would like to move my Adobe X Pro over but the CD will not work for Mac OS?  Can anyone assist me with this conversion?  Best,  James.

    I have a licensed copy of Adobe Acrobat X Pro for Windows.  I recently switched over to MAC OS and would like to move my Adobe X Pro over but the CD will not work for Mac OS?  Can anyone assist me with this conversion?
    Best,
    James.

    you cannot use your pc license to install on a mac.  you would need a separate license (and serial number) for that.
    adobe allows platform swaps, but only with the latest (xi) version, Order product | Platform, language swap
    your option to use acrobat on a mac are to upgrade to acrobat pro xi and change platforms, use a windows emulator (parallels/boot camp etc) on your mac or swap with a third party.

  • TS3992 I'm trying to switch over to my new iPhone and every time I get to the point of inputting my icloud details, a message appears stating no backup available. I have followed all the instructions detailed above but no success. I've been trying to for

    Loosing patience :
    I've tried for 2months to switch over to my new 4s, but every time I enter my apple ID to retrieve backup from icloud. I'm informed no back up available.
    Given tried for 2months, I'm tempted to bin it and get an alternative phone.

    As you backup the iPhone in iTunes, it overwrites the last backup. Files are kept as they are changed, so that would explain how you get different dates in your backup folder. The only backups that are saved and not overwritten are the ones done just prior to a restore. You do have the option to go back in time on a Windows computer, however depending on the last time you set a restore point in Windows, it could be back further than you are willing to go.

  • Manual Reservation for Maintenance Order

    Hi,
    Can anyone suggest some procedure so that I can stop automatic reservation creation from Maintenance Order (Transaction:IW31, type PM01, Category 30) and create manual reservation for the same.
    Presently Manual reservation is not allowed for Maintenance Order.
    Thanks
    Satadal

    To the best of my knowledge this is possible. To the best of my knowledge G/L account determination for every material happens after a series of checks are done internally by SAP. By checks I mean the sequence of steps as customized by the consultant in the configuration. Now at the end of the sequence if SAP has not succeeded in identifying a G/L account it will open up a tab in which u can manually enter the G/L account. For non-stock item you can anyway enter it.
    I would suggest that you post this query in the MM forum also.
    thanks
    Bala

  • Manual Reservation for Maintenance Order (Category 30)

    Hi,
    Can anyone suggest some procedure so that I can stop automatic reservation creation from Maintenance Order (type PM01, Category 30) and create manual reservation for the same.
    Presently Manual reservation is not allowed for Maintenance Order.
    Thanks
    Satadal

    Hello Satadal
    nobody's answered you because it's not possible to create a manual reserve for logistic orders as Network/PP orders or PM orders.
    If you want inhibit the automatic reserve creation :
    - customizing (transaction OIOE) : set "Never" in field "Reservation Relevance/Generation of Purchase Requisition". The reserves will be created but they will be not relevant for MRP.
    - Hide the field AUDISP "Reservation Relevance/Generation of Purchase Requisition"  at component level (OICMPD) and operation level (OIOPD)
    Good luck
    silvia

  • Query about Manual Reservation for Maintenance Order Category 30

    Hi,
    I have a problem. Generally from Maintenance Order type PM01 under Order Category 30, when we give some materials requirement, SAP automatically generate reservation for those materials and take the GL as Consumable Item.
    But in my case, that GL has to be changed depending on what perpose we are using the material. But Manual reservation is not allowed for the order category 30 and no GL can be changed for automatic reservation.
    Can anybody suggest any way-out so that we can give our desired GL No. for the reservation for Maintenance order (say Order type PM01 under category 30 which is SAP internal).
    Thanks in advance,
    Satadal

    To the best of my knowledge this is possible. To the best of my knowledge G/L account determination for every material happens after a series of checks are done internally by SAP. By checks I mean the sequence of steps as customized by the consultant in the configuration. Now at the end of the sequence if SAP has not succeeded in identifying a G/L account it will open up a tab in which u can manually enter the G/L account. For non-stock item you can anyway enter it.
    I would suggest that you post this query in the MM forum also.
    thanks
    Bala

  • I'm going to be a senior this year and my school is switching over to the iPad for classroom activities. Which iPad is the best for taking notes, researching, studying, reading, etc?

    I'm going to be a senior this year and my school is switching over to the iPad for classroom activities. Which iPad is the best for taking notes, researching, studying, reading, etc?

    I Recommend the iPad Mini Retina, it's not to big, and not to small. It has the speed of the iPad Air due to it having the same 64 Bit chips. ( And it's a lot cheaper!!) I have one myself and it's perfect for my school work!
    iPad Mini
    http://www.apple.com/ipad-mini/
    or don't 'to take my word for it, compare the iPads!
    http://www.apple.com/ipad/compare/

  • Hi I Have A Prepaid SmartPhone Right Now With Verizon For About 7-Months So Far. I Have Always Paid On Time No Missed Payments Good Standing Account, I Tried To Switch Over To A 2-Year Contract With Verizon And They Wanted A $400 Deposit For Only 1-Line.

    Hi I Have A Prepaid Smart Phone Right Now With Verizon For About 7-Months So Far. I Have Always Paid On Time No Missed Payments Good Standing Account, I Tried To Switch Over To A 2-Year Contract With Verizon And They Wanted A $400 Deposit For Only 1-Line. Is There Anyway I Can Use My Excellent Payment History With There Prepaid Department To Switch To A 2-Year Contract And Not Have To Pay The $400 Deposit. And This Is Due To The Fact I Have No Credit History Whatsoever

    Since you have no credit history, my guess is you would need at least a year of on time payments, and I'm not sure a pre-paid account would qualify as you can stop at any time. 
    You didn't specify your age, but getting started int he credit world is not easy - you may try applying for a gas card, or a credit card, and USE them, pay them off each month - and expect to take a year or more to establish a record. 

  • I currently have a licensed version of CS6 for my PC but I want to make the switch over to MAC soon.  Is there a less expensive way to have CS6 without having to buy it all over again?

    I currently have a licensed version of CS6 for my PC but I want to make the switch over to MAC soon.  Is there a less expensive way to have CS6 without having to buy it all over again?

    Order product | Platform, language swap
    Mylenium

Maybe you are looking for

  • Creation of BOM for given scenario

    Hi All I have a requirement of creating BOM under the given scenario: I am currently into some food industy implementation wherein a certain raw food product is bought from farmers, It is then segregated as per the grade through a grading machine, th

  • Forward Terminated Employee Emails Best Practice

    I'll start off by saying Exchange is not my bread and butter, but it is mine now, so this is my logical thought... When we have an employee leave and their email needs to be forwarded to a manager or another employee, the current process is to disabl

  • Connect Apple TV to ad hoc network

    I want to use AirParrot to mirror my Windows 7 to my Apple TV, but it doesn't connect a lot and is slow when I do it normally. So I decided to create an ad hoc network on my Windows 7 Machine in hopes that I could have my TV connect to it.  But it is

  • Duplicate payments in Payment list of F110 payment run

    Hello all, We had run APP trhu F110 payment run was as expected with amount 100000 EUR but when we checked payment list (EDIT- Payment - Payment list) there are duplicate entries and total is showing as 200000 EUR. Following are onservations 1) In SA

  • Reg: material reconcilation o/p error

    Dear experts,   Here am generated a report for material reconcilation. For that am getting error in my o/p. open rm qty and closing rm qty, here open rm qty is 2,500 and closing rm qty is 2436. for one lot no it displays 5 service invoice, job work i