First published on TECHNET on Nov 16, 2017
Hello All,
Based on feedback I’m providing some more information for my scripts. So first I’ve performed several edits to improve the way it works and correct some errors, as well I’ve now placed all the scripts into one package that you can find here .
These are the configuration I have tested (I will update this as I perform more testing):
NOTE: I plan to expand to SharePoint 2013 and SQL Always-on sometime in the future.
Here are the steps you should take to run my scripts
Build out the following servers with just the Operating System and Security Updates. As well add all servers to your domain.
NOTE: These scripts assume your servers have internet connectivity. If you don’t you will need to download and install DSC modules to DSC Server and download SharePoint prerequisites to a network share on your own then modify the appropriate settings in the DSCConfigData_SP2016.psd1 file.
You will need to install the SQL server and configure it as per this article
Create the following service accounts, they must be AD DS accounts. See this article for more information about SharePoint service accounts in SharePoint 2016.
Create the following folders to store DSC files and SharePoint/Windows executables C:\_DSCConfig, C:\_DSCShare (If you change the path please edit the Configdata.psd1 file your using)
Share out both folders providing ‘Everyone’ with Read permissions (All accounts in DSC need access)
In _DSCShare folder create a folder structure similar to this screen capture.
Then copy the SharePoint 2016 install files into that folder, it should be similar to this screen shot
NOTE: This script defaults to online install if doing offline install see this article for prerequisite files
In _DSCConfig folder create a script folder and copy all the script files into it
Insure network connectivity by pinging all nodes and SQL server from DSC servers using Netbios and FQDN.
On DSC Server and each SharePoint server perform the following steps:
Next you need to configure the ConfigData file with all necessary information for your environment, open the file DSCConfigData_SP2016.psd1 and setup the file with the correct values. For more information see this article to better understand the files DSCConfig_SimpleFarm.ps1 and DSCConfigData.psd1
From the DSC server open a PowerShell window using Run As Admin then run the command
.\Build_SharePoint_Farm.ps1 -ConfigDataFile DSCConfigData_SP2016.psd1 -ConfigFile DSCConfig_SimpleFarm.ps1
Sit back and watch your farm get built
NOTE: If you hit any errors you need to correct them
Just so you know, the script 'Build_SharePoint_Farm.ps1' will perform the following steps
Depending on many factors it could take several hours to build your farm.
Pax
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.