June 19, 2018 at 6:56 am
Hi,
i am trying to a alert when ever fail over is happened on my always servers like changing primary instance to secondary instance one to other .
can any one help me on this.
June 19, 2018 at 3:12 pm
Sree Divya - Tuesday, June 19, 2018 6:56 AMHi,i am trying to a alert when ever fail over is happened on my always servers like changing primary instance to secondary instance one to other .
can any one help me on this.
This link has example alerts for always on - check the one for role change:
Configure SQL Server Alerts and Notifications for AlwaysOn Availability Groups
Don't forget that you likely want to setup a response for the alert (execute a job, send email, etc). You don't have to but likely you would want to.
Sue
June 22, 2018 at 4:33 pm
after role changes i need to disable the all jobs in secondary server and enable the jobs on the primary server.
can any one suggest script for this.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply