Tallan's Technology Blog

Tallan's Top Technologists Share Their Thoughts on Today's Technology Challenges

Posts Tagged "SharePoint 2010 Administration"

Great Post on How SharePoint 2010 Load Balancing Works

Overview
In reviewing our client’s SharePoint 2010 / FAST farm topology, a lot of questions came up about how load balancing works in SharePoint 2010.  I came across blog post entitled: How I Learned To Stop Worrying and Love The SharePoint Topology Service by Josh Gavant.
It’s an excellent read and goes into some detail about how SharePoint 2010 Load Balancing works.  I recommend reading it.

Workaround For Enable-WSManCredSSP:This command cannot be executes because the setting cannot be enabled.

Overview
I came across an infuriating issue today after trying to re-enable WSManCredSSP after disabling it to get screenshots for my last blog post on setting up PSRemoting. (you’re welcome!)
When attempting to execute Enable-WSManCredSSP I got the following error:
Enable-WSManCredSSP : This command cannot be executed because the setting cannot be enabled. This can happen if no network connection is present.
At line:1 char:20
+ Enable-WSManCredSSP <<<<  -Role Client -DelegateComputer “leg-dev-shpt-01.legis.local”
+ CategoryInfo          : InvalidOperation: (System.String[]:String[]) [Enable-WSManCredSSP], InvalidOperationException
+ FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.EnableWSManCredSSPCommand
I double-checked my security policy and ensured that PSRemoting was enabled on the server, but I was still unable to get it to execute.  I even bounced the server and still had no luck, and running the PowerShell session in both Administrative and non-admin modes had no effect.
Workaround
I came across a windows server forum thread on Enabling and Using CredSSP that had the answer.  You…

Setting Up PSRemoting to Allow PowerShell Script Execution on SharePoint 2010 Server from FAST Search Server 2010

Overview
This post describes setting up PSRemoting to allow execution of PowerShell commands on your SharePoint 2010 Server instance from your FAST Search server instance.  These instructions should work however between any two machines on the same domain.
Setting Up PSRemoting
Enabling PSRemoting
First, PSRemoting needs to be enabled on both the FAST and SharePoint servers.  Launch a PowerShell session as Administrator on each machine, and run the following command:
Enable-PSRemoting
You will then be met with various prompts, asking you to approve execution of PowerShell commands to enable remoting.  Answer Y for each and hit Enter.

Enabling CredSSP Authentication on the Client (FAST)
The authentication type we will be using is called CredSSP.  This needs to be enabled as well on both the client and server machines.
On the FAST server (which will be our client), execute the following command:
Enable-WSManCredSSP –Role Client –DelegateComputer sharepointcomputer.mydomain.local
You will see the following…

Fixing “Cannot find type [Microsoft.SqlServer.Management.Smo.Server]” during FAST Search backup

Overview
While attempting to execute a FAST Server back-up following the directions on TechNet, we ran into the following error:
Cannot find type [Microsoft.SqlServer.Management.Smo.Server]: make sure the assembly containing this type is loaded.

This was an issue we hadn’t experienced in production, and were unsure how to resolve.
Solution
After searching around for a while, I found the following post on blogs.like10.com that describes the solution.
http://blogs.like10.com/2011/05/19/fast-search-server-backup-cannot-find-type-microsoft-sqlserver-management-smo-server/
Apparent FAST requires SQL management objects, CLR types, and additional PowerShell commands to successfully run the FAST Backup.ps1 file.
From the blog:
In our case we are using SQL Server 2008 R2 so the files we require are part of the Microsoft SQL Server 2008 R2 Feature Pack and we need to download the following components (install in order listed):

Microsoft System CLR Types for SQL Server 2008 R2
Microsoft SQL Server 2008 R2 Shared Management Objects
Microsoft Windows PowerShell Extensions for SQL Server 2008…

\\\