<?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/"
	>

<channel>
	<title>CleverWorkarounds &#187; Performance</title>
	<atom:link href="http://www.cleverworkarounds.com/category/sharepoint/performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cleverworkarounds.com</link>
	<description>After much frustration, it seems DEFAULT is the way to go...</description>
	<lastBuildDate>Thu, 02 Feb 2012 09:39:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>An opportunity to learn about aligning SharePoint to business goals in Vancouver</title>
		<link>http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/</link>
		<comments>http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 07:11:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Assurance]]></category>
		<category><![CDATA[Business Analysis]]></category>
		<category><![CDATA[Business Process Management]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[Estimating]]></category>
		<category><![CDATA[Facilitation]]></category>
		<category><![CDATA[Finance]]></category>
		<category><![CDATA[Governance]]></category>
		<category><![CDATA[HPM]]></category>
		<category><![CDATA[Human Process Management]]></category>
		<category><![CDATA[IBIS]]></category>
		<category><![CDATA[Information Architecture]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[IRR]]></category>
		<category><![CDATA[Issue Mapping]]></category>
		<category><![CDATA[Knowledge management]]></category>
		<category><![CDATA[Managed Metadata]]></category>
		<category><![CDATA[Non Linear Process]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[Process Improvement]]></category>
		<category><![CDATA[Project Management]]></category>
		<category><![CDATA[Risk]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Seven Sigma]]></category>
		<category><![CDATA[shared understanding]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Speaking presentation]]></category>
		<category><![CDATA[SQL Reporting services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Strategy]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[user engagement]]></category>
		<category><![CDATA[Wicked Problems]]></category>
		<category><![CDATA[Workshop]]></category>

		<guid isPermaLink="false">http://www.cleverworkarounds.com/?p=3197</guid>
		<description><![CDATA[Hi all Just a quick note to mention that I’m off travelling again, this time swapping 39 degree Celsius summer weather of Perth for somewhere between –6 to 5 degrees of Canada. I’ll be spending a week in Canada running two classes – one public and one private. The first class is a public SharePoint [...]<p class="tags">No Tags</p>]]></description>
			<content:encoded><![CDATA[<p>Hi all</p>
<p>Just a quick note to mention that I’m off travelling again, this time swapping 39 degree Celsius summer weather of Perth for somewhere between –6 to 5 degrees of Canada. I’ll be spending a week in Canada running two classes – one public and one private. The first class is a public <a href="www.spgovia.com">SharePoint Governance and Information Architecture</a> class running in Vancouver. MVP Michal Pisarek of <a href="http://www.sharepointanalysthq.com/">SharePointAnalystHQ</a> fame will be there and it should be a terrific two days of learning how to think a little differently to govern SharePoint strategy and deployment. You will learn a bunch of new skills, techniques and perspectives. Best of all, the skills learnt are applicable for many other types of complex projects.</p>
<p>The class flyer is here: <a title="http://www.sevensigma.com.au/wp-content/uploads/downloads/2011/02/SPIA.pdf" href="http://www.sevensigma.com.au/wp-content/uploads/downloads/2011/02/SPIA.pdf">http://www.sevensigma.com.au/wp-content/uploads/downloads/2011/02/SPIA.pdf</a></p>
<p>The registration site is here: <a href="http://spiavancouver.eventbrite.com/">http://spiavancouver.eventbrite.com/</a></p>
<p>In terms of course coverage and content it is worth noting the <a href="http://www.shareconference.com/au/hottopics">research performed</a> by the <a href="http://www.theeventfulgroup.com/">Eventful group</a> (who run the <a href="http://www.shareconference.com/au">Share conferences</a>). According to them, the hot topic areas for SharePoint are governance, user adoption, change management, information architecture and user empowerment. These sort of topics are the sort where plenty of people tell you what the issues are, but are typically lighter on what to do about them. This class covers why this is, as well as dealing with all of these areas and presents detailed strategies, tools and methods to address them. Furthermore, aside from the 500+ page manual of meaty governance goodness, as a take home, we supply a CD for attendees with a sample performance framework, governance plan, SharePoint ROI calculator and sample mind maps of Information Architecture. </p>
<p>At last count there were 5 places left for the Vancouver class, so if you have been pondering if it is a worthwhile class, check out some of the feedback from the <a href="www.spgovia.com">class web site</a>. Also, if you know anybody who might be interested in attending, please pass the <a href="http://www.sevensigma.com.au/wp-content/uploads/downloads/2011/02/SPIA.pdf">course flyer</a> and registration site details to them. We always end up with people who tell us “Ah – if only I knew about the class!!”</p>
<p>Thanks for reading</p>
<p>Paul Culmsee</p>
<p><a href="http://www.sevensigma.com.au">www.sevensigma.com.au</a></p>
<p><a href="http://www.hereticsguidebooks.com">www.hereticsguidebooks.com</a></p>
<div id="spreadx">&nbsp;<a href="http://digg.com/submit?phase=2&url=http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/digg.gif" alt="Digg" border="0" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/share.php?u=http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/facebook.gif" alt="Facebook" border="0" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/&title=An+opportunity+to+learn+about+aligning+SharePoint+to+business+goals+in+Vancouver" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/stumble.gif" alt="StumbleUpon" border="0" /></a>&nbsp;&nbsp;<a href="http://technorati.com/faves?add=http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/technorati.gif" alt="Technorati" border="0" /></a>&nbsp;&nbsp;<a href="http://del.icio.us/post?url=http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/&title=An+opportunity+to+learn+about+aligning+SharePoint+to+business+goals+in+Vancouver" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/delicious.gif" alt="Deli.cio.us" border="0" /></a>&nbsp;&nbsp;<a href="http://slashdot.org/submit.pl?url=http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/slashdot.gif" alt="Slashdot" border="0" /></a>&nbsp;&nbsp;<a href="http://www.twitter.com/home?status=http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/twitter.gif" alt="Twitter" border="0" /></a>&nbsp;&nbsp;<a href="http://www.sphinn.com/submit.php?url=http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/sphinn.gif" alt="Sphinn" border="0" /></a>&nbsp;&nbsp;<a href="http://www.mixx.com/submit?page_url=http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/mixx.gif" alt="Mixx" border="0" /></a>&nbsp;&nbsp;<a href="http://www.google.com/bookmarks/mark?op=edit&bkmk=http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/&title=An+opportunity+to+learn+about+aligning+SharePoint+to+business+goals+in+Vancouver" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/google.gif" alt="Google" border="0" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?url=http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/&title=An+opportunity+to+learn+about+aligning+SharePoint+to+business+goals+in+Vancouver" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/dzone.gif" alt="DZone" border="0" /></a>&nbsp;</div><p class="tags">No Tags</p>]]></content:encoded>
			<wfw:commentRss>http://www.cleverworkarounds.com/2012/01/23/an-opportunity-to-learn-about-aligning-sharepoint-to-business-goals-in-vancouver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The cloud is not the problem-Part 4: Industry shakeout and playing with the big kids&#8230;</title>
		<link>http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/</link>
		<comments>http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 14:31:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Cloud compouting]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Globalisation]]></category>
		<category><![CDATA[Governance]]></category>
		<category><![CDATA[IAAS]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[IPSEC]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Office365]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[Risk]]></category>
		<category><![CDATA[SaaS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Strategy]]></category>
		<category><![CDATA[VPC]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://www.cleverworkarounds.com/?p=2837</guid>
		<description><![CDATA[Hi all Welcome to the fourth post about the adaptive change that cloud computing is going to have on practitioners, paradigms and organisations. The previous two posts took a look at some of the dodgier side of two of the industries biggest players, Microsoft and Amazon. While I have highlighted some dumb issues with both, [...]<p class="tags">No Tags</p>]]></description>
			<content:encoded><![CDATA[<p>Hi all</p>
<p>Welcome to the fourth post about the adaptive change that cloud computing is going to have on practitioners, paradigms and organisations. The previous two posts took a look at some of the dodgier side of two of the industries biggest players, <a href="http://www.cleverworkarounds.com/2011/12/19/the-cloud-isnt-the-problempart-2-when-complex-technology-meets-process/">Microsoft</a> and <a href="http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/">Amazon</a>. While I have highlighted some dumb issues with both, I nevertheless have to acknowledge their resourcing, scalability, and ability to execute. On that point of ability to execute, in this post we are going to expand a little towards the cloud industry more broadly and the inevitable consolidation that is, and will continue to take place.</p>
<p>Now to set the scene, a lot of people know that in the early twentieth century, there were a lot of US car manufacturers. I wonder if you can take a guess at the number of defunct car manufacturers there have been before and after that time. </p>
<p>…Fifty? </p>
<p>…One Hundred? </p>
<p>Not even close… </p>
<p>What if I told you that there were <a href="http://en.wikipedia.org/wiki/List_of_defunct_United_States_automobile_manufacturers">over 1700</a>! </p>
<p>Here is another interesting stat. The table below shows the years where manufacturers went bankrupt or ceased operations. Below that I have put the average shelf life of each company for that decade.</p>
<table style="border-collapse: collapse" border="1" cellspacing="0" cellpadding="0" width="1001">
<colgroup>
<col style="width: 48pt" width="64" /></colgroup>
<tbody>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="85" align="right"><strong>Year</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="49" align="right"><strong>1870’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="48" align="right"><strong>1880’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>1890’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>1900’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>1910’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>1920’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>1930’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>1940’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>1950’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>1960’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>1970’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>1980’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>1990’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="63" align="right"><strong>2000’s</strong></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="61" align="right"><strong>2010’s</strong></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="85" align="right"><font size="2"><strong># defunct</strong></font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="51" align="right"><font size="2">4</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="50" align="right"><font size="2">2</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">5</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">88</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">660</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">610</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">276</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">42</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">13</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">33</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">11</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">5</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">5</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">3</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="61" align="right"><font size="2">5</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="85" align="right"><font size="2"><strong>avg years in operation</strong></font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="52" align="right"><font size="2">5</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="51" align="right"><font size="2">1</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">1</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">3</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">3</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">4</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">5</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">7</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">14</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">10</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">19</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">37</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">16</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="62" align="right"><font size="2">49</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="61" align="right"><font size="2">42</font></td>
</tr>
</tbody>
</table>
<p>Now, you would expect that the bulk of closures would be depression era, but note that the depression did not start until the late 1920’s and during the boom times that preceded it, 660 manufactures went to the wall – a worse result! </p>
<h2>The pattern of consolidation</h2>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2012/01/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2012/01/image_thumb.png" width="414" height="259" /></a></p>
<p>What I think the above table shows is the classic pattern of industry consolidation after an initial phase of innovation and expansion, where over time, the many are gobbled by the few. As the number of players consolidate, those who remain grow bigger, with more resources and economies of scale. This in turn creates barriers to entry for new participants. Accordingly, the rate of attrition slows down, but that is more due to the fact that there are fewer players in the industry. Those that are left continue to fight their battles, but now those battles take longer. Nevertheless, as time goes on, the number of players consolidate further.</p>
<p>If we applied a cloud/web hosting paradigm to the above table, I would equate the dotcom bust of 2000 with the depression era of the 1920’s and 1930’s. I actually think with cloud computing, we are in the 1960’s and on right now. The largest of the large players have how made big bets on the cloud and have entered the market in a big, big way. For more than a decade, other companies hosted Microsoft technology, with Microsoft showing little interest beyond selling licenses via them. Now Microsoft themselves are also the hosting provider. Does that mean most the hosting providers will have the fate of Netscape? Or will they manage to survive the dance with Goliath like Citrix or VMWare have?</p>
<h2>For those who are not Microsoft or Amazon…</h2>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2012/01/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2012/01/image_thumb1.png" width="239" height="372" /></a></p>
<p>Imagine you have been hosting SharePoint solutions for a number of years. Depending on your size, you probably own racks or a cage in some-one else’s data centre, or you own a small data centre yourself. You have some high end VMWare gear to underpin your hosting offerings and you do both managed SharePoint (i.e. offer a basic site collection subscription with no custom stuff – ala Office 365) and you offer dedicated virtual machines for those who want more control (ala Amazon). You have dutifully paid your <a href="http://www.microsoft.com/hosting/en/us/licensing/splabenefits.aspx">service provider licensing</a> to Microsoft, have IT engineers on staff, some SharePoint specialists, a helpdesk and some dodgy sales guys &#8211; all standard stuff and life is good. You had a crack at implementing SharePoint multi tenancy, but found it all a bit too fiddly and complex.</p>
<p>Then Amazon comes along and shakes things up with their <a href="http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/">IaaS offerings</a>. They are cost competitive, have more data centres in more regions, a higher capacity, more fault tolerance, a wider variety of services and can scale more than you can. Their ability to execute in terms of offering new services is impossible to keep up with. In short, they slowly but relentlessly take a chunk of the market and continue to grow. So, you naturally counter by pushing the legitimate line that you specialise in SharePoint, and as a result customers are in much more trusted hands than Amazon, when investing on such a complex tool as SharePoint. </p>
<p>But suddenly the game changes again. The very vendor who you provide cloud-based SharePoint services for, now bundles it with Exchange, Lync and offers Active Directory integration (yeah, yeah, I know there was <a href="http://www.microsoft.com/online/business-productivity.aspx">BPOS</a> but no-one actually heard of that). Suddenly the argument that you are a safer option than Amazon is shot down by the fact that Microsoft themselves now offer what you do. So whose hands are safer? The small hosting provider with limited resources or the multinational with billions of dollars in the bank who develops the product? Furthermore, given Microsoft’s advantage in being able to mobilise its knowledge resources with deep product knowledge, they have a richer managed service offering than you can offer (i.e. they offer multi tenancy <img src='http://www.cleverworkarounds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>This puts you in a bit of a bind as you are getting assailed at both ends. Amazon trumps you in the capabilities at the IaaS end and is encroaching in your space and Microsoft is assailing the <a href="http://www.cleverworkarounds.com/2011/12/19/the-cloud-isnt-the-problempart-2-when-complex-technology-meets-process/">SaaS</a> end. How does a small fish survive in a pond with the big ones? In my opinion, the mid-tier SharePoint cloud providers will have to reinvent themselves.</p>
<h2>The adaptive change…</h2>
<p>So for the mid-tier SharePoint cloud provider grappling with the fact that their play area is reduced because of the big kids encroaching, there is only one option. They have to be really, really good in areas the big kids are <em>not </em>good at. In SharePoint terms, this means they have to go to places many don’t really want to go: <strong>they need to bolster their support offerings and move up the SharePoint stack</strong>. </p>
<p>You see, traditionally a SharePoint hosting provider tends to take two approaches. They provide a managed service where the customer cannot mess with it too much (i.e. Site collection admin access only). For those who need more than that, they will offer a virtual machine and wipe their hands of any maintenance or governance, beyond ensuring that&#160; the infrastructure is fast and backed up. Until now, cloud providers could get away with this and the reason they take this approach should be obvious to anyone who has implemented SharePoint. If you don’t maintain operational governance controls, things can rapidly get out of hand. Who wants to deal with all that “people crap”? Besides, that&#8217;s a different skill set to typical skills required to run and maintain cloud services at the infrastructure layer. </p>
<p>So some cloud providers will kick and scream about this, and delude themselves into thinking that hosting and cloud services are their core business. For those who think this, I have news for you. The big boys think these are their core business too and they are going to do it better than you. This is now commodity stuff and a by-product of commoditisation is that many <strong>SharePoint consultancies</strong> <strong>are now cloud providers anyway!</strong> They sign up to Microsoft or Amazon and are able to provide a highly scalable SharePoint cloud service with all the value added services further up the SharePoint stack. In short, they combine their SharePoint expertise with Microsoft/Amazon’s scale. </p>
<p>Now on the issue of support, Amazon has no specific SharePoint skills and they never will. They are first and foremost a compelling IaaS offering. Microsoft’s support? … go and <a href="http://www.cleverworkarounds.com/2011/12/19/the-cloud-isnt-the-problempart-2-when-complex-technology-meets-process/">re-read part 2</a> if you want to see that. It seems that no matter the big multinational, level 1 tech support is always level 1 tech support. </p>
<p>So what strategies can a mid-tier provider take to stay competitive in this rapidly commoditising space. I think one is to go premium and go niche.</p>
<ul>
<li>Provide brilliant support. If I call you, day or night, I expect to speak to a SharePoint person straight away. I want to get to know them on a first name basis and I do not want to fight the defence mechanism of the support hierarchy. </li>
<li>Partner with SharePoint consultancies or acquire consulting resources. The latter allows you to do some vertical integration yourself and broaden your market and offerings. A potential KPI for any SharePoint cloud provider should be that no support person ever says “sorry that’s outside the scope of what we offer.” </li>
<li>Develop skills in the tools and systems that surround SharePoint or invest in SharePoint areas where skills are lacking. Examples include Project Server, PerformancePoint, integration with GIS, Records management and ERP systems. Not only will you develop competencies that few others have, but you can target particular vertical market segments who use these tools. </li>
<li>(Controversial?) Dump your infrastructure and use Amazon in conjunction with another IaaS provider. You just can’t compete with their scale and price point. If you use them you will likely save costs, when combined with a second provider you can play the resiliency card and best of all … you can offer <a href="http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/">VPC</a> <img src='http://www.cleverworkarounds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </li>
</ul>
<h2>Conclusion</h2>
<p>In the last two posts we looked at some of the areas where both <a href="http://www.cleverworkarounds.com/2011/12/19/the-cloud-isnt-the-problempart-2-when-complex-technology-meets-process/">Microsoft</a> and <a href="http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/">Amazon</a> sometimes struggle to come to grips with the SharePoint cloud paradigm. In this post, we took a look at other cloud providers having to come to grips with the SharePoint cloud paradigm of having to compete with these two giants, who are clearly looking to eke out as much value as they can from the cloud pie. Whether you agree with my suggested strategy (<a href="http://www.rackspace.com/whyrackspace/support/">Rackspace appears to</a>), the pattern of the auto industry serves as an interesting parallel to the cloud computing marketplace. Is the relentless consolidation a good thing? Probably not in the long term (we will tackle that issue in the last post in this series). In the next post, we are going to shift our focus away from the cloud providers themselves, and turn our gaze to the internal IT departments – who until now, have had it pretty good. As you will see, a big chunk of the irrational side of cloud computing comes from this area.</p>
<p>&#160;</p>
<p>Thanks for reading</p>
<p>Paul Culmsee</p>
<p><a href="http://www.sevensigma.com.au">www.sevensigma.com.au</a></p>
<div id="spreadx">&nbsp;<a href="http://digg.com/submit?phase=2&url=http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/digg.gif" alt="Digg" border="0" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/share.php?u=http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/facebook.gif" alt="Facebook" border="0" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/&title=The+cloud+is+not+the+problem-Part+4%3A+Industry+shakeout+and+playing+with+the+big+kids%26hellip%3B" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/stumble.gif" alt="StumbleUpon" border="0" /></a>&nbsp;&nbsp;<a href="http://technorati.com/faves?add=http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/technorati.gif" alt="Technorati" border="0" /></a>&nbsp;&nbsp;<a href="http://del.icio.us/post?url=http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/&title=The+cloud+is+not+the+problem-Part+4%3A+Industry+shakeout+and+playing+with+the+big+kids%26hellip%3B" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/delicious.gif" alt="Deli.cio.us" border="0" /></a>&nbsp;&nbsp;<a href="http://slashdot.org/submit.pl?url=http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/slashdot.gif" alt="Slashdot" border="0" /></a>&nbsp;&nbsp;<a href="http://www.twitter.com/home?status=http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/twitter.gif" alt="Twitter" border="0" /></a>&nbsp;&nbsp;<a href="http://www.sphinn.com/submit.php?url=http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/sphinn.gif" alt="Sphinn" border="0" /></a>&nbsp;&nbsp;<a href="http://www.mixx.com/submit?page_url=http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/mixx.gif" alt="Mixx" border="0" /></a>&nbsp;&nbsp;<a href="http://www.google.com/bookmarks/mark?op=edit&bkmk=http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/&title=The+cloud+is+not+the+problem-Part+4%3A+Industry+shakeout+and+playing+with+the+big+kids%26hellip%3B" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/google.gif" alt="Google" border="0" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?url=http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/&title=The+cloud+is+not+the+problem-Part+4%3A+Industry+shakeout+and+playing+with+the+big+kids%26hellip%3B" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/dzone.gif" alt="DZone" border="0" /></a>&nbsp;</div><p class="tags">No Tags</p>]]></content:encoded>
			<wfw:commentRss>http://www.cleverworkarounds.com/2012/01/13/the-cloud-is-not-the-problem-part-4-industry-shakeout-and-playing-with-the-big-kids/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The cloud is not the problem&#8211;Part 3: When silos strike back&#8230;</title>
		<link>http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/</link>
		<comments>http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 04:27:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Cloud compouting]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[Governance]]></category>
		<category><![CDATA[IAAS]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[Risk]]></category>
		<category><![CDATA[SaaS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[VPC]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://www.cleverworkarounds.com/?p=2775</guid>
		<description><![CDATA[What can Ikea fails tell us about cloud computing? My next door neighbour is a builder. When he moved next door, the house was an old piece of crap. Within 6 months, he completely renovated it himself, adding in two bedrooms, an underground garage and all sorts of cool stuff. On the other hand, I [...]<p class="tags">No Tags</p>]]></description>
			<content:encoded><![CDATA[<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 10px; display: inline; float: left; padding-top: 5px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:06924454-ca3d-437c-9c64-28e91834b14a" class="wlWriterEditableSmartContent">
<div><object width="448" height="336"><param name="movie" value="http://www.youtube.com/v/WugVu2b-y0s?hl=en&amp;hd=1"></param><embed src="http://www.youtube.com/v/WugVu2b-y0s?hl=en&amp;hd=1" type="application/x-shockwave-flash" width="448" height="336"></embed></object></div>
<div style="width:448px;clear:both;font-size:.8em">What can Ikea fails tell us about cloud computing?</div>
</div>
<p> My next door neighbour is a builder. When he moved next door, the house was an old piece of crap. Within 6 months, he completely renovated it himself, adding in two bedrooms, an underground garage and all sorts of cool stuff. On the other hand, I bought my house because it was a good location, someone had already renovated it and all we had to do was move in. The reason for this was simple: I had a new baby and more importantly, me and power tools do not mix. I just don’t have the skills, nor the time to do what my neighbour did.
<p>You can probably imagine what would happen if I tried to renovate my house the way my neighbour did. It would turn out like the Ikea fails in the video. Similarly, many SharePoint installs tend to look similar to the video too. Moral of the story? Sometimes it is better to get something pre-packaged than to do it yourself.</p>
<p>In the <a href="http://www.cleverworkarounds.com/2011/12/19/the-cloud-isnt-the-problempart-2-when-complex-technology-meets-process/" target="_blank">last post</a>, we <a href="http://www.cleverworkarounds.com/2011/12/19/the-cloud-isnt-the-problempart-2-when-complex-technology-meets-process/" target="_blank">examined</a> the<strong> “Software as a Service” (SaaS)</strong> model of cloud computing in the form of Office 365. Other popular SaaS providers include <a href="http://www.slideshare.net/">SlideShare</a>, <a href="http://www.salesforce.com/au/?ir=1">Salesforce</a>, <a href="http://basecamphq.com/">Basecamp</a> and <a href="http://www.tomsplanner.com/">Tom’s Planner</a> to name a few. Most SaaS applications are browser based and not as feature rich or complex as their on-premise competition. Therefore the SaaS model is that its a bit like buying a kit home. In SaaS, no user of these services ever touches the underlying cloud infrastructure used to provide the solution, nor do they have a full mandate to tweak and customise to their hearts content. SaaS is basically predicated on the notion that someone else will do a better set-up job than you and the old 80/20 rule about what features for an application are actually used.</p>
<p>Some people may regard the restrictions of SaaS as a <em>good thing </em>– particularly if they have dealt with the consequences of one too many unproductive customization efforts previously. As many SharePointer’s know, the more you customise SharePoint, the less resilient it gets. Thus restricting what sort of customisations can be done in many circumstances might be a wise thing to do. </p>
<p>Nevertheless, this actually goes against the genetic traits of pretty much every Australian male walking the planet. The reason is simple: no matter how much our skills are lacking or however inappropriate tools or training, we nevertheless always want to do it ourselves. This brings me onto our next cloud provider: Amazon, and their Infrastructure as a Service (IaaS) model of cloud based services. This is the ultimate DIY solution for those of us that find SaaS to cramping our style. Let’s take a closer look shall we?</p>
<h2>Amazon in a nutshell</h2>
<p>Okay, I have to admit that as an infrastructure guy, I am genetically predisposed to liking Amazon’s cloud offerings. Why? well as an infrastructure guy, I am like my neighbour who renovated his own house. I’d rather do it all myself because I have acquired the skills to do so. So for any server-hugging infrastructure people out there who are wondering what they have been missing out on? Read on… you might like what you see. </p>
<p>Now first up, its easy for new players to get a bit intimidated by Amazon’s bewildering array of offerings with brand names that make no sense to anybody but Amazon&#8230; EC2, VPC, S3, ECU, EBS, RDS, AMI’s, Availability Zones – sheesh! So I am going to ignore all of their confusing brand names and just hope that you have heard of <a href="http://en.wikipedia.org/wiki/Virtual_machine">virtual machines</a> and will assume that you or your tech geeks know all about VMware. The simplest way to describe Amazon is VMWare on steroids. Amazon’s service essentially allows you to create Virtual Machines within Amazon’s “cloud” of large data centres around the world. As I stated earlier, the official cloud terminology that Amazon is traditionally associated is called <strong>Infrastructure as a Service (IaaS). </strong>This is where, instead of providing ready-made applications like SaaS, a cloud vendor provides lower level IT infrastructure for rent. This consists of stuff like virtualised servers, storage and networking. </p>
<p>Put simply, utilising Amazon, one can deploy virtual servers with my choice of operating system, applications, memory, CPU and disk configuration. Like any good “all you can eat” buffet, one is spoilt for choice. One simply chooses an <em>Amazon Machine Image</em> (AMI) to use as a base for creating a virtual server. You can choose one of Amazon’s pre-built AMI’s (Base installs of Windows Server or Linux) or you can choose an image from the <strong>community contributed list of over 8000 base images</strong>. Pretty much any vendor out there who sells a turn-key solution (such as those all-in-one virus scanning/security solutions) has likely created an AMI. Microsoft have also <a href="http://aws.amazon.com/amis/Microsoft?browse=1">gotten in on the Amazon act</a> and <a href="http://aws.amazon.com/amis/Microsoft?browse=1">created AMI’s</a> for you, optimised by their product teams. Want SQL 2008 the way Microsoft would install it? Choose the <a href="http://aws.amazon.com/amis/Microsoft/6258880392999312">Microsoft Optimized Base SQL Server 2008R2</a> AMI&#160; which “contains scripts to install and optimize SQL Server 2008R2 and accompanying services including SQL Server Analysis services, SQL Server Reporting services, and SQL Server Integration services to your environment based on Microsoft best practices.”</p>
<p>The series of screen shots below shows the basic idea. After signing up, use the “Request instance wizard” to create a new virtual server by choosing an AMI first. In the example below, I have shown the default Amazon AMI’s under “Quick start” as well as the community AMI’s.</p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="200"><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image61.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image61_thumb.png" width="527" height="260" /></a>           <br /><strong><font size="2" face="Arial">Amazons default AMI’s</font></strong></td>
<td valign="top" width="200"><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image31.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image3_thumb.png" width="529" height="260" /></a>           <br /><strong><font size="2" face="Arial">Community contributed AMI’s</font></strong> </td>
</tr>
</tbody>
</table>
<p>From the list above, I have chosen Microsoft’s “Optimized SQL Server 2008 R2 SP1” from the community AMI’s and clicked “Select”. Now I can choose the CPU and memory configurations. Hmm how does a 16 core server sound with 60 gig of RAM? That ought to do it… <img src='http://www.cleverworkarounds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image13.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image13_thumb.png" width="535" height="327" /></a></p>
<p>Now I won’t go through the full description of commissioning virtual servers, but suffice to say that you can choose which geographic location this server will reside within Amazon’s cloud and after 15 minutes or so, your virtual server will be ready to use. It can be assigned a public IP address, firewall restricted and then remotely managed as per any other server. This can all be done programmatically too. You can talk to Amazon via web services start, monitor, terminate, etc. as many virtual machines as you want, which allows you to scale your infrastructure on the fly and very quickly. There are no long procurement times and you then only pay for what servers are currently running. If you shut them down, you stop paying.</p>
<h2>But what makes it cool…</h2>
<p>Now I am sure that some of you might be thinking “big deal…any virtual machine hoster can do that.” I agree – and when I first saw this capability I just saw it as a larger scale VMWare/Xen type deployment. But when really made me sit up and take notice was Amazon’s <a href="http://aws.amazon.com/vpc/">Virtual Private Cloud</a> (VPC) functionality. The super-duper short version of VPC is that it allows you <em>extend your corporate network </em>into the Amazon cloud. It does this by allowing you to define your own private network and connecting to it via site-to-site VPN technology. To describe how it works, diagrammatically check out the image below.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image10.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image_thumb9.png" width="713" height="257" /></a></p>
<p>Let’s use an example to understand the basic idea. Let’s say your internal IP address range at your office is 10.10.10.0 to 10.10.10.255 (a /24 for the geeks). With VPC you tell Amazon “I’d like a new IP address range of 10.10.11.0 to 10.10.11.255” . You are then prompted to tell Amazon the public IP address of your internet router. The screenshots below shows what happens next: </p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image11.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image_thumb10.png" width="270" height="190" /></a>&#160; </p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image62.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/12/image6_thumb.png" width="449" height="423" /></a></p>
<p>The first screenshot asks you to choose what type of router is at your end. Available choices are Cisco, Juniper, Yamaha, Astaro and generic. The second screenshot shows you a sample configuration that is downloaded. Now any Cisco trained person reading this will recognise what is going on here. This is the automatically generated configuration to be added to an organisations edge router to create an IPSEC tunnel. In other words, we have extended our corporate network itself into the cloud. Any service can be run on such a network – not just SharePoint. For smaller organisations wanting the benefits of off-site redundancy without the costs of a separate datacenter, this is a very cost effective option indeed.</p>
<p><em>For the Cisco geeks, the actual configuration is two GRE tunnels that are IPSEC encrypted. BGP is used for route table exchange, so Amazon can learn what routes to tunnel back to your on-premise network. Furthermore Amazon allows you to manage firewall settings at the Amazon end too, so you have an additional layer of defence past your IPSEC router. </em></p>
<p>This is called Virtual Private Cloud (VPC) and when configured properly is very powerful. Note the “P” is for private. No server deployed to this subnet is internet accessible unless you choose it to be. This allows you to extend your internal network into the cloud and gain all the provisioning, redundancy and scalability benefits without exposure to the internet directly. As an example, I did a hosted SharePoint extranet where we use <a href="http://msdn.microsoft.com/en-us/library/ms187103.aspx">SQL log shipping</a> of the extranet content databases back to the a DMZ network for redundancy. Try doing that on Office365!</p>
<p>This sort of functionality shows that Amazon is a mature, highly scalable and flexible IaaS offering. They have been in the business for a long time and it shows because their full suite of offerings is much more expansive than what I can possibly cover here. Accordingly my Amazon experiences will be the subject of a more in-depth blog post or two in future. But for now I will force myself to stop so the non-technical readers don’t get too bored. <img src='http://www.cleverworkarounds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h2>So what went wrong?</h2>
<p>So after telling you how impressive Amazon’s offering is, what could possibly go wrong? Like the <a href="http://www.cleverworkarounds.com/2011/12/19/the-cloud-isnt-the-problempart-2-when-complex-technology-meets-process/" target="_blank">Office365 issue covered in part 2</a>, absolutely nothing with the technology. To understand why, I need to explain Amazon’s pricing model.</p>
<p>Amazon offer a couple of ways to pay for servers (called <em>instances </em>in Amazon speak). An <strong>on-demand instance </strong>is calculated based on a per-hour price while the server is running. The more powerful the server is in terms of CPU, memory and disk, the more you pay. To give you an idea, Amazon’s <a href="http://aws.amazon.com/ec2/pricing/" target="_blank">pricing</a> for a Windows box with 8CPU’s and 16GB of RAM, running in Amazon’s “US east” region will set you back $0.96 per hour (as of 27/12/11).&#160; If you do the basic math for that, it equates to around $8409 per year, or <strong>$25228</strong> over three years. (Yeah I agree that’s high – even when you consider that you get all the trappings of a highly scalable and fault tolerant datacentre).</p>
<p>On the other hand, a <strong>reserved instance </strong>involves making a one-time payment and in turn, receive a significant discount on the hourly charge for that instance. Essentially if you are going to run an Amazon server on a 24*7 basis for more than 18 months or so, a reserved instance makes sense as it reduces considerable cost over the long term. The same server would only cost you $0.40 per hour if you pay an up-front $2800 for a 3 year term. Total cost: $13312 over three years – much better.</p>
<p>So with that scene set, consider this scenario: Back at the start of 2011, a client of mine consolidated all of their SharePoint cloud services to Amazon from a variety of other another hosting providers. They did this for a number of reasons, but it basically boiled down to the fact they had 1) outgrown the SaaS model and 2) had a growing number of clients. As a result, requirements from clients were getting more complicated and beyond that which most of the hosting providers could cater for. They also received irregular and inconsistent support from their existing providers, as well as some unexpected downtime that reduced confidence. In short, they needed to consolidate their cloud offering and manage their own servers. They were developing custom SharePoint solutions, needed to support federated claims authentication and required disaster recovery assurance to mitigate the risk of going 100% cloud. Amazon’s VPC offering in particular seemed ideal, because it allowed full control of the servers in a secure way. </p>
<p>Now making this change was not something we undertook lightly. We spent considerable time researching Amazon’s offerings, trying to understand all the acronyms as well as their fine print. (For what its worth I used IBIS as the basis to develop an assessment and the <a href="http://www.cleverworkarounds.com/maps/amazon/Amazon_1011111302746104307.html" target="_blank">map of my notes can be found here</a>). As you are about to see though, we did not check well enough. </p>
<p>Back when we initially evaluated the VPC offering, it was only available in very few Amazon sites (two locations in the USA only) and the service was still in beta. This caused us a bit of a dilemma at the time because of the risk of relying on a beta service. But we were assured when Amazon confirmed that VPC would eventually be available in all of of their datacentres. We also stress tested the service for a few weeks, it remained stable and we developed and tested a disaster recovery strategy involving SQL log shipping and a standby farm. We also <em>purchased reserved instances </em>from Amazon since these servers were going to be there for the long haul, so we pre-paid to reduce the hourly rates. Quite a complex configuration was provisioned in only two days and we were amazed by how easy it all was. </p>
<p>Things hummed along for 9 months in this fashion and the world was a happy place. We were delighted when Amazon notified us that VPC had come out of beta and was now available in any of Amazon’s datacentres around the world. We only used the US datacentre because it was the only location available at the time. Now we wanted to transfer the services to Singapore. My client contacted Amazon about some finer points on such a move and was informed that they would have to pay for their <strong>reserved instances all over again!</strong> </p>
<p>What the? </p>
<p>It turns out, <strong>reserved instances are not transferrable</strong>! Essentially, Amazon were telling us that although we paid for a three year reserved instance, and only used it for 9 months, to move the servers to a new region would mean we have to <strong>pay all over again for another 3 year reserve</strong>. According to Amazon’s documentation, each reserved instance is associated with a specific region, which is fixed for the lifetime of the reserved instance and cannot be changed.</p>
<p>“Okay,” we answer, “we can understand that in circumstances where people move to another cloud provider. But in our case we were not.” We had used around 1/3rd of the reserved instance. So surely Amazon should pro-rata the unused amount, and offer that as a credit when we re-purchase reserved instances in Singapore? I mean, we will still be hosting with Amazon, so overall, they will not be losing any revenue al all. On the contrary, we will be paying them more, because we will have to sign up for an additional 3 years of reserve when we move the services. </p>
<p>So we ask Amazon whether that can be done. “Nope,&quot; comes back the answer from amazons not so friendly billing team with one of those trite and grossly insulting “Sorry for any inconvenience this causes” ending sentences. After more discussions, it seems that internally within Amazon, each region or datacentre within each region is its own profit centre. Therefore in typical silo fashion, the US datacentre does not want to pay money to the Singapore operation as that would mean the revenue we paid would no longer recognised against them. </p>
<p>Result? Customer is screwed all because the Amazon fiefdoms don’t like sharing the contents of the till. But hey – the regional managers get their bonuses right? <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-sadsmile" alt="Sad smile" src="http://www.cleverworkarounds.com/wp-content/uploads/2012/01/wlEmoticon-sadsmile.png" /></p>
<h2>Conclusion</h2>
<p>Like <a href="http://www.cleverworkarounds.com/2011/12/19/the-cloud-isnt-the-problempart-2-when-complex-technology-meets-process/" target="_blank">part 2</a> of this cloud computing series, this is not a technical issue. Amazon’s cloud service in our experience has been reliable and performed well. In this case, we are turned off by the fact that their internal accounting procedures create a situation that is not great for customers who wish to remain loyal to them. In a post about the <a href="http://www.cleverworkarounds.com/2011/05/22/whatever-you-do-do-not-ignore-legacy/" target="_blank">danger of short termism and ignoring legacy</a>, I gave the example of how dumb it is for organisations to think they are measuring success based on how long it takes to close a helpdesk call. When such a KPI is used, those in support roles have little choice but to try and artificially close calls when users problems have not been solved because that’s how they are deemed to be performing well. The reality though is rather than measure happy customers, this KPI simply rewards which helpdesk operators have managed to game the system by getting callers off the phone as soon as they can. </p>
<p>I feel that Amazon are treating this is an internal accounting issue, irrespective of client outcomes. Amazon will lose the business of my client because of this since they have enough servers hosted where the financial impost of paying all over again is much more than transferring to a different cloud provider. While VPC and automated provisioning of virtual servers is cool and all, at the end of the day many hosting providers can offer this if you ask them. Although it might not be as slick with fancy as Amazon’s automated configuration, it nonetheless is very doable and the other providers are playing catch-up. Like Apple, Amazon are enjoying the benefits of being first to market with their service, but as competition heats up, others will rapidly bridge the gap. </p>
<p>Thanks for reading</p>
<p>Paul Culmsee</p>
<div id="spreadx">&nbsp;<a href="http://digg.com/submit?phase=2&url=http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/digg.gif" alt="Digg" border="0" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/share.php?u=http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/facebook.gif" alt="Facebook" border="0" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/&title=The+cloud+is+not+the+problem%26ndash%3BPart+3%3A+When+silos+strike+back%26hellip%3B" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/stumble.gif" alt="StumbleUpon" border="0" /></a>&nbsp;&nbsp;<a href="http://technorati.com/faves?add=http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/technorati.gif" alt="Technorati" border="0" /></a>&nbsp;&nbsp;<a href="http://del.icio.us/post?url=http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/&title=The+cloud+is+not+the+problem%26ndash%3BPart+3%3A+When+silos+strike+back%26hellip%3B" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/delicious.gif" alt="Deli.cio.us" border="0" /></a>&nbsp;&nbsp;<a href="http://slashdot.org/submit.pl?url=http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/slashdot.gif" alt="Slashdot" border="0" /></a>&nbsp;&nbsp;<a href="http://www.twitter.com/home?status=http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/twitter.gif" alt="Twitter" border="0" /></a>&nbsp;&nbsp;<a href="http://www.sphinn.com/submit.php?url=http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/sphinn.gif" alt="Sphinn" border="0" /></a>&nbsp;&nbsp;<a href="http://www.mixx.com/submit?page_url=http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/mixx.gif" alt="Mixx" border="0" /></a>&nbsp;&nbsp;<a href="http://www.google.com/bookmarks/mark?op=edit&bkmk=http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/&title=The+cloud+is+not+the+problem%26ndash%3BPart+3%3A+When+silos+strike+back%26hellip%3B" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/google.gif" alt="Google" border="0" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?url=http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/&title=The+cloud+is+not+the+problem%26ndash%3BPart+3%3A+When+silos+strike+back%26hellip%3B" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/dzone.gif" alt="DZone" border="0" /></a>&nbsp;</div><p class="tags">No Tags</p>]]></content:encoded>
			<wfw:commentRss>http://www.cleverworkarounds.com/2012/01/03/the-cloud-is-not-the-problempart-3-when-silos-strike-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshooting SharePoint (People) Search 101</title>
		<link>http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/</link>
		<comments>http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 04:34:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Assurance]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Web Parts]]></category>

		<guid isPermaLink="false">http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/</guid>
		<description><![CDATA[I’ve been nerding it up lately SharePointwise, doing the geeky things that geeks like to do like ADFS and Claims Authentication. So in between trying to get my book fully edited ready for publishing, I might squeeze out the odd technical SharePoint post. Today I had to troubleshoot a broken SharePoint people search for the [...]<p class="tags">No Tags</p>]]></description>
			<content:encoded><![CDATA[<p>I’ve been nerding it up lately SharePointwise, doing the geeky things that geeks like to do like ADFS and Claims Authentication. So in between trying to get my book fully edited ready for publishing, I might squeeze out the odd technical SharePoint post. Today I had to troubleshoot a broken SharePoint people search for the first time in a while. I thought it was worth explaining the crawl process a little and talking about the most likely ways in which is will break for you, in order of likelihood as I see it. There are articles out on this topic, but none that I found are particularly comprehensive.</p>
<h2>Background stuff</h2>
<p><em>If you consider yourself a legendary IT pro or SharePoint god, feel free to skip this bit. If you prefer a more gentle stroll through SharePoint search land, then read on…</em></p>
<p>When you provision a search service application as part of a SharePoint installation, you are asked for (among other things), a windows account to use for the search service. Below shows the point in the GUI based configuration step where this is done. First up we choose to create a search service application, and then we choose the account to use for the “Search Service Account”. By default this is the account that will do the crawling of content sources.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb.png" width="118" height="143" /></a>&#160;&#160;&#160; <a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image1.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb1.png" width="393" height="144" /></a></p>
<p>Now the search service account is described as so: <em>“.. the Windows Service account for the SharePoint Server Search Service. This setting affects all Search Service Applications in the farm. You can change this account from the Service Accounts page under Security section in Central Administration.”</em></p>
<p>In reading this, suggests that the windows service (“SharePoint Server Search 14”) would run under this account. The reality is that the SharePoint Server Search 14 service account is the farm account. You can see the pre and post provisioning status below. First up, I show below where SharePoint has been installed and the SharePoint Server Search 14 service is disabled and with service credentials of “Local Service”.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb2.png" width="632" height="116" /></a></p>
<p>The next set of pictures show the Search Service Application provisioned according to the following configuration:</p>
<ul>
<li>Search service account: SEVENSIGMA\searchservice </li>
<li>Search admin web service account: SEVENSIGMA\searchadminws </li>
<li>Search query and site settings account: SEVENSIGMA\searchqueryss </li>
</ul>
<p>You can see this in the screenshots below.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image3.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb3.png" width="490" height="95" /></a></p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image4.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb4.png" width="244" height="90" /></a><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image5.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb5.png" width="246" height="88" /></a></p>
<p>Once the service has been successfully provisioned, we can clearly see the “Default content access account” is based on the “Search service account” as described in the configuration above (the first of the three accounts).</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image6.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb6.png" width="522" height="307" /></a></p>
<p>Finally, as you can see below, once provisioned, it is the SharePoint farm account that is running the search windows service.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image7.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb7.png" width="641" height="147" /></a></p>
<p>Once you have provisioned the Search Service Application, the default content access (in my case SEVENSIGMA\searchservice), it is granted “Read” access to <em>all web applications </em>via <strong>Web Application User Policies </strong>as shown below. This way, no matter how draconian the permissions of site collections are, the crawler account will have the access it needs to crawl the content, as well as the permissions of that content. You can verify this by looking at any web application in Central Administration (except for central administration web application) and choosing “User Policy” from the ribbon. You will see in the policy screen that the “Search Crawler” account has “Full Read” access.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image8.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb8.png" width="516" height="136" /></a></p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image9.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb9.png" width="278" height="135" /></a></p>
<p>In case you are wondering why the search service needs to crawl the <em>permissions</em> of content, as well as the content itself, it is because it uses these permissions to trim search results for users who do not have access to content. After all, you don’t want to expose sensitive corporate data via search do you?</p>
<p>There is another more subtle configuration change performed by the Search Service. Once the <a href="http://www.cleverworkarounds.com/2010/08/15/more-user-profile-sync-in-sp2010-certificate-provisioning-issues/" target="_blank">evilness</a> known as the User Profile Service has been provisioned, the Search service application will grant the Search Service Account <em>specific permission to the User Profile Service</em>. SharePoint is smart enough to do this whether or not the User Profile Service application is installed before or after the Search Service Application. In other words, if you install the Search Service Application first, and the User Profile Service Application afterwards, the permission will be granted regardless.</p>
<p>The specific permission by the way, is “Retrieve People Data for Search Crawlers” permission as shown below:</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image10.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb10.png" width="204" height="244" /></a>&#160;&#160;&#160; <a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image11.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb11.png" width="214" height="244" /></a></p>
<p>Getting back to the title of this post, this is a critical permission, because without it, the Search Server will not be able to talk to the User Profile Service to enumerate user profile information. The effect of this is empty &quot;People Search results.</p>
<h2>How people search works (a little more advanced)</h2>
<p>Right! Now that the cool kids have joined us (who skipped the first section), lets take a closer look at SharePoint People Search in particular. This section delves a little deeper, but fear not I will try and keep things relatively easy to grasp.</p>
<p>Once the Search Service Application has been provisioned, a default <strong>content source</strong>, called – originally enough &#8211; “Local SharePoint Sites” is created. Any web applications that exist (and any that are created from here on in) will be listed here. An example of a freshly minted SharePoint server with a single web application, shows the following configuration in Search Service Application:</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image12.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb12.png" width="527" height="252" /></a></p>
<p>Now hopefully <a href="http://web">http://web</a> makes sense. Clearly this is the URL of the web application on this server. But you might be wondering that <strong>sps3://web</strong> is? I will bet that you have never visited a site using sps3:// site using a browser either. For good reason too, as it wouldn’t work.</p>
<p>This is a SharePointy thing – or more specifically, a Search Server thing. That funny protocol part of what looks like a URL, refers to a <em>connector</em>. A connector allows Search Server to crawl other data sources that don’t necessarily use HTTP. Like some native, binary data source. People can develop their own connectors if they feel so inclined and a classic example is the Lotus Notes connector that Microsoft supply with SharePoint. If you configure SharePoint to use its Lotus Notes connector (and by the way – its really tricky to do), you would see a URL in the form of:</p>
<p>notes://mylotusnotesbox</p>
<p>Make sense? The protocol part of the URL allows the search server to figure out what connector to use to crawl the content. (For what its worth, there are many others out of the box. If you want to see all of the connectors then check <a href="http://technet.microsoft.com/en-us/library/gg153529.aspx" target="_blank">the list here</a>).</p>
<p>But the one we are interested in for this discussion is SPS3: which accesses SharePoint User profiles which supports <em>people search </em>functionality. The way this particular connector works is that when the crawler accesses this SPS3 connector, it in turns calls a special <em>web service </em>at the host specified. The web service is called <strong>spscrawl.asmx </strong>and in my example configuration above, it would be <a href="http://web/_vti_bin/spscrawl.asmx">http://web/_vti_bin/spscrawl.asmx</a></p>
<p>The basic breakdown of what happens next is this:</p>
<ol>
<li>Information about the Web site that will be crawled is retrieved (the GetSite method is called passing in the site from the URL (i.e the “web” of sps3://web) </li>
<li>Once the site details are validated the service enumerates all of the use profiles </li>
<li>For each profile, the method GetItem is called that retrieves all of the user profile properties for a given user. This is added to the index and tagged as content class of “urn:content-class:SPSPeople” (I will get to this in a moment) </li>
</ol>
<p>Now admittedly this is the simple version of events. If you really want to be scared (or get to sleep tonight) you can read the actual SP3 <a href=": http://download.microsoft.com/download/8/5/8/858F2155-D48D-4C68-9205-29460FD7698F/[MS-SPSCRWL].pdf" target="_blank">protocol specification</a> PDF.</p>
<p>Right! Now lets finish this discussion by this notion of <strong>contentclass</strong>. The SharePoint search crawler tags all crawled content according to its <em>class</em>. The name of this “tag” &#8211; or in correct terminology “managed property” &#8211; is contentclass. By default SharePoint has a People Search scope. It is essentially a limits the search to only returning content tagged as “People” contentclass.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image13.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb13.png" width="346" height="213" /></a></p>
<p>Now to make it easier for you, <a href="http://www.devcow.com/blogs/jdattis/archive/2007/12/20/the-contentclass-and-isdocument-properties-along-with-the-welcome-page-caveat.aspx" target="_blank">Dan Attis</a> listed all of the content classes that he knew of back in SharePoint 2007 days. I’ll list a few here, but for the full list visit <a href="http://www.devcow.com/blogs/jdattis/archive/2007/12/20/the-contentclass-and-isdocument-properties-along-with-the-welcome-page-caveat.aspx" target="_blank">his site</a>.</p>
<ul>
<li>“STS_Web” &#8211; Site </li>
<li>“STS_List_850″ &#8211; Page Library </li>
<li>“STS_List_DocumentLibrary” &#8211; Document Library </li>
<li>“STS_ListItem_DocumentLibrary” &#8211; Document Library Items </li>
<li>“STS_ListItem_Tasks” &#8211; Tasks List Item </li>
<li>“STS_ListItem_Contacts” &#8211; Contacts List Item </li>
<li>“urn:content-class:SPSPeople” &#8211; People </li>
</ul>
<p>(why some properties follow the <a href="http://en.wikipedia.org/wiki/Uniform_Resource_Name" target="_blank">universal resource name</a> format I don’t know *sigh* – geeks huh?)</p>
<h2>So that was easy Paul! What can go wrong?</h2>
<p>So now we know that although the protocol handler is SPS3, it is still ultimately utilising HTTP as the underlying communication mechanism and calling a web service, we can start to think of all the ways that it can break on us. Let’s now take a look at common problem areas in order of commonality:</p>
<h2>1. The Loopback issue.</h2>
<p>This has been done to death elsewhere and most people know it. What people don’t know so well is that the loopback fix was to prevent an extremely <a href="http://www.microsoft.com/technet/security/bulletin/MS08-068.mspx" target="_blank">nasty security vulnerability</a> known as a replay attack that came out a few years ago. Essentially, if you make a HTTP connection to your server, from that server and using a name that does not match the name of the server, then the request will be blocked with a 401 error. In terms of SharePoint people search, the sps3:// handler is created when you create your first web application. If that web application happens to be a name that doesn’t match the server name, then the HTTP request to the spscrawl.asmx webservice will be blocked due to this issue.</p>
<p>As a result your search crawl will not work and you will see an error in the logs along the lines of:</p>
<ul>
<li>Access is denied: Check that the Default Content Access Account has access to the content or add a crawl rule to crawl the content (0&#215;80041205) </li>
<li>The server is unavailable and could not be accessed. The server is probably disconnected from the network.&#160;&#160; (0x80040d32) </li>
<li>***** Couldn&#8217;t retrieve server <a href="http://web.sevensigma.com">http://web.sevensigma.com</a> policy, hr = 80041205 &#8211; File:d:\office\source\search\search\gather\protocols\sts3\sts3util.cxx Line:548 </li>
</ul>
<p>There are two ways to fix this. The quick way (DisableLoopbackCheck) and the right way (BackConnectionHostNames). Both involve a registry change and a reboot, but one of them leaves you much more open to exploitation. Spence Harbar wrote about the <a href="http://www.harbar.net/archive/2009/07/02/disableloopbackcheck-amp-sharepoint-what-every-admin-and-developer-should-know.aspx" target="_blank">differences between the two</a> some time ago and I recommend you follow his advice.</p>
<p><em>(As an slightly related side note, I hit an issue with the User Profile Service a while back where it gave an error: “Exception occurred while connecting to WCF endpoint: System.ServiceModel.Security.MessageSecurityException: The HTTP request was forbidden with client authentication scheme &#8216;Anonymous&#8217;. &#8212;&gt; System.Net.WebException: The remote server returned an error: (403) Forbidden”. In this case I needed to disable the loopback check but I was using the server name with no alternative aliases or full qualified domain names. I asked Spence about this one and it seems that the DisableLoopBack registry key addresses <strong>more</strong> than the SMB replay vulnerability.)</em></p>
<h2>2. SSL</h2>
<p>If you add a certificate to your site and mark the site as HTTPS (by using SSL), things change. In the example below, I installed a certificate on the site <a href="http://web">http://web</a>, removed the binding to http (or port 80) and then updated SharePoint’s alternate access mappings to make things a HTTPS world.</p>
<p>Note that the reference to SPS3://WEB is unchanged, and that there is also a reference still to <a href="http://WEB">HTTP://WEB</a>, as well as an automatically added reference to <a href="https://WEB">HTTPS://WEB</a></p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image14.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb14.png" width="292" height="273" /></a></p>
<p>So if we were to run a crawl now, what do you think will happen? Certainly we know that <a href="http://WEB">HTTP://WEB</a> will fail, but what about SPS3://WEB? Lets run a full crawl and find out shall we?</p>
<p>Checking the logs, we have the unsurprising error “the item could not be crawled because the crawler could not contact the repository”. So clearly, SPS3 isn’t smart enough to work out that the web service call to spscrawl.asmx needs to be done over SSL.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image15.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb15.png" width="523" height="129" /></a></p>
<p>Fortunately, the solution is fairly easy. There is another connector, identical in function to SPS3 except that it is designed to handle secure sites. It is “SPS3s”. We simple change the configuration to use this connector (and while we are there, remove the reference to <a href="http://WEB">HTTP://WEB</a>)</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image16.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb16.png" width="386" height="362" /></a></p>
<p>Now we retry a full crawl and check for errors… Wohoo &#8211; all good!</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image17.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb17.png" width="669" height="70" /></a></p>
<p>It is also worth noting that there is another SSL related issue with search. The search crawler is a little fussy with certificates. Most people have visited secure web sites that warning about a problem with the certificate that looks like the image below:</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image18.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb18.png" width="364" height="182" /></a></p>
<p>Now when you think about it, a search crawler doesn’t have the luxury of asking a user if the certificate is okay. Instead it errs on the side of security and by default, will not crawl a site if the certificate is invalid in some way. The crawler also is more fussy than a regular browser. For example, it doesn’t overly like wildcard certificates, even if the certificate is trusted and valid (although all modern browsers do).</p>
<p>To alleviate this issue, you can make the following changes in the settings of the Search Service Application: Farm Search Administration-&gt;Ignore SSL warnings and tick “Ignore SSL certificate name warnings”.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image19.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb19.png" width="339" height="113" /></a>&#160; <a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image20.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb20.png" width="307" height="75" /></a></p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image21.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb21.png" width="339" height="78" /></a></p>
<p>The implication of this change is that the crawler will now accept any old certificate that encrypts website communications.</p>
<h2>3. Permissions and Change Legacy</h2>
<p>Lets assume that we made a configuration mistake when we provisioned the Search Service Application. The search service account (which is the default content access account) is incorrect and we need to change it to something else. Let’s see what happens.</p>
<p>In the search service application management screen, click on the default content access account to change credentials. In my example I have changed the account from SEVENSIGMA\searchservice to SEVENSIGMA\svcspsearch</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image22.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb22.png" width="343" height="159" /></a></p>
<p>Having made this change, lets review the effect in the Web Application User Policy and User Profile Service Application permissions. Note that the user policy for the <strong>old search crawl account remains</strong>, but the new account has had an entry <strong>automatically created</strong>. (Now you know why you end up with multiple accounts with the display name of “Search Crawling Account”)</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image23.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb23.png" width="347" height="191" /></a></p>
<p>Now lets check the User Profile Service Application. Now things are different! The search service account below refers to the *old* account SEVENSIGMA\searchservice. But the required permission of “Retrieve People Data for Search Crawlers” permission <strong>has not been granted</strong>!</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image24.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb24.png" width="347" height="360" /></a></p>
<p>&#160;</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image25.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb25.png" width="422" height="133" /></a></p>
<p>If you traipsed through the ULS logs, you would see this:</p>
<p><span style="font-family: arial; font-size: x-small">Leaving Monitored Scope (Request (GET:</span><a href="https://web/_vti_bin/spscrawl.asmx))"><span style="font-family: arial; font-size: x-small">https://web/_vti_bin/spscrawl.asmx))</span></a><span style="font-family: arial; font-size: x-small">. Execution Time=7.2370958438429 c2a3d1fa-9efd-406a-8e44-6c9613231974      <br />mssdmn.exe (0x23E4) 0x2B70 SharePoint Server Search FilterDaemon e4ye High FLTRDMN: Errorinfo is &quot;HttpStatusCode Unauthorized The request failed with HTTP status 401: Unauthorized.&quot; [fltrsink.cxx:553] d:\office\source\search\native\mssdmn\fltrsink.cxx       <br />mssearch.exe (0x02E8) 0x3B30 SharePoint Server Search Gatherer cd11 Warning The start address sps3s://web cannot be crawled. Context: Application &#8216;Search_Service_Application&#8217;, Catalog &#8216;Portal_Content&#8217; Details: Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has &quot;Full Read&quot; permissions on the SharePoint Web Application being crawled. (0&#215;80041205) </span></p>
<p>To correct this issue, manually grant the crawler account the “Retrieve People Data for Search Crawlers” permission in the User Profile Service. As a reminder, this is done via the Administrators icon in the “Manage Service Applications” ribbon.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image26.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb26.png" width="237" height="244" /></a></p>
<p>Once this is done run a fill crawl and verify the result in the logs.4.</p>
<h2>4. Missing root site collection</h2>
<p>A more uncommon issue that I once encountered is when the web application being crawled is missing a default site collection. In other words, while there are site collections defined using a managed path, such as <a href="http://WEB/SITES/SITE">http://WEB/SITES/SITE</a>, there is no site collection defined at <a href="http://WEB">HTTP://WEB</a>.</p>
<p>The crawler does not like this at all, and you get two different errors depending on whether the SPS or HTTP connector used.</p>
<ul>
<li>SPS:// &#8211; Error in PortalCrawl Web Service (0&#215;80042617) </li>
<li>HTTP:// &#8211; The item could not be accessed on the remote server because its address has an invalid syntax (0&#215;80041208) </li>
</ul>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image27.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb27.png" width="512" height="106" /></a></p>
<p>The fix for this should be fairly obvious. Go and make a default site collection for the web application and re-run a crawl.</p>
<h2>5. Alternative Access Mappings and Contextual Scopes</h2>
<p>SharePoint guru (and my squash nemesis), Nick Hadlee <a href="http://nickhadlee.wordpress.com/2011/07/24/no-search-results-for-contextual-scopes/" target="_blank">posted recently</a> about a problem where there are no search results on contextual search scopes. If you are wondering what they are Nick explains:</p>
<blockquote><p>Contextual scopes are a really useful way of performing searches that are restricted to a specific site or list. The “This Site: [Site Name]”, “This List: [List Name]” are the dead giveaways for a contextual scope. What’s better is contextual scopes are auto-magically created and managed by SharePoint for you so you should pretty much just use them in my opinion.</p>
</blockquote>
<p>The issue is that when the alternate access mapping (AAM) settings for the default zone on a web application do not match your search content source, the contextual scopes return no results. </p>
<blockquote><p>I came across this problem a couple of times recently and the fix is really pretty simple – check your alternate access mapping (AAM) settings and make sure the host header that is specified in your default zone is the same url you have used in your search content source. Normally SharePoint kindly creates the entry in the content source whenever you create a web application but if you have changed around any AAM settings and these two things don’t match then your contextual results will be empty. Case Closed!</p>
</blockquote>
<p>Thanks Nick</p>
<h2>6. Active Directory Policies, Proxies and Stateful Inspection</h2>
<p>A particularly insidious way to have problems with Search (and not just people search) is via Active Directory policies. For those of you who don’t know what AD policies are, they basically allow geeks to go on a power trip with users desktop settings. Consider the image below. Essentially an administrator can enforce a massive array of settings for all PC’s on the network. Such is the extent of what can be controlled, that I can’t fit it into a single screenshot. What is listed below is but a small portion of what an anal retentive Nazi administrator has at their disposal (mwahahaha!)</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image28.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2011/07/image_thumb28.png" width="287" height="293" /></a></p>
<p>Common uses of policies include restricting certain desktop settings to maintain consistency, as well as enforce Internet explorer security settings, such as proxy server and security settings like maintaining the trusted sites list. One of the common issues encountered with a global policy defined proxy server in particular is that the search service account will have its profile modified to use the proxy server.</p>
<p>The result of this is that now the proxy sits between the search crawler and the content source to be crawled as shown below:</p>
<p>Crawler &#8212;&#8211;&gt; Proxy Server &#8212;&#8211;&gt; Content Source</p>
<p>Now even though the crawler does not use Internet Explorer per se, proxy settings aren’t actually specific to Internet Explorer. Internet explorer, like the search crawler, uses wininet.dll. Wininet is a module that contains Internet-related functions used by Windows applications and it is <em>this</em> component that utilises proxy settings.</p>
<p>Sometimes people will troubleshoot this issue by using telnet to connect to the HTTP port. &quot;ie: “Telnet web 80”. But telnet does not use the wininet component, so is actually not a valid method for testing. Telnet will happily report that the web server is listening on port 80 or 443, but it matters not when the crawler tries to access that port via the proxy. Furthermore, even if the crawler and the content source are on the same server, the result is the same. As soon as the crawler attempts to index a content source, <strong>the request will be routed to the proxy server</strong>. Depending on the vendor and configuration of the proxy server, various things can happen including:</p>
<ul>
<li>The proxy server cannot handle the NTLM authentication and passes back a 400 error code to the crawler </li>
<li>The proxy server has funky stateful inspection which interferes with the allowed HTTP verbs in the communications and interferes with the crawl </li>
</ul>
<p>For what its worth, it is not just proxy settings that can interfere with the HTTP communications between the crawler and the crawled. I have seen security software also get in the way, which monitors HTTP communications and pre-emptively terminates connections or modifies the content of the HTTP request. The effect is that the results passed back to the crawler are not what it expects and the crawler naturally reports that it could not access the data source with suitably weird error messages.</p>
<p><em>Now the very thing that makes this scenario hard to troubleshoot is the tell-tale sign for it. That is: nothing will be logged in the ULS logs, not the IIS logs for the search service. This is because the errors will be logged in the proxy server or the overly enthusiastic stateful security software</em>.</p>
<p>If you suspect the problem is a proxy server issue,&#160; but do not have access to the proxy server to check logs, the best way to troubleshoot this issue is to temporarily grant the search crawler account enough access to log into the server interactively. Open internet explorer and manually check the proxy settings. If you confirm a policy based proxy setting, you might be able to temporarily disable it and retry a crawl (until the next AD policy refresh reapplies the settings). The ideal way to cure this problem is to ask your friendly Active Directory administrator to either:</p>
<ul>
<li>Remove the proxy altogether from the SharePoint server (watch for <a href="http://ddkonline.blogspot.com/2010/05/fix-sharepoint-very-slow-to-start-after.html" target="_blank">certificate revocation slowness</a> as a result) </li>
<li>Configure an exclusion in the proxy settings for the AD policy to that the content sources for crawling are not proxied </li>
<li>Create a new AD policy specifically for the SharePoint box so that the default settings apply to the rest of the domain member computers. </li>
</ul>
<p>If you suspect the issue might be overly zealous stateful inspection, temporarily disable all security-type software on the server and retry a crawl. Just remember, that if you have no logs on the server being crawled, chances are its not being crawled and you have to look elsewhere.</p>
<h2>7. Pre-Windows 2000 Compatibility Access Group</h2>
<p>In an <a href="http://www.cleverworkarounds.com/2010/08/12/index-index-everywhere-but-not-a-result-in-sight/comment-page-1/#comment-80183" target="_blank">earlier post</a> of mine, I hit an issue where search would yield no results for a regular user, but a domain administrator could happily search SP2010 and get results. Another symptom associated with this particular problem is certain recurring errors event log &#8211; Event ID 28005 and 4625.</p>
<ul>
<li>ID 28005 shows the message “An exception occurred while enqueueing a message in the target queue. Error: 15404, State: 19. Could not obtain information about Windows NT group/user ‘DOMAIN\someuser’, error code 0×5”. </li>
<li>The 4625 error would complain “An account failed to log on. Unknown user name or bad password status 0xc000006d, sub status 0xc0000064” or else “An Error occured during Logon, Status: 0xc000005e, Sub Status: 0&#215;0”</li>
</ul>
<p>If you turn up the debug logs inside SharePoint Central Administration for the “Query” and “Query Processor” functions of “SharePoint Server Search” you will get an error “<em>AuthzInitializeContextFromSid failed with ERROR_ACCESS_DENIED. This error indicates that the account under which this process is executing may not have read access to the tokenGroupsGlobalAndUniversal attribute on the querying user’s Active Directory object. Query results which require non-Claims Windows authorization will not be returned to this querying user</em>. </p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2010/08/image2.png"><img title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2010/08/image_thumb2.png" width="295" height="439" /></a></p>
<p>The fix is to add your search service account to a group called “Pre-Windows 2000 Compatibility Access” group. The issue is that SharePoint 2010 re-introduced something that was in SP2003 – an API call to a function called <a href="http://msdn.microsoft.com/en-us/library/aa376309(VS.85).aspx">AuthzInitializeContextFromSid</a>. Apparently it was not used in SP2007, but its back for SP2010. This particular function requires a certain permission in Active Directory and the “Pre-Windows 2000 Compatibility Access” group happens to have the right required to read the “tokenGroupsGlobalAndUniversal“ Active Directory attribute that is described in the debug error above.</p>
<h2>8. Bloody developers!</h2>
<p>Finally, Patrick Lamber blogs about <a href="http://patricklamber.blogspot.com/2010/04/why-might-moss-crawler-not-working.html" target="_blank">another cause of crawler issues</a>. In his case, someone developed a custom web part that had an exception thrown when the site was crawled. For whatever reason, this exception did not get thrown when the site was viewed normally via a browser. As a result no pages or content on the site could be crawled because all the crawler would see, no matter what it clicked would be the dreaded “An unexpected error has occurred”. When you think about it, any custom code that takes action based on browser parameters such as locale or language might cause an exception like this – and therefore cause the crawler some grief.</p>
<p>In Patricks case there was a second issue as well. His team had developed a custom HTTPModule that did some URL rewriting. As Patrick states “The indexer seemed to hate our redirections with the <em>Response.Redirect</em> command. I simply removed the automatic redirection on the indexing server. Afterwards, everything worked fine”.</p>
<p>In this case Patrick was using a multi-server farm with a dedicated index server, allowing him to remove the HTTP module for that one server. in smaller deployments you may not have this luxury. So apart from the obvious opportunity to bag programmers <img src='http://www.cleverworkarounds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> , this example nicely shows that it is easy for a 3rd party application or code to break search. What is important for developers to realise is that client web browsers are not the only thing that loads SharePoint pages.</p>
<p>If you are not aware, the user agent User Agent string identifies the type of client accessing a resource. This is the means by which sites figure out what browser you are using. A quick look at the User Agent parameter by SharePoint Server 2010 search reveals that it identifies itself as “Mozilla/4.0 (compatible; MSIE 4.01; Windows NT; MS Search 6.0 Robot)“. At the very least, test any custom user interface code such as web parts against this string, as well as check the crawl logs when it indexes any custom developed stuff.</p>
<h2>Conclusion</h2>
<p>Well, that&#8217;s pretty much my list of gotchas. No doubt there are lots more, but hopefully this slightly more detailed exploration of them might help some people.</p>
<p>&#160;</p>
<p>Thanks for reading</p>
<p>Paul Culmsee</p>
<p><a href="http://www.sevensigma.com.au">www.sevensigma.com.au</a></p>
<p><a href="http://www.spgovia.com">www.spgovia.com</a></p>
<div id="spreadx">&nbsp;<a href="http://digg.com/submit?phase=2&url=http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/digg.gif" alt="Digg" border="0" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/share.php?u=http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/facebook.gif" alt="Facebook" border="0" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/&title=Troubleshooting+SharePoint+%28People%29+Search+101" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/stumble.gif" alt="StumbleUpon" border="0" /></a>&nbsp;&nbsp;<a href="http://technorati.com/faves?add=http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/technorati.gif" alt="Technorati" border="0" /></a>&nbsp;&nbsp;<a href="http://del.icio.us/post?url=http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/&title=Troubleshooting+SharePoint+%28People%29+Search+101" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/delicious.gif" alt="Deli.cio.us" border="0" /></a>&nbsp;&nbsp;<a href="http://slashdot.org/submit.pl?url=http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/slashdot.gif" alt="Slashdot" border="0" /></a>&nbsp;&nbsp;<a href="http://www.twitter.com/home?status=http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/twitter.gif" alt="Twitter" border="0" /></a>&nbsp;&nbsp;<a href="http://www.sphinn.com/submit.php?url=http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/sphinn.gif" alt="Sphinn" border="0" /></a>&nbsp;&nbsp;<a href="http://www.mixx.com/submit?page_url=http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/mixx.gif" alt="Mixx" border="0" /></a>&nbsp;&nbsp;<a href="http://www.google.com/bookmarks/mark?op=edit&bkmk=http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/&title=Troubleshooting+SharePoint+%28People%29+Search+101" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/google.gif" alt="Google" border="0" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?url=http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/&title=Troubleshooting+SharePoint+%28People%29+Search+101" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/dzone.gif" alt="DZone" border="0" /></a>&nbsp;</div><p class="tags">No Tags</p>]]></content:encoded>
			<wfw:commentRss>http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Troubleshooting SPSearch and good practices for moving large files</title>
		<link>http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/</link>
		<comments>http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 05:26:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://www.cleverworkarounds.com/?p=1508</guid>
		<description><![CDATA[Every so often I get back into geek mode and roll up the sleeves and get my SharePoint hands dirty. Not so long ago I was assisting a small WSS3 based organisation with a major disk subsystem upgrade (iSCSI SAN) and locally attached storage upgrade, driven by content database growth and a need to convert [...]<p class="tags">No Tags</p>]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-6551570212921028";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>Every so often I get back into geek mode and roll up the sleeves and get my SharePoint hands dirty. Not so long ago I was assisting a small WSS3 based organisation with a major disk subsystem upgrade (iSCSI SAN) and locally attached storage upgrade, driven by content database growth and a need to convert some sites to site collections. By the end of it all, we had a much better set-up with a much better performing disk subsystem, but I was hit by two problems. One was WSS Search being broken and needing a fix and the other was the appallingly slow speed of copying large files around.</p>
<p>So, let’s talk about fixing broken search and then talk about copying large files.</p>
<h2>1. When SPSearch breaks…</h2>
<p>The SharePoint install in question was a WSS3 site with SP1, and Search Server 2008 had not been installed. The partition that contained the indexes (F:\) had to be moved to another partition (G:), so to achieve this I used the command </p>
<p><font size="3" face="Courier New">stsadm –o </font><a href="http://technet.microsoft.com/en-us/library/cc288507.aspx" target="_blank"><font size="3" face="Courier New">spsearch</font></a><font size="3" face="Courier New"> indexlocation G:\DATA\INDEX</font></p>
<p>Now, 99.9% of the time this will happily do its thing. But today was the 0.01% of the time when it decided to be difficult. Upon executing this command, I received an RPC error. Unfortunately for me, I was out of time, so I decided to completely re-provision search and start all over again. </p>
<p>It didn’t matter whether I tried this in Central Administration-&gt;Operations-&gt;Services on Server, or via the command line below. Both methods would not work.</p>
<p><font size="3" face="Courier New">stsadm -o spsearch -action stop </font></p>
<p>On each attempt, search would get stuck on unprovisioning (stopping) with a sequence of events in the event log (eventID 2457, 2429 and 2428). </p>
<pre class="csharpcode">===========================================================================================</pre>
<pre class="csharpcode">Event Source: Windows SharePoint Services 3 Search
Event Category: Gatherer
Event ID: 2457
Description: 

The plug-in manager <span class="kwrd">&lt;</span><span class="html">SPSearch.Indexer.1</span><span class="kwrd">&gt;</span> cannot be initialized.
Context: Application 'Search index file on the search server' 

Details:
The system cannot find the path specified. (0x80070003) 

===========================================================================================
Event Source: Windows SharePoint Services 3 Search
Event Category: Gatherer
Event ID: 2429
Description: 

The plug-in in <span class="kwrd">&lt;</span><span class="html">SPSearch.Indexer.1</span><span class="kwrd">&gt;</span> cannot be initialized.
Context: Application '93a1818d-a5ec-40e1-82d2-ffd8081e3b6e', Catalog 'Search' 

Details:
The specified object cannot be found. Specify the name of an existing object. (0x80040d06) 

===========================================================================================</pre>
<pre class="csharpcode">Event Source: Windows SharePoint Services 3 Search
Event Category: Gatherer
Event ID: 2428
Description: 

The gatherer object cannot be initialized.
Context: Application 'Search index file on the search server', Catalog 'Search' 

Details:
The specified object cannot be found. Specify the name of an existing object. (0x80040d06) </pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>So, as you can see I was stuck. I couldn’t not clear the existing configuration and the search service would never actually stop. In the end, I started to wonder whether the problem was that my failed attempt to change the index partition had perhaps not reapplied permissions to the new location. To be sure I reapplied permissions using the following STSADM command</p>
<p><font size="3" face="courier ne">psconfig -cmd secureresources </font></p>
<p>This seemed to do the trick. Re-executing the stsadm spsearch stop command finally did not come up with an error and the service was listed as stopped. </p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2009/08/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2009/08/image_thumb.png" width="645" height="207" /></a></p>
<p>Once stopped, we repartitioned the disks accordingly and now all I had to do was start the damn thing <img src='http://www.cleverworkarounds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Through the Central Administration GUI I clicked Start and re-entered all of the configuration settings, including service accounts and the new index location (G:\DATA\INDEX). After a short time, I received the ever helpful “Unknown Error” error message. </p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2009/08/image1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2009/08/image_thumb1.png" width="334" height="172" /></a></p>
<p>Rather than change debug settings in web.config, I simply checked the SharePoint logs and the event viewer. Now, I had a new event in the logs.</p>
<pre class="csharpcode">Event Type: Warning
Event Source: Windows SharePoint Services 3 Search
Event Category: Gatherer
Event ID: 10035
Description:
Could not import the registry hive into the registry because it does not exist <span class="kwrd">in</span> the configuration database.
Context: Application <span class="str">'93a1818d-a5ec-40e1-82d2-ffd8081e3b6e'</span> </pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Hmm&#8230; It suggests a registry issue, so I checked the registry.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2009/08/image2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2009/08/image_thumb2.png" width="719" height="290" /></a></p>
<p>&#160;</p>
<p>Although the error message really made no sense to me, checking the registry turned out to be the key to solving this mystery. If you look carefully in the above screenshot, note that the registry key DataDirectory was set to “F:\DATA\INDEX”. </p>
<p>I was surprised at this, because I had re-provisioned the SPSearch to use the new location (G:\DATA\INDEX). I would have thought that changing the default index location would alter the value of this key. A delve into the ULS logs showed events like this.</p>
<p><font size="2" face="Courier New">STSADM.EXE (0x0B38) 0&#215;0830 Search Server Common MS Search Administration 95k1 High WSS Search index move: Changing index location from &#8216;F:\data\index&#8217; to &#8216;G:\data\index&#8217;. </font></p>
<p><font size="2" face="Courier New">STSADM.EXE (0x0B38) 0&#215;0830 Search Server Common MS Search Administration 95k2 High WSS Search index move: Index location changed to &#8216;G:\data\index&#8217;. </font></p>
<p><font size="2" face="Courier New">STSADM.EXE (0x0B38) 0&#215;0830 Search Server Common MS Search Administration 0 High CopyIndexFiles: Source directory &#8216;F:\data\index\93a1818d-a5ec-40e1-82d2-ffd8081e3b6e&#8217; not found for application &#8217;93a1818d-a5ec-40e1-82d2-ffd8081e3b6e&#8217;. </font></p>
<p><font size="2" face="Courier New">STSADM.EXE (0x0F10) 0&#215;1558 Windows SharePoint Services Topology 8xqz Medium Updating SPPersistedObject SPSearchServiceInstance Parent=SPServer Name=DAPERWS03. Version: 218342 Ensure: 0, HashCode: 54267293, Id: 305c06d7-ec6d-465a-98be-1eafe64d8752, Stack: at Microsoft.SharePoint.Administration.SPPersistedObject.Update() at Microsoft.SharePoint.Administration.SPServiceInstance.Update() at Microsoft.SharePoint.Search.Administration.SPSearchServiceInstance.Update() at Microsoft.Search.Administration.CommandLine.ActionParameter.Run(StringBuilder&amp; output) at Microsoft.SharePoint.Search.Administration.CommandLine.SPSearch.Execute() at Microsoft.Search.Administration.CommandLine.CommandBase.Run(String command, StringDictionary keyValues, String&amp; output) at Microsoft.SharePoint.StsAdmin.SPStsAdmin.RunOperation(SPGlobalAdmin globalAdmin, String st&#8230; </font></p>
<p><font size="2" face="Courier New"><strong><em>mssearch.exe (0&#215;1654) 0&#215;1694 Search Server Common IDXPIPlugin 0 Monitorable CTripoliPiMgr::InitializeNew &#8211; _CopyNoiseFiles returned 0&#215;80070003 &#8211; File:d:\office\source\search\ytrip\search\tripoliplugin\tripolipimgr.cxx Line:519 </em></strong></font></p>
<p><font size="2" face="Courier New">mssearch.exe (0&#215;1654) 0&#215;1694 Search Server Common Exceptions 0 Monitorable &lt;Exception&gt;&lt;HR&gt;0&#215;80070003&lt;/HR&gt;&lt;eip&gt;0000000001D4127F&lt;/eip&gt;&lt;module&gt;d:\office\source\search\ytrip\search\tripoliplugin\tripolipimgr.cxx&lt;/module&gt;&lt;line&gt;520&lt;/line&gt;&lt;/Exception&gt; </font></p>
<p>Note the second last line above (marked bold and italic). It showed that a function called CopyNoiseFiles returned a code of 0&#215;8007003. This code happens to be “The system <em>cannot find</em> the path specified,” so it appears something is missing.</p>
<p>It then dawned on me. Perhaps the SharePoint installer puts some files into the initially configured index location and despite moving the index to another location, SharePoint still looks to this original location for some necessary files. To test this, I loaded up a blank Windows 2003 VM and installed SharePoint SP1 *without* running the configuration wizard. When I looked in the location of the index files, sure enough – there are some files as shown below.</p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2009/08/image3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2009/08/image_thumb3.png" width="619" height="463" /></a> </p>
<p>It turned out that during our disk reconfiguration, the path of F:\DATA\INDEX no longer existed. So I recreated the path specified in the registry (F:\DATA\INDEX) and copied the contents of the CONFIG folder from my fresh VM install. I then started the search service from Central Administration and… bingo! Search finally started successfully…Wohoo!</p>
<p>Now that I had search successfully provisioned, I re-ran the command to change the index location to G:\DATA\INDEX and then started a full crawl.</p>
<p><font size="3" face="Courier New">C:\&gt;</font><font size="3" face="Courier New">stsadm -o spsearch -indexlocation G:\DATA\INDEX </font></p>
<p><font size="3" face="Courier New">Operation completed successfully. </font></p>
<p><font size="3" face="Courier New">C:\&gt;stsadm -o spsearch -action fullcr</font><font size="3" face="Courier New">awlstart </font></p>
<p><font size="3" face="Courier New">Operation completed successfully. </font></p>
<p>I then checked the event logs and now it seems we are cooking with gas!</p>
<pre class="csharpcode">Event Type: Information
Event Source: Windows SharePoint Services 3 Search
Event Category: Gatherer
Event ID: 10045
Description: 

Successfully imported the application configuration snapshot into the registry.
Context: Application <span class="str">'93a1818d-a5ec-40e1-82d2-ffd8081e3b6e'</span> 

Event Type: Information
Event Source: Windows SharePoint Services 3 Search
Event Category: Gatherer
Event ID: 10044
Description: 

Successfully stored the application configuration registry snapshot <span class="kwrd">in</span> the database.
Context: Application <span class="str">'Serve search queries over help content'</span> </pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>As a final check, I re-examined the registry and noted that the DataDirectory key had not changed to reflect G:\. Bear that in mind when moving your index to another location. The original path may still be referred to in the configuration.</p>
<h2>2. There are RAID cards and there are RAID cards</h2>
<p>Since part of the upgrade work was to improve disk performance, we had to detach databases and move them around while we upgraded the disk infrastructure and repartitioned existing disk arrays. The server had an on-board Intel RAID controller with two arrays configured. One was a two-disk RAID 0 SCSI and the other was a three-disk RAID 5 SATA array. The performance of the RAID 5 SATA had always been crap – even crappier than you would expect from onboard RAID 5. When I say crap, I am talking around 35 megabytes per second transfer rate – even on the two-disk SCSI RAID 0 array.</p>
<p>Now, 35MB/sec isn’t great, but not completely intolerable. But, what made this much, much worse however, was the extreme slowness in copying large files (ie &gt;4GB). When trying to copy files like this to the array, the throughput dropped to as low as 2MBs. </p>
<p>No matter whether it was Windows Explorer drag and drop or a command line utility like ROBOCOPY, the behaviour was the same. Throughput would be terrific for around 60 seconds, and then it would drop as shown below. </p>
<p><a href="http://www.cleverworkarounds.com/wp-content/uploads/2009/08/image4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.cleverworkarounds.com/wp-content/uploads/2009/08/image_thumb4.png" width="244" height="177" /></a> </p>
<p>My client called the server vendor and was advised to purchase 4 SCSI disks to replace the SATA’s. Apparently the poor SATA performance was actually because SCSI and SATA were mixed on the same RAID bard and bus. That was a no-no.</p>
<p>Sounded plausible, but of course, after replacing the RAID 5 with the SCSI disks, there was no significant improvement in disk throughput at all. The performance of large files still reflected the pattern illustrated in the screenshot above.</p>
<p>Monitoring disk queue length on the new RAID array showed that disk queues were off the planet in terms of within normal boundaries. Now, I know that some people view disk queue length as a bit of an <a href="http://sqlblog.com/blogs/linchi_shea/archive/2007/11/12/disk-queue-length-some-data-points-may-help.aspx" target="_blank">urban myth</a> in terms of disk performance, but copying the same files to the iSCSI SAN yielded a throughput rate of around 95MBs and the disk queue value rarely spiked above 2. </p>
<p>Damn! My client wasn’t impressed with his well known server vendor! Not only does the onboard RAID card have average to crappy performance to begin with, RAID 5 with large files makes it positively useless.</p>
<h3>Fun with buffers </h3>
<p>To me, this smelt like a buffer type of issue. Imagine you are pouring sand into a bucket and the bucket has a hole in it. If you pour sand into the bucket at a faster rate than the hole allows sand to pour out, then eventually you will overflow the bucket. I suspected this sort of thing was happening here. The periods of high throughput were when the bucket was empty and the sand filled it fast. Then the bucket filled up and things slowed to a crawl while all of that sand passed through the metaphorical hole in the bottom. Once the bucket emptied, there was another all-too-brief burst of throughput as it filled quickly again.</p>
<p>I soon found a terrific article from <a href="http://blogs.technet.com/askperf" target="_blank">EPS Windows Server Performance Team</a> that explain what was going on <a href="http://blogs.technet.com/askperf/archive/2007/05/08/slow-large-file-copy-issues.aspx" target="_blank">very clearly</a>.</p>
<p>Most file copy utilities like Robocopy or Xcopy call API functions that try and improve performance by keeping data in a buffer. The idea is that files that are changed or accessed frequently can be pulled from the buffer, thereby improving performance and responsiveness. But there is a trade-off. Adding this cache layer introduces an overhead in creating this buffer in the first place. If you are never going to access to copy this file again, adding it to the buffer is actually a bad idea.</p>
<p>Now imagine a huge file. Not only do you have the buffer overhead, but you now are also filling the buffer (and forcing it to be flushed), over and over again.</p>
<p>With a large file, you are actually better off avoiding the buffer altogether and doing a raw file copy. Any large file on a slow RAID card will still take time, but it’s a heck of a lot quicker than when combined with the buffering overhead.</p>
<h3>Raw file copy methods</h3>
<p>In the aforementioned article from the Microsoft EPS Server performance team, they suggest ESEUTIL as an alternative method. I hope they don’t mind me quoting them…</p>
<blockquote>
<p>For copying files around the network that are very large, my copy utility of choice is ESEUTIL which is one of the database utilities provided with Exchange.&#160; To get ESEUTIL working on a non-Exchange server, you just need to copy the ESEUTIL.EXE and ESE.DLL from your Exchange server to a folder on your client machine.&#160; It&#8217;s that easy.&#160; There are x86 &amp; x64 versions of ESEUTIL, so make sure you use the right version for your operating system.&#160; The syntax for ESEUTIL is very simple: <em>eseutil /y &lt;srcfile&gt; /d &lt;destfile&gt;</em>.&#160; Of course, since we&#8217;re using command line syntax &#8211; we can use ESEUTIL in batch files or scripts.&#160; ESEUTIL is dependent on the Visual C++ Runtime Library which is available as a <a href="http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&amp;displaylang=en">redistributable package</a></p>
</blockquote>
<p>I found an alternative to this, however, that proved its worth to me. It is called <a href="http://www.codesector.com/teracopy.php" target="_blank">Teracopy</a> and we tried the <a href="http://www.codesector.com/download.php" target="_blank">free edition</a> to see what difference it would make in terms of copy times. As it happens, the difference was significant and the time taken to transfer large files around was reduced by a factor of 5. Teracopy also produced a nice running summary of the copy thoughput in MB/sec.The product definitely proved its worth and at a whopping $15 bucks, is not going to break the bank. </p>
<p>So, if you are doing any sort of large file copies and your underlying disk subsystem is not overly fast, then I recommend taking a look at this product. Believe me, it will save you a heap of time.</p>
<h2>3. Test your throughput</h2>
<p>A final note about this saga. Anyone who deals with SQL Server will have likely read articles about best practice disk configuration in terms of splitting data/logs/backups to different disk arrays to maximise throughput. This client had done this, but since Teracopy gave us nice throughput stats, we took the opportunity to test the read/write performance of all disk subsystems and it turned out that putting ALL data onto the SAN array had significantly better performance than using any of the onboard arrays.</p>
<p>This meant that the by-the-book configuration was hamstrung by a poorly performing onboard RAID controller and even if the idea of using separate disks/spindles seemed logical, the cold hard facts of direct throughput testing proved otherwise.</p>
<p>After reconfiguring the environment to leverage this fact, the difference in response time of WSS, when performing bulk uploads was immediately noticeable.</p>
<p>The moral of the story? </p>
<p>If you are a smaller organisation and can’t afford the high end server gear like Compaq/IBM, then take the time to run throughput tests before you go to production. The results may surprise you.</p>
<p>Thanks for reading</p>
<p>Paul Culmsee</p>
<p><a href="http://www.sevensigma.com.au">www.sevensigma.com.au</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-6551570212921028";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<div id="spreadx">&nbsp;<a href="http://digg.com/submit?phase=2&url=http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/digg.gif" alt="Digg" border="0" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/share.php?u=http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/facebook.gif" alt="Facebook" border="0" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/&title=Troubleshooting+SPSearch+and+good+practices+for+moving+large+files" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/stumble.gif" alt="StumbleUpon" border="0" /></a>&nbsp;&nbsp;<a href="http://technorati.com/faves?add=http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/technorati.gif" alt="Technorati" border="0" /></a>&nbsp;&nbsp;<a href="http://del.icio.us/post?url=http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/&title=Troubleshooting+SPSearch+and+good+practices+for+moving+large+files" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/delicious.gif" alt="Deli.cio.us" border="0" /></a>&nbsp;&nbsp;<a href="http://slashdot.org/submit.pl?url=http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/slashdot.gif" alt="Slashdot" border="0" /></a>&nbsp;&nbsp;<a href="http://www.twitter.com/home?status=http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/twitter.gif" alt="Twitter" border="0" /></a>&nbsp;&nbsp;<a href="http://www.sphinn.com/submit.php?url=http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/sphinn.gif" alt="Sphinn" border="0" /></a>&nbsp;&nbsp;<a href="http://www.mixx.com/submit?page_url=http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/mixx.gif" alt="Mixx" border="0" /></a>&nbsp;&nbsp;<a href="http://www.google.com/bookmarks/mark?op=edit&bkmk=http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/&title=Troubleshooting+SPSearch+and+good+practices+for+moving+large+files" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/google.gif" alt="Google" border="0" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?url=http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/&title=Troubleshooting+SPSearch+and+good+practices+for+moving+large+files" target="_new"><img src="http://www.cleverworkarounds.com/wp-content/plugins/spreadx/images/dzone.gif" alt="DZone" border="0" /></a>&nbsp;</div><p class="tags">No Tags</p>]]></content:encoded>
			<wfw:commentRss>http://www.cleverworkarounds.com/2009/08/03/troubleshooting-spsearch-and-good-practices-for-moving-large-files/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

