Email notification in the event of a SQL Server database failover

Tags:
Failover
SQL Server database
In case of a failover of a SQL Server database, I’d like to be notified by email. Can you tell me how to activate this option?

Answer Wiki

Thanks. We'll let you know when a new response is added.

There is no option to have the cluster service inform you in the event of a fail over.

You have a couple of options as far as monitoring for a fail over.

1. Setup your normal monitoring solution to monitor the event logs on the nodes of the cluster looking for the SQL Server service starting.

2. Setup a SQL Agent job to send an email when it runs, and have that job scheduled to run every time the SQL Agent starts.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Denny Cherry
    Check out my SQL Server blog "SQL Server with Mr Denny" for more SQL Server information.
    66,115 pointsBadges:
    report
  • rllefebv
    Such a simple solution, and so easy to implement! Why didn't I think of this?!? Thanks... -robert
    25 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following