Availability Groups – Making SQL Agent Jobs only run on Primary Replica
I recently encountered some strange behaviour with SQLAgent Jobs in an Always On Availability Group. There’s a major difference between SQL Server Failover Cluster Instances (FCI) and SQL Server Availability Groups that makes it a little bit more complicated with SQLAgent Jobs. Put simply, with a Failover Cluster, there is only one “SQL Server” involved.…