 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Server with Mr. Denny &#187; Microsoft Cluster Service</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/sql-server/tag/microsoft-cluster-service/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/sql-server</link>
	<description></description>
	<lastBuildDate>Fri, 17 May 2013 17:04:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>The Least Expensive SQL Server 2012 High Availability Solution</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/the-least-expensive-sql-server-2012-high-availability-solution/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/the-least-expensive-sql-server-2012-high-availability-solution/#comments</comments>
		<pubDate>Wed, 12 Dec 2012 14:00:48 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Microsoft Cluster Service]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[MSCS]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2012]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2268</guid>
		<description><![CDATA[As we all know by now AlwaysOn Availability Groups are an enterprise edition feature and SQL Server Clustering is a standard edition feature.  Butt what happens when you have a small business that is running its apps on SQL Server Express.  Can&#8217;t SQL Express have any sort of high availability? Officially the answer is no, [...]]]></description>
				<content:encoded><![CDATA[<p>As we all know by now AlwaysOn Availability Groups are an enterprise edition feature and SQL Server Clustering is a standard edition feature.  Butt what happens when you have a small business that is running its apps on SQL Server Express.  Can&#8217;t SQL Express have any sort of high availability?</p>
<p>Officially the answer is no, however with a little bit of creative configuration you sure can.</p>
<p><strong>The Overall Environment</strong></p>
<p>To setup SQL Server Express in a Windows Cluster I&#8217;m building this on a two node Windows Server 2012 cluster using a file share hosted on my domain controller to host the actual databases.  To ensure that the domain controller is rebooted as little as possible the domain controller is installed in core mode.  The cluster nodes are Windows Server 2012 standard edition (which now supports clustering) as is the domain controller.</p>
<p><strong>Installation</strong></p>
<p>As SQL Server 2012 express edition doesn&#8217;t support Windows Clustering out of the box the installation will be a little different from doing a normal clustered install under standard or enterprise edition.  To install I did a normal SQL Express install on node1.  The only change from a normal install that I made was that I configured the SQL Server instance to start under a domain account.  When I got to the data directories part I configured the data folder to a network share on the domain controller.</p>
<p>Once the installation on node1 was completed I stopped the SQL Server services.  Then I renamed the folder that I installed the SQL Server database files into.  The reason for this is that I need to configure the second instance to put the database files into the same location.  I can then install SQL Server 2012 express edition onto the second node.</p>
<p>The installation on node2 is done exactly like it was done on node1.</p>
<p>Once the installation is done on both nodes configure the SQL Server service to have a startup type as &#8220;Manual&#8221; instead of disabled or automatic.  Leave the SQL Agent service as disabled as even though SQL Express installs the SQL Agent the SQL Agent isn&#8217;t supported on SQL Express.</p>
<p><strong>Configuring Clustering</strong></p>
<p>Once the installation on Node2 is done the cluster can be configured.  To do this bring up the Failover Cluster Administrator on one of the nodes and connect to the cluster.  If the cluster hasn&#8217;t been configured yet run through the normal Clustering Configuration wizard.</p>
<p>We&#8217;ll now configure a new cluster role on the cluster.  To do this right click on &#8220;Role&#8221; then select &#8220;Configure Role&#8221; from the context menu as shown below.</p>
<p><a href="http://itknowledgeexchange.techtarget.com/sql-server/?attachment_id=2270" rel="attachment wp-att-2270"><img class="alignnone size-full wp-image-2270" src="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/20/files/2012/08/NewRole.jpg" alt="" width="287" height="326" /></a></p>
<p>When the wizard opens click next to get to the list of services.  Then select the Generic Service item from the list as shown below.</p>
<p><a href="http://itknowledgeexchange.techtarget.com/sql-server/?attachment_id=2271" rel="attachment wp-att-2271"><img class="alignnone size-full wp-image-2271" src="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/20/files/2012/08/SelectRole.jpg" alt="" width="683" height="470" /></a></p>
<p>On the next screen you&#8217;ll be asked what service you wish to cluster.  From this list select the SQL Server service as shown below.</p>
<p><a href="http://itknowledgeexchange.techtarget.com/sql-server/?attachment_id=2272" rel="attachment wp-att-2272"><img class="alignnone size-full wp-image-2272" src="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/20/files/2012/08/SelectService.jpg" alt="" width="683" height="470" /></a></p>
<p>On the next screen you&#8217;ll be asked to name the resource group.  Give the group a name which is unique on the domain and click next.  The next screen will ask you to select the needed storage.  Simply click next on this screen as we aren&#8217;t using any local shared storage.  The next screen asks you if any registry settings need to be replicated between the machines.  We don&#8217;t need to replicate anything as SQL Server doesn&#8217;t make much use of the registry for the actual SQL Server service so we can simply click next on this screen as well.  The next screen is simply a screen to review the changes which will be made.  You can simply click next on this screen after reviewing the information on the screen.  When the summary screen displays click finish.</p>
<p>Post Clustering SQL Config Changes</p>
<p>The first change that you&#8217;ll need to make is to enable the TCP network protocol on both nodes.  By default SQL Express has the TCP network protocol disabled which need to be corrected before uses will be able to connect to the SQL Server service.</p>
<p>The next change that you&#8217;ll need to make is to change the local server name in the master database from the name of the last node which was installed to the cluster name using a script similar to the one shown below.  In the case of this script the nodes are named node1 and node2 and the cluster name is clustersql.  Once this script has been run the SQL Server instance should be restarted or failed over to the other node.</p>
<blockquote><p>exec sp_dropserver &#8216;nodeb&#8217;<br />
GO<br />
exec sp_addserver &#8216;clustersql&#8217;, local<br />
GO</p></blockquote>
<p>&nbsp;</p>
<p>At this point the cluster is up and running and applications can have their databases configured on the SQL Server Instance.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/the-least-expensive-sql-server-2012-high-availability-solution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Passive AlwaysOn Replicas, not as free as you might think</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/passive-alwayson-replicas-not-as-free-as-you-might-think/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/passive-alwayson-replicas-not-as-free-as-you-might-think/#comments</comments>
		<pubDate>Wed, 07 Nov 2012 14:00:10 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[AlwaysOn]]></category>
		<category><![CDATA[Availability Groups]]></category>
		<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Microsoft Cluster Service]]></category>
		<category><![CDATA[MSCS]]></category>
		<category><![CDATA[SQL Licensing]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2012]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2073</guid>
		<description><![CDATA[With the release of SQL Server 2012 and specifically the AlwaysOn feature we need to rethink the way that we handle the licensing for servers that will be passive servers.  In the past it&#8217;s been assumed that passive servers didn&#8217;t need to be licensed, and that was true, for the most part.  The official docs [...]]]></description>
				<content:encoded><![CDATA[<p>With the release of SQL Server 2012 and specifically the AlwaysOn feature we need to rethink the way that we handle the licensing for servers that will be passive servers.  In the past it&#8217;s been assumed that passive servers didn&#8217;t need to be licensed, and that was true, for the most part.  The official docs read that you get one passive server per active server that you have licensed, provided that you have a current Enterprise Agreement.  Without the Enterprise Agreement in place any and all passive servers need to be licensed.</p>
<p>With SQL Server 2012&#8242;s AlwaysOn feature we have an active server called the Primary Replica and we have up to 4 secondary replicas.  Even if none of those 4 secondary replicas are in use for anything, you will still need to license two of them to be properly licensed.  This is because when licensing SQL Server&#8217;s each licensed server gets you only a single free passive server.  So for a 5 instance AlwaysOn Availability Group deployment you&#8217;ll need to license at least 3 of those instances which would give you two passive instances.  As long as those two passive instances aren&#8217;t being used for read access they are free.</p>
<p>Thanks,</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/passive-alwayson-replicas-not-as-free-as-you-might-think/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vendor Apps and AlwaysOn Availability Groups</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/vendor-apps-and-alwayson-availability-groups/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/vendor-apps-and-alwayson-availability-groups/#comments</comments>
		<pubDate>Mon, 06 Aug 2012 10:00:43 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[AlwaysOn]]></category>
		<category><![CDATA[Availability Groups]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Microsoft Cluster Service]]></category>
		<category><![CDATA[MSCS]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2012]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=2153</guid>
		<description><![CDATA[By now hopefully everyone knows about AlwaysOn Availability Groups in SQL Server 2012 and the high availability options that they provide to databases.  One problem with AlwaysOn Availability Groups when combined with third party applications is that the third party application may configure the connection string and not allow you to change it.  When you [...]]]></description>
				<content:encoded><![CDATA[<p>By now hopefully everyone knows about AlwaysOn Availability Groups in SQL Server 2012 and the high availability options that they provide to databases.  One problem with AlwaysOn Availability Groups when combined with third party applications is that the third party application may configure the connection string and not allow you to change it.  When you want to install one of these third party applications within a SQL Server 2012 availability group this can give you some problems as typically you would typically create the database then add the database to the availability group.  However this requires that you change the connection string which in this case we are trying to avoid.</p>
<p>There however is some good news to this little problem.  The good news in this case is that you can create a SQL Server availability group, which has an availability group listener, without putting any databases in it.  This is done by creating the availability group without using wizard that is available within SQL Server Management Studio.  Instead of starting the wizard select the &#8220;New Availability Group&#8230;&#8221; option from the Availability Group context menu as shown below.</p>
<p><a href="http://itknowledgeexchange.techtarget.com/sql-server/?attachment_id=2154" rel="attachment wp-att-2154"><img class="alignnone size-full wp-image-2154" src="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/20/files/2012/07/AG-Menu.jpg" alt="" width="301" height="197" /></a></p>
<p>This will allow you to create an Availability Group without any availability groups and with only a single replica.  Once the availability group is created, the listener can be created for the availability group.  The 3rd party application can then use the listener to connect to the database engine and create the database.  The database once created can be added to the availability group as can the additional replicas.</p>
<p>While using this technique is a lot harder than going through the wizard as it requires that the database backups and restores be done manually and the configurations be all done by hand instead of the handy wizard it&#8217;ll meet the requirements of the application which is to not change the connection string.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/vendor-apps-and-alwayson-availability-groups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When setting up a new Windows Cluster test failover before releasing to production</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/when-setting-up-a-new-windows-cluster-test-failover-before-releasing-to-production/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/when-setting-up-a-new-windows-cluster-test-failover-before-releasing-to-production/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 11:00:22 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Microsoft Cluster Service]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=773</guid>
		<description><![CDATA[When you build a new Microsoft Cluster Server cluster always be sure to fail over all the drives between all the nodes before installing SQL Server on it and deploying the cluster to production.  The first time that you fail over a cluster from one node to another the disks can take a very long [...]]]></description>
				<content:encoded><![CDATA[<p>When you build a new Microsoft Cluster Server cluster always be sure to fail over all the drives between all the nodes before installing SQL Server on it and deploying the cluster to production.  The first time that you fail over a cluster from one node to another the disks can take a very long time to fail over.</p>
<p>If you don&#8217;t test this fail over ahead of time your first production fail over could be quite a bit longer than you expect.  Granted I&#8217;m only talked 30-60 seconds longer than expected, but your are clustering the SQL Server for the most possible uptime, and 30-60 extra seconds could be a big problem.</p>
<p>Do in other words test, then deploy.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/when-setting-up-a-new-windows-cluster-test-failover-before-releasing-to-production/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thank you Orange County SQL Server Users Group</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/thank-you-orange-county-sql-server-users-group/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/thank-you-orange-county-sql-server-users-group/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 11:05:12 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Clustering]]></category>
		<category><![CDATA[In Person Events]]></category>
		<category><![CDATA[Microsoft Cluster Service]]></category>
		<category><![CDATA[MSCS]]></category>
		<category><![CDATA[Orange County SSUG]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/thank-you-orange-county-sql-server-users-group/</guid>
		<description><![CDATA[I&#8217;d like to thank the Orange County SQL Server Users Group for having me come and speak at their meeting last week.  I had a great time speaking with everyone, and there were a lot of good questions. If you didn&#8217;t have a chance to download the slide deck you can download it here.  If [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;d like to thank the Orange County SQL Server Users Group for having me come and speak at their meeting last week.  I had a great time speaking with everyone, and there were a lot of good questions.</p>
<p>If you didn&#8217;t have a chance to download the slide deck you can download it <a href="http://www.mrdenny.com/downloads/2008.10.16_OCSSUG/SQL%20Server%20Clustering%20101.zip" title="Slide Deck" target="_blank">here</a>.  If any new questions come up, feel free to post them here, or email them to me directly.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/thank-you-orange-county-sql-server-users-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scaling the database out, not up.</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/scaling-the-database-out-not-up/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/scaling-the-database-out-not-up/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 11:00:22 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Federated Database]]></category>
		<category><![CDATA[Microsoft Cluster Service]]></category>
		<category><![CDATA[Scaling Out]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/scaling-the-database-out-not-up/</guid>
		<description><![CDATA[When your database has grown beyond the performance capabilities of a single SQL Server, there are still ways get increase the system performance.  This requires using a technique called a Federating the database, this is also known as scaling the database out.  Read on to learn more about Federated Databases.]]></description>
				<content:encoded><![CDATA[<p class="MsoNormal"><font face="Calibri">When your database has grown beyond the performance capabilities of a single SQL Server, there are still ways get increase the system performance.<span>  </span>This requires using a technique called a Federating the database, this is also known as scaling the database out.<span>  </span>When you increase a servers capacity by increasing the CPU count within the SQL Server it is called scaling up the system.<span>  </span>When you increase a servers capacity by adding additional servers to the system it is called scaling out the system.<span>  </span>By scaling out the system we add additional entire servers to the database creating a database federation.<span>  </span>There are a couple of ways which you can create the database federation.<span>  </span>The technique that you use will depend on your own system requirements.</font></p>
<p class="MsoNormal"><font face="Calibri">A database federation is not a high availability solution.<span>  </span>The correct solution to use for a high availability solution would be Microsoft Cluster Service (MSCS) or Database Mirroring (SQL 2005 and up).</font></p>
<p class="MsoNormal"><font face="Calibri">There are some potential down sides to federating your database which you need to be aware of in order to make an informed decision.</font></p>
<p class="MsoListParagraphCxSpFirst"><span><span><font face="Calibri">1.</font><span>       </span></span></span><font face="Calibri">If any server in the federation is taken offline, the entire database system will become unavailable.<span>  </span>This is because the way the federation works requires online access to all nodes of the federation.<span>  </span>As the database which is being federated is probably an important asset to the company, this risk can be mitigated by using clustering in combination with database federation to provide a high availability solution to build your database federation on top of.</font></p>
<p class="MsoListParagraphCxSpMiddle"><span><span><font face="Calibri">2.</font><span>       </span></span></span><font face="Calibri">Licensing for a database federation is extremely expensive.<span>  </span>SQL Server Enterprise Edition must be used, as database federation requires the use of distributed queries, which is an Enterprise Edition only feature.<span>  </span>Another reason for Enterprise Edition would be the number of CPUs supported.<span>  </span>As the system is apparently CPU bound (which is one of the key reasons to use a federated database) you will want to use SQL Servers which have as many CPUs as possible in them.<span>  </span>This would lead you to select servers along the line of the HP DL700 series of servers, of the </font><font face="Calibri">SUN Fire 4600 seri</font><font face="Calibri">es of servers.<span>  </span>Use of these massive servers will decrease the number of servers in your federation, thereby increasing the ease of setup of the federation.</font></p>
<p class="MsoListParagraphCxSpLast"><span><span><font face="Calibri">3.</font><span>       </span></span></span><font face="Calibri">The design of a database federation is not a simple task.<span>  </span>It requires an intimate knowledge of the not only the database, but the entire application platform which works with the database backend.<span>  </span>In addition you need to have a solid grasp of not only the current system requirements, but of the far reaching expandability requirements of the database as well.<span>  </span>This knowledge is key as changing the design of your database federation is an extremely complex task, which if not done correctly can easily lead to ours of down time, and poor performance while data is moved from one node of the federation to another.</font></p>
<p class="MsoNormal"><font face="Calibri">While these are some pretty important things to think about, federating your database has some major upsides as well.</font></p>
<p class="MsoListParagraphCxSpFirst"><span><span><font face="Calibri">1.</font><span>       </span></span></span><font face="Calibri">By federating your database, you will increase the amount of data that can be loaded into cache, as that data is loaded as each server loads its own data into its own cache.<span>  </span>This allows you to go well beyond the 64 Gigs of memory that Windows 2003 or Windows 2008 Enterprise Edition support.<span>  </span>With enough servers in the federation this will allow you to go beyond the 2 TB limit of Windows 2008 Data Center Edition.</font></p>
<p class="MsoListParagraphCxSpMiddle"><span><span><font face="Calibri">2.</font><span>       </span></span></span><font face="Calibri">In addition to the additional data cache you have access to, you also get access to more CPUs than you would be able to fit in a single server, unless you where to purchase a very high end system such as an EMC Superdome, or one of the IBM iSeries servers.</font></p>
<p class="MsoListParagraphCxSpLast"><span><span><font face="Calibri">3.</font><span>       </span></span></span><font face="Calibri">Given that the data is laid across multiple servers this then increase the number of disk controllers, or HBAs that you have access to, which can increase the available throughput to the disk.<span>  </span>It also increases the number of PCI busses which you have access to, thereby preventing any sort of contention as the data crosses through the HBAs or RAID Controllers and through the PCI bus on its way to the CPUs and RAM.</font></p>
<p><font face="Calibri"> </font></p>
<p class="MsoNormal"><font face="Calibri">Now that we’ve gone over some of the basics of the federated databases, read through my next few posts as I talk about the various techniques which can be used to federate a database, and we go through the design processes to use each one within your database environment.</font></p>
<p class="MsoNormal"><font face="Calibri">Denny</font></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/scaling-the-database-out-not-up/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
