So this is my first foray into setting up AG on 2014, which will contain about 100 + SQL Agent jobs that are being converted from SQL 2008 R2. My plan for handling the converted jobs is as follows1) Install the same jobs on both nodes, but with the jobs disabled on the read-only node. 2) Add an alert on both nodes for when failover occurs and the passive node is becoming active.3) Fire a special SQL Agent job off of this alert that will call a stored procedure that reads the job's names from a 'synch me' table that will then disable the jobs on the new passive node and activate the jobs on the new active node. For longer term, i plan to add a block of code to the jobs to determine if its sitting on the passive or active before it fires and runs, but for the conversion project, there are 2 many for this approach to be feasible. Am i missing anything that might make this process simpler?
↧