Posted by Scott on January 19, 2011
Governance is something that should be at the top of the list for any SharePoint implementation (no matter how small). The following are some checklists/whitepapers/etc. provided by Microsoft that can get you started.
This is of course only sampling of what’s available. Feel free to sound off in the comments with your go-to resources for SharePoint governance.
Posted by Scott on December 6, 2010
More fun SharePoint errors in the system log. If you’re seeing 10016/17 errors in the Event Log and want to resolve them, perform the steps outlined in KB920783.
Note that these errors are more of a nuisance than anything. The existence of these errors is expected and will not impact the functionality of your farm. That being said, less errors being generated is a “good thing” in my mind.
Posted by Scott on July 6, 2010
It seems I missed it when Microsoft published the SPModule PowerShell module to aid in a scripted installation of a SharePoint 2010 farm.
If anything, it can serve as a handy guide for how to script out individual actions pertaining to installation and farm maintenance.
Reference
Posted by Scott on May 17, 2010
SharePoint 2007 always required some level of scripting in it’s installation to allow for greater control of the installation process (i.e. creating database names without GUIDs). SharePoint 2010 is not any different in that scripting is still required to gain the finer control over installation. What has changed is that now PowerShell can be used in place of psconfig/stsadm. With that in mind, let’s begin.
- Install the SharePoint binaries on each server in your farm. Select “Complete” as the installation type. This will allow you to create a farm as opposed to a single server installation.After the install has completed, you will asked if you would like to complete the “SharePoint Products Configuration Wizard”. Do not run the wizard at this time.
- On the server which you wish to provision Central Administration:
- Open the ”SharePoint 2010 Management Shell” (right-click and select “Run as administrator”). The shell will load with a message that the local farm is not accessible. This is expected as we have only installed the binaries.
- Run the following command to create the initial configuration/content database for the farm.
New-SPConfigurationDatabase –DatabaseName “SharePoint2010_Config” –DatabaseServer “SharePoint2010SQL” –AdministrationContentDatabaseName “SharePoint2010_Content_Admin” –Passphrase (ConvertTo-SecureString “Pass@word1” –AsPlaintext –Force) –FarmCredentials (Get-Credential)
- After the initial creation of the farm, close and reload the “SharePoint 2010 Management Shell”. You should no longer receive any error messages.
- Install the help files.
Install-SPHelpCollection -All
- Secure the resources used by the server (files and registry).
Initialize-SPResourceSecurity
- Install and provision the farm services.
Install-SPService
- Install the features on the server.
Install-SPFeature –AllExistingFeatures
- Provision Central Administration.
New-SPCentralAdministration -Port 1234 -WindowsAuthProvider "NTLM"
- Install the application content.
Install-SPApplicationContent
- Optional: Disable the loopback check. If this is a development install, outright disabling the check should be fine. For production environments, the loopback check should be left in place and BackConnectionHostNames should be used in its place. See KB 896861.
New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword
- On each additional server that you wish to converge in the farm:
- Open the ”SharePoint 2010 Management Shell” (right-click and select “Run as administrator”). The shell will load with a message that the local farm is not accessible. This is expected as we have only installed the binaries.
- Connect the server to the farm with the following command:
Connect-SPConfigurationDatabase -DatabaseName "SharePoint2010_Config" -DatabaseServer "SharePoint2010SQL" -Passphrase (ConvertTo-SecureString "Pass@word1" -AsPlaintext -Force)
- Install the help files.
Install-SPHelpCollection -All
- Secure the resources used by the server (files and registry).
Initialize-SPResourceSecurity
- Install and provision the farm services.
Install-SPService
- Install the features on the server.
Install-SPFeature –AllExistingFeatures
- Install the application content.
Install-SPApplicationContent
- Optional: Disable the loopback check. If this is a development install, outright disabling the check should be fine. For production environments, the loopback check should be left in place and BackConnectionHostNames should be used in its place. See KB 896861.
New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword
Reference