<?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; Installation</title>
	<atom:link href="http://www.sqlslayer.com/wp/category/installation/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>Wed, 18 Aug 2010 14:11:45 +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>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>
