When did a cluster last failover?

Im need to use T-sql to check when a sql instance was last failed over to the other node in a two node cluster?
Is this possible?
Does a SQL instance have to restart when its failed over or does it transition seamlessly?
Thanks,
Zoe

If you only want to find the failover and nothing else then you can edit the first script:
EXEC master.dbo.xp_readerrorlog 2, 1
2stands
for errorlog file number and you can go up to 6 errorlogs. That is like past 7 fail overs/SQL restarts.
Hope you are not cycling the
error log.

Similar Messages

  • When did a user last used a particular Responsibility.

    Hi,
    I am looking for a way which can provide me information regarding when did a user last used a particular Responsibility ( eg CIC User,CRM Administrator etc).
    For eg , If I last used CIC User responsibility last on 30th March 2015, then is there anyway I could fetch this information ?
    Any help with backend query or front end navigation would be much appreciated.
    Regards,
    Praveen

    Thanks Ahmed Abbas, this works perfect 
    please don't mind but I have modified the query a little so that exact responsibility could come up  and kindly suggest if this is okay
    SELECT user_name,
           frt.responsibility_name,
           fr.responsibility_key responsibility,
           (SELECT user_function_name
              FROM fnd_form_functions_vl fffv
             WHERE (fffv.function_id = A.function_id)) "Current Function",
           TO_CHAR(first_connect, 'DD/MM/YYYY HH:MI:SS') start_time,
           TO_CHAR(last_connect, 'DD/MM/YYYY HH:MI:SS') "Date and time of last hit",
           TO_CHAR(SYSDATE, 'HH:MI:SS') CURRENT_TIME,
           session_id,
           (SYSDATE - last_connect) * 24 * 60 mins_idle,
           fnd_profile.value_specific('ICX_SESSION_TIMEOUT',
                                      A.user_id,
                                      A.responsibility_id,
                                      A.responsibility_application_id,
                                      A.org_id,
                                      NULL) TIMEOUT,
           counter "How many hits a User has made",
           A.limit_connects "Num of hits allowed in session"
      FROM icx_sessions A, fnd_user b, fnd_responsibility fr,fnd_responsibility_tl frt
    WHERE A.user_id = b.user_id AND
           fr.responsibility_id(+) = A.responsibility_id AND  fr.responsibility_id = frt.responsibility_id and
           user_name = nvl(:USER_NAME, user_name) and
          upper(frt.responsibility_name)=upper(':P_resp_name') --upper (fr.responsibility_key)  = upper(':P_resp_name')
    ORDER BY last_connect DESC;

  • Users getting disconnected when the sap cluster group failover happens.

    Hello all,
    We have done the HA installation on mysaperp2005(ecc6.0).
    The failover groups are sapcluster group(ascs+scs instance) and the Database(DB group).The central and the dialog instances are installed locally and do not form the part of the cluster.
    When ever the sapcluster group failover to the second node.The users gets disconnected and need to login again.
    How can we configure the nodes so that the users do not get disconnected during the failover of the sap groups and the users are not disturbed.
    thanks
    satyajit

    Hi Satyajit,
    This is exactly the reason why it is called High Availability and not Full Availability.
    When the node where Database runs fails, the memory structure (Instance) associated with the Database is lost and needs to be restarted on the other node. This means that all the transactions which have not been commited to the database needs to be rolled back. Hence the users doing insert/updates into the database will be disconnected from the System.
    While the database is unavailable the Work processes go into a restart mode wherein they wait for the DB to come up again and keep pining it.
    Database becomes available again after the Instance is started on the other node with Instance recovery and the users can connect back. Work processes recognize that the database is available and everything is back to normal.
    In case of Central Instance (enqueue) failover, the lock information is lost and hence again the transactions need to be rolled back hence the users will be disconnected if they are doing an Insert/Update into the System. System becomes available once the Enqueue service is made available again after the failover.
    So in either case there will be user disconnects as HA doesnot cover the memory structure failovers.
    Hope this clears it up for you.
    Thanks and Best Regards,
    Sunil.

  • Help: when did my account last access the internet...

    How I can to know, when my account were connected with the internet last time ?
    Subject/title edited for clarity.

    The problem appears to be caused by having the Cool Iris add-on attached to Firefox. I have removed Cool Iris and the problem has gone! I also note that there is now a 'fix' to the Cool iris add-on available for this specific problem
    Paul

  • Configure Solaris cluster to failover guest domain when NICs were down

    Hi,
    I am running Solaris 11 as the control domains on 2 clustered nodes running on Solaris Cluster 4. There is a Solaris 10 guest domain which is managed via the Solaris cluster in failover mode.
    2 virtual switches connected to 2 different network switches are presented to the guest domain. I would like to use link based IPMP to facilitate HA for the network connections. I understand that in this case the IPMP can only be configured within the guest domain. Now the question is how do I configure it in such a way that the guest domain fails over to the second cluster node (standby control domain) if both network interfaces are down? Thanks.
    Edited by: user12925046 on Dec 25, 2012 9:48 PM
    Edited by: user12925046 on Dec 25, 2012 9:49 PM

    The Solaris Cluster 4.1 Installation and Concepts Guide are available at :-
    http://docs.oracle.com/cd/E29086_01/index.html
    Thanks.

  • HT1338 I'm running MacOS 10.7.5 with all updates and did an update last night for aperture and now aperture doesn't open.  What's Zup?

    I'm running MacOS 10.7.5 with all updates and did an update last night for aperture and now aperture doesn't open.  What's Zup?  Help!

    Also when I do the system update it's not giving me an update for the latest Snow Leopard. I never knew that was available until I started looking around this site and it seems that since I have the internal dual core I should be able to update to mountian lion...is this correct? Will someone please help me and walk me through this. I love my mac I want to have it running like it should be.

  • When I print, a last page is printed with a summary of document printed - file name, directory, ...

    When I print, a last page is printed with a summary of document printed - file name, directory, ... Just got Windows 8. Is this something I can stop? Waste of paper and ink!!

    Hi RebeccaQ,
    Generally speaking, a summary page, document summary or document properties page is often generated based on a setting in the software application being used as opposed to the printer driver or menu setting.  For example, in MS Word you can select to print this page with each printed document.  In this case, depending on your version of Word, you can enable/disable the feature often in "Word Options", "Display", "Printing Options", "Print Document Properties".
    Does this help?  If not, which printer model and software application is being used when the summary is printed? 
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Absolutely livid with the non-service, when did th...

    I purhased a broadband package with BT which included BT sport and a £40 gift voucher for Sainsbury's. I was advised my expected install date was 13th August 2013. on Sunday 11th August 2013 I received an email to advise me that a phone line engineer will be with me on the 12th between 1-6pm, i then received a seperate text message to advise a phone line engineer will be with me 13th August between 8am-1pm.
    As this was conflicting information i thought it would be best to call the helpdesk, the lady i spoke to told me this must have been an error and the correct appointment is for the 13th August.
    WELL GUESS WHAT??
    A phone line engineer turned up at my property at around 11am on the 12th. He called me and spoke to me about what needed to be done and luckily as a phone line was already installed he was able to do the work from the exchange. As a courtesy he asked could i call and cancel the engineer that was due to show at the property the following day, I obliged and called BT to cancel the phone line engineer (WHAT A MISTAKE THAT WAS!!).
    The call lasted for over an hour and the centre agent i spoke to did not understand a word i said to him and i didnt understand him either!! (When did British Telecoms become Bangladeshi Telecoms), Because of this rather than the engineer being cancelled my actual order has subsequently been cancelled instead.
    After seeing this i was extremely irate as you could imagine! I decided to call again to double check this and was advised this was incorrect and it hadnt been cancelled.
    Eveytime I try to call to speak to someone about this I clearly get someone on the other end of the line who is reaing form a script and hasnt got the best grasp of English, to this i ask "do BT have any call centres in Britain except sales?" 
    To the morning of the 13th August and I receive a phone call (again not from England) to ask about the service and if it was working?
    ARE YOU BEING SERIOUS??? DO BRITISH TELECOMS EVEN KNOW WHATS GOING ON AT THAT COMPANY THEY ARE RUNNING?
    Anyway.... i answered this ridiculous question with a no!
    As the conversation went on i was told that as the order has been cancelled it will take another 5 working days for the order to be re-processed!!
    YOU HAVE GOT TO BE JOKING ME!!
    After the 5th time of asking to speak to a manger i was eventually put through to one. i asked for an email address of someone i can make a complaint to, he advise that they are not able to give these out???
    MASSIVELY INCORRECT! As i work for work for the Compliance Department for a very large Debt Collection Agency 
    I am very aware of how complaints procedures should be dealt with and what information should be accessible to customers, an email address is absoultely one of those.
    BT are very clever with their complaints procedure, we are all advised everything is accessible from the online webpage, when selecting complaints you are given the option to write or call. Again incorrect, the forms of making a complaint should be telephone, fax, email & letter.
    So i have made a compaint using these and i will also be following this up with the Ombudsman.
    What really bothered me was that (as a test) i called the sales team a number of times to pretend i was interested in a package, average wait time no more than 30 seconds.
    What this says to me is BT are happy to take the money of new customers as they know they are under contract so payments will be made, any existing BT customer just gets palmed away by a call centre that is based over 8000 miles away.
    As i made all of these calls whilst at work a number of collegues were eager to assist, one finding me the email address for the CEO, Ian Livingston who will be receiving an email, as well as the twitter page which can also expect a post from me.
    BT WHAT A JOKE!!!!!!!!!!!!!

    I'm also having problems with BT and empathise with you.  I will lose all my emails from 16th September as cannot sort everything I do on-line within a month.   
    I do hope you can get some resolution.  The fact they can still use the word "British" in their title needs to be reviewed as it suggests "all things good and quality".  The 49 minute call I had tonight has left me feeling so ill and upset that I can't believe it was BT.  Good Luck.
    flem88 wrote:
    I purhased a broadband package with BT which included BT sport and a £40 gift voucher for Sainsbury's. I was advised my expected install date was 13th August 2013. on Sunday 11th August 2013 I received an email to advise me that a phone line engineer will be with me on the 12th between 1-6pm, i then received a seperate text message to advise a phone line engineer will be with me 13th August between 8am-1pm.
    As this was conflicting information i thought it would be best to call the helpdesk, the lady i spoke to told me this must have been an error and the correct appointment is for the 13th August.
    WELL GUESS WHAT??
    A phone line engineer turned up at my property at around 11am on the 12th. He called me and spoke to me about what needed to be done and luckily as a phone line was already installed he was able to do the work from the exchange. As a courtesy he asked could i call and cancel the engineer that was due to show at the property the following day, I obliged and called BT to cancel the phone line engineer (WHAT A MISTAKE THAT WAS!!).
    The call lasted for over an hour and the centre agent i spoke to did not understand a word i said to him and i didnt understand him either!! (When did British Telecoms become Bangladeshi Telecoms), Because of this rather than the engineer being cancelled my actual order has subsequently been cancelled instead.
    After seeing this i was extremely irate as you could imagine! I decided to call again to double check this and was advised this was incorrect and it hadnt been cancelled.
    Eveytime I try to call to speak to someone about this I clearly get someone on the other end of the line who is reaing form a script and hasnt got the best grasp of English, to this i ask "do BT have any call centres in Britain except sales?" 
    To the morning of the 13th August and I receive a phone call (again not from England) to ask about the service and if it was working?
    ARE YOU BEING SERIOUS??? DO BRITISH TELECOMS EVEN KNOW WHATS GOING ON AT THAT COMPANY THEY ARE RUNNING?
    Anyway.... i answered this ridiculous question with a no!
    As the conversation went on i was told that as the order has been cancelled it will take another 5 working days for the order to be re-processed!!
    YOU HAVE GOT TO BE JOKING ME!!
    After the 5th time of asking to speak to a manger i was eventually put through to one. i asked for an email address of someone i can make a complaint to, he advise that they are not able to give these out???
    MASSIVELY INCORRECT! As i work for work for the Compliance Department for a very large Debt Collection Agency 
    I am very aware of how complaints procedures should be dealt with and what information should be accessible to customers, an email address is absoultely one of those.
    BT are very clever with their complaints procedure, we are all advised everything is accessible from the online webpage, when selecting complaints you are given the option to write or call. Again incorrect, the forms of making a complaint should be telephone, fax, email & letter.
    So i have made a compaint using these and i will also be following this up with the Ombudsman.
    What really bothered me was that (as a test) i called the sales team a number of times to pretend i was interested in a package, average wait time no more than 30 seconds.
    What this says to me is BT are happy to take the money of new customers as they know they are under contract so payments will be made, any existing BT customer just gets palmed away by a call centre that is based over 8000 miles away.
    As i made all of these calls whilst at work a number of collegues were eager to assist, one finding me the email address for the CEO, Ian Livingston who will be receiving an email, as well as the twitter page which can also expect a post from me.
    BT WHAT A JOKE!!!!!!!!!!!!!

  • Query to find when the given schema last refreshed ?

    I need to find out the given database schema, when did last get refresh using impdp or import or SQL Loader?

    If schema refresh is carried out by dropping schema then Created column in DBA_USERS will show your answer.
    Else if its carried out by dropping the tables, then you can check the created and last_ddl_time in DBA_OBJECTS
    Select username,created from dba_users where username='U1';
    SELECT OWNER,OBJECT_NAME,CREATED,LAST_DDL_TIME FROM DBA_OBJECTS WHERE OWNER='U1';
    Please keep forum clean by Marking your Post as Answered or Helpful if Your question is answered.
    Thanks & Regards,
    SID
    (StepIntoOracleDBA)
    Email : [email protected]
    http://stepintooracledba.blogspot.in/
    http://www.stepintooracledba.com/

  • How to find out when a table was last updated?

    Is there a way to find out when a table was last updated/inserted/deleted? Thanks!

    There may be an easier way but if you are trying to get info on something that has already happened look at your redo logs and archived logs. It would be hard but in V$LOGMNR_CONTENTS you could find the max time for a given object. Note to use this you need to set up log miner. Since you did not give a version try the Oracle 9i DBA Guide pg 9-1.

  • I did an update last week.  My computer started acting funny afterwards and I'm not sure what to do now.  I can't open any of my faxes now.

    I did an update last week.  My computer started acting funny afterwards and I'm not sure what to do now.  I can't open any of my faxes now.

    Hi paulsaundersdds,
    What type of file are those fax documents? Are they PDF files? What are you using to open them with--Acrobat or Reader?
    And, what happens when you try to open them? Do you get an error message? If so, what is it?
    Best,
    Sara

  • [SOLVED]When did minidlna commands change to minidlnad?

    Now when I run
    sudo minidlna -R
    I get a
    sudo: minidlna : Command not found
    Using sudo minidlnad -R works. When did this change ? I did notice the upgrade of minidlna last week
    Also minidlna would fail to start even when I did a
    sudo systemctl start minidlna
    I found that this was because the minidlna.service file was pointing to a different PIDFile in the Execstart and the PIDFile element
    [Unit]
    Description=minidlna server
    After=network.target
    [Service]
    Type=forking
    User=nobody
    ExecStart=/usr/sbin/minidlnad -P /run/minidlna/minidlna.pid
    PIDFile=/var/run/minidlna/minidlna.pid
    [Install]
    WantedBy=multi-user.target
    Changing the PIDFile line to
    PIDFile=/run/minidlna/minidlna.pid
    allowed me to start up minidlna successfully. Can someone using minidlna confirm this before I open a bug report for it?

    karol wrote:
    Inxsible wrote:
    karol wrote:https://projects.archlinux.org/svntogit … 14450e84c6 (at the very bottom)
    I see. That does show why it stopped working. But how is it working for jrussell?
    No idea. If jrussell shares more info, e.g.
    type -p minidlna
    pacman -Q minidlna
    maybe we can figure this out.
    Sure,
    admin@russell-server ~ % type -p minidlna
    minidlna not found
    admin@russell-server ~ % type -p minidlnad
    minidlnad is /usr/bin/minidlnad
    admin@russell-server ~ % sudo pacman -Q minidlna
    minidlna 1.1.0-2
    admin@russell-server ~ % sudo systemctl status minidlna.service
    minidlna.service - minidlna server
    Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
    Active: active (running) since Thu 2013-05-23 15:32:02 SAST; 7h ago
    Process: 263 ExecStart=/usr/bin/minidlnad -P /run/minidlna/minidlna.pid (code=exited, status=0/SUCCESS)
    Last edited by jrussell (2013-05-23 21:13:18)

  • When did the white ipod touch 4 come out?

    When did the white ipod touch 4 come out? Anyone know?

    KT_Beast wrote:
    well cause somebody said that ipod touch 4g is the last ipod touch !
    and you believed them? Why?

  • I am trying to use the locate my macbook that was stolen. How do I know if it is set up on the service. It shows on the list but just says it is offline and doesn't say when or where it last was. I am trying to either locate it or erase it. HELP

    I am trying to use the locate my macbook that was stolen. How do I know if it is set up on the service. It shows on the list but just says it is offline and doesn't say when or where it last was. I am trying to either locate it or erase it. HELP

    Since you can see it in your device list it must have Find My Mac activated, but you're going to have to wait for them to take it online in order to either locate, lock or wipe it. Until it goes online you can't do anything. http://www.apple.com/support/icloud/find-my-device/
    iCloud: Locate your device

  • Is there a way to check when was my phone last used?

    My apologies for the very unusual question.
    My question is simply to know if there is a way to find out when was my phone last tuned on or used.
    Basically i left my business at a place with a lot sensitive work data and i have a great feeling that it has been accessesed. So if anyone can help me if there is an App or a service that would allow me to find out the time stamp of the time and date of the access or even better which apps were accessed.
    Thank you for your time and brain.

    While this is not all you are asking for and may not be helpful, in Settings > General > Usage, you can find the number of hours since the last charge, and how how much of that time was standby. Total minus standby should be the total time someone was using it since its last full charge.
    I do not know of any built-in function, however, to show all of what you are asking for.

Maybe you are looking for

  • Ora-12514 connect to SCAN listener in dataguard RAC environment

    I have two rac nodes datase on linux and two rac standby database also. Here are what I got when I try to connect to scan listener from client. It connects to vip/or scan ip addresses without any problem. sqlplus system/password@wxcy SQL*Plus: Releas

  • Tutorials for Oracle Developer 6.0

    Where can I find Tutorials for Oracle Developer 6.0 preferably downloadable if not online. Plz. cause its urgent. Anyone eager to help is welcome. Tahnx in advance. Regards, Sachin Shanbhag

  • Action links show link conditionally using simple filter

    Hello Gurus, When I set up an interaction with action link, every thing works fine. But when I try to use the 'show link conditionally' using a simple condition, I get an error such as: "State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSErro

  • Play again button after video is done playing

    Hi, I need help with some flash video stuff please... I am importing video into flash via FLVPlayback Component.. What I would like to do is have a button after the video is done playing that offers to re-play the video and may be another button with

  • Slower MacBook Pro with Yosemite

    The computer is very slow and freezes often since downloading Yosemite. Poor and frustrating experience so far. Description du problème : Mon ordinateur est très lent depuis que j’ai installé Yosemite. My computer is running much slower since downloa