Is there a way to set up database mirroring in SQL Server 2005 to receive failover notification?

Tags:
Database mirroring
SQL Server 2005
SQL Server alerts
I'm setting up database mirroring in SQL Server 2005 Standard Edition and was wondering if there is a way for SQL Server to send me a notification of a failover and for it to automatically run a script when the mirror is brought online.
ASKED: May 7, 2008  4:12 PM
UPDATED: May 7, 2008  6:24 PM

Answer Wiki

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

You can setup a SQL Agent Alert for alertID 1480. Then create a job which the alert runs when it is triggered.

Discuss This Question: 1  Reply

 
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

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