Skip to main content

Step By Step Automated Unattended Scripted SharePoint 2010/2013 Installation using AutoSPInstaller

AutoSPInstaller is one of great project that facilitate Automated SharePoint installation. Though SharePoint is a great Product every body agrees it is not applying to SharePoint Product Configuration Wizard, Isn't it? 

Earlier I have difficulties when I'm working with AutoSPInstaller because of it’s XML file. But with the AutoSPInstallerGUI it is amazing..! 

I'm Going to illustrate How to install three tier SP Farm with Medium Security and automatically provisioned some necessary services using AutoSPInstaller.

My Deployment Layout

image

You cab refer minimum and recommended requirements in here http://technet.microsoft.com/en-us/library/cc262485.aspx 

For the medium security you need following service accounts created in AD

Setting Up AD ACCOUNTS (These accounts need to be created in Active Directory)

User Task Machine Rights SQL DB Rights Doman Rights
spadmin Use for set up and Configuration Local Admin All Servers (DB,WFE,APP) SQL DB Creator and Security Admin Rights

User

spfarm sp timer service , Central Admin Application Pool, Other Configurations    

User

spservices Service and Pool account user    

User

spsqlservice Run services in SQL Server
(MSSQLSERVER, SQLSERVERAGENT)
   

User

spsearch SP search service , crawlers , search related    

User

spprofile user profile synchronization account     Need Replicating Directory Changes

Note: Add Replicate Directory Changes to User

This is quite easy. First you need to go to run dsa.msc in Run Windows or open Active Directory Users and Computers.

image

Then Right click the domain and click delegate control.

image

Then click next and select spprofile user.

image

Then Click next and Select Custom Task Delagate and click next.

Then select This folder, Existing objects in this folder, and creation of new objects in this folder and click next.

In here select Replicating Directory Changes and Proceed to  finish the wizard.

image

Setting Up  DB Server (Login as spadmin)

I installed Windows Server 2012 in the DB server. After installing OS you need to install the SQL server. Following are the steps you need to perform additionally.

In the feature selection you can select Database Services and Management Tools – Basic , Management Tools – Complete , Other than these features you can select other related ones if needed.

Then You can add spadmin as a Admistrator for management.

And you should add  spsqlservice as service accounts running credentials for   MSSQLSERVER, SQLSERVERAGENT.

Then complete the installation and Enable TCP/IP , and start the SQL browser in SQL configuration management.

image

image

Getting Ready with AutoSPInstaller

Then Extract AutoSPInstaller to a suitable location (Assume C:\). Now you have following folder structure

image .

AutoSPInstaller can be run either in Offline mode or Online Mode. In Offline mode you need Prerequisites files.   First we will prepare SharePoint 2010 installation.

Prepare SharePoint 2010 Environment

  • Download SharePoint 2010 Prerequisites – There are available power shell scripts that will automatically download prerequisites. (link1 , link2)
  • When you are done put prerequisites files inside PrerequisitesInstallerFiles (SP->2010->SharePoint->PrerequisitesInstallerFiles)
  • Then Download PDF Filter and Download PDF Icon.
  • Then put PDF filter installation and PDF icon inside the PDF folder (SP->2010->SharePoint->PDF)( PDF filter download as a zip file. You need extract it and put it in the folder )

       image

  • Then Open your SharePoint 2010 installation (CD or folder) and copy it to SharePoint Folder. (SP->2010->SharePoint)

Prepare SharePoint 2013 Environment

  • Download SharePoint 2013 Prerequisites
  • When you are done put prerequisites files inside PrerequisitesInstallerFiles (SP->2013->SharePoint->PrerequisitesInstallerFiles)
  • Then Download PDF Filter and Download PDF Icon.
  • Then put PDF filter installation and PDF icon inside the PDF folder (SP->2013->SharePoint->PDF)( PDF filter download as a zip file. You need extract it and put it in the folder )

           image

  • Then Open your SharePoint 2013 installation (CD or folder) and copy it to SharePoint Folder. (SP->2013->SharePoint)

Initial Server (Login as spadmin) [ We added this user as a Local Admin ] Set Up

APP Server , WFE Server

  • OS : Windows Server 2012

If you are installing SharePoint 2013; You need to install .NET Framework 3.5 to the server.

Ref : http://www.danielclasson.com/install-net-framework-35-server-2012/

       http://en.community.dell.com/techcenter/os-applications/w/wiki/4146.installing-net-3-5-framework-on-microsoft-windows-server-2012.aspx

DB Server

  • OS : Windows Server 2012
  • SQL Server 2012

after setting up initial servers you need to configure you service accounts in the installation. For that extract the AutoSPInstallerGUI. Then open the AutoSPInstallerInput.XML (inside the AutoSPInstaller) using the AutoSPInstallerGUI.Exe

image

After opening the file we need to configure .

Here we already have prerequisites  thus you can select Offline Install. And You can select either 2010 or 2013.

image

Then go the second tab

  1. Specify the farm account
  2. We need to enter manage accounts and passwords here (spsearch , spprofile , spservices)
  3. Here we need to enter cache account since we do not have created account for it we can user spservices account. Or you can create a spcache domain account and add it in here (we normally do it for full security installation)
  4. You need to put DBserver Machine name here (Fully qualified name)
  5. This is central admin DB name you can put any readable name.
  6. This is config DB name. You can put any sensible name.
  7. Optionally you can configure Email and logs.

image

  1. Here we need to specify web applications we need. There are two web apps defined in default. Portal and Myhost. By selecting those from dropdown you can specify name , pool name , urls and port.
  2. Here you need to specify app pool account name (so we have spservices, so use it)
  3. Here you need to specify SharePoint admin user (spadmin)

image

Third tab has service applications configuration.  Most of services work with default configuration. We need to specially configure User Profile and Search service.

  1. Sync account is the account use for AD synchronization. Therefore add spprofile account.
  2. Here we need to specify Database names for profile,Sync and Social

image

  1. here select the Search Service account (spsearch)

image

  1. We need to specify the spsearch account here
  2. We need to select spsearch account here.

image

Now save the file. Now You are ready.

Installing Servers

You need to copy the entire folder structure to app, wfe. (SP Folder with all sub folders) then run the SPAutoInstallerLaunch

image

Note: AutoSpinstaller make all the server as WFE servers. If you need to make a server as a App server turn off SharePoint Foundation web service

Comments

Popular posts from this blog

How to Customize New Item Form to take parameters from Query String in the SharePoint 2010

In here I'm going to explain how to customize the SharePoint Item From to take parameters from Query String and set them as default values using SharePoint designer. Using this you can open a new Item From by providing parameters as query string. For an example you can customize one item Display form and taking query String Parameter from that and view New Item view for another list by providing default values using the Query String.     Steps Open the SharePoint designer and go to list and libraries and open the list that you want. Click the New and create a New Insert View by providing the name of the view.   Then created one will come to the list. then click and open the view. Then default New Item Screen will be loaded as follows. Then Delete the default list view and make that empty. You can delete the controls by selecting the area in the design view, If it fully cleared you can view the following message from the designer. Then go to SharePoint...

How to Link Two List and Create a combine view in the SharePoint 2010

In this way you can join multiple list together and can create a combine view. for an example assume that you are managing a list for some events. And also you are having a participants in separate list. Thus you want to join the two list and create a composite view. SharePoint 2010 allows you to create this kind of view using  Linked Data Source. in this approach you can create your own custom list in the SharePoint. How to Create a Linked Data source Go to SharePoint designer and  go to the link called data sources. And Click the Linked Data Source button in the ribbon. Then SharePoint designer will prompt following kind of a dialog. In there add two list, that you wan to linked together. I'm adding airline schedule and booking list. those are the two list that i wan to merge. then click next. And it will guide you another screen. it will ask you to select either Merge Merge use to combine list which are having same columns definition. for and example we can s...

Complete guide to Install SharePoint in a Three Server Farm using AutpSPInstaller

This article will be divided to three sections Setting up the Environment and Service Accounts Getting Ready with AutoSPInstaller Online Configuring the XML using Online Editor and Installation Setting up the Environment and Service Accounts AutoSPInstaller Online is one of a great project that facilitate Automated SharePoint installation including Sharepoint 2010, 2013 and 2016. Auto SP Installer provides a powerful way to deploy and configure a single-server development environment to multiple-server SharePoint farm. Reference: https://autospinstaller.com/ Before doing anything we will set up the environment for SharePoint three server Farm. Will name these servers as SPWFE - Share Point Front End Server SPAPP - Share Point App server SPDB - DB server Please find the reference for SharePoint minimum requirement and practices from https://docs.microsoft.com/en-us/SharePoint/install/install-sharepoint-server-2016-across-multiple-servers For the the medium segregation, we have to create...