Horkay Blog
The postings on this site are my own and do not represent my Employer's positions, advice or strategies.
Friday, 12 August 2016

SQL 2012 multi-subnet cluster install 

Installing sql server 2012, clustered on windows 2012 with always-on across geographic data centers, these are my recent notes on setting this up:

Always challenging, and I've configured always-on across geographic data centers to single nodes in another data center, but this time we are installing SQL across geographic data centers where SQL Server itself is clustered with-in each data center.  This is to allow for local high-availability with-in each data center.

Here were some recent gotchas i ran into.

Make sure the service account is a full local admin, and has the rights to install .net 3.5.  Installation began and failed as .net 3.5 was not a feature.  It's pretty easy to add this feature on windows 2012, but the service account did not have access to the source media, so ensure your Windows administrator has added this feature.  The actual error doesn't say ".net 3.5 is missing, you get this cryptic message:"

The following error has occurred:

Error while enabling Windows feature : NetFx3, Error Code : -2146498298 , Please try enabling Windows feature : NetFx3 from Windows management tools and then run setup again. For more information on how to enable Windows features , see http://go.microsoft.com/fwlink/?linkid=227143

After that, ran the install again, and got a new error:

An error occurred creating the configuration section handler for userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\Users\{login removed}\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\11.0.0.0\user.config line 5)

This error it turns out is caused by the previous bombed install, and is documented here:
https://blogs.msdn.microsoft.com/smondal/2013/07/26/an-error-occurred-creating-the-configuration-section-handler-for-usersettingsmicrosoft-sqlserver-configuration-landingpage-properties-settings/

The fix is basically to delete the temporary and/or cached data, i used the following from a command prompt:   rd /s /q %localappdata%\Microsoft_Corporation

Next issue is the service account didn't have permissions to create the computer object in active directory.  This of course bombs the install, with no "retry", it just throws an error, than you are screwed, even if your active directory administrator adds the correct permission, it won't recover, install fails.

The error messages are:

Cluster network name resource 'SQL Network Name ({virtual name removed})' failed to create its associated computer object in domain '{this will be the AD Domain}' during: Resource online.

The cluster resource 'SQL Server' could not be brought online due to an error bringing the dependency resource 'SQL Network Name ({virtual name removed})' online.  Refer to the Cluster Events in the Failover Cluster Manager for more information.

Now you have to uninstall, there is an option to "remove a node from a cluster", and that is the option you must choose.  Of course this took me a bit to find, because for whatever reason the windows 2012 server do not show the "Remove Programs" in control panel.  The way around this is to go just run appwiz.cpl.

Now that you get the "remove a node from a cluster done", it won't prompt you that a reboot is required, but you will find when you run setup.exe again, it will fail because of a "Pending Restart", so reboot.  After reboot, your shared disk will now be on the other "node", so don't forget to go over there and move it back, i usually reboot the other node to force it and the quourum back, but there are powershell scripts you can use to move them as well.

Now that you got the clean reboot and your shared disk back, and you've removed your several failed attempts, clean up the disk, you may still see a directory created by the install, i usually rename it.

Now do the install again, and all will be good. 

Repeat on the other nodes in the other data center,

Friday, 12 August 2016 15:10:02 (Central Standard Time, UTC-06:00) | Comments [0] | SQL Server#
Comments are closed.
Search
Popular Posts
Unpatched Vulnerabiltiy discovered ...
Spring Fornicator brewed...
SQL Server Security, not where it n...
DTA - Failed to initialize MSDB dat...
Check the Uptime of a Windows Serve...
Recent Posts
Archive
June, 2017 (2)
May, 2017 (2)
April, 2017 (2)
March, 2017 (1)
February, 2017 (1)
December, 2016 (2)
October, 2016 (2)
September, 2016 (1)
August, 2016 (1)
July, 2016 (1)
March, 2016 (2)
February, 2016 (3)
December, 2015 (4)
November, 2015 (6)
September, 2015 (1)
August, 2015 (2)
July, 2015 (1)
March, 2015 (2)
January, 2015 (1)
December, 2014 (3)
November, 2014 (1)
July, 2014 (2)
June, 2014 (2)
May, 2014 (3)
April, 2014 (3)
March, 2014 (1)
December, 2013 (1)
October, 2013 (1)
August, 2013 (1)
July, 2013 (1)
June, 2013 (2)
May, 2013 (1)
March, 2013 (3)
February, 2013 (3)
January, 2013 (1)
December, 2012 (3)
November, 2012 (1)
October, 2012 (1)
September, 2012 (1)
August, 2012 (1)
July, 2012 (4)
June, 2012 (3)
April, 2012 (1)
March, 2012 (3)
February, 2012 (3)
January, 2012 (4)
December, 2011 (3)
October, 2011 (2)
September, 2011 (2)
August, 2011 (8)
July, 2011 (4)
June, 2011 (3)
May, 2011 (3)
April, 2011 (1)
March, 2011 (2)
February, 2011 (3)
January, 2011 (1)
September, 2010 (1)
August, 2010 (2)
May, 2010 (2)
April, 2010 (3)
March, 2010 (1)
February, 2010 (4)
January, 2010 (1)
December, 2009 (3)
November, 2009 (2)
October, 2009 (2)
September, 2009 (5)
August, 2009 (4)
July, 2009 (8)
June, 2009 (2)
May, 2009 (3)
April, 2009 (9)
March, 2009 (6)
February, 2009 (3)
January, 2009 (8)
December, 2008 (8)
November, 2008 (4)
October, 2008 (14)
September, 2008 (10)
August, 2008 (7)
July, 2008 (7)
June, 2008 (11)
May, 2008 (14)
April, 2008 (12)
March, 2008 (17)
February, 2008 (10)
January, 2008 (13)
December, 2007 (7)
November, 2007 (8)
Links
Categories
Admin Login
Sign In
Blogroll