<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'Database Mirroring'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=Database+Mirroring&amp;orTags=0</link><description>Search results matching tag 'Database Mirroring'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>High-Availability White Papers and Resources for SQL Server</title><link>http://sqlblog.com/blogs/kevin_kline/archive/2012/07/26/high-availability-white-papers-and-resources-for-sql-server.aspx</link><pubDate>Thu, 26 Jul 2012 15:00:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:44457</guid><dc:creator>KKline</dc:creator><description>&lt;div class="mceTemp" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;div class="mceTemp"&gt;&lt;a rel="attachment wp-att-2011" href="http://kevinekline.com/2012/07/26/high-availability-white-papers-and-resources-for-sql-server/charlotte-sql-ug/"&gt;&lt;img class="size-medium wp-image-2011" title="Charlotte SQL UG" alt="" width="300" height="168" style="border:0px none;cursor:default;margin:0px;padding:0px;-webkit-user-drag:none;" src="http://kevinekline.com/wp-content/uploads/2012/07/Charlotte-SQL-UG-300x168.jpg"&gt;&lt;/a&gt;In foreground, attendee makes dreaded "shoot myself" hand sign to the speaker.&lt;/div&gt;&lt;p&gt;I was just telling the good people of Charlotte about how they (and how YOU) need to read all things by Paul Randal (&lt;a title="Paul Randal's Blog" href="http://www.sqlskills.com/BLOGS/paul/"&gt;blog&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a title="Paul Randal's Twitter Feed" href="http://twitter.com/paulrandal"&gt;twitter&lt;/a&gt;), except for all of his&amp;nbsp;&lt;a title="Maybe He Did Write a Romance Novel, Maybe He Didn't" href="http://www.amazon.com/forum/romance?cdForum=FxM42D5QN2YZ1D&amp;amp;cdThread=Tx2769ZA6OCU1BD"&gt;cheesy romance novels&lt;/a&gt;&amp;nbsp;like&amp;nbsp;&lt;a title="Quite Possibly The Worst Romance Novel EVER" href="http://www.amazon.com/Caress-and-Conquer-ebook/dp/B006IUV50A/ref=sr_1_2?ie=UTF8&amp;amp;qid=1343317555&amp;amp;sr=8-2&amp;amp;keywords=Caress+and+Conquer+by+Connie+Mason"&gt;&lt;em&gt;Caress and Conquer&lt;/em&gt;&lt;/a&gt;&amp;nbsp;written under the nom de plum of Connie Mason.&lt;/p&gt;&lt;p&gt;There's lots more good stuff from Paul, just not romantic.&lt;/p&gt;&lt;p&gt;This is a 'so-last-version' whitepaper describing &amp;nbsp;five common high-availability and disaster-recovery architectures deployed by customers, along with a case study of each. Although the white paper is specific to SQL Server 2008 R2 and isn't updated for AlwaysOn features, it's still really, really good. &amp;nbsp;It covers:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Failover Clustering for High Availability with Database Mirroring for Disaster Recovery&lt;/li&gt;&lt;li&gt;Database Mirroring for High Availability and Disaster Recovery&lt;/li&gt;&lt;li&gt;Geo-Clustering for High Availability and Disaster Recovery&lt;/li&gt;&lt;li&gt;Failover Clustering for High Availability Combined with SAN-Based Replication for Disaster Recovery&lt;/li&gt;&lt;li&gt;Peer-to-Peer Replication for High Availability and Disaster Recovery&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;You can get it from&amp;nbsp;&lt;a href="http://download.microsoft.com/download/5/B/D/5BD13FFA-5E34-4AE1-9AA0-C6E6951B8FC8/SQL%20Server%202008%20R2%20High%20Availability%20Architecture%20White%20Paper.docx"&gt;this link&lt;/a&gt;. &amp;nbsp;Not everything is transferable to new AlwaysOn technologies, but then again AlwaysOn is an Enterprise Edition feature. &amp;nbsp;So the database mirroring recommendation can be upsized, in many if not all cases, to SQL Server 2012, while the SAN and peer-to-peer recommendations continue to hold fast.&lt;/p&gt;&lt;p&gt;In addition, I encourage you to get up to speed on AlwaysOn. &amp;nbsp;There are two great AlwaysOn FAQs that I recommend.&amp;nbsp; The first is Microsoft’s official AlwaysOn FAQ at&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/sqlserver/gg508768.aspx"&gt;http://msdn.microsoft.com/en-us/sqlserver/gg508768.aspx&lt;/a&gt;.&amp;nbsp; The second comes from my buddy and high-availability expert Allan Hirt (&lt;a title="Allan Hirt, Mr. SQLHA" href="http://www.sqlha.com/"&gt;blog&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a title="Allan Hirt's Twitter Feed" href="http://twitter.com/sqlha"&gt;twitter&lt;/a&gt;) at&amp;nbsp;&lt;a href="http://www.sqlha.com/2012/04/13/allans-alwayson-availability-groups-faq/"&gt;http://www.sqlha.com/2012/04/13/allans-alwayson-availability-groups-faq/&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;To get started with AlwaysOn, check out&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/cc645581.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc645581.aspx&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Enjoy,&lt;/p&gt;&lt;p&gt;-Kev&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Review the New Migration Guide to SQL Server 2012 Always On</title><link>http://sqlblog.com/blogs/kevin_kline/archive/2012/06/25/review-the-new-migration-guide-to-sql-server-2012-always-on.aspx</link><pubDate>Mon, 25 Jun 2012 16:19:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:44068</guid><dc:creator>KKline</dc:creator><description>&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;I had the pleasure of meeting Mr. Cephas Lin, of Microsoft, last year at the SQL Saturday in Indianapolis and then later at the PASS Summit in the fall.&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;Cephas has been writing content for SQL Server 2012 Always On. Cephas has recently published his&amp;nbsp;first whitepaper, a migration guide to SQL Server AlwaysOn.&amp;nbsp;Read it and then pass along any feedback:&amp;nbsp;&lt;a title="SQL Server 2012 Migration Guide for Always On" href="http://msdn.microsoft.com/en-us/library/hh923056.aspx"&gt;HERE&lt;/a&gt;&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;Enjoy,&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;-Kev&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;-&lt;a title="Kevin Kline's Twitter Feed" href="http://twitter.com/kekline"&gt;Follow me on Twitter&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>Microsoft SQL Server High-Availability Videos and Q&amp;amp;A Log</title><link>http://sqlblog.com/blogs/kevin_kline/archive/2010/12/01/microsoft-sql-server-high-availability-videos-and-q-a-log.aspx</link><pubDate>Wed, 01 Dec 2010 22:11:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:31296</guid><dc:creator>KKline</dc:creator><description>&lt;h2&gt;&lt;em&gt;You Want Videos? We Got Videos!&lt;/em&gt;&lt;/h2&gt;
I always enjoy getting the chance to catch up with author, consultant, and &lt;a href="http://www.sqlha.com/" title="Here's Allan's Blog!" target="_blank"&gt;Microsoft Clustering MVP Allan Hirt&lt;/a&gt;.  Allan and I recently presented two sessions covering an overview of high  availability in Microsoft SQL Server and, the following week, a demo of  how to implement several different kinds of high availability  techniques including database mirroring, transactional replication, and  Windows clustering services.
&lt;p style="text-align:center;"&gt;You can see videos of these presentations  at the &lt;a href="http://www.quest.com/backstage/pow.aspx" title="You may need to scroll down to the &amp;quot;Archived Sessions&amp;quot; portion of the web page." target="_blank"&gt;Quest Software Pain of the Week webcast site&lt;/a&gt;.&lt;/p&gt;

&lt;p style="text-align:center;"&gt;Archives of other videos are &lt;a href="http://www.quest.com/backstage/pow.aspx" title="Click here - NOW!" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;
We're joined by my new cohort in crime, &lt;a href="http://www.iainkick.com/" title="Just don't say &amp;quot;Kick in the Pants&amp;quot; in his presence" target="_blank"&gt;Iain Kick&lt;/a&gt;, also renowned for his role as the editor-in-chief at &lt;a href="http://www.sqlserverpedia.com/" title="Not at all like Centipedia." target="_blank"&gt;SQLServerPedia&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Allan is the author of these and other books:



...and...




&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;During the Q&amp;amp;A, we always get a lot of questions.  Here are the collected Q's and A's.
&lt;/p&gt;&lt;p&gt;~~~
&lt;/p&gt;&lt;p&gt;Meeting Questions and Answers:
Subject: Pain of the Week We - &lt;/p&gt;&lt;p&gt;October 14, 2010
Start Time: 14 October 2010 16:00:00 GMT+1:0
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Paul T Asked: General comment..... copying files is where I love the SAN replication. Don't trust it at all for real database stuff though!
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Sherbaz M C P Changes Question To: Please suggest the best back/restore techique for huge databases. Should we go for SAN level backup technologies or snapshots that uses SQL Writer? Storage admins claims that they can restore a 28 TB database in 30 minutes. They are saying that they can even take transaction log backups and restores.
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Ameena L Asked: When we talk to our management about SLA, Recovery object and uptime etc. They say just do your best. They expect no downtime but will not define any of this so how we determine what we are shooting for if target is not identified?
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: That's why actually working through a recovery is so important. I strongly recommend that you perform a full recovery, perhaps to a dev or QA server, and then using that benchmark as the general rules for your SLA.
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Stuart A Asked: What do RTO &amp;amp; RPO stand for?
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Fadel Asked: at 2 part questions: part1- what is the advantage of having a sql clustering over Oracle RAC where in the first case, we have at least 1 node sitting there doing nothing waiting on the other node(s) to fail, comparing to the second case where Oracle RAC offers both, HA and scalability - part2: what is the new features on sql 2008 clustering compared to sql 2005 clustering - thanks!
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Mohammed Changes Question To: Shouldnt clustering considered as a local HA instead of DR since the other nodes are local?
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Alan Xu Changes Question To: Is cluster 2008 support sql 2005 instance and sql 2008 instance in the same cluster?
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;sjohn Asked: What is the maximum recomended distance for a synced mirroring with a reasonable size of pipe
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Anita Asked: You mentioned about multi - instance cluster( active-active)? I will be interested in learning more about this. we have active-active in our environment. Is it scheduled for next week?
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;robert l Asked: Will mirroring work with a large number of "Smaller" databases? 500 2gb databases vs 2 1tb database&lt;/p&gt;&lt;p&gt;
________________________________________
&lt;/p&gt;&lt;p&gt;Alvinator Asked: When log shipping if you have a large tlog will it ship it in chunks or the entire log file?:
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;James M Asked: What are the advantages of Database Mirroring over transaction replication? or vice versa
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Martin Asked: IDEA - Maybe Quest should provide a Database Invenotry/Request to gather all the information for a HA environment&lt;/p&gt;&lt;p&gt;
________________________________________
&lt;/p&gt;&lt;p&gt;Martin Asked: I am very interested in finding a holistic view to HA and DR to handle SQL Server. Oracle and even DB2 - are you aware of such a product/s?
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Alan X Changes Question To: How to handle SSIS in multiple instance?
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Nadim Y Asked: I was coming from a consolidation angle - looking to install muliple instances on each node within the cluster. Is there an upper limit or just based on the resources available on the nodes
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Mohammed Asked: IS clusteting possible in std edition sql 2008?
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Anita Asked: You mentioned about multi - instance cluster( active-active)? I will be interested in learning more about this. we have active-active in our environment. Is it scheduled for next week?
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: Next week is mostly demos of how to set up these techniques. However, there are some resource slides at the end that point you to more websites and whitepapers about each of these specific technologies.
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;robert l Asked: Will mirroring work with a large number of "Smaller" databases? 500 2gb databases vs 2 1tb database
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: absolutely! however, there is some management overhead in that mirroring is configured on a per database level
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Alvinator Asked: When log shipping if you have a large tlog will it ship it in chunks or the entire log file?:
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: It doesn't ship the transaction log, it shipps the backups/dumps of the t-logs. That's an especially good use for backup compression. We have a lot of features specifically for this in our LiteSpeed backup tool.
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;James M Asked: What are the advantages of Database Mirroring over transaction replication? or vice versa
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: We're on those slides now. =^)
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Martin Asked: IDEA - Maybe Quest should provide a Database Invenotry/Request to gather all the information for a HA environment
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: I like it, Martin. I'll put that in my notebook. Btw, have you seen our "Discovery Wizard for SQL Server"? It does inventorying for SQL Servers.
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;@SQLRich Asked: I've heard that not all of the SQL components are cluster aware, is this true?
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: Yes, afaik, SSIS is one of the biggest offenders in this area. But I think there are others.
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Desi Asked: Can you mirror a database to more than one locaton?
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: I don't recall the exact steps to do this, but yes. Also available with replication and log shipping.
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Mohammed Asked: IS clusteting possible in std edition sql 2008?
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: Discussed on slide 11, Mohammed. :-)
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;sjohn Asked: What is the maximum recomended distance for a synced mirroring with a reasonable size of pipe
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: That's on slide 10, :-)
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Nadim Y Asked: Is there a maximum number of instances you can have in a multinode cluster
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: Not sure what you mean, Nadim. Usually, I don't see more than 2 actives to 1 passive.
&lt;/p&gt;&lt;p&gt;________________________________________
&lt;/p&gt;&lt;p&gt;Mohammed Asked: One question before we leave please..i asked this before also. Clustering is more Local HA and mirrroing/ls is DR...is this correct?
&lt;/p&gt;&lt;p&gt;Kevin Kline Answered: Clustering across fibre can be miles, sometimes many miles distant, though it's uncommon. Mirroring and log shipping can be long-distance. Latency varies per technology type and is also another issue as to whether the solution is considered HA or DR.&lt;/p&gt;</description></item><item><title>Database Mirroring: FQDNs are Your Friends!</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2007/06/13/database-mirroring-fqdns-are-your-friends.aspx</link><pubDate>Thu, 14 Jun 2007 00:09:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:1463</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;P&gt;On a recent project for a customer, I learned an imporant Database Mirroring lesson:&amp;nbsp;fully-qualified domain names (FQDNs)&amp;nbsp;are &lt;EM&gt;essential&lt;/EM&gt;!&lt;/P&gt;
&lt;P&gt;Both Books Online and the mirroring wizard indicate that it's OK to specify the participating servers as IP addresses--so that's what I did.&amp;nbsp; The witness came up fine, and the principal came up fine.&amp;nbsp; Mirroring started, and I did a few manual failovers.&amp;nbsp; Great!&lt;/P&gt;
&lt;P&gt;But now I added the witness server and suddenly things started breaking down. The mirror instance couldn't connect with the witness, and the witness was throwing strange errors like:&lt;/P&gt;
&lt;P&gt;Database mirroring connection error 4 'An error occurred while receiving data: '64(The specified network name is no longer available.)'.' for 'TCP://Server2:7024'.&lt;/P&gt;
&lt;P&gt;...where "Server2" in this example is the mirror. Notice that the error doesn't include the IP address, but rather the server's name?&lt;/P&gt;
&lt;P&gt;After banging my head against the table for a day or so, I wrote to about 50 people asking for help.&amp;nbsp;No&amp;nbsp;answers, and&amp;nbsp;I thought I was out of luck until &lt;A class="" href="http://www.sqldownunder.com/SDU18FullShow.mp3"&gt;Don Vilen&lt;/A&gt; was kind enough to reply. Turns out, the problem is simple to fix: Don't use IP addresses, ever.&amp;nbsp; Always use FQDNs!&amp;nbsp; Thanks, Don!!&amp;nbsp; Once the FQDNs were used, instead of the IP addresses, everything came up as expected and automatic failovers started working perfectly.&lt;/P&gt;
&lt;P&gt;To find your server's FQDN, you can use "ipconfig" from the command prompt, and append the server name to the connection-specific DNS suffix.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I hope this post helps someone else avoid the frustration I went through.&amp;nbsp;It was a rough couple of days trying to debug this problem and having to tell a customer that their planned&amp;nbsp;HA solution might not work is not a fun situation to be in.&lt;/P&gt;</description></item></channel></rss>