<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Roland Serman's Blog</title>
	<atom:link href="http://rolandserman.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rolandserman.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 14 Jan 2011 22:20:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rolandserman.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Roland Serman's Blog</title>
		<link>http://rolandserman.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rolandserman.wordpress.com/osd.xml" title="Roland Serman&#039;s Blog" />
	<atom:link rel='hub' href='http://rolandserman.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Using PowerShell to backup SharePoint 2010 Site Collections</title>
		<link>http://rolandserman.wordpress.com/2011/01/14/using-powershell-to-backup-sharepoint-2010-site-collections/</link>
		<comments>http://rolandserman.wordpress.com/2011/01/14/using-powershell-to-backup-sharepoint-2010-site-collections/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 22:20:00 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2010; PowerShell; Backup]]></category>

		<guid isPermaLink="false">https://rolandserman.wordpress.com/2011/01/14/using-powershell-to-backup-sharepoint-2010-site-collections/</guid>
		<description><![CDATA[Here is a handy script I use for backing up all of my SharePoint site collections. Many thanks to Todd Klindt for providing the bulk of it in a one liner.&#160; I had to make a few tweaks, most notably the “-limit all” and the .Replace for https://.&#160; Make sure to replace anything in &#60;&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=67&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a handy script I use for backing up all of my SharePoint site collections. Many thanks to <a href="http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?List=56f96349%2D3bb6%2D4087%2D94f4%2D7f95ff4ca81f&amp;ID=191&amp;Web=48e6fdd1%2D17db%2D4543%2Db2f9%2D6fc7185484fc">Todd Klindt</a> for providing the bulk of it in a one liner.&#160; I had to make a few tweaks, most notably the “-limit all” and the .Replace for https://.&#160; Make sure to replace anything in <font color="#0000ff">&lt;&gt;</font> with your own values.</p>
<p>Add-PsSnapin Microsoft.SharePoint.PowerShell</p>
<p>Get-SPWebApplication | Get-SPSite -limit all&#160; | foreach {    <br />&#160;&#160;&#160; $FilePath = <a href="//\\&lt;ServerName&gt;\&lt;ShareName&gt;\">\\&quot;&gt;\\&quot;&gt;\\<font color="#0000ff">&lt;ServerName&gt;</font>\<font color="#0000ff">&lt;ShareName&gt;</font>\</a>;     <br />&#160;&#160;&#160; $ext = $_.Url.Replace(&quot;<a href="http://&quot;">http://&quot;</a>, &quot;&quot;).Replace(&quot;<a href="https://&quot;">https://&quot;</a>, &quot;&quot;).Replace(&quot;/&quot;,&quot;-&quot;).Replace(&quot;:&quot;,&quot;-&quot;) +&quot;.bak&quot;;     <br />&#160;&#160;&#160; write-host $ext     <br />&#160;&#160;&#160; Backup-SPSite -Identity $_.Url -Path $FilePath$ext -Force     <br />}</p>
<p>Check out <a href="http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?List=56f96349%2D3bb6%2D4087%2D94f4%2D7f95ff4ca81f&amp;ID=191&amp;Web=48e6fdd1%2D17db%2D4543%2Db2f9%2D6fc7185484fc">Todd’s blog</a>, he has a lot of good info, including similar script to backup webs.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolandserman.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolandserman.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolandserman.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolandserman.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=67&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2011/01/14/using-powershell-to-backup-sharepoint-2010-site-collections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/594e007a21cb9e42545bc8c2625fca6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rolandserman</media:title>
		</media:content>
	</item>
		<item>
		<title>Profile Sync Timeouts</title>
		<link>http://rolandserman.wordpress.com/2011/01/13/profile-sync-timeouts/</link>
		<comments>http://rolandserman.wordpress.com/2011/01/13/profile-sync-timeouts/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 21:46:00 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Profile Sync]]></category>
		<category><![CDATA[timeouts]]></category>

		<guid isPermaLink="false">https://rolandserman.wordpress.com/2011/01/13/profile-sync-timeouts/</guid>
		<description><![CDATA[I recently had to open a ticket with Microsoft because of problems getting the Profile Sync service to successfully sync with Active Directory.&#160; In doing so, it was recommended that I modify a few of the timeouts associated with the service.&#160; For the most part, none of these should need to be tweaked unless you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=61&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently had to open a ticket with Microsoft because of problems getting the Profile Sync service to successfully sync with Active Directory.&#160; In doing so, it was recommended that I modify a few of the timeouts associated with the service.&#160; For the most part, none of these should need to be tweaked unless you have a large AD environment, and need to process large LDAP datasets.</p>
<p>We ended up modifying 3 different parameters:</p>
<ul>
<li>ImportConnAsyncTimeout</li>
<li>FIMWebClientTimeOut</li>
<li>LdapConnectionTimeout</li>
</ul>
<p>Don’t quote me on this, but this is my understanding of what each of the three values control:</p>
<p>ImportConnAsynctimeout: This timeout is when you click the Populate button on the editdsserver.aspx page, and SharePoint enumerates the domains/OU’s and then presents them on the page.&#160; the default time out value is 30 seconds.</p>
<p>FIMWebClientTimeOut: After selecting what you plan to sync, and clicking the OK button on the editdsserver.aspx page, SharePoint then goes into the FIM service and create/edits the management agent.&#160; The default timeout for this is ~16.6 minutes, due to large OU structures and the amount of data that is collected.</p>
<p>LdapConnectionTimeout: This is the timeout for the actual Directory Connection, the default for this is 30 seconds.</p>
<p>Below I’ve provided the powershell commands utilized to actually modify the parameters:</p>
<p>ImportConnAsyncTimeout:</p>
<p>$upaAppProxy = Get-SPServiceApplicationProxy | ? {$_.name -like &#8216;User Profile Service Proxy&#8217;} </p>
<p>$upaAppProxy.ImportConnAsyncTimeout = 60 //This value is in seconds </p>
<p>$upaAppProxy.Update()</p>
<p>FIMWebClientTimeOut:</p>
<p>$upaApp = Get-SPServiceApplication | ? {$_.name -like &#8216;User Profile Service&#8217;} </p>
<p>$upaApp. FIMWebClientTimeOut = 300000 //This value is in milliseconds </p>
<p>$upaApp.Update() </p>
<p>LdapConnectionTimeout:</p>
<p>$upaAppProxy = Get-SPServiceApplicationProxy | ? {$_.name -like &#8216;User Profile Service Proxy&#8217;} </p>
<p>$upaAppProxy.LdapConnectionTimeout = 60 //This value is in seconds </p>
<p>$upaAppProxy.Update() </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolandserman.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolandserman.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolandserman.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolandserman.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=61&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2011/01/13/profile-sync-timeouts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/594e007a21cb9e42545bc8c2625fca6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rolandserman</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint: Setup and Configure User Profile Services</title>
		<link>http://rolandserman.wordpress.com/2011/01/07/sharepoint-setup-and-configure-user-profile-services/</link>
		<comments>http://rolandserman.wordpress.com/2011/01/07/sharepoint-setup-and-configure-user-profile-services/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 02:18:00 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[User Profile Services]]></category>
		<category><![CDATA[User Profile Sync]]></category>

		<guid isPermaLink="false">https://rolandserman.wordpress.com/2011/01/07/sharepoint-setup-and-configure-user-profile-services/</guid>
		<description><![CDATA[&#160; Like many others, I’ve run into countless problems getting the profile sync service to function properly.&#160; This is a high level overview of what I’ve found that worked, and was repeatable. SQL Server Install SQL 2008 R2 on SQL Server Database Engine Services Full-Text Search Analysis Services Management Tools &#8211; Basic Management Tools &#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=59&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Like many others, I’ve run into countless problems getting the profile sync service to function properly.&#160; This is a high level overview of what I’ve found that worked, and was repeatable.</p>
<p>SQL Server</p>
<ul>
<li>Install SQL 2008 R2 on SQL Server
<ul>
<li>Database Engine Services
<ul>
<li>Full-Text Search</li>
</ul>
</li>
</ul>
<ul>
<li>Analysis Services</li>
</ul>
<ul>
<li>Management Tools &#8211; Basic
<ul>
<li>Management Tools &#8211; Complete</li>
</ul>
</li>
</ul>
<ul>
<li>SQL Client Connectivity SDK</li>
</ul>
</li>
</ul>
<ul>
<li>Set appropriate Permissions:
<ul>
<li>Log on as a service – SQL Service Accounts</li>
<li>Access this computer from the network &#8211; SQL Service Accounts</li>
<li>SQL Permissions for Setup User Account
<ul>
<li>Security Admin</li>
<li>Dbcreator</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>SharePoint Server</p>
<ul>
<li>Fully Patch Server (OS Only) via Windows Update</li>
<li>Set appropriate Permissions:
<ul>
<li>Access this computer from the network &#8211; Authenticated Users </li>
</ul>
<ul>
<li>Local Administrators Group &#8211; Setup User Account, and Farm Service Account</li>
</ul>
<ul>
<li>Log on as a service – SharePoint Farm Service Account</li>
</ul>
</li>
</ul>
<ul>
<li>Install SharePoint 2010 PreReq&#8217;s</li>
<li>Run the MoveIIS7Root script (<a href="http://www.thesanitypoint.com/archive/2010/06/29/sharepoint-2010-and-the-c-drive.aspx">http://www.thesanitypoint.com/archive/2010/06/29/sharepoint-2010-and-the-c-drive.aspx</a>)</li>
<li>Install KB976127 (ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 2008 R2)</li>
<li>Install KB976462 if applicable</li>
<li>Install SharePoint 2010</li>
<li>Run the &quot;SharePoint Products Configuration Wizard&quot; (while logged into the SharePoint server with the Setup User Account)
<ul>
<li>When Prompted for an account to connect to SQL with, this is the FARM service account, not the Setup User Account</li>
</ul>
</li>
</ul>
<ul>
<li>Create necessary SharePoint accounts (in SharePoint) will need the access this computer from the network local security policy
<ul>
<li>Application Pool Root</li>
<li>Application Pool MYSP</li>
<li>Content Access Account</li>
<li>Shared Services 1</li>
<li>Profile Sync</li>
</ul>
</li>
</ul>
<ul>
<li>Create the root Web Application sp2010.mydomain.com:10000 or whatever
<ul>
<li>Create the root site collection</li>
</ul>
<ul>
<li>Modify IIS binding to listen on specific IPv4 Address
<ul>
<li>1 &#8211; Hostheader &#8211; IP &#8211; randomport</li>
<li>2 &#8211; hostheader &#8211; IP &#8211; Port 443</li>
</ul>
</li>
</ul>
<ul>
<li>Modify Alternate Access Mapping
<ul>
<li>Default &#8211; Port 433</li>
</ul>
<ul>
<li>Custom &#8211; Random Port</li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li>Start the &#8216;User Profile Service&#8217;</li>
<li>Create MySite Host Web Application/root site collection (My Site Host)
<ul>
<li>Create a &#8216;Managed Path&#8217; named &#8216;Personal&#8217; on the MySite host Web Application</li>
<li>Create MySite Host as root site collection</li>
</ul>
<ul>
<li>Modify IIS binding to listen on specific IPv4 Address
<ul>
<li>1 &#8211; Hostheader &#8211; IP &#8211; randomport</li>
</ul>
<ul>
<li>2 &#8211; hostheader &#8211; IP &#8211; Port 443</li>
</ul>
</li>
</ul>
<ul>
<li>Modify Alternate Access Mapping
<ul>
<li>Default &#8211; Port 443</li>
<li>Custom &#8211; Random Port</li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li>Start &quot;Managed Metadata Service&quot; on one of the SharePoint Farm servers.</li>
<li>Create new Managed Metadata Service</li>
<li>Create User Profile Service Application
<ul>
<li>Use the Profile Sync account for the associated application pool</li>
</ul>
</li>
</ul>
<ul>
<li>Start &#8216;User Profile Synchronization Service&quot; from the Services on Server list
<ul>
<li>Monitor the Timer Job Status for &#8216;ProfileSynchronizationSetupJob&#8217; this is one of most likely steps that will <font color="#ffc000"><strong>FAIL</strong></font>, if it takes longer than 30-45 seconds to run the job, chances are it is working. Wait till this is complete before proceeding.
<ul>
<li>Once the timer job disappears verify that the &#8216;User Profile Synchronization Service&#8217; is now started.</li>
</ul>
</li>
</ul>
<ul>
<li>Once finished do an iisreset /noforce</li>
</ul>
</li>
</ul>
<ul>
<li>Create a new &#8216;Profile Synchronization Connection&#8217;
<ul>
<li>If you cannot access the &#8216;Manage Profile Service&#8217; applet, try rebooting, sometimes the FIM services don’t respond properly after starting the &#8216;User Profile Synchronization Service&#8217;.</li>
</ul>
<ul>
<li>Use the Profile Sync account when creating the profile synchronization connection</li>
</ul>
<ul>
<li>The Profile Sync account will require &#8216;Replicate Directory Changes&#8217; at the root of the domain.</li>
</ul>
</li>
</ul>
<p>Run a profile Sync to verify profile sync is working (can take several hours)</p>
<ul>
<li>To monitor the progress, and assist trouble shooting any sync issues at this point you can use the miisclient located at &lt;Install Directory&gt;\Microsoft Office Servers\14.0\Synchronization Service\UIShell\</li>
</ul>
<p>If everything is working at this point, you can proceed with building out the rest of the farm.</p>
<ul>
<li>Configure alternate access mappings/IIS 443 settings for Central Admin, the Root Web App, and the MYSP Web App.</li>
</ul>
<p>Step by Step Profile Sync info: </p>
<p><a href="http://technet.microsoft.com/en-us/library/ee721049.aspx">http://technet.microsoft.com/en-us/library/ee721049.aspx</a></p>
<p>The following blogs were extremely helpful in getting the Profile Sync service functional. I’d like to thank both Jie Li, and Francois Pienaar for posting.</p>
<p><a title="http://blogs.msdn.com/b/opal/archive/2009/11/19/user-profile-sync-setup-in-sharepoint-server-2010-beta.aspx" href="http://blogs.msdn.com/b/opal/archive/2009/11/19/user-profile-sync-setup-in-sharepoint-server-2010-beta.aspx">http://blogs.msdn.com/b/opal/archive/2009/11/19/user-profile-sync-setup-in-sharepoint-server-2010-beta.aspx</a></p>
<p><a title="http://technicallead.wordpress.com/2010/03/08/user-profile-sync-setup-in-sharepoint-2010-beta/" href="http://technicallead.wordpress.com/2010/03/08/user-profile-sync-setup-in-sharepoint-2010-beta/">http://technicallead.wordpress.com/2010/03/08/user-profile-sync-setup-in-sharepoint-2010-beta/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolandserman.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolandserman.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolandserman.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolandserman.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=59&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2011/01/07/sharepoint-setup-and-configure-user-profile-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/594e007a21cb9e42545bc8c2625fca6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rolandserman</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure Kerberos for SharePoint 2010</title>
		<link>http://rolandserman.wordpress.com/2011/01/07/configure-kerberos-for-sharepoint-2010/</link>
		<comments>http://rolandserman.wordpress.com/2011/01/07/configure-kerberos-for-sharepoint-2010/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 01:45:00 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Kerberos]]></category>

		<guid isPermaLink="false">https://rolandserman.wordpress.com/2011/01/07/configure-kerberos-for-sharepoint-2010/</guid>
		<description><![CDATA[&#160; Below I’ve outlined at a minimum what is required to setup Kerberos authentication for SharePoint 2010.&#160; Ensure you replace everything surrounded by &#60;&#62; with the appropriate variable. With any luck I didn’t miss anything. CORE Configure DNS for each Load Balanced Web Application Configure each Web Application to run under a unique Application Pool [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=57&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Below I’ve outlined at a minimum what is required to setup Kerberos authentication for SharePoint 2010.&#160; Ensure you replace everything surrounded by <font color="#ffc000">&lt;&gt;</font> with the appropriate variable. With any luck I didn’t miss anything.</p>
<p><strong>CORE</strong></p>
<ol>
<li>Configure DNS for each Load Balanced Web Application </li>
<li>Configure each Web Application to run under a unique Application Pool Identity. </li>
<li>Set the appropriate SPN&#8217;s on the service accounts as so:
<ol>
<li>SetSPN -S HTTP/<font color="#ffc000">&lt;NSN&gt;</font>:<font color="#ffc000">&lt;Port&gt;</font> <font color="#ffc000">&lt;Domain\FSA&gt;</font> </li>
<li>SetSPN -S HTTP/<font color="#ffc000">&lt;NSN&gt;</font>:<font color="#ffc000">&lt;Port&gt;</font> <font color="#ffc000">&lt;DOMAIN\FSA&gt;</font> </li>
<li>SetSPN -S HTTP/<font color="#ffc000">&lt;URL1NBN&gt;</font> <font color="#ffc000">&lt;DOMAIN\AppPl1A&gt;</font> </li>
<li>SetSPN -S HTTP/<font color="#ffc000">&lt;URL1&gt;</font> <font color="#ffc000">&lt;DOMAIN\AppPl1A&gt;</font> </li>
<li>SetSPN -S HTTP/<font color="#ffc000">&lt;URL1&gt;</font>:<font color="#ffc000">&lt;Port&gt;</font> <font color="#ffc000">&lt;DOMAIN\AppPl1A&gt;</font> </li>
<li>SetSPN -S HTTP/<font color="#ffc000">&lt;URL2NBN&gt;</font> <font color="#ffc000">&lt;DOMAIN\AppPl2A&gt;</font> </li>
<li>SetSPN -S HTTP/<font color="#ffc000">&lt;URL2&gt;</font> <font color="#ffc000">&lt;DOMAIN\AppPl2A&gt;</font> </li>
<li>SetSPN -S HTTP/<font color="#ffc000">&lt;URL2&gt;</font>:<font color="#ffc000">&lt;Port&gt;</font> <font color="#ffc000">&lt;DOMAIN\AppPl2A&gt;</font> </li>
</ol>
</li>
</ol>
<p><strong>SQL Server (DB)</strong></p>
<ol>
<li>SetSPN -S MSSQLSVC/<font color="#ffc000">&lt;SQLSrvNBN&gt;</font>:<font color="#ffc000">&lt;Port&gt;</font>&#160;<font color="#ffc000">&lt;DOMAIN\SQLSvc&gt;</font> </li>
<li>SetSPN -S MSSQLSVC/<font color="#ffc000">&lt;SQLSrv&gt;</font>:<font color="#ffc000">&lt;Port&gt;</font>&#160;<font color="#ffc000">&lt;DOMAIN\SQLSvc&gt;</font> </li>
</ol>
<p><strong>SQL Analysis Services</strong></p>
<ol>
<li>SetSPN -S MSOLAPSvc.3/<font color="#ffc000">&lt;SQLSrvNBN&gt;</font>&#160;<font color="#ffc000">&lt;DOMAIN\SQLASSvc&gt;</font> </li>
<li>SetSPN -S MSOLAPSvc.3/<font color="#ffc000">&lt;SQLSrv&gt;</font>&#160;<font color="#ffc000">&lt;DOMAIN\SQLASSvc&gt;</font> </li>
</ol>
<p><strong>SQL Reporting Services</strong></p>
<ol>
<li>SetSPN -S HTTP/<font color="#ffc000">&lt;SQLRptSrvNBN&gt;</font>&#160;<font color="#ffc000">&lt;DOMAIN\SQLRSSvc&gt;</font> </li>
<li>SetSPN -S HTTP/<font color="#ffc000">&lt;SQLRptSrv&gt;</font>&#160;<font color="#ffc000">&lt;DOMAIN\SQLRSSvc&gt;</font> </li>
</ol>
<p><strong>Trust for Delegation</strong></p>
<p>Configure Trust for Delegation for the service accounts and computer objects for all servers, and service accounts that you’ve set service principal names for.</p>
<p><strong>IIS Config <font color="#0000ff" size="1"><a href="http://blogs.msdn.com/b/saurabh_singh/archive/2008/12/25/service-principal-name-spn-checklist-for-kerberos-authentication-with-iis-7-0.aspx">(Borrowed from Saurabh Sing)</a></font></strong></p>
<p>In IIS 7/7.5 you have to also modify the applicationhost.config file (found at %systemroot%\system32\inetsrv\config\) to enable Kernel mode authentication, and to enable the application pool’s Identity, by adding the following: “useKernelMode=&quot;true&quot; useAppPoolCredentials=&quot;true&quot;” to the security portion of the applicationhost.config file as so:</p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="1" face="Calibri">&lt;system.webServer&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="1" face="Calibri">&#160;&#160; &lt;security&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="1" face="Calibri">&#160;&#160;&#160;&#160;&#160; &lt;authentication&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="1" face="Calibri">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span><font color="#ffc000">&lt;windowsAuthentication enabled=&quot;true&quot; useKernelMode=&quot;true&quot; useAppPoolCredentials=&quot;true&quot; /&gt;</font></span> </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="1" face="Calibri">&#160;&#160;&#160;&#160;&#160; &lt;/authentication&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="1" face="Calibri">&#160;&#160; &lt;/security&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="1" face="Calibri">&lt;/system.webServer&gt;</font></span></p>
<p><strong>Configure SRS to answer via SSL</strong></p>
<p>modify the rsreportserver.config with the following:</p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;Add Key=&quot;SecureConnectionLevel&quot; Value=&quot;2&quot;/&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;UrlRoot&gt;https://&lt;FQDNofReportServerCertificate&gt;/ReportServer&lt;/UrlRoot&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;ReportServerUrl&gt;https://&lt;FQDNofReportServer&gt;/ReportServer&lt;/ReportServerUrl&gt;</font></span></p>
<p><a href="http://blogs.msdn.com/b/mariae/archive/2007/12/12/ssl-configuration-and-reporting-services.aspx">http://blogs.msdn.com/b/mariae/archive/2007/12/12/ssl-configuration-and-reporting-services.aspx</a></p>
<p><strong>Configure SRS to use Kerberos</strong></p>
<p>Ensure the following exists in the rsreportserver.config file:</p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;Authentication&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;AuthenticationTypes&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;RSWindowsNegotiate /&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;RSWindowsKerberos /&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;RSWindowsNTLM /&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;/AuthenticationTypes&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;RSWindowsExtendedProtectionLevel&gt;Off&lt;/RSWindowsExtendedProtectionLevel&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;RSWindowsExtendedProtectionScenario&gt;Proxy&lt;/RSWindowsExtendedProtectionScenario&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;EnableAuthPersistence&gt;true&lt;/EnableAuthPersistence&gt; </font></span></p>
<p style="line-height:normal;margin:0;"><span lang="EN"><font color="#cccccc" size="2">&lt;/Authentication&gt;</font></span></p>
<p><a href="http://msdn.microsoft.com/en-us/library/cc281253.aspx">http://msdn.microsoft.com/en-us/library/cc281253.aspx</a></p>
<p><strong>SharePoint: Trusting non Public Certificate Authority</strong></p>
<p><font color="#cccccc">I had to do the following to get SharePoint to connect to SQL Reporting Services via SSL when using an untrusted Certificate Authority.&#160; Keep in mind, just because the server trusts the authority, SharePoint DOES NOT!</font></p>
<p>Add-PSSnapin Microsoft.SharePoint.PowerShell</p>
<p>$rootca = New-Object System.Security.Cryptography.x509Certificates.x509Certificate2(“d:\Admins\Certs\CACertClass3.cer”) </p>
<p>New-SPTrustedRootAuthority –Name “CACert Class 3 Root” –Certificate $rootca</p>
<p><a href="http://blogs.technet.com/b/blairb/archive/2010/08/18/using-ssl-with-sharepoint-2010-send-to-connections.aspx">http://blogs.technet.com/b/blairb/archive/2010/08/18/using-ssl-with-sharepoint-2010-send-to-connections.aspx</a></p>
<p><strong>Key</strong></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;NSN&gt;</font> = Netbios Server Name</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;Port&gt;</font> = TCP port used for the service</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;URL1NBN&gt;</font> NetBios name for the first Web Application</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;URL1&gt;</font> = FQDN for the first Web Application</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;URL2NBN&gt;</font> NetBios name for the second Web Application (such as My Sites)</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;URL2&gt;</font> = FQDN for the second Web Application (such as My Sites)</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;FSA&gt;</font> = Farm Service Account</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;AppPl1A&gt;</font> = Application Pool account for Web Application 1</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;AppPl2A&gt;</font> = Application Pool account for Web Application 2</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;SQLSvc&gt;</font> = SQL DB Engine Service Account</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;SQLASSvc&gt;</font> = SQL Analysis Service Account</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;SQLRSSvc&gt;</font> = SQL Reporting Service Account</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;SQLSrv&gt;</font> = SQL Server FQDN</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;SQLSrvNBN&gt;</font> = SQL Server Netbios Name</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;SQLRptSrv&gt;</font> = SQL Reporting Server FQDN</font></font></p>
<p style="line-height:13pt;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#cccccc" size="2"><font color="#ffc000">&lt;SQLRptSrvNBN&gt;</font> = SQL Reporting Server NetBIOS Name</font></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolandserman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolandserman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolandserman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolandserman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=57&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2011/01/07/configure-kerberos-for-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/594e007a21cb9e42545bc8c2625fca6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rolandserman</media:title>
		</media:content>
	</item>
		<item>
		<title>Host Header based Site Collections &amp; Database Sync Errors</title>
		<link>http://rolandserman.wordpress.com/2008/09/29/host-header-based-site-collections-database-sync-errors/</link>
		<comments>http://rolandserman.wordpress.com/2008/09/29/host-header-based-site-collections-database-sync-errors/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 14:06:05 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[-addcontentdb]]></category>
		<category><![CDATA[-hhurl]]></category>
		<category><![CDATA[-hostheadwebapplicationurl]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint. WSS 3.0]]></category>
		<category><![CDATA[STSADM]]></category>

		<guid isPermaLink="false">http://rolandserman.wordpress.com/2008/09/29/host-header-based-site-collections-database-sync-errors/</guid>
		<description><![CDATA[As we painfully discovered this month, if you&#8217;re getting DB sync errors, (Event ID 5555, 5553) you cannot detach, and reattach to resolve the sync problem. Basically what we discovered was with most stsadm commands there is an option -hostheaderwebapplicationurl, which does not exist for stsadm -addcontentdb. After opening a ticket with Microsoft, we did [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=49&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As we painfully discovered this month, if you&#8217;re getting DB sync errors, (Event ID 5555, 5553) you cannot detach, and reattach to resolve the sync problem.</p>
<p>Basically what we discovered was with most stsadm commands there is an option -hostheaderwebapplicationurl, which does not exist for stsadm -addcontentdb.</p>
<p>After opening a ticket with Microsoft, we did the following to resolve our database sync problems.</p>
<p>1. stsadm -o sync deleteolddatabases 1</p>
<p>2. Restarted the timer service on all servers in the farm.</p>
<p>So anyway, if you go the other route of:</p>
<p>stsadm -o preparetomove</p>
<p>stsadm-o deltecontentdb</p>
<p>stsadm -o addcontentdb</p>
<p>And you have host based site collections residing in their own database you will have no means of reattaching them.  I spent several hours in a support call with Microsoft in the middle of the night trying to get these reattached, and ultimately had to rebuild the affected sites, and restore from backup.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolandserman.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolandserman.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolandserman.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolandserman.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=49&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2008/09/29/host-header-based-site-collections-database-sync-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/594e007a21cb9e42545bc8c2625fca6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rolandserman</media:title>
		</media:content>
	</item>
		<item>
		<title>List Site Owners for All Site Collections</title>
		<link>http://rolandserman.wordpress.com/2008/08/27/list-site-owners-for-all-site-collections/</link>
		<comments>http://rolandserman.wordpress.com/2008/08/27/list-site-owners-for-all-site-collections/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 17:32:01 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[STSADM]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://rolandserman.wordpress.com/2008/08/27/list-site-owners-for-all-site-collections/</guid>
		<description><![CDATA[Here&#8217;s a Powershell script I&#8217;ve managed to piece together that will output all Site Collection Owners (Not Site Collection Administrators) into either a csv or xml file.  In our SharePoint deployment we&#8217;re more of a service provider, hosting multiple web applications each containing one to many site collections, and we were looking for an easy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=46&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a Powershell script I&#8217;ve managed to piece together that will output all Site Collection Owners (Not Site Collection Administrators) into either a csv or xml file.  In our SharePoint deployment we&#8217;re more of a service provider, hosting multiple web applications each containing one to many site collections, and we were looking for an easy way to determine who the site owners were for every site so that we could send notification prior to maintenance windows etc.  I&#8217;ve been working on this in my spare time over the past few weeks, feel free to leave any suggestions, I know it&#8217;s a bit convoluted.</p>
<p>#Generates a list of all site collections across all Web Applications,<br />
#and outputing them into an array</p>
<p>$sitepath = New-Object System.Collections.ArrayList<br />
$output=stsadm -o enumzoneurls<br />
$x=[xml]$output<br />
$x.ZoneUrls.Collection|<br />
foreach-object -process {$y=stsadm -o enumsites -url $_.Default;$sites=[xml]$y;$sites.Sites.Site}|<br />
foreach-object -Process {$sitepath=$sitepath + $_.Url}<br />
$sitepath | Write-Output</p>
<p>#Define Output file, and labels</p>
<p>$filename = AllSiteUsers.csv<br />
Write-Output &#8220;Site Collection,Title,Group,UserID,Email Address&#8221; | Out-File $filename -Append</p>
<p>#Loops through all site collections generating a list of Site Owners</p>
<p>[System.Reflection.Assembly]::LoadWithPartialName(”Microsoft.SharePoint”)<br />
foreach ($object in $sitepath) {<br />
$site=new-object Microsoft.SharePoint.SPSite($object)<br />
$web=$site.Rootweb<br />
$groups = $web.groups | ? {$_.Name -match &#8220;^.*Owners&#8221; }<br />
foreach($group in $groups)<br />
{<br />
foreach($user in $group.users)<br />
{<br />
Write-Output &#8220;$($object),$web,$($group.Name),$user,$($user.Email)&#8221; | Out-File $filename -Append<br />
$user<br />
}<br />
}}</p>
<p>#Converts the csv ouput to XML</p>
<p>Import-Csv AllSiteUsers.csv | Export-Clixml AllSiteUsers.xml</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rolandserman.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rolandserman.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolandserman.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolandserman.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolandserman.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolandserman.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=46&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2008/08/27/list-site-owners-for-all-site-collections/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/594e007a21cb9e42545bc8c2625fca6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rolandserman</media:title>
		</media:content>
	</item>
		<item>
		<title>How To Schedule a Windows Powershell Script</title>
		<link>http://rolandserman.wordpress.com/2008/08/26/how-to-schedule-a-windows-powershell-script/</link>
		<comments>http://rolandserman.wordpress.com/2008/08/26/how-to-schedule-a-windows-powershell-script/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 15:11:28 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://rolandserman.wordpress.com/2008/08/26/how-to-schedule-a-windows-powershell-script/</guid>
		<description><![CDATA[I take no credit for this, I found it at SearchMarked.com posted by hstagner. Basically all you need to do is create a batch file that calls your Powershell script and schedule the batch file.  Your batch file should contain something similar to the following: powershell -command "&#38; 'MyScript.ps1' "<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=38&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I take no credit for this, I found it at <a title="How to schedule a Windows Powershell script" href="http://www.searchmarked.com/windows/how-to-schedule-a-windows-powershell-script.php" target="_blank">SearchMarked.com posted by hstagner</a>.</p>
<p>Basically all you need to do is create a batch file that calls your Powershell script and schedule the batch file.  Your batch file should contain something similar to the following:</p>
<p><code>powershell -command "&amp; 'MyScript.ps1' "</code></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rolandserman.wordpress.com/38/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rolandserman.wordpress.com/38/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolandserman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolandserman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolandserman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolandserman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=38&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2008/08/26/how-to-schedule-a-windows-powershell-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/594e007a21cb9e42545bc8c2625fca6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rolandserman</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint Powershell Warm Up Script</title>
		<link>http://rolandserman.wordpress.com/2008/08/26/sharepoint-powershell-warm-up-script/</link>
		<comments>http://rolandserman.wordpress.com/2008/08/26/sharepoint-powershell-warm-up-script/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 15:09:55 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://rolandserman.wordpress.com/2008/08/26/sharepoint-powershell-warm-up-script/</guid>
		<description><![CDATA[I take no credit for this, I found it at Kirk Hofer&#8217;s blog, and thought I would share it as well. ###################################################################### #Assumptions: #-Running on machine with WSS/MOSS #-C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN in path ###################################################################### function get-webpage([string]$url,[System.Net.NetworkCredential]$cred=$null) { $wc = new-object net.webclient if($cred -eq $null) { $cred = [System.Net.CredentialCache]::DefaultCredentials; } $wc.credentials = $cred; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=37&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I take no credit for this, I found it at <a title="SharePoint Powershell Warm Up Script" href="http://kirkhofer.wordpress.com/2008/10/18/sharepoint-warm-up-script/" target="_blank">Kirk Hofer&#8217;s blog</a>, and thought I would share it as well.</p>
<p><code>######################################################################<br />
#Assumptions:<br />
#-Running  on machine with WSS/MOSS<br />
#-C:\Program Files\Common Files\Microsoft Shared\web  server extensions\12\BIN in  path<br />
######################################################################</code></p>
<p>function  get-webpage([string]$url,[System.Net.NetworkCredential]$cred=$null)<br />
{<br />
$wc = new-object net.webclient<br />
if($cred -eq $null)<br />
{<br />
$cred = [System.Net.CredentialCache]::DefaultCredentials;<br />
}<br />
$wc.credentials = $cred;<br />
return $wc.DownloadString($url);<br />
}</p>
<p>#This passes in the default credentials needed.  If you need specific stuff  you can use something else to<br />
#elevate basically the permissions.  Or run  this task as a user that has a Policy above all the Web Applications<br />
#with  the correct permissions<br />
$cred =  [System.Net.CredentialCache]::DefaultCredentials;<br />
#$cred = new-object  System.Net.NetworkCredential(&#8220;username&#8221;,&#8221;password&#8221;,&#8221;machinename&#8221;)</p>
<p>[xml]$x=stsadm -o enumzoneurls<br />
foreach ($zone in $x.ZoneUrls.Collection)  {<br />
[xml]$sites=stsadm -o enumsites -url $zone.Default;<br />
foreach  ($site in $sites.Sites.Site) {<br />
write-host $site.Url;<br />
$html=get-webpage -url $site.Url -cred $cred;<br />
}<br />
}</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rolandserman.wordpress.com/37/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rolandserman.wordpress.com/37/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolandserman.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolandserman.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolandserman.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolandserman.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=37&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2008/08/26/sharepoint-powershell-warm-up-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/594e007a21cb9e42545bc8c2625fca6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rolandserman</media:title>
		</media:content>
	</item>
		<item>
		<title>Host Header Site Collections over SSL</title>
		<link>http://rolandserman.wordpress.com/2008/08/26/host-header-site-collections-over-ssl/</link>
		<comments>http://rolandserman.wordpress.com/2008/08/26/host-header-site-collections-over-ssl/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 14:23:50 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Host Header]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[STSADM]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://rolandserman.wordpress.com/2008/08/26/host-header-site-collections-over-ssl/</guid>
		<description><![CDATA[We&#8217;ve been working condensing the number of web applications that we&#8217;re hosting, and have turned to Host Header based site collections.  Doing so over http is quite simple, but since we only host sites via SSL I ran into a few things that I couldn&#8217;t really find documented anywhere, and thought I&#8217;d share. The first [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=36&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been working condensing the number of web applications that we&#8217;re hosting, and have turned to Host Header based site collections.  Doing so over http is quite simple, but since we only host sites via SSL I ran into a few things that I couldn&#8217;t really find documented anywhere, and thought I&#8217;d share.</p>
<p>The first thing we discovered is that if you use a random port when creating your Web Application you will receive the following error every time you try to create a host header site collection:</p>
<p>&#8220;The port specified for the new host header site does not match any known bindings in the specified Web Application.  The new site will not be accessible if the Web Application is not extended to an IIS Web Site serving this port.&#8221;</p>
<p>This being said the host header site collection works, but if you try to restore content to it you receive the same error.  What I found was that if you create your web application as <a href="http://site.myurl.com:443">http://site.myurl.com:443</a> and then change the alternate access mapping setting the default to <a href="https://site.myurl.com">https://site.myurl.com</a> and intranet as <a href="http://site.myurl.com:443">http://site.myurl.com:443</a> you can create any number of host header based site collections error free.</p>
<p>Once your web application is created, creating the host header based site collection is quite simple, you just run the following:</p>
<p><strong>Create Site</strong></p>
<blockquote><p>stsadm -o createsite -url <a href="https://hosted1.myurl.com">https://hosted1.myurl.com</a> -ownerlogin DOMAIN\username -owneremail <a href="mailto:username@myurl.com">username@myurl.com</a> -sitetemplate STS#1 -hostheaderwebapplicationurl <a href="https://site.myurl.com">https://site.myurl.com</a></p></blockquote>
<p><strong>Create Site in New DB</strong></p>
<blockquote><p>stsadm -o createsiteinnewdb -url <a href="https://hosted1.myurl.com">https://hosted1.myurl.com</a> -ownerlogin DOMAIN\username -owneremail <a href="mailto:username@myurl.com">username@myurl.com</a> -sitetemplate STS#1 -hostheaderwebapplicationurl <a href="https://site.myurl.com">https://site.myurl.com</a> -databaseserver sqlsrv.mydomain.com -databasename WSS_Content-HHSite1</p></blockquote>
<p><em><span style="color:#ff0000;">Note: you can use either -hostheaderwebapplication or -hhurl for the switch, both work, but currently (with SP1 installed) if you do a stsadm -help createsite it comes back with -hostheaderwebapplicationurl as the switch.</span></em></p>
<p>Once the site collection has been created, you now need to setup the SSL host header.  This is rather simple as well, you just open a command prompt and navigate to C:\inetpub\adminscripts (or wherever you&#8217;ve placed your inetpub directory) and run the following command:</p>
<blockquote><p>adsutil.vbs set /w3svc/[identifier]/SecureBindings [IP address]:443:[host header name]</p></blockquote>
<p>So in example above of having the web app as site.myurl.com and the hosted site as being hosted1.myurl.com. you&#8217;d run the following:</p>
<blockquote><p>adsutil.vbs set /w3svc/123456789/SecureBindings 192.168.1.10:443:site.myurl.com 192.168.1.10:443:hosted1.myurl.com</p></blockquote>
<p><em><span style="color:#ff0000;">Note: You seperate each host header with a space.</span></em></p>
<p>You also need to ensure that you have a wildcard cert applied to IIS vserver that will cover all Host based site collections that you&#8217;re hosting on the associated web application.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rolandserman.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rolandserman.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolandserman.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolandserman.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolandserman.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolandserman.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=36&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2008/08/26/host-header-site-collections-over-ssl/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/594e007a21cb9e42545bc8c2625fca6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rolandserman</media:title>
		</media:content>
	</item>
		<item>
		<title>DR Backup/Restore of SharePoint Farm</title>
		<link>http://rolandserman.wordpress.com/2008/08/22/dr-backuprestore-of-sharepoint-farm/</link>
		<comments>http://rolandserman.wordpress.com/2008/08/22/dr-backuprestore-of-sharepoint-farm/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 19:51:44 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[-backup]]></category>
		<category><![CDATA[-restore]]></category>
		<category><![CDATA[DR]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[STSADM]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://rolandserman.wordpress.com/2008/08/22/dr-backuprestore-of-sharepoint-farm/</guid>
		<description><![CDATA[Farm Preparation Before you can successfully backup and restore via the catastrophic backup/restore method you must ensure that your Alternate Access Mapping for the Default is set to the http://url:randomport, as seen below. Note: This is required if you have multiple Web App&#8217;s utilizing SSL, but seems to work fine without doing this if you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=30&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Farm Preparation</strong></p>
<p>Before you can successfully backup and restore via the catastrophic backup/restore method you must ensure that your Alternate Access Mapping for the Default is set to the <a href="http://url:randomport">http://url:randomport</a>, as seen below.</p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image002.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image002-thumb.jpg?w=244&#038;h=194" border="0" alt="clip_image002" width="244" height="194" /></a></p>
<p><em><span style="color:#ff0000;">Note: This is required if you have multiple Web App&#8217;s utilizing SSL, but seems to work fine without doing this if you only have a single Web App.</span></em></p>
<p><strong>Backup the IIS Metabase</strong></p>
<p>Logon to the each of the WFE’s as the Farm Admin/Setup User account and run the following command to backup the IIS metabase:</p>
<p>iisback.vbs /backup /e &lt;PASSWORD&gt;</p>
<p><strong>Catastrophic Farm Backup</strong></p>
<p>Now we’re ready to perform the catastrophic farm backup. You can do this one of two ways, either via STSADM as so: stsadm.exe –o backup –directory &lt;UNC Path&gt; -backup full (example stsadm.exe –o backup –directory <a>\\ServerName\ShareName</a> -backupmethod full)</p>
<p>Or you can perform the backup via Central Admin’s Operations tab as shown below:</p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image004.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image004-thumb.jpg?w=244&#038;h=106" border="0" alt="clip_image004" width="244" height="106" /></a></p>
<p>Insure to check ‘Farm’ which should highlight and check everything, and then click ‘Continue to Backup Options’.</p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image006.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image006-thumb.jpg?w=244&#038;h=209" border="0" alt="clip_image006" width="244" height="209" /></a></p>
<p>Select ‘Full’, and then enter the UNC path of your backup location and click ‘OK’.</p>
<p><strong>Remove SharePoint Servers from the Farm</strong></p>
<p>Once the backup is completed, you are ready to remove all the servers from the farm, remove each server one at a time, removing the server that hosts Central Admin last via the ‘SharePoint Products and Technologies Configuration’ wizard.</p>
<p><strong>Create a New SharePoint Farm</strong></p>
<p>1. Starting with whatever server will host Central Admin, create a new farm using the ‘SharePoint Products and Technologies Configuration’ wizard. During the setup make sure you name the SharePoint Config database something different, because when you attempt to restore the entire farm, it will not allow you to overwrite and existing database. Also, choose the same port for Central Admin as you used previously for http access.</p>
<p>2. Add all remaining servers to the farm one at a time.</p>
<p>Now that all servers are in the farm, there are few steps you must complete prior to restoring the farm backup. The following services must be started on the appropriate servers, Excel Calculations Services, Office SharePoint Server Search, and Windows SharePoint Services Search.</p>
<p>1. Start Excel Calculations Services.</p>
<p>2. Start Office SharePoint Server Search, like so:</p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image008.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image008-thumb.jpg?w=136&#038;h=244" border="0" alt="clip_image008" width="136" height="244" /></a></p>
<p>3. Now you need to start the Windows SharePoint Services Search like so:</p>
<p><em>Note: You need to use a different name for the Search Database than what was used previously.</em></p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image010.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image010-thumb.jpg?w=132&#038;h=244" border="0" alt="clip_image010" width="132" height="244" /></a></p>
<p>4. You may now start any other services on which ever servers you would like, but it is not needed at this point. These three must be completed in order run the restore.</p>
<p><strong>Restore From Farm Backup</strong></p>
<p>You can either restore via stsadm with the following command:</p>
<p>stsadm.exe –o restore –directory &lt;UNC Path&gt; -restoremethod new</p>
<p>Ex: stsadm.exe –o restore –directory <a>\\ServerName\ShareName</a> -restoremethod new</p>
<p>Or if you’re restoring to a new database server/instance:</p>
<p>Stsadm –o restore –directory &lt;UNC Path&gt; -restoremethod new –newdatabaseserver &lt;servername&gt;</p>
<p>Ex: stsadm.exe –o restore –directory <a>\\ServerName\ShareName</a> -restoremethod new -newdatabaseserver mysqlserver.mydomain.com</p>
<p>You can also use Central Admin, which I highly recommend if you’re restoring to a new database server/instance, simply because you can verify every setting before continuing, as you’ll see below.</p>
<p>1. From the Operations tab of Central Admin, select ‘Restore from Backup’.</p>
<p>2. Enter the UNC path to the backup, and click ‘OK’.</p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image012.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image012-thumb.jpg?w=244&#038;h=79" border="0" alt="clip_image012" width="244" height="79" /></a></p>
<p>3. Select the backup that you’d like to use, and then click ‘Continue Restore Process’.</p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image014.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image014-thumb.jpg?w=244&#038;h=88" border="0" alt="clip_image014" width="244" height="88" /></a></p>
<p>4. Check ‘Farm’, which should check and highlight everything, and then click ‘Continue Restore Process’.</p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image016.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image016-thumb.jpg?w=244&#038;h=89" border="0" alt="clip_image016" width="244" height="89" /></a></p>
<p>5. From this screen, you define the Login name and passwords for all of the Application Pools, as well as Web App URL’s, Database Server, database name, and db directory. There are three sections to this screen.</p>
<p>a. The fist, make sure that ‘Farm’ is selected, and that ‘New Configuration’ is selected.</p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image018.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image018-thumb.jpg?w=244&#038;h=105" border="0" alt="clip_image018" width="244" height="105" /></a></p>
<p>b. The next section can be quite long depending on how many application pools you have. Here you need to verify the username and password for each application pool, like so.</p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image020.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image020-thumb.jpg?w=244&#038;h=124" border="0" alt="clip_image020" width="244" height="124" /></a></p>
<p>c. Finally, you need to verify all URL’s, database server names, database names, and database file locations, and make any necessary changes.</p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image022.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image022-thumb.jpg?w=160&#038;h=244" border="0" alt="clip_image022" width="160" height="244" /></a></p>
<p>6. Once you’re comfortable that all the information is correct click ‘OK’, and wait for the restore to complete.</p>
<p>Once the restore completes successfully there are a couple additional tasks you have to complete manually before your SharePoint farm will be ready for user access.</p>
<p>1. Set all of your Alternate Access Mappings. The restore only restores the Default mapping, so if you had any additional mappings you will have to manually add them like so:</p>
<p><a href="http://rolandserman.files.wordpress.com/2008/08/clip-image024.jpg"><img style="border-width:0;" src="http://rolandserman.files.wordpress.com/2008/08/clip-image024-thumb.jpg?w=244&#038;h=194" border="0" alt="clip_image024" width="244" height="194" /></a></p>
<p>2. Now you need to configure which IP address each IIS vserver will listen on, as well as add the necessary Cert if the site will use SSL.</p>
<p>3. Finally, for all sites that use SSL you will have to run the following command:</p>
<p>adsutil.vbs set /w3svc/[identifier]/SecureBindings &#8220;[IP Address]:443:[host header name]&#8220;</p>
<p>example: adsutil.vbs set /w3svc/1234567890/SecureBindings &#8220;192.168.1.10:443:wa1.mydomain.com&#8221;</p>
<p>At this point your farm should be completely functional.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rolandserman.wordpress.com/30/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rolandserman.wordpress.com/30/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolandserman.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolandserman.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolandserman.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolandserman.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&amp;blog=4587334&amp;post=30&amp;subd=rolandserman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2008/08/22/dr-backuprestore-of-sharepoint-farm/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/594e007a21cb9e42545bc8c2625fca6e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rolandserman</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image002-thumb.jpg" medium="image">
			<media:title type="html">clip_image002</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image004-thumb.jpg" medium="image">
			<media:title type="html">clip_image004</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image006-thumb.jpg" medium="image">
			<media:title type="html">clip_image006</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image008-thumb.jpg" medium="image">
			<media:title type="html">clip_image008</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image010-thumb.jpg" medium="image">
			<media:title type="html">clip_image010</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image012-thumb.jpg" medium="image">
			<media:title type="html">clip_image012</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image014-thumb.jpg" medium="image">
			<media:title type="html">clip_image014</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image016-thumb.jpg" medium="image">
			<media:title type="html">clip_image016</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image018-thumb.jpg" medium="image">
			<media:title type="html">clip_image018</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image020-thumb.jpg" medium="image">
			<media:title type="html">clip_image020</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image022-thumb.jpg" medium="image">
			<media:title type="html">clip_image022</media:title>
		</media:content>

		<media:content url="http://rolandserman.files.wordpress.com/2008/08/clip-image024-thumb.jpg" medium="image">
			<media:title type="html">clip_image024</media:title>
		</media:content>
	</item>
	</channel>
</rss>
