<?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 Slayer &#187; SQL 2008</title>
	<atom:link href="http://www.sqlslayer.com/wp/category/sql-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sqlslayer.com/wp</link>
	<description>Making SQL do what we want it to do.</description>
	<lastBuildDate>Mon, 12 Dec 2011 13:53:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Problems with SQL2008 / Windows 2008 R2 cluster install</title>
		<link>http://www.sqlslayer.com/wp/2010/04/02/problems-with-sql2008-windows-2008-r2-cluster-install/</link>
		<comments>http://www.sqlslayer.com/wp/2010/04/02/problems-with-sql2008-windows-2008-r2-cluster-install/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 13:58:32 +0000</pubDate>
		<dc:creator>Adam Bean</dc:creator>
				<category><![CDATA[Clustering]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>

		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=212</guid>
		<description><![CDATA[<p>Similar to my Windows 2008 clustering adventures, I recently went through some problems when trying to cluster SQL 2008 on Windows 2008 R2. Long story short, you have to install SP1 prior to installing SQL or simply slipstream the install.</p>
<p>The install blew up on: There was an error setting private property &#8216;RequireKerberos&#8217; to value &#8216;1&#8242; [...]]]></description>
			<content:encoded><![CDATA[<p>Similar to my Windows 2008 <a href="http://www.sqlslayer.com/wp/2009/09/15/2008-clustering-adventures/">clustering adventures</a>, I recently went through some problems when trying to cluster SQL 2008 on Windows 2008 R2. Long story short, you have to install SP1 prior to installing SQL or simply <a href="http://blogs.msdn.com/petersad/archive/2009/02/25/sql-server-2008-creating-a-merged-slisptream-drop.aspx">slipstream the install</a>.</p>
<p>The install blew up on: <em>There was an error setting private property &#8216;RequireKerberos&#8217; to value &#8216;1&#8242; for resource &#8216;SQL Network Name (SERVERNAME)&#8217;. Error: Value does not fall within the expected range.</em></p>
<p>To which I searched online to find that SP1 resolves the matter. So I went to uninstall, and then got this: <em>The SQL Server failover cluster instance name &#8221; could not be found as a cluster resource.</em></p>
<p>Followed by this: <em>There was an error attempting to remove the configuration of the product which prevents any other action from occuring. The current configuration of the product is being cancelled as a result.</em></p>
<p>I tried to simply install SP1 to see what happens, and I get:</p>
<p><em>A failure was detected for a previous installation, patch, or repair for instance &#8216;MYINSTANCE&#8217; during configuration for features [SQL_Replication_Core_Inst,SQL_Engine_Core_Inst,MPT_AGENT_CORE_CNI,]. In order to apply this patch package (KB968369), you must resolve any issues with the previous operation that failed. View the summary.txt log to determine why the previous operation failed.<br />
A failure was detected for a previous installation, patch, or repair during configuration for features [SQL_Engine_Core_Shared,SQL_PowerShell_Engine_CNS,CommonFiles,SQL_WRITER,]. In order to apply this patch package (KB968369), you must resolve any issues with the previous operation that failed. View the summary.txt log to determine why the previous operation failed.</em></p>
<p>So basically at this point, I was stuck. I couldn&#8217;t install, uninstall nor repair. I ended up rebuilding the server, but after posting after at SQLServerCentral.com, I was given this link which I wish I would have tried: http://support.microsoft.com/kb/953505</p>
<p>Anyways, after I had the server rebuilt, I finally made myself a slipstream SP1 install, which ended up resolving the issue. I&#8217;ve also come to learn that you can simply install SP1 prior to the 2008 install and then install SP1 again after the engine install to resolve these matters. If you haven&#8217;t made yourself a slipstream install, I&#8217;d highly recommend it, and it&#8217;s incredibly easy: <a href="http://blogs.msdn.com/petersad/archive/2009/02/25/sql-server-2008-creating-a-merged-slisptream-drop.aspx ">http://blogs.msdn.com/petersad/archive/2009/02/25/sql-server-2008-creating-a-merged-slisptream-drop.aspx </a></p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlslayer.com/wp/2010/04/02/problems-with-sql2008-windows-2008-r2-cluster-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scripting out agent jobs that call DTS packages in SSMS 2008</title>
		<link>http://www.sqlslayer.com/wp/2010/01/13/scripting-out-agent-jobs-that-call-dts-packages-in-ssms-2008/</link>
		<comments>http://www.sqlslayer.com/wp/2010/01/13/scripting-out-agent-jobs-that-call-dts-packages-in-ssms-2008/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 15:29:51 +0000</pubDate>
		<dc:creator>Adam Bean</dc:creator>
				<category><![CDATA[DTS]]></category>
		<category><![CDATA[Management Studio]]></category>
		<category><![CDATA[SQL 2000]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=191</guid>
		<description><![CDATA[<p>Experienced a rather odd problem today &#8230; I scripted out multiple jobs from a SQL2000 environment using SSMS 2008 that call DTS packages. The command line for the jobs looked like DTSRUN /S &#8220;Server\Instance&#8221; /N &#8220;PackageName&#8221; /E. When I ran the jobs, they continually returned:
DTSRun: Loading&#8230;
Error: -2147467259 (80004005); Provider Error: 17 (11)
Error string: [DBNETLIB][ConnectionOpen (Connect()).]SQL [...]]]></description>
			<content:encoded><![CDATA[<p>Experienced a rather odd problem today &#8230; I scripted out multiple jobs from a SQL2000 environment using SSMS 2008 that call DTS packages. The command line for the jobs looked like <em>DTSRUN /S &#8220;Server\Instance&#8221; /N &#8220;PackageName&#8221; /E</em>. When I ran the jobs, they continually returned:<br />
<em>DTSRun: Loading&#8230;<br />
Error: -2147467259 (80004005); Provider Error: 17 (11)<br />
Error string: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.<br />
Error source: Microsoft OLE DB Provider for SQL Server<br />
Help file:<br />
Help context: 0</em></p>
<p>I then took the command to a command prompt locally on the server, and the same error presented itself. Without going into all the other troubleshooting I did to find resolution, the problem ended up being that when using SSMS 2008, somehow there were hidden ascii characters in the command line. I found resolution by simply retyping the command. I then verified that the problem was indeed SSMS 2008 as I used SSMS 2005 to script and recreate the job again, and it worked without problem.</p>
<p>Hope others find this helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlslayer.com/wp/2010/01/13/scripting-out-agent-jobs-that-call-dts-packages-in-ssms-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GROUP BY CUBE example</title>
		<link>http://www.sqlslayer.com/wp/2009/10/08/group-by-cube-example/</link>
		<comments>http://www.sqlslayer.com/wp/2009/10/08/group-by-cube-example/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 14:27:10 +0000</pubDate>
		<dc:creator>mlakarj</dc:creator>
				<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[GROUP BY CUBE]]></category>
		<category><![CDATA[SQL SERVER 2008]]></category>

		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=114</guid>
		<description><![CDATA[<p>The GROUP BY CUBE statement is pretty sweet.  Here’s an example.</p>
<p>First, let’s create our table and add data:</p>
<p>IF  EXISTS (SELECT * FROM sys.objects
WHERE object_id = OBJECT_ID(N'[dbo].[GroupByCubeExample]')
AND type in (N'U'))
	DROP TABLE [dbo].[GroupByCubeExample]
GO</p>
<p>CREATE TABLE [dbo].[GroupByCubeExample](
	[Region] [nvarchar](50) NOT NULL,
	[Product] [nvarchar](50) NOT NULL,
	[Salesman] [nvarchar](50) NOT NULL,
	[Amount] [money] NOT NULL
)
GO</p>
<p>INSERT INTO dbo.GroupByCubeExample
(Region,Product,Salesman,Amount)
SELECT 'America','Bike','Bean, Adam',10
UNION ALL SELECT 'America','Bike','Stanford, Matt',20
UNION [...]]]></description>
			<content:encoded><![CDATA[<p>The GROUP BY CUBE statement is pretty sweet.  Here’s an example.</p>
<p>First, let’s create our table and add data:</p>
<blockquote><p><code>IF  EXISTS (SELECT * FROM sys.objects<br />
WHERE object_id = OBJECT_ID(N'[dbo].[GroupByCubeExample]')<br />
AND type in (N'U'))<br />
	DROP TABLE [dbo].[GroupByCubeExample]<br />
GO</p>
<p>CREATE TABLE [dbo].[GroupByCubeExample](<br />
	[Region] [nvarchar](50) NOT NULL,<br />
	[Product] [nvarchar](50) NOT NULL,<br />
	[Salesman] [nvarchar](50) NOT NULL,<br />
	[Amount] [money] NOT NULL<br />
)<br />
GO</p>
<p>INSERT INTO dbo.GroupByCubeExample<br />
(Region,Product,Salesman,Amount)<br />
SELECT 'America','Bike','Bean, Adam',10<br />
UNION ALL SELECT 'America','Bike','Stanford, Matt',20<br />
UNION ALL SELECT 'America','Car','Bean, Adam',10000.0000<br />
UNION ALL SELECT 'America','Car','Stanford, Matt',20000.0000<br />
UNION ALL SELECT 'Canada','Bike','Bean, Adam',10<br />
UNION ALL SELECT 'Canada','Bike','Stanford, Matt',20<br />
UNION ALL SELECT 'Canada','Car','Bean, Adam',10000.0000<br />
UNION ALL SELECT 'Canada','Car','Stanford, Matt',20000.0000</code></p></blockquote>
<p>Then, we can SUM using GROUP BY CUBE for some nice automatic rollups.</p>
<blockquote><p><code>SELECT<br />
	 Region<br />
	,Product<br />
	,Salesman<br />
	,SUM(Amount) AS Amount<br />
FROM dbo.GroupByCubeExample<br />
GROUP BY CUBE(<br />
	 Region<br />
	,Product<br />
	,Salesman<br />
)<br />
ORDER BY Region,Product,Salesman</code></p></blockquote>
<p>Results (NULLs mean ALL):</p>
<blockquote><p><code>Region        Product    Salesman          Amount<br />
------------- ---------- ----------------- ----------<br />
NULL          NULL       NULL              60060.00<br />
NULL          NULL       Bean, Adam        20020.00<br />
NULL          NULL       Stanford, Matt    40040.00<br />
NULL          Bike       NULL              60.00<br />
NULL          Bike       Bean, Adam        20.00<br />
NULL          Bike       Stanford, Matt    40.00<br />
NULL          Car        NULL              60000.00<br />
NULL          Car        Bean, Adam        20000.00<br />
NULL          Car        Stanford, Matt    40000.00<br />
America       NULL       NULL              30030.00<br />
America       NULL       Bean, Adam        10010.00<br />
America       NULL       Stanford, Matt    20020.00<br />
America       Bike       NULL              30.00<br />
America       Bike       Bean, Adam        10.00<br />
America       Bike       Stanford, Matt    20.00<br />
America       Car        NULL              30000.00<br />
America       Car        Bean, Adam        10000.00<br />
America       Car        Stanford, Matt    20000.00<br />
Canada        NULL       NULL              30030.00<br />
Canada        NULL       Bean, Adam        10010.00<br />
Canada        NULL       Stanford, Matt    20020.00<br />
Canada        Bike       NULL              30.00<br />
Canada        Bike       Bean, Adam        10.00<br />
Canada        Bike       Stanford, Matt    20.00<br />
Canada        Car        NULL              30000.00<br />
Canada        Car        Bean, Adam        10000.00<br />
Canada        Car        Stanford, Matt    20000.00</p>
<p>(27 row(s) affected)</code></p></blockquote>
<p>And if you don’t like the NULLs, you can use a WHEN GROUPING() statement to better format:</p>
<blockquote><p><code>SELECT<br />
 CASE<br />
	WHEN GROUPING(Region) = 1<br />
		THEN 'ALL REGIONS'<br />
	ELSE Region<br />
 END AS Region<br />
,CASE<br />
	WHEN GROUPING(Product) = 1<br />
		THEN 'ALL PRODUCTS'<br />
	ELSE Product<br />
 END AS Product<br />
,CASE<br />
	WHEN GROUPING(Salesman) = 1<br />
		THEN 'ALL SALESMAN'<br />
	ELSE Salesman<br />
 END AS Salesman<br />
,SUM(Amount) AS Amount<br />
FROM dbo.GroupByCubeExample<br />
GROUP BY CUBE(<br />
	 Region<br />
	,Product<br />
	,Salesman<br />
)<br />
ORDER BY Region,Product,Salesman</code></p></blockquote>
<p>Results:</p>
<blockquote><p><code>Region         Product        Salesman        Amount<br />
-------------- -------------- --------------- ----------<br />
ALL REGIONS    ALL PRODUCTS   ALL SALESMAN    60060.00<br />
ALL REGIONS    ALL PRODUCTS   Bean, Adam      20020.00<br />
ALL REGIONS    ALL PRODUCTS   Stanford, Matt  40040.00<br />
ALL REGIONS    Bike           ALL SALESMAN    60.00<br />
ALL REGIONS    Bike           Bean, Adam      20.00<br />
ALL REGIONS    Bike           Stanford, Matt  40.00<br />
ALL REGIONS    Car            ALL SALESMAN    60000.00<br />
ALL REGIONS    Car            Bean, Adam      20000.00<br />
ALL REGIONS    Car            Stanford, Matt  40000.00<br />
America        ALL PRODUCTS   ALL SALESMAN    30030.00<br />
America        ALL PRODUCTS   Bean, Adam      10010.00<br />
America        ALL PRODUCTS   Stanford, Matt  20020.00<br />
America        Bike           ALL SALESMAN    30.00<br />
America        Bike           Bean, Adam      10.00<br />
America        Bike           Stanford, Matt  20.00<br />
America        Car            ALL SALESMAN    30000.00<br />
America        Car            Bean, Adam      10000.00<br />
America        Car            Stanford, Matt  20000.00<br />
Canada         ALL PRODUCTS   ALL SALESMAN    30030.00<br />
Canada         ALL PRODUCTS   Bean, Adam      10010.00<br />
Canada         ALL PRODUCTS   Stanford, Matt  20020.00<br />
Canada         Bike           ALL SALESMAN    30.00<br />
Canada         Bike           Bean, Adam      10.00<br />
Canada         Bike           Stanford, Matt  20.00<br />
Canada         Car            ALL SALESMAN    30000.00<br />
Canada         Car            Bean, Adam      10000.00<br />
Canada         Car            Stanford, Matt  20000.00</p>
<p>(27 row(s) affected)</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlslayer.com/wp/2009/10/08/group-by-cube-example/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>&#8220;Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created.&#8221;</title>
		<link>http://www.sqlslayer.com/wp/2009/10/06/saving-changes-is-not-permitted-the-changes-you-have-made-require-the-following-tables-to-be-dropped-and-re-created/</link>
		<comments>http://www.sqlslayer.com/wp/2009/10/06/saving-changes-is-not-permitted-the-changes-you-have-made-require-the-following-tables-to-be-dropped-and-re-created/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 19:30:52 +0000</pubDate>
		<dc:creator>mlakarj</dc:creator>
				<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[SQL SERVER 2008]]></category>
		<category><![CDATA[“Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created.”]]></category>

		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=75</guid>
		<description><![CDATA[<p>Management Studio 2008 has a default that prevents saving table changes from the designer when the table will need to be rebuilt.  I’m constantly being asked about this error by developers:</p>
<p> &#8221;Saving changes is not permitted.  The changes you have made require the following tables to be dropped and re-created.&#8221;</p>
<p> To be able to make table changes [...]]]></description>
			<content:encoded><![CDATA[<p>Management Studio 2008 has a default that prevents saving table changes from the designer when the table will need to be rebuilt.  I’m constantly being asked about this error by developers:</p>
<p> &#8221;Saving changes is not permitted.  The changes you have made require the following tables to be dropped and re-created.&#8221;</p>
<p> To be able to make table changes go to Tools-&gt;Options-&gt;Designers and uncheck “Prevent saving changes that require table re-creation”.</p>
<p> It’s a good idea to do this as soon as you install 2008.  Tell everyone around you.  I’ve been asked about it at least half a dozen times, as recent as a few days ago.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlslayer.com/wp/2009/10/06/saving-changes-is-not-permitted-the-changes-you-have-made-require-the-following-tables-to-be-dropped-and-re-created/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to restore backup from 2008 R2 to 2008</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/</link>
		<comments>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 21:02:55 +0000</pubDate>
		<dc:creator>Adam Bean</dc:creator>
				<category><![CDATA[Backups]]></category>
		<category><![CDATA[Restores]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>

		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70</guid>
		<description><![CDATA[<p>Locally I am running 2008 R2 and on my DBA management server I run 2008 RTM. Today I went to restore a database from my local to my server and received the following awesome error: </p>
<p>The database was backed up on a server running version 10.50.1092. That version is incompatible with this server, which is [...]]]></description>
			<content:encoded><![CDATA[<p>Locally I am running 2008 R2 and on my DBA management server I run 2008 RTM. Today I went to restore a database from my local to my server and received the following awesome error: </p>
<p><em>The database was backed up on a server running version 10.50.1092. That version is incompatible with this server, which is running version 10.00.1600. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server.</em></p>
<p>My initial thoughts were that (hopefully), it was simply that I was running &#8216;08 RTM (was only running on RTM to support a small side project that has somewhat died). So I figured it was time to install SP1. Installed and tried again &#8230;</p>
<p><em>The database was backed up on a server running version 10.50.1092. That version is incompatible with this server, which is running version 10.00.2531. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server.</em></p>
<p>Awesome.</p>
<p>Granted, it&#8217;s the same scenario when going to a newer version with 2005/2008 from a previous version, but from R1 to R2 there is no compatibility (at least of today anyways). This is unfortunate to hear to say the least. It makes me wonder what else will not be supported.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>2008 clustering adventures</title>
		<link>http://www.sqlslayer.com/wp/2009/09/15/2008-clustering-adventures/</link>
		<comments>http://www.sqlslayer.com/wp/2009/09/15/2008-clustering-adventures/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 13:38:42 +0000</pubDate>
		<dc:creator>Adam Bean</dc:creator>
				<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=35</guid>
		<description><![CDATA[<p>I have been a DBA for about 5 years and unfortunately have not had any experience with clustering. That was up until I was hired by my current employer back in January and since have brought up several 2005 clusters and now manage over 12 clusters. I have installed, setup and configured many 2008 instances [...]]]></description>
			<content:encoded><![CDATA[<p>I have been a DBA for about 5 years and unfortunately have not had any experience with clustering. That was up until I was hired by my current employer back in January and since have brought up several 2005 clusters and now manage over 12 clusters. I have installed, setup and configured many 2008 instances and even R2. Never have I had any problems I was not able to resolve on my own and/or researching online. This was all true up until I brought up my first 2008 cluster. I am rather confident that I experienced almost every problem possible with bringing this environment up. Hopefully this information will prove useful to others as I am now rather confident on how to install a 2008 cluster post these problems.</p>
<p><strong>Summary</strong>: Advanced cluster preparation install failed.<br />
<strong>Details</strong>: </p>
<ul>
<li>Successfully installed advanced cluster preparation on first node.</li>
<li>Copied configuration file to secondary node and attempted &#8220;install based on configuration file&#8221;.</li>
<li>Install failed: “The setting &#8216;AGTDOMAINGROUP&#8217; is not allowed when the value of setting &#8216;ACTION&#8217; is Install.&#8221;</li>
<li>Tried several times, always resulting in the same error. Unable to find anything relevant online.</li>
<li>At this point, decided to simply uninstall and start over.
<li>
<li>Attempted uninstall on first node. Failed: Object reference not set to an instance of an object.</li>
<li>Ok great, I can&#8217;t uninstall &#8230; what to do. Figured I&#8217;d try to do the advanced cluster preparation on secondary node without the configuration files. It worked.
<li>
<li>Alright, let&#8217;s try to complete the cluster &#8220;advanced cluster completion&#8221; option.</li>
<li>Failed: The instance prepared for clustering that was installed on computer XXX failed during installation and cannot be clustered. To continue, remove the failed cluster-prepared instance and run the cluster-prepare Setup operation again.</li>
<li>Fantastic. I now have two preparded nodes, but can&#8217;t complete the cluster.</li>
<li>Well, let&#8217;s try the uninstall again, tried on both nodes. Failed: Object reference not set to an instance of an object.</li>
<li>This just keeps getting better. Tried to do the repair installation on either node. Failed The SQL Sever feature is not in a supported state for repair, as it was installed in preparation to be clustered. Cluster prepared features cannot be repaired. To continue, uninstall the specified SQL Server feature.</li>
<li>At this point, I am at a loss. Unable to find anything relevant online. Decided to open a Microsoft premier support case.</li>
<li>They connect to my work computer via Easy Assist and spend a good hour or so recreating exactly what I had been experiencing. They were at a loss as well, and decided the next best route at this point was to attempt to uninstall via registry.</li>
<li>Almost 2 hours pass and no progress has been made. After manually searching and removing every entry related to SQL on this node, they were unable to even launch the install as it was erroring out with a new error (did not record, but it was basically the same error you get when you attempt to uninstall an app from add/remove programs (appwiz.cpl) when the program doesn&#8217;t exist.</li>
<li>At this point, Microsoft asked if they could continue to work on the problem. I said that we had already spent to much time and even had they got this working, I had little faith that I&#8217;d have a clean install moving forward. I made the decision to have my IT guys simply reformat the servers.</li>
<li>A few days later, Microsoft deemed the problem a bug and credited our hours back. While it&#8217;s not neccessarily a bug, the feature to install from config file in advanced cluster prepare should not be available. The error is expected if the config file is provided through the GUI. The correct way to prepare the remote nodes [in case we use the config file] is to provide the config file at the command prompt.</li>
</ul>
<p><strong>What did I learn?</strong><br />
In looking back, yes, this was my fault. I should have followed the instructions, but honestly &#8230; why would they give you the option to fail? Why if you&#8217;re not supposed to use the GUI, is it an option!? AHH, oh well, done and over with. Moving on &#8230;</p>
<hr />
<p><strong>Summary</strong>: Validate SCSC-3 Persistent Reservation failure<br />
<strong>Details</strong>: </p>
<ul>
<li>So at this point, we formatted the servers and started over, hooray.</li>
<li>Worked out well because at this point we now have 4 nodes of the 6 available to install on.</li>
<li>The pre install validation checks failed due to the rule &#8220;Validate SCSC-3 Persistent Reservation&#8221; failing.</li>
<li>This is a windows cluster validation check and if windows fails it, so does SQL. Found the log file in C:\windows\cluster\reports in the Validation Report 2009.08.19 At 07.42.56 &#8211; Validate SCSI-3 Persistent Reservation</li>
<li>Found a decent article on the matter, but again, this was above me http://www.servercare.nl/Lists/Posts/Post.aspx?ID=71</li>
<li>Sent it over to my systems guys and they worked on the issue for a week or so with HP and this was their response to the matter:<br />
Somehow, one of the machines created a persistent reservation on a disk. Magically, the HP tool (hpprutil) couldn’t see the reservation. HP support couldn’t remote control the machine, as the install apparently wasn’t completed. Once they had that set up, they got in and saw that the array said there was still a reservation on the disk. They had to create a single-use password to force the machine to drop the paths that it wasn’t letting go of. It hasn’t been explained to me farther how in the world it would allow me to remove 6 paths, but the remaining 2 it held on to. </p>
<p>In the middle of it all, machines were swapped out. The WWN should have stayed the same on all the machines because we pay an exorbitant amount of money for virtual connect, but of course VC didn’t work right and all the WWN’s changed. Then once the machines were firmwared-yet-again, they all changed again. Everything ended up being rezoned about 20 times each, along with all the time wasted trying to figure out just what the WWN’s should and shouldn’t be, why the array wouldn’t let the damn LUN go (but had the previous 6 times), etc.
</li>
</ul>
<p><strong>What did I learn?</strong><br />
This one was out of my league. I didn&#8217;t understand it then, and unfortunately I still don&#8217;t understand it.</p>
<hr />
<p><strong>Summary</strong>: The credentials you provided for the sql server service are invalid &#038; The current SKU is invalid<br />
<strong>Details</strong>: </p>
<ul>
<li>Ok, disk problems resolved, resuming the install (not doing advanced prepare this time!)</li>
<li>Successfully installed first single node cluster, hoooooray!!!!</li>
<li>When attempting to add node to the cluster, it failed stating &#8220;the credentials you provided for the sql server service are invalid&#8221;. It Failed on SQL Server / SQL Server Agent. I attempted to change the password to no avail, failed every time.
<li>Found this article: http://support.microsoft.com/default.aspx/kb/955948/ which states &#8220;To work around this issue, type the domain account manually in the Account Name text box.&#8221; This is not true, as the boxes are grayed out and do not allow you to change the account.
<li>Unsure to as where I got the information from, but I had read somewhere that CU1 would resolve this specific issue (trying to find link).</li>
<li>Ok, installed SP1 on the node which has the single node cluster setup.</li>
<li>Attempted to add node, &#8220;Failed: SQL 2008 Cluster &#8211; The current SKU is invalid.&#8221;</li>
<li>Found these articles: http://support.microsoft.com/kb/957459/ &#038; https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=363036&#038;wa=wsignin1.0M</li>
<li>Install SP1 on a node that doesn&#8217;t have SQL installed huh? Interesting. The 2008 cluster install doesn&#8217;t use the task scheduler any more, and the nodes have to be manually installed, so why do I need to patch a server that doesn&#8217;t have any trace of SQL on it yet?</li>
<li>Low and behold, when I went to install SP1 on each of the other nodes, it patched the &#8220;shared features&#8221; successfully.</li>
<li>Tried to add node to cluster, successful on each node!</li>
<li>Had to install SP1 again on each node after I completed the install.</li>
</ul>
<p><strong>What did I learn?</strong><br />
You need to install SP1 (or at least CU1) after installing your first single cluster node. After that, you have to install SP1 (or CU1) prior and post to adding any other nodes on the cluster. Crazy, but at least I know now.</p>
<hr />
<p><strong>Recap</strong><br />
1) Don&#8217;t slack. When you&#8217;re installing a new technology for the first time, do your homework and read the documentation.<br />
2) Install SP1 before and after adding a new node for SQL 2008<br />
3) Did Microsoft test a 2008 cluster install? To many oddities here that seem like some further testing would have easily resolved. I have not heard one way or the other if they will remove the feature to perform an advanced cluster installation from a configuration file or not. If I hear any more on the matter, I will post about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlslayer.com/wp/2009/09/15/2008-clustering-adventures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

