<?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: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>Thu, 30 Oct 2008 20:50:49 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='rolandserman.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/13241b3bd7da8ca0f045ec8d02394696?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Roland Serman's Blog</title>
		<link>http://rolandserman.wordpress.com</link>
	</image>
			<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 the following [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&blog=4587334&post=49&subd=rolandserman&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
  <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/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&blog=4587334&post=49&subd=rolandserman&ref=&feed=1" /></div>]]></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&blog=4587334&post=46&subd=rolandserman&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
<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/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&blog=4587334&post=46&subd=rolandserman&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2008/08/27/list-site-owners-for-all-site-collections/feed/</wfw:commentRss>
		<slash:comments>12</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&blog=4587334&post=38&subd=rolandserman&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
<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/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&blog=4587334&post=38&subd=rolandserman&ref=&feed=1" /></div>]]></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;
return $wc.DownloadString($url);
}
#This passes in the default credentials needed.  If you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&blog=4587334&post=37&subd=rolandserman&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
<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/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&blog=4587334&post=37&subd=rolandserman&ref=&feed=1" /></div>]]></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 thing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&blog=4587334&post=36&subd=rolandserman&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
<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/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&blog=4587334&post=36&subd=rolandserman&ref=&feed=1" /></div>]]></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 only have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&blog=4587334&post=30&subd=rolandserman&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
<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/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&blog=4587334&post=30&subd=rolandserman&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2008/08/22/dr-backuprestore-of-sharepoint-farm/feed/</wfw:commentRss>
		<slash:comments>5</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>
		<item>
		<title>STSADM Site Template&#8217;s</title>
		<link>http://rolandserman.wordpress.com/2008/08/22/stsadm-site-templates/</link>
		<comments>http://rolandserman.wordpress.com/2008/08/22/stsadm-site-templates/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 19:50:37 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<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/22/stsadm-site-templates/</guid>
		<description><![CDATA[I thought I&#8217;d blog this list since this seems to be quite difficult to find.
GLOBAL#0 = Global template
STS#0 = Team Site
STS#1 = Blank Site
STS#2 = Document Workspace
MPS#0 = Basic Meeting Workspace
MPS#1 = Blank Meeting Workspace
MPS#2 = Decision Meeting Workspace
MPS#3 = Social Meeting Workspace
MPS#4 = Multipage Meeting Workspace
CENTRALADMIN#0 = Central Admin Site
WIKI#0 = Wiki Site
BLOG#0 = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&blog=4587334&post=5&subd=rolandserman&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I thought I&#8217;d blog this list since this seems to be quite difficult to find.</p>
<p>GLOBAL#0 = Global template</p>
<p>STS#0 = Team Site</p>
<p>STS#1 = Blank Site</p>
<p>STS#2 = Document Workspace</p>
<p>MPS#0 = Basic Meeting Workspace</p>
<p>MPS#1 = Blank Meeting Workspace</p>
<p>MPS#2 = Decision Meeting Workspace</p>
<p>MPS#3 = Social Meeting Workspace</p>
<p>MPS#4 = Multipage Meeting Workspace</p>
<p>CENTRALADMIN#0 = Central Admin Site</p>
<p>WIKI#0 = Wiki Site</p>
<p>BLOG#0 = Blog</p>
<p>BDR#0 = Document Center</p>
<p>OFFILE#0 = Records Center</p>
<p>OFFILE#1 = Records Center</p>
<p>OSRV#0 = Shared Services Administration Site</p>
<p>SPS#0 = SharePoint Portal Server Site</p>
<p>SPSPERS#0 = SharePoint Portal Server Personal Space</p>
<p>SPSMSITE#0 = Personalization Site</p>
<p>SPSTOC#0 = Contents area Template</p>
<p>SPSTOPIC#0 = Topic area template</p>
<p>SPSNEWS#0 = News Site</p>
<p>CMSPUBLISHING#0 = Publishing Site</p>
<p>BLANKINTERNET#0 = Publishing Site</p>
<p>BLANKINTERNET#1 = Press Releases Site</p>
<p>BLANKINTERNET#2 = Publishing Site with Workflow</p>
<p>SPSNHOME#0 = News Site</p>
<p>SPSSITES#0 = Site Directory</p>
<p>SPSCOMMU#0 = Community area template</p>
<p>SPSREPORTCENTER#0 = Report Center</p>
<p>SPSPORTAL#0 = Collaboration Portal</p>
<p>SRCHCEN#0 = Search Center with Tabs</p>
<p>PROFILES#0 = Profiles</p>
<p>BLANKINTERNETCONTAINER#0 = Publishing Portal</p>
<p>SPSMSITEHOST#0 = My Site Host</p>
<p>SRCHCENTERLITE#0 = Search Center</p>
<p>SRCHCENTERLITE#1 = Search Center</p>
<p>SPSBWEB#0 = SharePoint Portal Server BucketWeb Template</p>
<div style="display:inline;margin:0;padding:0;"><a rel="tag" href="http://technorati.com/tags/STSADM"><br />
</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rolandserman.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rolandserman.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&blog=4587334&post=5&subd=rolandserman&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2008/08/22/stsadm-site-templates/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 Lessons Learned</title>
		<link>http://rolandserman.wordpress.com/2008/08/22/sharepoint-lessons-learned/</link>
		<comments>http://rolandserman.wordpress.com/2008/08/22/sharepoint-lessons-learned/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 19:49:03 +0000</pubDate>
		<dc:creator>rolandserman</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://rolandserman.wordpress.com/2008/08/22/sharepoint-lessons-learned/</guid>
		<description><![CDATA[This month I’d like to discuss a few things we’ve learned over the past year while trying to deploy MOSS 2007.
Our SharePoint deployment is more of an ASP model; each business unit that utilizes our SharePoint deployment wants their own unique URL. One of the things that we’ve discovered is when you create a Web [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&blog=4587334&post=4&subd=rolandserman&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This month I’d like to discuss a few things we’ve learned over the past year while trying to deploy MOSS 2007.</p>
<p>Our SharePoint deployment is more of an ASP model; each business unit that utilizes our SharePoint deployment wants their own unique URL. One of the things that we’ve discovered is when you create a Web App, (and create a new application pool for the web app) MOSS doesn’t give the application pool the appropriate permissions on the SharePoint Servers, which leads to a series of DCOM errors in the event log (Event ID 10016), to resolve this issue we’ve done the following.</p>
<ul>
<li>Add the application pool account to the local WSS_WPG group on each SharePoint server.</li>
<li>Also, you need to Add the WSS_WPG group to the &#8216;IIS WAMREG admin Service&#8217; in &#8216;Component Services&#8217; browse to &#8216;Computers/My Computer/DCOM Config&#8217; right click, go to properties, and click edit under &#8216;Launch and Activation Permissions&#8217; add the account, and give &#8216;Allow&#8217; to &#8216;Local Launch&#8217;, &#8216;Remote Launch&#8217;, &#8216;Local Activation&#8217;, and &#8216;Remote Activation&#8217;.</li>
<li>You can either follow this route, or explicitly add each individual application pool account to the IIS WAMREG admin Service.</li>
<li>Also, in our installation, we’ve removed anonymous access from the ‘Access this computer from the network’ in the local security policy, if you do the same, then you will either need to allow the WSS_WPG group, or the individual application pool accounts to this as well.</li>
</ul>
<p>Setting up Host Header for SSL, this is another one that took a bit of research. Ultimately what we found was that there is a vb script in the Inetpub/AdminScripts directory called adsutil.vbs which allows you to define the host header for the site. You simply run the following command:</p>
<ul>
<li>adsutil.vbs set /w3svc/[identifier]/SecureBindings &#8220;IP:443:[host header name]&#8220;</li>
</ul>
<p>So for example you’d run:</p>
<blockquote><p>Adsutil.vbs set /w3svc/123456789/SecureBindings “192.168.1.10:443:mysharepointsite.com”</p></blockquote>
<p>The [identifier] is the unique IIS Id of the virtual server.</p>
<p>We’ve also run into some crawling issues. Our WFE’s sit behind a hardware based load balancer (Cisco CSM). Currently our load balancer will not allow traffic to pass from behind it and then back in again. So basically when SharePoint tries to do a crawl, it does a DNS query for all of the SharePoint sites it needs to crawl. It then updates the HOSTS file with that information. So then when it attempts to do a crawl it tries to crawl via the Load Balanced IP address instead of the local address, which in turn our Load Balancer won’t allow. In order to work around the issue, we had to edit the HOSTS file on all of our SharePoint servers and add all of our URL’s with the actual local IP address instead, and then set it to read only otherwise every time SharePoint attempted to do a crawl it would overwrite our manual changes. Of course now we get hundreds of errors a day in the event log because SharePoint can’t edit the HOSTS file, go figure.</p>
<p>On a positive note, we’ve managed to resolve our SP1 issues, though not by actually fixing the problem. After 5 failed attempts based on Microsoft supports recommendations, we decided to completely rebuild the farm, and restore all the content manually. At the same time we migrated to 64bit hardware. We circumvented the SP1 issues by slipstreaming SP1 into our WSS/MOSS and Project 2007 installs.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rolandserman.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rolandserman.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolandserman.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolandserman.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolandserman.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolandserman.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolandserman.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolandserman.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolandserman.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolandserman.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolandserman.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolandserman.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolandserman.wordpress.com&blog=4587334&post=4&subd=rolandserman&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rolandserman.wordpress.com/2008/08/22/sharepoint-lessons-learned/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>
	</channel>
</rss>