<?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>Scandals of an ITian &#187; Installation</title>
	<atom:link href="http://wellytonian.com/tag/installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://wellytonian.com</link>
	<description>Not just another Wordpress Site</description>
	<lastBuildDate>Sat, 04 Feb 2012 20:43:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Installing SQL 2012 on Windows 2008 R2 Core SP1</title>
		<link>http://wellytonian.com/2012/02/installing-sql-2012-on-windows-2008-r2-core-sp1/</link>
		<comments>http://wellytonian.com/2012/02/installing-sql-2012-on-windows-2008-r2-core-sp1/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 20:04:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT Shop]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[CTP3]]></category>
		<category><![CDATA[Denali]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Installing using Configuration File]]></category>
		<category><![CDATA[sconfig.cmd]]></category>
		<category><![CDATA[Service Pack 1]]></category>
		<category><![CDATA[SQL 2012]]></category>
		<category><![CDATA[Windows 2008 R2 Core]]></category>
		<category><![CDATA[Windows 2008 R2 SP1]]></category>

		<guid isPermaLink="false">http://wellytonian.com/?p=2103</guid>
		<description><![CDATA[<p><img width="300" height="204" src="http://wellytonian.com/wp-content/uploads/2012/02/020412_2004_InstallingD4-300x204.jpg" class="attachment-medium wp-post-image" alt="020412_2004_InstallingD4.jpg" title="020412_2004_InstallingD4.jpg" /></p>Scenario: Windows 2008 R2 Core SP1 – Domain joined, updated. Denali RC0 ISO File attached to VM. Preparing Windows 2008 R2 Core for Installation Run the following Command File to pre prep the server. 123456789DISM /Online /Enable-Feature /FeatureName:ServerCore-WOW64 DISM /Online /Enable-Feature /FeatureName:NetFx2-ServerCore DISM /Online /Enable-Feature /FeatureName:NetFx2-ServerCore-WOW64 DISM /Online /Enable-Feature /FeatureName:NetFx3-ServerCore DISM /Online /Enable-Feature /FeatureName:NetFx3-ServerCore-WOW64 DISM [...]]]></description>
			<content:encoded><![CDATA[<p><img width="300" height="204" src="http://wellytonian.com/wp-content/uploads/2012/02/020412_2004_InstallingD4-300x204.jpg" class="attachment-medium wp-post-image" alt="020412_2004_InstallingD4.jpg" title="020412_2004_InstallingD4.jpg" /></p>
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwellytonian.com%252F2012%252F02%252Finstalling-sql-2012-on-windows-2008-r2-core-sp1%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Installing%20SQL%202012%20on%20Windows%202008%20R2%20Core%20SP1%22%20%7D);"></div>
<p><img src="http://wellytonian.com/wp-content/uploads/2012/02/020412_2004_InstallingD1.jpg" alt="" /></p>
<p><span style="text-decoration: underline;">Scenario:<br />
</span></p>
<p>Windows 2008 R2 Core SP1 – Domain joined, updated.</p>
<p>Denali RC0 ISO File attached to VM.</p>
<p><span style="text-decoration: underline;">Preparing Windows 2008 R2 Core for Installation<br />
</span></p>
<ol>
<li>Run the following Command File to pre prep the server.</li>
</ol>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">DISM /Online /Enable-Feature /FeatureName:ServerCore-WOW64<br />
DISM /Online /Enable-Feature /FeatureName:NetFx2-ServerCore<br />
DISM /Online /Enable-Feature /FeatureName:NetFx2-ServerCore-WOW64<br />
DISM /Online /Enable-Feature /FeatureName:NetFx3-ServerCore<br />
DISM /Online /Enable-Feature /FeatureName:NetFx3-ServerCore-WOW64<br />
DISM /Online /Enable-Feature /FeatureName:MicrosoftWindowsPowerShell<br />
Start /w ocsetup ServerCore-WOW64<br />
Start /w ocsetup NetFx2-ServerCore<br />
Start /w ocsetup NetFx2-ServerCore-WOW64</div></td></tr></tbody></table></div>
<ol>
<li>Download a special .net 4 package for Windows 2008 R2 Core from this location <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c2794455-274d-4363-ade6-e69008a24d8a&amp;displaylang=en">here</a>.</li>
<li>Run the .net 4 package and have it installed.</li>
<li>Run sconfig.cmd and choose option 6 to install any further updates.</li>
<li>Reboot the server</li>
</ol>
<p>After this process, the Windows 2008 R2 SP1 Core is ready to be installed with Denali.</p>
<p><span style="text-decoration: underline;"> Installing Denali<br />
</span></p>
<ol>
<li>Denali can only be installed on command line prompt at this stage. But as far as testing goes, with some special modifications you can modify the installation experience to involve the GUI mode as well.<span style="text-decoration: underline;"><br />
</span></li>
<li>The process described here involves , my favourite way of installing SQL, using a configuration file.<span style="text-decoration: underline;"><br />
</span></li>
</ol>
<p><span style="text-decoration: underline;">Configuration File<br />
</span></p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br />64<br />65<br />66<br />67<br />68<br />69<br />70<br />71<br />72<br />73<br />74<br />75<br />76<br />77<br />78<br />79<br />80<br />81<br />82<br />83<br />84<br />85<br />86<br />87<br />88<br />89<br />90<br />91<br />92<br />93<br />94<br />95<br />96<br />97<br />98<br />99<br />100<br />101<br />102<br />103<br />104<br />105<br />106<br />107<br />108<br />109<br />110<br />111<br />112<br />113<br />114<br />115<br />116<br />117<br />118<br />119<br />120<br />121<br />122<br />123<br />124<br />125<br />126<br />127<br />128<br />129<br />130<br />131<br />132<br />133<br />134<br />135<br />136<br />137<br />138<br />139<br />140<br />141<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">;SQL Server &quot;2012&quot; RC0 Configuration File<br />
[OPTIONS]<br />
<br />
; Specifies a Setup work flow, like INSTALL, UNINSTALL, or UPGRADE. This is a required parameter.<br />
<br />
ACTION=&quot;Install&quot;<br />
<br />
; Detailed help for command line argument ENU has not been defined yet.<br />
<br />
ENU=&quot;True&quot;<br />
<br />
; Parameter that controls the user interface behavior. Valid values are Normal for the full UI,AutoAdvance for a simplied UI, and EnableUIOnServerCore for bypassing Server Core setup GUI block.<br />
<br />
;UIMODE=&quot;Normal&quot;<br />
<br />
; Setup will not display any user interface.<br />
<br />
QUIET=&quot;False&quot;<br />
<br />
; Setup will display progress only, without any user interaction.<br />
<br />
QUIETSIMPLE=&quot;True&quot;<br />
<br />
; Specify whether SQL Server Setup should discover and include product updates. The valid values are True and False or 1 and 0. By default SQL Server Setup will include updates that are found.<br />
<br />
UpdateEnabled=&quot;True&quot;<br />
<br />
; Specifies features to install, uninstall, or upgrade. The list of top-level features include SQL, AS, RS, IS, MDS, and Tools. The SQL feature will install the Database Engine, Replication, Full-Text, and Data Quality Services (DQS) server. The Tools feature will install Management Tools, Books online components, SQL Server Data Tools, and other shared components.<br />
<br />
FEATURES=SQLENGINE,REPLICATION<br />
<br />
; Specify the location where SQL Server Setup will obtain product updates. The valid values are &quot;MU&quot; to search Microsoft Update, a valid folder path, a relative path such as .\MyUpdates or a UNC share. By default SQL Server Setup will search Microsoft Update or a Windows Update service through the Window Server Update Services.<br />
<br />
UpdateSource=&quot;MU&quot;<br />
<br />
; Displays the command line parameters usage<br />
<br />
HELP=&quot;False&quot;<br />
<br />
; Specifies that the detailed Setup log should be piped to the console.<br />
<br />
INDICATEPROGRESS=&quot;False&quot;<br />
<br />
; Specifies that Setup should install into WOW64. This command line argument is not supported on an IA64 or a 32-bit system.<br />
<br />
X86=&quot;False&quot;<br />
<br />
; Specify the root installation directory for shared components. This directory remains unchanged after shared components are already installed.<br />
<br />
INSTALLSHAREDDIR=&quot;C:\Program Files\Microsoft SQL Server&quot;<br />
<br />
; Specify the root installation directory for the WOW64 shared components. This directory remains unchanged after WOW64 shared components are already installed.<br />
<br />
INSTALLSHAREDWOWDIR=&quot;C:\Program Files (x86)\Microsoft SQL Server&quot;<br />
<br />
; Specify a default or named instance. MSSQLSERVER is the default instance for non-Express editions and SQLExpress for Express editions. This parameter is required when installing the SQL Server Database Engine (SQL), Analysis Services (AS), or Reporting Services (RS).<br />
<br />
INSTANCENAME=&quot;MSSQLSERVER&quot;<br />
<br />
; Specify the Instance ID for the SQL Server features you have specified. SQL Server directory structure, registry structure, and service names will incorporate the instance ID of the SQL Server instance.<br />
<br />
INSTANCEID=&quot;MSSQLSERVER&quot;<br />
<br />
; Specify that SQL Server feature usage data can be collected and sent to Microsoft. Specify 1 or True to enable and 0 or False to disable this feature.<br />
<br />
SQMREPORTING=&quot;True&quot;<br />
<br />
; Specify if errors can be reported to Microsoft to improve future SQL Server releases. Specify 1 or True to enable and 0 or False to disable this feature.<br />
<br />
ERRORREPORTING=&quot;False&quot;<br />
<br />
; Specify the installation directory.<br />
<br />
INSTANCEDIR=&quot;C:\Program Files\Microsoft SQL Server&quot;<br />
<br />
; Agent account name<br />
<br />
AGTSVCACCOUNT=&quot;DOMAIN_NAME\SQL_SERVICE_ACCOUNT&quot;<br />
AGTSVCPASSWORD=&quot;SERVICE_ACCOUNT_PASSWORD&quot;<br />
<br />
; Auto-start service after installation.<br />
<br />
AGTSVCSTARTUPTYPE=&quot;Automatic&quot;<br />
<br />
; CM brick TCP communication port<br />
<br />
COMMFABRICPORT=&quot;0&quot;<br />
<br />
; How matrix will use private networks<br />
<br />
COMMFABRICNETWORKLEVEL=&quot;0&quot;<br />
<br />
; How inter brick communication will be protected<br />
<br />
COMMFABRICENCRYPTION=&quot;0&quot;<br />
<br />
; TCP port used by the CM brick<br />
<br />
MATRIXCMBRICKCOMMPORT=&quot;0&quot;<br />
<br />
; Startup type for the SQL Server service.<br />
<br />
SQLSVCSTARTUPTYPE=&quot;Automatic&quot;<br />
<br />
; Level to enable FILESTREAM feature at (0, 1, 2 or 3).<br />
<br />
FILESTREAMLEVEL=&quot;0&quot;<br />
<br />
; Set to &quot;1&quot; to enable RANU for SQL Server Express.<br />
<br />
ENABLERANU=&quot;False&quot;<br />
<br />
; Specifies a Windows collation or an SQL collation to use for the Database Engine.<br />
<br />
SQLCOLLATION=&quot;Latin1_General_CI_AS&quot;<br />
<br />
; Account for SQL Server service: Domain\User or system account.<br />
<br />
SQLSVCACCOUNT=&quot;DOMAIN_NAME\SQL_SERVICE_ACCOUNT&quot;<br />
SQLSVCPASSWORD=&quot;SERVICE_ACCOUNT_PASSWORD&quot;<br />
<br />
; Windows account(s) to provision as SQL Server system administrators.<br />
<br />
SQLSYSADMINACCOUNTS=&quot;DOMAIN_NAME\SQL_ADMIN_ACCOUNT1&quot; &quot;DOMAIN_NAME\SQL_ADMIN_ACCOUNT2&quot;<br />
<br />
; Provision current user as a Database Engine system administrator for SQL Server 2012 RC0 Express.<br />
<br />
ADDCURRENTUSERASSQLADMIN=&quot;False&quot;<br />
<br />
; Specify 0 to disable or 1 to enable the TCP/IP protocol.<br />
<br />
TCPENABLED=&quot;1&quot;<br />
<br />
; Specify 0 to disable or 1 to enable the Named Pipes protocol.<br />
<br />
NPENABLED=&quot;0&quot;<br />
<br />
; Startup type for Browser Service.<br />
<br />
BROWSERSVCSTARTUPTYPE=&quot;Disabled&quot;<br />
IACCEPTSQLSERVERLICENSETERMS=&quot;TRUE&quot;</div></td></tr></tbody></table></div>
<p>Description for the configuration file</p>
<ol>
<li>Install mode to install a fresh install of Denali</li>
<li>Installs only the Database engine and the Replication Service for SQL</li>
<li>No Management Studio and Tools</li>
<li>Uses default location for Data, Log , TempDB, TempLog and Backup File Location</li>
<li>Domain_Name to be replaced with the domain name</li>
<li>SQL_SERVICE_ACCOUNT to be replaced with the SQL Service account that you would use to run the SQL Services for Database , SSRS etc</li>
<li>SERVICE_ACCOUNT_PASSWORD – password for all the service accounts</li>
<li>SQL_ADMIN__ACCOUNT1 and 2 is for the SQL Admin Account.</li>
</ol>
<p>Command Line file to kick start the Denali Installation using the above mentioned Config File</p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">D:\Setup.exe /CONFIGURATIONFILE=&quot;C:\Scripts\SQL\DenaliConfig.ini&quot; /INDICATEPROGRESS /SkipRules=NoReboot</div></td></tr></tbody></table></div>
<p>Description for the command line file</p>
<ol>
<li>D:\Setup.exe – location of your Denali ISO or Media</li>
<li>&#8220;C:\Scripts\SQL\DenaliConfig.ini&#8221; – location of this command line and config file on the Core SP1 server.</li>
<li>/SkipRules=NoReboot – Issue with Core installation involving Denali – need this parameter for it to work. Reboot the system after installation is completed <span style="font-family: Wingdings;">J</span></li>
</ol>
<p>To have a view of all the parameters and installations available using configuration file here over <a href="http://msdn.microsoft.com/en-us/library/dd239405%28v=sql.110%29.aspx">here</a>.</p>
<p><span style="text-decoration: underline;">Tips and Tricks I picked up during this process</span></p>
<ol>
<li>To get to making folders and copying files (.net 4 installer , scripts etc.) over to the server core , try browsing from another domain joined machine to the core machine using <a href="\\NAME_CORE_SERVER\C$">\\NAME_CORE_SERVER\C$</a></li>
<li>
<div>Spend some time on sconfig.cmd especially Configure Remote Management Features of server core</div>
<p><img src="http://wellytonian.com/wp-content/uploads/2012/02/020412_2004_InstallingD2.png" alt="" /></li>
<li>Use Remote Computer Management from &#8220;MMC&#8221; console of a domain joined machine to manage your server core.</li>
</ol>
<p><img src="http://wellytonian.com/wp-content/uploads/2012/02/020412_2004_InstallingD3.jpg" alt="" /><img src="http://wellytonian.com/wp-content/uploads/2012/02/020412_2004_InstallingD4.jpg" alt="" /></p>

]]></content:encoded>
			<wfw:commentRss>http://wellytonian.com/2012/02/installing-sql-2012-on-windows-2008-r2-core-sp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 – Troubleshooting Cmdlets not recognized Issue</title>
		<link>http://wellytonian.com/2011/03/sharepoint-2010-troubleshooting-cmdlets-not-recognized-issue/</link>
		<comments>http://wellytonian.com/2011/03/sharepoint-2010-troubleshooting-cmdlets-not-recognized-issue/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 03:09:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[cmdlet]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Get-SPExcelServiceApplication]]></category>
		<category><![CDATA[Get-SPVisioServiceApplication]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[New-SPExcelServiceApplication]]></category>
		<category><![CDATA[New-SPVisioServiceApplication]]></category>
		<category><![CDATA[not recognized]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[scripted]]></category>
		<category><![CDATA[Service Applications]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>

		<guid isPermaLink="false">http://wellytonian.com/?p=1808</guid>
		<description><![CDATA[<p><img width="300" height="150" src="http://wellytonian.com/wp-content/uploads/2011/03/031311_0308_SharePoint21-300x150.png" class="attachment-medium wp-post-image" alt="031311_0308_SharePoint21.png" title="031311_0308_SharePoint21.png" /></p>While automating a lot of my SharePoint builds I came across this issue across while provisioning a few service applications within SharePoint 2010. Usually the culprits were:- Access Service Application Word Automation Service Application Excel Service Application Visio Service Application. &#160; This morning, the usual suspects were back except Word Automation Service. After a few [...]]]></description>
			<content:encoded><![CDATA[<p><img width="300" height="150" src="http://wellytonian.com/wp-content/uploads/2011/03/031311_0308_SharePoint21-300x150.png" class="attachment-medium wp-post-image" alt="031311_0308_SharePoint21.png" title="031311_0308_SharePoint21.png" /></p>
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwellytonian.com%252F2011%252F03%252Fsharepoint-2010-troubleshooting-cmdlets-not-recognized-issue%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22SharePoint%202010%20%E2%80%93%20Troubleshooting%20Cmdlets%20not%20recognized%20Issue%22%20%7D);"></div>
<p>While automating a lot of my SharePoint builds I came across this issue across while provisioning a few service applications within SharePoint 2010. Usually the culprits were:-</p>
<p>Access Service Application</p>
<p>Word Automation Service Application</p>
<p>Excel Service Application</p>
<p>Visio Service Application.</p>
<p>&nbsp;</p>
<p>This morning, the usual suspects were back except Word Automation Service. After a few VM resets and restart of scripts, I found the culprit to be PowerShell loading up its cmdlets properly so that those executions happen properly.</p>
<p>The cmdlets that will usually fail are</p>
<p>Get-SPExcelServiceApplication</p>
<p>Get-SPVisioServiceApplication</p>
<p>New-SPVisioServiceApplication</p>
<p>New-SPExcelServiceApplication</p>
<p>New-SPAccessServiceApplication</p>
<p>&nbsp;</p>
<p>The error message will display as shown below</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2011/03/031311_0308_SharePoint211.png" alt="" /></p>
<p>&nbsp;</p>
<p>Resolution:</p>
<p>&nbsp;</p>
<p>Add these two lines to the beginning of your script ,</p>
<p>&nbsp;</p>
<p>So if you&#8217;ve previously loaded your cmdlets the following code should be sufficient (add this to your own function or whatever):</p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Remove-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue<br />
<br />
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue</div></td></tr></tbody></table></div>
<p><img src="http://wellytonian.com/wp-content/uploads/2011/03/031311_0308_SharePoint221.png" alt="" /></p>

]]></content:encoded>
			<wfw:commentRss>http://wellytonian.com/2011/03/sharepoint-2010-troubleshooting-cmdlets-not-recognized-issue/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Series Part 1 &#8211; Installation</title>
		<link>http://wellytonian.com/2010/12/sharepoint2010_installation/</link>
		<comments>http://wellytonian.com/2010/12/sharepoint2010_installation/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 20:47:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT Shop]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Scripted Install]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>

		<guid isPermaLink="false">http://wellytonian.com/?p=1346</guid>
		<description><![CDATA[A brief look at both GUI and Scripted methods of installing SharePoint 2010 covering Active Directory, SQL Server and Virtualization aspects.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwellytonian.com%252F2010%252F12%252Fsharepoint2010_installation%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FdNdqG1%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22SharePoint%202010%20Series%20Part%201%20-%20Installation%22%20%7D);"></div>
<p>This post tries to cover topics thats relevant for building a Proof of Cocept (POC) or Test Environment SharePoint 2010 servers. The first part covers the basic installation of an Application Server for SharePoint within a 2-Tier server Model.</p>
<p>For smaller SharePoint 2010 installation such as foundation server,please refer to the Foundation Server post found <a href="http://wellytonian.com/2009/11/installation-sharepoint-2010-foundation-server/">here</a> .</p>
<h2>Introduction</h2>
<p>The post tries to cover some of the basic requirements to be covered off before starting the installation and the gets into the installation process itself. The steps should be followed to be build a Proof of concept server (POC) or a development environment (DEV) before going production. Wherever possible, both GUI and Scripted options will be shown. To get a much deeper understanding, TECHNET should be used as your bible <span style="font-family: Wingdings;">J</span>.</p>
<p>Some of the basic components for a SharePoint 2010 that would be looked into via the post are :-</p>
<ol>
<li>SharePoint Server</li>
<li>SQL Database Server</li>
<li>Service Accounts (For running SharePoint)</li>
<li>Virtualization or Physical Servers</li>
</ol>
<p>Capacity planning, architecture of a SharePoint Farm is a completely different ball game and would be covered in another post.</p>
<p>Playground for this post involves the usual suspects:-</p>
<ol>
<li>Windows 2008 R2 Servers and Domain</li>
<li>SQL 2008 R2</li>
<li>SharePoint 2010</li>
<li>Esxi Server host.</li>
</ol>
<h2>Active Directory</h2>
<p>Creating service accounts helps avoid a lot of pitfalls during and after the installation of SharePoint. First and foremost , different service accounts for different parts of SharePoint ensures that troubleshooting would be much simpler , minimize the impact of an outage of a service account or part of SharePoint from the rest of the built and so forth.</p>
<p>I am currently rebuilding the network at home and thought it would be a good chance to completely rebuild the whole domain and start everything from scratch. So I have a brand new Windows 2008 R2 Domain Controller and have only started to populate the AD. For SQL server, a service account was created for use within the SQL server installation for all the services that run within it.</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint219.png" alt="" /></p>
<p>For SharePoint, I have initially created a SharePoint Setup Account and a SharePoint Farm Account. There will be requirement to create more service accounts but the post will cover them as it goes through the installation process. So in order to kick start the installation, the requirement is for these 2 accounts to be created within the AD. Depending on the different environments that would be built within your organization ( DEV,TEST, PPTE/ Pre Prod , PRD,DR) create different service accounts to reflect the different environments.</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint225.png" alt="" /></p>
<p><em>Note: The service accounts will need to have the following settings<br />
</em></p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint235.png" alt="" /><em><br />
</em></p>
<p>To start the installation process, the above mentioned steps would currently suffice.</p>
<h2>SQL Server</h2>
<p>There are a few steps to be completed on the SQL Server side of things, so as to prep the server for your SharePoint Installation. They are:</p>
<ol>
<li>Security Role permissions within SQL for the SharePoint service accounts</li>
<li>Database settings</li>
</ol>
<p>Security roles for SharePoint Setup and Farm Account will need to be completed before starting with the installation process. The Farm account doesn&#8217;t necessarily have to be manually provided any permission as the SharePoint installation process should complete the same.</p>
<p>Create a new login for SharePoint Setup account as shown below</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint245.png" alt="" /></p>
<p>And now provide the login with server roles as shown below</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint255.png" alt="" /></p>
<p>SharePoint Databases can be created in two ways. The installer can create the databases as the installation process goes through or you can also pre create your databases. The advantageous of pre creating databases is that the databases can be customized for their sizing, log file size and growth aspect and so forth. This helps a lot with the capacity planning that goes with SharePoint. Both methods are equally supported for the installation of SharePoint. Most scenarios where a pre created Database comes into effect are in situations when your database servers are looked after by a different team or organization for that matter. A list of databases can be provided with their sizing , naming conventions and other settings.</p>
<h2>SharePoint Installation</h2>
<p>Preparing the SharePoint Server with the pre requisite software is the first and foremost step that needs to be completed before starting the SharePoint Setup. If your SharePoint server has Internet connectivity, then the easiest way to install the pre requisite software would be to get to the Splash page of the SharePoint installer and choose the option to install the software. This will initiate the download of the hotfixes and setting up of the Application and Web Server roles on the SharePoint server.</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint263.png" alt="" /></p>
<p><em>Recommendation: Download all the individual Pre requisite software onto a common folder before and complete the installations and then run the pre requisites installer to setup the Application and Web Server roles on the server.<br />
</em></p>
<p>Once this has completed, the SharePoint 2010 binaries can be installed as followed</p>
<p>Choose <em>&#8220;Server Farm&#8221; </em>as the installation model for the installation.</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint273.png" alt="" /></p>
<p>On the file Location Tab on the next window choose to change the location of the Index Files to a different partition as this will grow tremendously. Default location is the System Drive and this should be changed strongly espacially for a production environment.</p>
<p>The Binaries can also be installed using PowerShell but the option to choose the location of the Index file cannot be placed at the same time the installation, but can be later changed. This is the only difference between doing a GUI installation of SharePoint 2010 Binaries compared to PowerShell installation.</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint283.png" alt="" /></p>
<p>Choose &#8220;Complete&#8221; as the server type to install all components.</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint293.png" alt="" /></p>
<p>This pretty much starts the installation process.</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2103.png" alt="" /></p>
<p>Untick the option to Run the config wizard now and instead <em>&#8220;RESTART the Server at this stage&#8221;</em></p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2114.png" alt="" /></p>
<h2><em>Scripted Install of SharePoint 2010 Binaries<br />
</em></h2>
<ol>
<li>Set PowerShell to enable the remote execution of scripts. Open PowerShell and paste the command displayed below and click &#8220;Y&#8221; to enable the execution of scripts.</li>
</ol>
<p><span style="color: #548dd4; font-family: Courier New; font-size: 8pt;"><em></p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Set-ExecutionPolicy Remotesigned</div></td></tr></tbody></table></div>
<p></em></span></p>
<ol>
<li>
<div>For the Script, I have created a folder within the System Drive as shown and will place all my scripts within this folder to be called by PowerShell or later by the SharePoint Management Shell. I have also downloaded and saved <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=C57556FF-8DF0-44FD-ABA6-3DF01B9F80CE">SPmodule (Download Link)</a> onto the same folder. Set all the values within the script accordingly.</div>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#SharePoint Binaries Installation<br />
#Importing PowerShell Module for SharePoint 2010<br />
Write-Host -ForegroundColor Blue &quot;Importing SharePoint PowerShell Binaries&quot;<br />
$env:PSModulePath = $env:PSModulePath + &quot;;C:\SP\Scripts\SPModule&quot;<br />
Import-Module SPModule.misc<br />
Import-Module SPModule.setup<br />
Write-Host -ForegroundColor Blue &quot;Modules have been imported&quot;<br />
Write-Host -ForegroundColor Blue &quot;**************************&quot;<br />
Write-Host -ForegroundColor Blue &quot;Installing SharePoint Binaries&quot;<br />
Install-SharePoint -SetupExePath &quot;D:\setup.exe&quot; -PIDKey &quot;XXXX-XXXX-XXXX-XXXX&quot;<br />
Write-Host -ForegroundColor Blue &quot;Finished Installing SharePoint Binaries&quot;<br />
Write-Host -ForegroundColor Blue &quot;**************************&quot;</div></td></tr></tbody></table></div>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2123.png" alt="" /></p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2133.png" alt="" /></p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2142.png" alt="" /></li>
</ol>
<h2>SharePoint Config Wizard and Central Admin Website Setup</h2>
<p>Once the server has rebooted from the last process, start the SharePoint Config Wizard from under the SharePoint folder on <em>&#8220;All Programs&#8221;. </em></p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2151.png" alt="" /></p>
<p>Choose the option to crate a new server farm.</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2161.png" alt="" /></p>
<p>Enter the details of the SQL server, the name for the Configuration Database for SharePoint along with the SharePoint Farm Account username and password. Use the Domain\username format.</p>
<p>The SharePoint farm account will be enabled the required Server Roles on the SQL server . This account is also known as the Database access account for SharePoint. At this point there is no option to use a proper naming convention for the Central Admin Website Content Database and will be pre created by the installer using a random name. Using scripted installation this can be avoided.</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2171.png" alt="" /></p>
<p>This will kick start the installation progress once the port for Central Admin and the type of Authentication (Choose NTML) has been completed and a summary page will be displayed.</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2181.png" alt="" /></p>
<h2>Scipted Method of Install</h2>
<p>From here on, the scripts will initially call a config file that contains all the variables that need to be passed within the scripts.</p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#SharePoint Configuration Wizard<br />
Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue<br />
. .\config.ps1<br />
Write-Host -ForegroundColor White &quot;*************************************************************&quot;<br />
Write-Host -ForegroundColor Blue &quot; - Preparing the Configuration Wizard for SharePoint Install&quot;<br />
New-SPConfigurationDatabase -DatabaseName $farmConfigDBName -DatabaseServer $databaseServerName -AdministrationContentDatabaseName $farmAdminContentDBName -Passphrase (ConvertTo-SecureString &quot;pass@word1&quot; -AsPlaintext -Force) -FarmCredentials (Get-Credential)<br />
Write-Host -ForegroundColor Blue &quot; - Finished Configuration Setup of SharePoint&quot;<br />
Write-Host -ForegroundColor White &quot;*************************************************************&quot;<br />
Sleep 10<br />
Write-Host -ForegroundColor Green &quot;*************************************************************&quot;<br />
Write-Host -ForegroundColor Blue &quot;Initializing SharePoint Central Administration Setup&quot;<br />
Install-SPHelpCollection -All<br />
Initialize-SPResourceSecurity<br />
Install-SPService<br />
Install-SPFeature –AllExistingFeatures<br />
New-SPCentralAdministration -Port $SSLPORT  -WindowsAuthProvider &quot;NTLM&quot;<br />
Install-SPApplicationContent<br />
New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name &quot;DisableLoopbackCheck&quot;  -value &quot;1&quot; -PropertyType dword<br />
Write-Host -ForegroundColor Blue &quot;Finished Setting Up Central Administration Website&quot;<br />
Write-Host -ForegroundColor Green &quot;*************************************************************&quot;</div></td></tr></tbody></table></div>
<p>The first script will be used to run the configuration Wizard to setup the Config Database and Admin Database</p>
<p>I will be using the script to create two databases called &#8220;SP_CONFIG_DB&#8221; and &#8220;SP_CONTENT_CA_DB&#8221; . The scripts can also connect to these databases if they are precreated within the SQL server. For the sake of the post, I will be precreating the databases and the using then same script to connect to them.</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2191.png" alt="" /><span style="font-size: 8pt;"><br />
</span></p>
<p>The databases have to be created using the Collation <em>&#8220;Latin1_General_CI_AS_KS_WS&#8221;<br />
</em></p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint220.png" alt="" /><span style="font-size: 8pt;"><br />
</span></p>
<p>The two precreated databases can be seen here</p>
<p><em>Note: If these databases have been created by another user account other than SharePoint Setup Account (Which would be the situation most of the time, since your DBA administrator would be making these databases for you) ensure that both the Setup and Farm accounts for SharePoint are added as new users for these two databases with DB_owner permissions associated.</em></p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2211.png" alt="" /><span style="font-size: 8pt;"><br />
</span></p>
<p>As mentioned before the config file contains the variables for the scripts to execute</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2221.png" alt="" /></p>
<p>Run the script from the PowerShell Window and it will ask you to enter the Farm account credentials</p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2231.png" alt="" /></p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2241.png" alt="" /></p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint2251.png" alt="" /></p>
<p>At this point the Central Admin Website can be opened using <em>http://Server_Name:Port_Number</em></p>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/12/121710_2047_SharePoint226.png" alt="" /></p>
<p>This completes the basic Installation of SharePoint Application Server.</p>

]]></content:encoded>
			<wfw:commentRss>http://wellytonian.com/2010/12/sharepoint2010_installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EricHarlan.com &#8211; SharePoint 2010 RTM Cannot connect to database master at SQL server</title>
		<link>http://wellytonian.com/2010/08/ericharlan-com-sharepoint-2010-rtm-cannot-connect-to-database-master-at-sql-server/</link>
		<comments>http://wellytonian.com/2010/08/ericharlan-com-sharepoint-2010-rtm-cannot-connect-to-database-master-at-sql-server/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 10:46:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT Shop]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SharePoint error]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[Windown Firewall]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>

		<guid isPermaLink="false">http://wellytonian.com/?p=1185</guid>
		<description><![CDATA[Getting this error while specifying the Configuration Database settings while Installing SharePoint 2010 Follow the steps from Eric&#8217;s post to fix it. EricHarlan.com &#8211; SharePoint 2010 RTM Cannot connect to database master at SQL server. UPDATE: Also found this Technet Blog Article]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwellytonian.com%252F2010%252F08%252Fericharlan-com-sharepoint-2010-rtm-cannot-connect-to-database-master-at-sql-server%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FaDcG19%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22EricHarlan.com%20-%20SharePoint%202010%20RTM%20Cannot%20connect%20to%20database%20master%20at%20SQL%20server%22%20%7D);"></div>
<p>Getting this error while specifying the Configuration Database settings while Installing SharePoint 2010</p>
<p><a href="http://wellytonian.com/wp-content/uploads/2010/08/sqlerror.png"><img class="aligncenter size-full wp-image-1187" title="sqlerror" src="http://wellytonian.com/wp-content/uploads/2010/08/sqlerror.png" alt="" width="381" height="146" /></a></p>
<p>Follow the steps from Eric&#8217;s post to fix it.</p>
<p><a href="http://www.ericharlan.com/Moss_SharePoint_2007_Blog/sharepoint-2010-rtm-cannot-connect-to-database-master-at-sql-server-a176.html">EricHarlan.com &#8211; SharePoint 2010 RTM Cannot connect to database master at SQL server</a>.</p>
<p>UPDATE: Also found this</p>
<p><a href="http://blogs.technet.com/b/tothesharepoint/archive/2011/01/12/troubleshooting-sharepoint-configuration-error-cannot-connect-to-database-master-at-server-name.aspx">Technet Blog Article</a></p>

]]></content:encoded>
			<wfw:commentRss>http://wellytonian.com/2010/08/ericharlan-com-sharepoint-2010-rtm-cannot-connect-to-database-master-at-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server 2008 R2 Unattended Installation</title>
		<link>http://wellytonian.com/2010/08/sql-server-2008-r2-unattended-installation/</link>
		<comments>http://wellytonian.com/2010/08/sql-server-2008-r2-unattended-installation/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 16:01:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT Shop]]></category>
		<category><![CDATA[Configuration File]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Scripted Install]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[SQL 2008 Express]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[unattended]]></category>

		<guid isPermaLink="false">http://wellytonian.com/?p=1177</guid>
		<description><![CDATA[Let&#8217;s accept a few things, SQL installation is usually looooooong and quite boringJ. And knowing the life in IT, we are always looking for an awesome quick and effective way to go about our work. Playground for this post:- Windows 2008 R2 DC Bare Windows 2008 R2 box that has just been domain connected. SQL [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwellytonian.com%252F2010%252F08%252Fsql-server-2008-r2-unattended-installation%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2F9vJmTx%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22SQL%20Server%202008%20R2%20Unattended%20Installation%22%20%7D);"></div>
<p>Let&#8217;s accept a few things, SQL installation is usually looooooong and quite boring<span style="font-family: Wingdings;">J</span>.</p>
<p>And knowing the life in IT, we are always looking for an awesome quick and effective way to go about our work.</p>
<h3><span style="font-weight: normal;">Playground for this post:-</span></h3>
<ol>
<li>Windows 2008 R2 DC</li>
<li>Bare Windows 2008 R2 box that has just been domain connected.</li>
<li>SQL server 2008 R2 installation media and license key.</li>
</ol>
<h3>Work to be completed on the Domain Controller</h3>
<ol>
<li>Connect the new Windows 2008 R2 box to the Domain and verify that a proper FQDN and static IP has been issued to the new server.</li>
<li>Within your AD create a SQL service account (an OU already exists if your DC is on Windows 2008 R2 called Managed Service Accounts) to run all the services on your SQL server. If the scenario demands, NT AUTHORITY\NetworkService can also be used for the services.</li>
</ol>
<h3>Work to be completed prior to SQL Server Installation</h3>
<p>I usually prefer working on scripts and installation media from a local workstation. So for this post, I have completed the following:-</p>
<ol>
<li>If you have an iso image of a SQL Server 2008 R2 use either 7zip, WinRAR or your favourite compression software to extract the iso file to a folder called SQL which will contain all the files within the iso.</li>
<li>Make a folder within the SQL folder called SQL_Scripts.</li>
<li>Once you have completely edited your scripts depending your AD account and other necessary changes to the scripts the whole SQL Folder can be copied on to the local C drive.</li>
</ol>
<p>Now the above mentioned steps could be quite time consuming and you might wonder why not just do a standard installation? Well following an unattended installation has the following benefits:-</p>
<ol>
<li>Any scripting, editing of media work needs to be in most circumstances only completed once.</li>
<li>Standardised method of installation.</li>
<li>Good for creating a VM template that can be reused. (Remember to create the VM template with just the folder containing all the media and scripts and before installing SQL. This way you won&#8217;t have to change the name of the server every time the template is used. Meaning installation of SQL can be completed once the VM has been issued a FQDN )</li>
<li>Less human error as the whole process is scripted and can be edited at any time.</li>
</ol>
<h3>SQL server installation script</h3>
<p>This is my first edition of the script so it is always a work in progress and I shall be looking out for suggestions and improvements. At this point I would like to thank the original author&#8217;s post that I found:-</p>
<p><a href="http://derek858.blogspot.com/2010/07/unattended-sql-2008-r2-scripts.html">Derek Seaman</a> and <a href="http://msdn.microsoft.com/en-us/library/ee210664.aspx">MSDN </a></p>
<p>Both of them use the same method of installation using a configuration or &#8220;ini&#8221; file to setup a customized SQL installation. You could either copy the &#8220;ini&#8221; from the above post or start creating one using the parameters found on the MSDN post but I found it a bit easier to do it the following way:-</p>
<ol style="margin-left: 38pt;">
<li>Log onto your SQL server box as an administrator.</li>
<li>Connect either the iso file to the VM or load the SQL server 2008 R2 DVD onto the server.</li>
<li>Start the installation as you would from the DVD drive and go till the end of the installation just before it finally shows you the summary tab before beginning actual software installation.</li>
<li>
<div>At this point browse to the following folder C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20100804_145901 (the last folder may be different) which will have a file called Configuration File as shown</div>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/08/080610_1600_SQLServer201.png" alt="" /></li>
<li>Copy the file out to a local location and cancel the installation.</li>
<li>Depending on all the selections that you made previously the configuration file would be completely updated with all the necessary details</li>
</ol>
<h3>Changes to the configuration file</h3>
<p>Following screenshots will show all the necessary changes that need to be made to script</p>
<ul>
<li>
<div><img src="http://wellytonian.com/wp-content/uploads/2010/08/080610_1600_SQLServer202.png" alt="" /></div>
</li>
<li><img src="http://wellytonian.com/wp-content/uploads/2010/08/080610_1600_SQLServer203.png" alt="" /></li>
</ul>
<ul>
<li>
<div><img src="http://wellytonian.com/wp-content/uploads/2010/08/080610_1600_SQLServer204.png" alt="" /></div>
</li>
<li>
<div><img src="http://wellytonian.com/wp-content/uploads/2010/08/080610_1600_SQLServer205.png" alt="" /></div>
</li>
</ul>
<p style="margin-left: 36pt;">
<ul>
<li>
<div><img src="http://wellytonian.com/wp-content/uploads/2010/08/080610_1600_SQLServer206.png" alt="" /></div>
</li>
<li>
<div>DO NOT forget to add this to the script so that the end user doesn&#8217;t have to click on accept the license agreement for complete unattended installation purposes</div>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/08/080610_1600_SQLServer207.png" alt="" /></li>
</ul>
<p>Now unlike other Microsoft Products I am still unable to find a location to put this configuration file along an installation media so that I could pretty much go click on setup.exe. So instead I used a command file to call setup.exe using the configuration file</p>
<h3>Command file to run setup.exe</h3>
<p><img src="http://wellytonian.com/wp-content/uploads/2010/08/080610_1600_SQLServer208.png" alt="" /></p>
<p>Basically this would need to be edited according to your environment. I usually have both the above scripts within the SQL media using a folder called SQL_Scripts and the command file edited to correct file location.</p>
<p>That&#8217;s it. You have a fully unattended ( erm you got to open command prompt as an administrator and run the command file ) installation of SQL server 2008 R2. Now this method will work with SQL 2008 Server famiy.</p>
<h3>Few screenshots from the installation progress</h3>
<p style="margin-left: 36pt;"><img src="http://wellytonian.com/wp-content/uploads/2010/08/080610_1600_SQLServer209.png" alt="" /></p>
<p style="margin-left: 36pt;">
<p style="margin-left: 36pt;">
<p style="margin-left: 36pt;"><img src="http://wellytonian.com/wp-content/uploads/2010/08/080610_1600_SQLServer2010.png" alt="" /></p>
<p style="margin-left: 36pt;">
<p><img src="http://wellytonian.com/wp-content/uploads/2010/08/080610_1600_SQLServer2011.png" alt="" /></p>
<ul>
<li>Wait for the script to finish and return a value &#8220;O&#8221; which shows that SQL server has been fully configured on the server.</li>
<li>Restart the server.</li>
</ul>
<p>Have fun!</p>

]]></content:encoded>
			<wfw:commentRss>http://wellytonian.com/2010/08/sql-server-2008-r2-unattended-installation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 16/31 queries in 0.119 seconds using disk: basic

Served from: wellytonian.com @ 2012-02-08 01:03:32 -->
