Need to get alert

  • 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.

  • Sree Divya - Tuesday, June 19, 2018 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.

    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

  • 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