Using BSA to deploy MS SharePoint 2010 Standalone
This guide is intended for anyone interested in deployment of MS SharePoint 2010 in a developer environment.
The standalone installation of MS SharePoint 2010 includes MS SQL Server Express and can be installed on a server not joined to a AD Domain
As well as the deployment of MS SharePoint 2010, the guide also includes applying the service pack(s) and cumulative updates for the product.
Target Server Pre-Requisites
The following pre-requisites are required before following this guide:
- Virtual Machine running Windows Server 2008 R2 x64
- Converted to a VM Template if being used via CLM
- Installed and Licensed RSCD Agent
- Following Roles have been configured on the target server:
- Application Server, IIS Role
- Following Patches and Software have been installed on the target server:
- Microsoft .NET Framework version 3.5 SP1
- SQL Server 2008 Express with SP1
- Microsoft Sync Framework Runtime v1.0 (x64)
- Microsoft Filter Pack 2.0
- Microsoft Chart Controls for the Microsoft .NET Framework 3.5
- Windows PowerShell 2.0
- SQL Server 2008 Native Client
- Microsoft SQL Server 2008 Analysis Services ADOMD.NET
- ADO.NET Data Services Update for .NET Framework 3.5 SP1
- A hotfix for the .NET Framework 3.5 SP1 that provides a method to support token authentication without transport security or message encryption in WCF.
- Windows Identity Foundation (WIF)
All the above software and patches can be found with the associated hyperlinks at the end of this page.
BSA Setup and Configuration
This section details the application configuration for the deploying MS SharePoint 2010. The version we are deploying is the Standalone version which includes the built-in SQL Server 2008 Express edition and also can be installed on a non-domain joined server.
MS SharePoint 2010
Ensure that you have the correct media for SharePoint 2010. This document is based on the RTM version released on 31/03/2011.
There are 2 versions of this software, EXE and ISO. For this guide, the EXE was used as it has the capability to be extracted on the target server.
The following software should be uploaded to the BSA Depot:
|MS SharePoint 2010||"??SOURCE??" /extract:<directory> /q|
|MS SharePoint 2010 SP1||"??SOURCE??" /log:<directory>\SP_SP1_Install.log /quiet /norestart|
|MS SharePoint 2010 CU Dec 2011||"??SOURCE??" /log:<directory>\SP_CU_Dec2011_Install.log /quiet /norestart|
Silent Installation File
MS SharePoint 2010 can be silently installed for a number of tasks using predefined XML configuration files. The templates of these are actually included with the media and need to be configured.
For this deployment, we will use the Config.xml file as follows:
The PID key for MS SharePoint needs to be completed in the highlighted area above and then the file will need to be uploaded to the BSA Application Server.
Server Reboot Script
As the installation will require reboots at various points, a server reboot script which is available on the BMC Global Services wiki can be used to initiate the reboot and wait for the RSCD agent to respond before allowing additional jobs to run as part of a batch job.
Now all the files are available in the Depot, the BLPackage can be created as follows:
Change the location of the config.xml file to extract to the root directory where the SharePoint files will be extracted to.
For the external command, Install SharePoint 2010 in silent mode, use the following:
Set the ActionOnFailure to ignore as SharePoint sends a false-positive at the end of its installation that there has been a failure (Error -4001)
Now that the software and BLPackage has been created, you need to create the deploy jobs for each one. Additionally create an NSH Script Job for the server reboot script.
Next create a Batch Job and configure as in the image below:
The reason for the reboot at the start of the batch job was to ensure that there were no pending reboot flags in the registry.
Ensure that the execution options are set to Execute jobs sequentially.
SharePoint Pre-Requisite Files
The following lists the filenames, the file and link for the pre-requisites for MS SharePoint 2010 as found in Pre-Requisites section above.
|Microsoft .NET Framework version 3.5 SP1||Dotnetfx35.exe||http://go.microsoft.com/fwlink/p/?LinkId=131037|
|Microsoft Sync Framework Runtime v1.0 (x64)||Synchronization.msi||http://go.microsoft.com/fwlink/p/?LinkID=141237|
|Microsoft Filter Pack 2.0||FilterPackx64.exe||Already available on the SharePoint 2010 media under <root>\PrerequisiteInstallerFiles\FilterPack|
|Microsoft Chart Controls for the Microsoft .NET Framework 3.5 SP1||MSChart.exe||http://go.microsoft.com/fwlink/p/?LinkID=141512|
|SQL Server Native Client||Sqlncli.msi||http://go.microsoft.com/fwlink/p/?LinkId=166505|
|SQL Server 2008 R2 Reporting Services Add-In for Microsoft SharePoint Technologies 2010||rsSharePoint.msi||http://go.microsoft.com/fwlink/p/?LinkId=192588|
|Microsoft SQL Server 2008 Analysis Services ADOMD.NET||SQLSERVER2008_ASADOMMD10.msi||http://go.microsoft.com/fwlink/p/?linkid=160390|
|ADO.NET Data Services Update for .NET Framework 3.5 SP1||Windows6.1-KB982307-x64.msu||http://go.microsoft.com/fwlink/p/?LinkId=163524|
|Hotfix for the .NET Framework 3.5 SP1 that provides a method to support token authentication without transport security or message encryption in WCF||Windows6.1-KB976462-v2-x64.msy||http://go.microsoft.com/fwlink/p/?LinkID=166231|
|Windows Identity Foundation (WIF)||Windows6.1-KB974405-x64.msu||http://go.microsoft.com/fwlink/p/?LinkID=166363|
|Microsoft Server Speech Platform||SpeechPlatformRuntime.msi||http://go.microsoft.com/fwlink/p/?LinkID=179612|
|Speech Recognition language for English||MSSpeech_SR_en-US_TELE.msi||http://go.microsoft.com/fwlink/p/?LinkID=179613|
|KB979917 – QFE for SharePoint issues||Windows6.1-KB979917-x64.msu||http://go.microsoft.com/fwlink/p/?LinkId=192577|