How can we DBAs get alerts when SQL resources don't come online after a cluster failover ?

  • Hi All,

    How can we DBAs get alerts when SQL resources don't come online after a cluster failover ?

    Can we set up this alerts ourselves ? Please advise.

    Thanks in advance,

    Joy.

  • Which of the resources are you talking about? i.e. just the SQL Services or more than that?

    For example if the cluster failed over, SQL server and the Agent starts but there is issues with specific shared storage drives not coming online?

    Three options you could consider is something like:

    1. SCOM http://en.wikipedia.org/wiki/System_Center_Operations_Manager

    2. SPLUNK http://www.splunk.com/

    3. Using a powershell script to monitor the event logs \ cluster management ran via windows scheduler.

    The first two are monitoring products and you have to pay for them, the last is free but you will need to design the code yourself.

    MCITP SQL 2005, MCSA SQL 2012

  • Hi Thanks.

    I was talking about only SQL Server services. Yes, I stumbled upon PowerShell script.

    Anyone has any such script already running by any chance ?

    Thanks again.

    Smith.

  • Joy Smith San (7/21/2014)


    Hi Thanks.

    I was talking about only SQL Server services. Yes, I stumbled upon PowerShell script.

    Anyone has any such script already running by any chance ?

    Thanks again.

    Smith.

    Can you share the PoSH script you stumbled upon? Thanks.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • This would be a start for the monitoring of the services:

    http://it-erate.com/monitoring-service-failures-powershell/

    MCITP SQL 2005, MCSA SQL 2012

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply