Shutdown abort during switch over?

Hello,
I seem to notice a different behaviour between 11.2.0.1 and 11.2.0.2 during switchover on Linux 64 bit.
On primary I'm connected in sqlplus
ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY;
Database altered.
exit
In alert.log:
Fri Dec 03 11:52:50 2010
Process (ospid 15296) is suspended due to switchover to physical standby operation.
Enter again in sqlplus
SQL> SHUTDOWN IMMEDIATE;
ORA-01092: ORACLE instance terminated. Disconnection forced
in alert.log
Fri Dec 03 11:53:23 2010
Performing implicit shutdown abort due to switchover to physical standby
Shutting down instance (abort)
License high water mark = 811
USER (ospid: 16022): terminating the instance
Instance terminated by USER, pid = 16022
Fri Dec 03 11:53:25 2010
Instance shutdown complete
ORA-1092 : opitsk aborting process
remaining inside sql session:
SQL> STARTUP MOUNT;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
exit and restart sqlplus
SQL> STARTUP MOUNT;
ORACLE instance started.
Total System Global Area 2739171328 bytes
Fixed Size          2229640 bytes
Variable Size          1207962232 bytes
Database Buffers     1509949440 bytes
Redo Buffers          19030016 bytes
in alert.log
Fri Dec 03 11:55:02 2010
Starting ORACLE instance (normal)
****************** Huge Pages Information *****************
Huge Pages memory pool detected (total: 1500 free: 1500)
DFLT Huge Pages allocation successful (allocated: 1313)
And then normal election to primary for the dr RDBMS.
But I didn't notice this "shutdown abort" when using 11.2.0.1.
The same happens if at the beginning I remain in sqlplus sesison and try to run "startup mount"
Is this expected?
Thanks in advance,
Gianluca

If you use IMMEDIATE, an ABORT will be performed anyway as of 11.2.0.2 and you would see the following in the alert
Performing implicit shutdown abort due to switchover to physical standby
Shutting down instance (abort)
So the answer is Yes.
You can confirm this yourself by reviewing :
11.2 Data Guard Physical Standby Switchover Best Practices using SQL*Plus [ID 1304939.1]
Best Regards
mseberg
Wow, this question is way old! Please open your own question user user11311455, you caught me before I had coffee.
Edited by: mseberg on Aug 17, 2011 8:09 AM

Similar Messages

  • Database is hang during shutdown abort (Urgent Production Issue)

    Hi Gurus
    In my production system while shutdown immediate , database was hang.
    When we logged in system and gave shutdown abort its again hang.
    Pls suggest me what could be the reason and how it can be solved
    Thanks

    Tue Oct 21 05:01:09 2008
    Shutting down instance: further logons disabled
    Tue Oct 21 05:45:19 2008
    ksvcreate: Process(q005) creation failed
    Tue Oct 21 05:45:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:45:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:45:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:49:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:49:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:49:24 2008
    Shutting down instance (abort)
    License high water mark = 26
    Termination issued to instance processes. Waiting for the processes to exit
    Tue Oct 21 05:49:35 2008
    Instance termination failed to kill one or more processes
    Tue Oct 21 06:06:43 2008
    Instance terminated by USER, pid = 20613

  • External and internal mikes are not automatically switching over either recording or on voice calls

    My laptop model name is HP Pavilion dv4-1100ea which is shipped with Vista Home premium 32 bits and has got service pack 1.
    Restored the laptop to factory setting since then I am having the following problems; I had the same problem when my laptop was brand new and whenever I reset the laptop to factory setting I get the following problems:
    1. External and internal mikes are not automatically switching over either in middle of the recording using sound recorder or while the call in progress on voice calls (skype):
       Using the sound recorder if I start recording the sound with external  mike  and in-between  recording if I  switchover from external mike to inbuilt mike and later on when I play back I can only hear the sound  up till where I used the external mike during recording, after the switchover to inbuilt mike I cant hear any sound.
       But if I start the recording with inbuilt mike and in between recording  if I plug in  the external mike and later on when I play back I can only hear the sound up till where I used the inbuilt mike during recording , after the switchover to external mike I cant hear any sound.
       So in brief both my external and internal mikes are working fine, only problem is that if I start recording (using sound recorder) or voice call with one specific mike, I have to continue with it till the end. I can’t switchover to another mike in between the conversation (voice call) or recording, if I do so, I have to select the mike manually in chat software but while recording I cant even select manually because in laptop, it takes the mike whichever is in current use as default mike in recording tab(sound window). The green tick automatically (in recording device tab) switches over according to the use of mike. Though the green tick in the recording tab is switching over automatically according to use of mikes, its not picking up the sound after switch over during recording.
    2. And also when I click on recording device tab in sound window and plug in external mike, though the green tick automatically switchovers from internal to external mike, while I speak both internal and external mikes volume meter respond to the sound inputs by rising and falling but if I take out external mike, green tick goes to internal mike and when I speak only internal mike volume meter respond to sound rising up and down not the external mike.
    To resolve the issue I have tried following steps with no luck:
    1.I have checked the mikes(internal and external) properties, the both mike shows to be enabled in general tab, in level tab the volume is set to 100 and in advanced tab , all options are selected.
    2. In device manager I have got only one audio driver named as “IDT High definition Audio CODEC”. I have uninstalled the audio driver and reinstalled it using scan for hardware option
    3. Uninstalled the audio driver in device manager and reinstalled the audio driver using recovery manager > advanced option> hardware driver re-installation.
    3. I have updated the BIOS(Insyde F.65, 12/02/2010).
    4. I tried to update the audio driver using below link but things went more worse so I did system restore (not factory setting though).
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-67051-1&lc=en&dlc=en&cc=us&...

    Sounds like you need to upgrade to the iPhone 5s
    The 5s has Touch ID
    You can unlock your phone with your finger instead of typing in a key code
    No swiping to unlock either, just touch the home button
    You can enrol multiple fingers as well
    Here is a video of it in action
    http://www.apple.com/iphone-5s/videos/#video-touch
    Or wait and see what iPhone 6 has to offer
    That being said, as desiel vdub posted if the phone is up to your face, the proximity sensor should turn the screen off
    And when you lower the phone turn it back on again
    Not sure about the phone locking when your on a call doesn't sound right

  • Switch over

    Hi Experts,
    DB version: 10.2.0.4
    OS : Linux
    I need to perform Switch over, Unfortunately i have given "alter database recover managed standby database finish" on standby database now the status of standby database is "RECOVERY NEEDED"
    and the status in primary database is "NOT ALLOWED".
    When i start MRP - alter database recover managed standby database disconenct from session;
    the errors in alert log file as:
    Errors in file /u00/app/oracle/admin/OFMSREGT/bdump/ofmsregt_arc1_15597.trc:
    ORA-16143: RFS connections not allowed during or after terminal recovery
    Tue Feb 1 22:41:27 2011
    PING[ARC1]: Heartbeat failed to connect to standby 'OFMSREGT'. Error is 16143.
    Tue Feb 1 22:43:37 2011
    Incremental checkpoint up to RBA [0x80.52ee.0], current log tail at RBA [0x80.52ee.0]
    I need to perform SWITCH OVER, Tell how to perform??
    Edited by: Autoconfig on Feb 1, 2011 8:12 PM

    Hi,
    First you have to resolve the error you are getting so make sure archiving should not happen from primary to standby because you started recovery,once your recovery is completed.
    Than follow the below steps:
    IN mount stage:
    SQL> alter database commit to switchover to physical standby;
    select switchover_status from v$database;
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS
    TO PRIMARY
    SQL> alter database commit to switchover to primary;
    Database altered.
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS
    TO STANDBY
    If it is production database raise an SR.Hope it helps.
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/

  • Business Connector work with ECC 6.0 or have to switch over to PI - Upgrade

    Hi
    Client want the upgrade their current SAP system from 4.6C to ECC 6.0.
    Like to know if Business Connector would work with ECC 6.0 or they have to switch over to PI.
    Please Help
    Thanks

    i think BC will work ,
    chek the below thread for
    what are abaper tasks during upgrade to ECC 6.0
    what are abaper tasks during upgrade to ECC 6.0?
    pls reward points if helpfull
    regards
    kummari
    Edited by: kummari on Jul 4, 2008 8:05 AM
    Edited by: kummari on Jul 4, 2008 8:20 AM

  • 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

  • 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

  • Standby DB switch over error

    Hi,
    while switching primary to standby,switchover_status on primary is to standby,
    then I given ALTER DATABASE COMMIT TO SWITCHOVER TO STANDBY WITH SESSION SHUTDOWN;
    command and getting below error
    ERROR at line 1:
    ORA-16014: log 1 sequence# 62 not archived, no available destinations
    ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\PDONDS\REDO01.LOG'
    ORA-00312: online log 1 thread 1: 'C:\ORACLE\REDOLOGGROUP1\REDOB1.LOG'

    Hi,
    after switch over roles of databases,on both ( newstandby and newprimary) DBs relogs are like below,
    SQL> select * from v$logfile;
    GROUP# STATUS TYPE MEMBER
    1 ONLINE D:\ORACLE\ORADATA\PDONDS\REDO01.LOG
    2 ONLINE D:\ORACLE\ORADATA\PDONDS\REDO02.LOG
    3 STANDBY D:\ORACLE\ORADATA\STANDBYREDOLOGS\STDREDOA1.RDO
    1 ONLINE C:\ORACLE\REDOLOGGROUP1\REDOB1.LOG
    2 ONLINE C:\ORACLE\REDOLOGGROUP2\REDOB2.LOG
    4 STANDBY D:\ORACLE\ORADATA\STANDBYREDOLOGS\STDREDOA2.RDO
    5 STANDBY D:\ORACLE\ORADATA\STANDBYREDOLOGS\STDREDOA3.RDO
    3 STANDBY C:\ORACLE\STANDBYREDOLOGS\STDREDOB1.RDO
    4 STANDBY C:\ORACLE\STANDBYREDOLOGS\STDREDOB2.RDO
    5 STANDBY C:\ORACLE\STANDBYREDOLOGS\STDREDOB3.RDO
    10 rows selected.
    in the status column it is displying blank space
    please let me know why it is showing blak space ?

  • If shutdown immediate hangs database waits one hour for shutdown abort

    we have schedules cold backup for our 11g database on redhat 5.3.
    there is a shell script written with shutdown immediate command.
    If database hangs during shutdown immediate database waits one hour for auto shutdown abort.
    but this happens once or twice in a month
    can we do this auto shutdown abort earlier than one hour ??

    user13376823 wrote:
    we have schedules cold backup for our 11g database on redhat 5.3.
    Since you're shutting down the database for cold backup so ensure it should be shutdown properly by shutdown or shutdown immediate cmd not by abort cmd.
    Consistent backup:-
    A backup taken when the database is mounted (but not open) after a normal shutdown. The checkpoint SCNs in the datafile headers match the header information in the control file. None of the datafiles has changes beyond its checkpoint. Consistent backups can be restored without recovery.
    http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1007616

  • Data Guard Switch Over & Failure

    Dear All(s)
    I have configured, physical standby database for productional database. standby logs successfully shiping on standby databse. How i can check database gata guard against failure and how switch over will done.
    Thanks in advance.

    Hi..
    Whats the oracle version???
    For failover
    1. Select thread#,max(sequence#) from v$log_history group by thread#; -- on both primary and standby
    2. select max(sequence#) from v$archived_log where applied='YES'; -- on standby.If lagging behind alot recover it
    3. ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL; -- on standby
    4. ALTER DATABASE ACTIVATE STANDBY DATABASE; -- on standby
    5. Shutdown and startup. Add a temp tablespace
    Once failover is done, you will need to create a new fresh standby database.It can't be reverted back to standby.
    For switchover switch back refer to [http://www.orafaq.com/node/2078]
    [http://download.oracle.com/docs/cd/B19306_01/server.102/b25159/outage.htm#ABC1014482]
    HTH
    Anand
    Edited by: Anand... on Nov 19, 2008 6:16 PM

  • My contract has ended. Can I preorder an iPhone 6 and switch over to the $60/2GB per month single line plan?

    When attempting to upgrade my phone on the website, there is no option to select the single line plan during checkout. Can I purchase the iPhone on the website and then call customer service to switch over to the single line plan? This plan is shown here: Single Line Cell Phone Plan from Verizon - Verizon Wireless

        lily74,
    That's great that you are getting this new phone! I'm sure you are excited! We are happy to make any necessary changes to your plan once you have received your phone! We definitely want to be on the best plan for your particular usage, so if you did not have the option to select your preferred plan, we are happy to assist you in getting on the one of your preference!
    SandyS_VZW
    Follow us on Twitter @VZWSupport

  • HT5824 I switched over from an iPhone to a Samsung Galaxy S3 & I haven't been able to receive any text messages from iPhones. Please help with turning my iMessage completely off..

    I switched over from an iPhone to a Samsung Galaxy S3 & I haven't been able to receive any text messages from iPhones. I have no problem sending the text messages but I'm not receivng any from iPhones at all. It has been about a week now that I'm having this problem. I've already tried fixing it myself and I also went into the sprint store, they tried everything as well. My last option was to contact Apple directly. Please help with turning my iMessage completely off so that I can receive my texts.

    If you registered your iPhone with Apple using a support profile, try going to https://supportprofile.apple.com/MySupportProfile.do and unregistering it.  Also, try changing the password associated with the Apple ID that you were using for iMessage.

  • 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

  • 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

  • Switching over to Verizon family plan with iPhone 4S?

    I'm switiching from T-mobile to Verizon for the iPhone. Now the rest of my family would like to switch over as well but only one of them wants the iPhone 4S with me. When I went through a mock purchase with the regular iPhone 4. apple.com told me I had to visit a store to set up my family plan and would not let me pre order anything unless I was starting anew verizon contract by myself without a family plan. Is ther a way around this and if not, what's next? Will the iPhone be available at a Verizon store so my family and I can set up all our phones at once? Or do My brother and I need to go to an apple store to get our iPhones and set up the plan, but from there where and when would the rest of my family get their phones? Can anyone shed any light on this or offer any insight? I'm new to the chaos of trying to get an iPhone, especially when switching carriers. Thanks.

    I'm new to the chaos of trying to get an iPhone, especially when switching carriers.
    IMO, your best bet is to go to a VZW store and work it all out there.  They can switch you over and get you the phones you want right there in the store.

Maybe you are looking for

  • I made a Apple Id but when i go to sign in the App Store it says that my id didnt been used in the App Store or its wrong but i know its correct!

    iTunes Store TERMS OF SERVICE A. TERMOS DE VENDA DA ITUNES STORE, MAC APP STORE, APP STORE E IBOOKSTORE B. TERMOS E CONDIÇÕES DA ITUNES STORE C. TERMOS E CONDIÇÕES DA MAC APP STORE, APP STORE E IBOOKSTORE OS ACORDOS LEGAIS ESTABELECIDOS ABAIXO REGEM

  • How to use coherence-web with a struts form bean

    We are trying to switch to Glassfish 3.1 but when we switch the persistence-type from "replicated" to "coherence-web" our struts applications start failing.  The first time we try the application the page loads.  But all calls from then on end in err

  • How to make a text "slide"

    I am creating a DVD that has several short movies on it. In addition to the movies, i would like to put a slide that has a bunch of informational text, set against a background. I tried doing it by creating the text slide in Powerpoint and saving as

  • JSf - Help Required Please

    HI Guys - Need all ur help here, a) I am trying to develop a JSF application - where i have say 2 buttons on a page - say main.jsp - one button say will do a ftp from a remote machine while the other button just refreshes the current page with some v

  • Undo a billing

    hi i have created a billing document using tcode vf01 but it has been wrongly processed does anybody know how to revert back?