{"id":640,"date":"2006-05-14T23:34:18","date_gmt":"2006-05-14T23:34:18","guid":{"rendered":"\/blogs\/kimberly\/post\/TechNet-Webcast-Series-for-the-ITPro-Part-9-of-11.aspx"},"modified":"2013-01-02T07:09:06","modified_gmt":"2013-01-02T15:09:06","slug":"technet-webcast-series-for-the-itpro-part-9-of-11","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/technet-webcast-series-for-the-itpro-part-9-of-11\/","title":{"rendered":"TechNet Webcast Series for the ITPro &#8211; Part 9 of 11"},"content":{"rendered":"<p><P><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">In part 9 of our webcast series titled: Implementing Database Mirroring, we covered the steps from setup to failover to monitoring. There were lots of great questions and&nbsp;I think we could easily go back and do a couple more hours on database mirroring, failover combinations &#8211; including manual failover and client application questions. Having said that, there were a few interesting scenarios that came up that I thought I&#8217;d add a bit more details about here. For simplicity I created sections&#8230;<\/SPAN><\/FONT><\/P><br \/>\n<P><STRONG><B><FONT color=black size=3><SPAN style=\"FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial\">Where to go for more information on Database Mirroring and SQL Server SP1 <\/SPAN><\/FONT><\/B><\/STRONG><\/P><br \/>\n<UL type=disc><br \/>\n<LI class=MsoNormal style=\"COLOR: black\"><FONT size=2><SPAN style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\"><FONT color=#000000><a href=\"http:\/\/technet.microsoft.com\/library\/Cc917680\">Database Mirroring in SQL Server 2005<\/a><\/FONT><FONT color=#000000>, TechNet whitepaper by Ron Talmage<\/FONT><\/SPAN><\/FONT><FONT face=Arial color=#000000> <\/FONT><br \/>\n<LI class=MsoNormal style=\"COLOR: black\"><FONT size=2><SPAN style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\"><FONT color=#000000><a href=\"http:\/\/download.microsoft.com\/download\/4\/f\/8\/4f8f2dc9-a9a7-4b68-98cb-163482c95e0b\/DBM_Best_Pract.doc\" class=\"broken_link\">Database Mirroring Best Practices and Performance Considerations<\/a><\/FONT><FONT color=#000000>, TechNet whitepaper by Sanjay Mishra<\/FONT><\/SPAN><\/FONT><FONT face=Arial color=#000000> <\/FONT><br \/>\n<LI class=MsoNormal style=\"COLOR: black\"><FONT size=2><SPAN style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\"><FONT color=#000000><a href=\"https:\/\/msevents.microsoft.com\/cui\/Error.aspx?culture=en-US&amp;ErrorMsgID=ErrorMessage.EventDoesNotExist&amp;EventID=\">TechNet Webcast: How to Increase Availability Using Database Mirroring in SQL Server 2005 (Level 200)<\/a><\/FONT><FONT color=#000000>, Mark Wistrom&#8217;s first Database Mirroring webcast from November 2005<\/FONT><\/SPAN><\/FONT><FONT face=Arial color=#000000> <\/FONT><br \/>\n<LI class=MsoNormal style=\"COLOR: black\"><FONT size=2><SPAN style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\"><FONT color=#000000><a href=\"https:\/\/msevents.microsoft.com\/cui\/EventDetail.aspx?culture=en-US&amp;EventId=1032290576&amp;CountryCode=US\">Implementing Database Mirroring, Part 1 of 2 (Level 200)<\/a><\/FONT><FONT color=#000000>, Part 8, Mark&#8217;s Database Mirroring webcast from our TechNet series, April 28, 2006<\/FONT><\/SPAN><\/FONT><FONT face=Arial color=#000000> <\/FONT><br \/>\n<LI class=MsoNormal style=\"COLOR: black\"><FONT size=2><SPAN style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\"><FONT color=#000000><a href=\"https:\/\/msevents.microsoft.com\/cui\/EventDetail.aspx?culture=en-US&amp;EventId=1032290565&amp;CountryCode=US\">Implementing Database Mirroring, Part&nbsp;2 of 2 (Level 200)<\/a><\/FONT><FONT color=#000000>, Part 9, my webcast from our TechNet series, May 5, 2006<\/FONT><\/SPAN><\/FONT><FONT face=Arial color=#000000> <\/FONT><br \/>\n<LI class=MsoNormal style=\"COLOR: black\"><FONT face=Arial color=#000000><a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=22954\" class=\"broken_link\">SQL Server 2005 Service Pack 1<\/a><\/FONT><FONT face=Arial color=#000000> <\/FONT><br \/>\n<LI class=MsoNormal style=\"COLOR: black\"><FONT color=#000000><a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=4152\"><FONT size=2><SPAN style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\">SQL Server 2005<\/SPAN><\/FONT><FONT face=Arial> Books Online Refresh, April 2006<\/FONT><\/a><\/FONT><FONT face=Arial color=#000000> &#8211; <STRONG>NOT <\/STRONG>included in SP1 Update<\/FONT><\/LI><\/UL><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><STRONG><B><FONT color=black size=3><SPAN style=\"FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial\"><FONT color=#000000>Datab<\/FONT>ase Mirroring between Editions<\/SPAN><\/FONT><\/B><\/STRONG><\/P><\/DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">Database Mirroring is supported in both the Standard Edition (SE) and the Enterprise Engine (EE) Edition(s): Enterprise, Enterprise Eval and Developer. In the EE Editions all configurations (synchronous and asynchronous) are supported: High Availability (sync), High Protection (sync) and High Performance (async). In the SE, only the synchronous forms of Database Mirroring are supported: High Availability and High Protection. One thing that is true however, (and I learned this as well &#8211; durin the webcast in Part 9 &#8211; thanks to the question submitted and Mark being present&#8230;thanks Mark!), is that even while synchronous mirroring is supported in both SE and EE, you can only create a mirroring partnership between servers of the same edition.<\/SPAN><\/FONT><\/P><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><STRONG><B><FONT color=black size=3><SPAN style=\"FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial\">Database Mirroring between Platforms<\/SPAN><\/FONT><\/B><\/STRONG><\/P><\/DIV><br \/>\n<DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">Database Mirroring is supported in both the Standard Edition (SE) and the Enterprise Engine (EE) Edition(s): Enterprise, Enterprise Eval and Developer. In the EE Editions all configurations are supported: High Availability, High Protection and High Performance. In the SE, only the synchronous forms of Database Mirroring are supported: High Availability and High Protection but not the asynchronous High Performance configuration. One thing that is true however, (and I learned this as well in Part 9 &#8211; thanks Mark!), is that even while synchronous mirroring is supported in both SE and EE, you can only create a mirroring partnership between servers of the same edition.<\/SPAN><\/FONT><\/P><\/DIV><\/DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><STRONG><B><FONT color=black size=3><SPAN style=\"FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial\">Combining&nbsp;Database Mirroring with Other Technologies<\/SPAN><\/FONT><\/B><\/STRONG><\/P><\/DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">The Books Online has a section targeting exactly this discussion. Review this section in the SQL Server 2005 Books Online (April Update):&nbsp;<a href=\"http:\/\/msdn.microsoft.com\/Areas\/Epx\/Content\/500.htm?aspxerrorpath=\/en-us\/library\/ms345600(SQL.90).aspx\">Database Mirroring and Other Features and Components<\/a>. Additionally, I&#8217;ve provided a few comments for you to review as well as links to some of the specific BOL topics that exist on these combinations.<\/SPAN><\/FONT><\/P><\/DIV><br \/>\n<BLOCKQUOTE style=\"MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt; MARGIN-RIGHT: 0in\"><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><STRONG><B><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">Database Mirroring with Failover Clustering<\/SPAN><\/FONT><\/B><\/STRONG><\/P><\/DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">These two technologies CAN be combined but there are multiple things with which you should be aware. First, a failover of a cluster is SLOWER than a failover of a Mirror pair&#8230; as a result, it is likely that your secondary server will come online as the new principal in the time that it takes your principal (which is on a cluster) to recover. In a lot of cases, this is good because this keeps you online longer and results in less downtime but it may also be undesireable when your primary is now running at your alternate operations site &#8211; which is unstaffed. So, in some cases you may want to prevent automatic failover and instead only use the secondary mirror when you absolutely have to (i.e. NOT just when the cluster fails). If this is the case then you might prefer running with the High Protection configuration of Database Mirroring instead of the High Availability configuration. <\/SPAN><\/FONT><\/P><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">This will allow you to manually failover when desired.<\/SPAN><\/FONT><\/P><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">As another option &#8211; you can increase the timeout for Database Mirroring failover to 90 seconds. If the cluster comes back online within 90 seconds then the automatic detection\/failover of the High Availabilty configuration will not occur unless the cluster does <STRONG>not <\/STRONG>come back online (as the principal) within <EM><STRONG>x<\/STRONG><\/EM> seconds. You can configure the Database Mirroring Failover timeout by using ALTER DATABASE.<\/SPAN><\/FONT><\/P><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">ALTER DATABASE dbname SET PARTNER TIMEOUT x<\/SPAN><\/FONT><\/P><\/DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">Please note, this is only one timeout of many.&nbsp;There are many different types of timeouts in the system that can cause a failover. However, a hard error code generally starts the failure procedure sooner.&nbsp; Mark pointed this out in his failure detection slides in our TechNet webcast series, Part 8.<\/SPAN><\/FONT><\/P><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">Review this section in the SQL Server 2005 Books Online (April Update): <a href=\"http:\/\/msdn.microsoft.com\/Areas\/Epx\/Content\/500.htm?aspxerrorpath=\/en-us\/library\/ms191309.aspx\">Database Mirroring and Failover Clustering<\/a>.<\/SPAN><\/FONT><\/P><\/DIV><br \/>\n<DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><STRONG><B><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">Database Mirroring with Replication<\/SPAN><\/FONT><\/B><\/STRONG><\/P><\/DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">These two technologies CAN be combined together but not all configurations are supported and where supported, there are specific setup requirements. From the BOL: <\/SPAN><\/FONT><EM><I><FONT face=Arial color=black><SPAN style=\"COLOR: black\">Replication supports mirroring the publication database for merge replication and for transactional replication with read-only Subscribers or queued updating Subscribers. Immediate updating Subscribers, Oracle Publishers, Publishers in a peer-to-peer topology, and republishing are not supported. <\/SPAN><\/FONT><\/I><\/EM><\/P><\/DIV><br \/>\n<DIV><FONT face=Arial color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\"><\/SPAN><\/FONT>&nbsp;<\/DIV><br \/>\n<DIV><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">Review this section in the SQL Server 2005 Books Online (April Update):&nbsp;<a href=\"http:\/\/msdn.microsoft.com\/Areas\/Epx\/Content\/500.htm?aspxerrorpath=\/en-us\/library\/ms151799.aspx\">Replication and Database Mirroring<\/a> <\/SPAN><\/FONT><\/DIV><\/DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><STRONG><B><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">Database Mirroring with Log Shipping<\/SPAN><\/FONT><\/B><\/STRONG><\/P><\/DIV><br \/>\n<DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">These two technologies CAN be combined together but it will require a bit of manual configuration to continue log shipping when a mirror becomes the new principal. <\/SPAN><\/FONT><\/P><\/DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">Review this section in the SQL Server 2005 Books Online (April Update):&nbsp;<a href=\"http:\/\/msdn.microsoft.com\/Areas\/Epx\/Content\/500.htm?aspxerrorpath=\/en-us\/library\/ms187016.aspx\">Database Mirroring and Log Shipping<\/a>.<\/SPAN><\/FONT><\/P><\/DIV><\/DIV><\/BLOCKQUOTE><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">And &#8211; there are others in the BOL. Please reference the sections listed above for more details.<\/SPAN><\/FONT><\/P><\/DIV><br \/>\n<DIV><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">And &#8211; with that &#8211; we&#8217;re caught up with our resources and references for this series. Part 11 &#8211; the LAST one &#8211; is this Friday, May 19. I look forward to your being there LIVE. Register <a href=\"https:\/\/msevents.microsoft.com\/cui\/EventDetail.aspx?culture=en-US&amp;EventID=1032290582&amp;CountryCode=US\">here<\/a> and come ready with your questions, this one is going to be VERY focused on best practices, ideas\/architectures&nbsp;and <STRONG><EM>your <\/EM><\/STRONG>questions. Those of you that are there LIVE will help to direct the session.<\/SPAN><\/FONT><\/P><br \/>\n<P class=MsoNormal style=\"MARGIN-BOTTOM: 0pt\"><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">Thanks!<BR><\/SPAN><\/FONT><FONT color=black size=2><SPAN style=\"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial\">kt<\/SPAN><\/FONT><\/P><\/DIV><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In part 9 of our webcast series titled: Implementing Database Mirroring, we covered the steps from setup to failover to monitoring. There were lots of great questions and&nbsp;I think we could easily go back and do a couple more hours on database mirroring, failover combinations &#8211; including manual failover and client application questions. Having said [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,58,65,74,78],"tags":[],"class_list":["post-640","post","type-post","status-publish","format-standard","hentry","category-events","category-resources","category-sql-server-2005","category-technet-webcasts","category-tips"],"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/posts\/640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/comments?post=640"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/posts\/640\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/media?parent=640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/categories?post=640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/tags?post=640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}