Practical SQL Server http://sqlmag.com/blog/10109/feed Practical advice, insight, and help for core SQL Server considerations. en AlwaysOn Availability Groups and SQL Server Jobs, Part 24: Synchronizing SSIS Packages http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-24-synchronizing-ssis-packages <div class="node-body blog-body"><p>In my <a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-23-maintenance-plan-backups-and-ssis-pack">previous post</a> I covered options for adding &ldquo;If-checks&rdquo; into SSIS Packages &ndash; or SQL Server Maintenance Plans (which are, effectively, specialized SSIS packages). Once you&rsquo;ve tackled that process, you&rsquo;ll need to tackle something else when it comes to managing SSIS packages in conjunction with AlwaysOn Availability Groups. Or, more specifically, you&rsquo;ll actually need to tackle two tasks.</p></div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/practical-sql-server">Practical SQL Server</a></li> </ul></div><p><a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-24-synchronizing-ssis-packages" target="_blank">read more</a></p> http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-24-synchronizing-ssis-packages#comments SQL Server AlwaysOn AlwaysOn Maintenance Plans Maintenance Plans SSIS packages SSIS packages synchronization synchronization Practical SQL Server Mon, 18 May 2015 12:00:00 +0000 24361 at http://sqlmag.com AlwaysOn Availability Groups and SQL Server Jobs, Part 23: Maintenance Plan Backups and SSIS Packages http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-23-maintenance-plan-backups-and-ssis-pack <div class="node-body blog-body"><p>In my last post, we took a look at some of the details involved in actually <a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-22-executing-backups">implementing backups against databases being hosted in AlwaysOn Availability Groups</a>. In addition to providing a high-level overview of how sys.fn_hadr_backup_is_preferred_replica() works, I also mentioned that integrating it into backups managed by SQL Server Maintenance Plans isn&rsquo;t as easy as what you&rsquo;ll run into with other types of backups.</p></div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/practical-sql-server">Practical SQL Server</a></li> </ul></div><p><a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-23-maintenance-plan-backups-and-ssis-pack" target="_blank">read more</a></p> http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-23-maintenance-plan-backups-and-ssis-pack#comments SQL Server Availability Groups Availability Groups Maintenance Plans Maintenance Plans SQL Server SQL Server SSIS SSIS Practical SQL Server Wed, 13 May 2015 15:30:00 +0000 24171 at http://sqlmag.com AlwaysOn Availability Groups and SQL Server Jobs, Part 22: Executing Backups http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-22-executing-backups <div class="node-body blog-body"><p>Ultimately, there are a number of ways that DBAs can regularly create backups of their databases. Some of the more common options for managing backups include:</p></div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/practical-sql-server">Practical SQL Server</a></li> </ul></div><p><a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-22-executing-backups" target="_blank">read more</a></p> http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-22-executing-backups#comments SQL Server AlwaysOn Availability Groups AlwaysOn Availability Groups backups backups Practical SQL Server Tue, 28 Apr 2015 19:32:00 +0000 24061 at http://sqlmag.com AlwaysOn Availability Groups and SQL Server Jobs, Part 21: Assigning Backup Preferences http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-21-assigning-backup-preferences <div class="node-body blog-body"><p>An option when creating new AlwaysOn Availability Groups is to specify Backup Preferences.</p> <p><img alt="" src="/site-files/sqlmag.com/files/uploads/2015/03/BackupPreferences.gif" style="width: 516px; height: 438px;" /></p> <p>It&rsquo;s also something you can easily configure once the Availability Group has been set up as well &ndash; by simply right-clicking on the Availability Group and selecting Properties &ndash; then navigating into the Backup Preferences tab. &nbsp;</p></div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/practical-sql-server">Practical SQL Server</a></li> </ul></div><p><a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-21-assigning-backup-preferences" target="_blank">read more</a></p> http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-21-assigning-backup-preferences#comments SQL Server AlwaysOn AlwaysOn Availability Groups Availability Groups Backup Priority Backup Priority Preferences Preferences SQL Server SQL Server Practical SQL Server Tue, 17 Mar 2015 17:11:00 +0000 23391 at http://sqlmag.com AlwaysOn Availability Groups and SQL Server Jobs, Part 20: Avoiding Backup Fragmentation http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-20-avoiding-backup-fragmentation <div class="node-body blog-body"><p>On SQL Servers where Availability Groups (or Mirroring) isn&rsquo;t in play, I typically recommend keeping a combination of on-box backups along with copying said backups off-box as well. Obviously, keeping databases AND backups on the SAME server is the metaphorical equivalent of putting all of your eggs in one basket &ndash; and therefore something you should avoid like the plague.</p></div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/practical-sql-server">Practical SQL Server</a></li> </ul></div><p><a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-20-avoiding-backup-fragmentation" target="_blank">read more</a></p> http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-20-avoiding-backup-fragmentation#comments SQL Server AlwaysOn Availabiliity Groups AlwaysOn Availabiliity Groups backups backups Fragmentation fragmentation SQL Server SQL Server Practical SQL Server Thu, 12 Mar 2015 16:56:00 +0000 23071 at http://sqlmag.com AlwaysOn Availability Groups and SQL Server Jobs, Part 19: Availability Group Database Backups http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-19-availability-group-database-backups <div class="node-body blog-body">One of the biggest strengths of AlwaysOn Availability Groups is that they allow DBAs to address both high availability and disaster recovery concerns from a single set of tooling or interfaces. But, this doesn’t mean that you won’t still need backups.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/practical-sql-server">Practical SQL Server</a></li> </ul></div><p><a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-19-availability-group-database-backups" target="_blank">read more</a></p> http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-19-availability-group-database-backups#comments SQL Server Availability Groups Availability Groups backups backups SQL Server AlwaysOn SQL Server AlwaysOn Practical SQL Server Fri, 06 Mar 2015 18:11:00 +0000 22971 at http://sqlmag.com AlwaysOn Availability Groups and SQL Server Jobs, Part 18: Health Checks for Availability Groups http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-18-health-checks-availability-groups <div class="node-body blog-body">Now that we’ve outlined the process to let servers in a SQL Server AlwaysOn Availability Group "talk to each other" by means of setting up linked servers, it’s possible to set up some additional or improved checks on Availability Group Health.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/practical-sql-server">Practical SQL Server</a></li> </ul></div><p><a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-18-health-checks-availability-groups" target="_blank">read more</a></p> http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-18-health-checks-availability-groups#comments SQL Server Availability Groups Availability Groups cluster health cluster health cluster nodes cluster nodes SQL Server SQL Server Practical SQL Server Mon, 16 Feb 2015 22:29:00 +0000 22471 at http://sqlmag.com AlwaysOn Availability Groups and SQL Server Jobs, Part 17: Creating Jobs to Check on Synchronization http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-17-creating-jobs-check-synchronization <div class="node-body blog-body"><p>In my <a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-16-job-synchronization-checkup-logic">previous post</a>, I provided a high-level outline of the core logic (and rationale behind that logic) that would be needed to set up regular synchronization checks on SQL Server Agent Jobs for servers where AlwaysOn Availability Groups have been deployed. In this post, I&rsquo;ll walk through the steps--and the code--needed to setup those checks.</p></div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/practical-sql-server">Practical SQL Server</a></li> </ul></div><p><a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-17-creating-jobs-check-synchronization" target="_blank">read more</a></p> http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-17-creating-jobs-check-synchronization#comments SQL Server sql server agent sql server agent SQL Server AlwaysOn Availability Groups SQL Server AlwaysOn Availability Groups sys.fn_hadr_backup_is_preferred_replica sys.fn_hadr_backup_is_preferred_replica Practical SQL Server Wed, 11 Feb 2015 22:04:00 +0000 22051 at http://sqlmag.com AlwaysOn Availability Groups and SQL Server Jobs, Part 16: Job Synchronization Checkup Logic http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-16-job-synchronization-checkup-logic <div class="node-body blog-body">With Linked Servers configured to allow cross-host or cross-box communication between the servers you’re using to host your AlwaysOn Availability Groups, it’s time to start looking at some scripts that can be used to regularly check whether or not SQL Server Agent jobs are correctly synchronized across all servers in your topology.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/practical-sql-server">Practical SQL Server</a></li> </ul></div><p><a href="http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-16-job-synchronization-checkup-logic" target="_blank">read more</a></p> http://sqlmag.com/blog/alwayson-availability-groups-and-sql-server-jobs-part-16-job-synchronization-checkup-logic#comments SQL Server AlwaysOn Availability Groups AlwaysOn Availability Groups jobs synchronization jobs synchronization sql server agent sql server agent Practical SQL Server Tue, 02 Dec 2014 17:32:00 +0000 21911 at http://sqlmag.com AlwaysOn Availability Groups and SQL Server Jobs, Part 15: Setting Up Linked Servers http://sqlmag.com/blog/alwayson-ags-sqlserver-jobs-part15-setting-linked-servers <div class="node-body blog-body">Learn about setting up Linked Server definitions to let two (or more) servers in an AlwaysOn Availability Group talk to each other and check up on job statuses of jobs running on each other. </div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/practical-sql-server">Practical SQL Server</a></li> </ul></div><p><a href="http://sqlmag.com/blog/alwayson-ags-sqlserver-jobs-part15-setting-linked-servers" target="_blank">read more</a></p> http://sqlmag.com/blog/alwayson-ags-sqlserver-jobs-part15-setting-linked-servers#comments Database Security Database Administration AlwaysOn Availability Groups AlwaysOn Availability Groups jobs synchronization jobs synchronization Kerberos kerberos Linked Servers Linked Servers Practical SQL Server Tue, 18 Nov 2014 18:06:00 +0000 21781 at http://sqlmag.com