Ian Morrish Senior Consultant OFC302 Understanding SharePoint Trouble Shooting Best Practices...

30

Transcript of Ian Morrish Senior Consultant OFC302 Understanding SharePoint Trouble Shooting Best Practices...

OFC302 Understanding SharePoint Infrastructure

8/9/2007 4:11 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

1Understanding SharePoint InfrastructureIan MorrishSenior ConsultantOFC3028/9/2007 9:34 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2AgendaUnderstanding SharePointTrouble ShootingBest PracticesResourcesTerminologyIISVirtual ServerApplication PoolSharePointFarmWeb ApplicationSite CollectionSQL ServerContent DatabaseFrom Setup to Portal

SharePoint FarmApplicationSQL ServerCentral AdminContentConfigContentoSearchContentContentContentContentContentSSPPortalMy SitesSearchServicesWSS ServicesAdministrationWSS SearchTimer *TracingVSS WriterMOSS ServicesOffice SearchDoc Converter Doc Converter Load BalancerSSOA SharePoint Application consists of:IIS Virtual ServerIIS Application Pool + AD CredentialsContent DB (accessed by the App Pool credentials)Site Collection (Top level SharePoint site template)6SharePoint Backup/RestoreHow it works

File ServerFarm

Central Admin ConsoleSQL Backup/Restore

Microsoft Confidential8/11/2007 11:42 PM7 2006 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

What Can Go Wrong?Understanding IIS Understanding SharePointLack of Preparation before running SetupLost User DataFirst SharePoint Server in Farm is like first DC in AD

SharePoint Manages IIS ConfigNot YouHost Headers vs AAMAlternate Access MappingsWork across farm serversTranslate port numbersSupport ISA publishingSecurity Zonesweb.config Files\Inetpub\wwwroot\wss\VirtualDirectories\The web.config file that defines configuration settings for the SharePoint Central Administration application.The web.config file that defines configuration settings for a SharePoint content application. In addition, the \wpresources folder contains a web.config file used in Web Part resources.

\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresourcesA web.config file that is used in Web Part resources for the global assembly cache. \12\CONFIG The web.config file and other .config files that together define configuration settings for extending other virtual servers. \12\ISAPIThe web.config file that defines configuration settings for the /_vti_bin virtual directory. \12\TEMPLATE\LAYOUTSThe web.config file that defines configuration settings for the /_layouts virtual directory. Planning for AccountsUse Domain Accounts for EVERYTHINGFarm AccountCentral Admin App PoolSharePoint Timer ServiceSSP AccountOffice SharePoint Search ServiceDefault Content CrawlingStandard App Pool Account for Portal, MySite etcLog FilesUnified Logging Service (ULS)SetupUpgradePublishingWindows Event Logs - MOMWindowsIISWSSMOSSSQLCrawling and Components that access the Internet (RSS feeds etc)After the tag in web.config for each site

13SQL Server IssuesDont update statisticsRecovery ModeWant to move SharePoint DBs to another SQL Server?Known bugs and HotfixesList of KB Articles hereGet the latest Hotfix hereDCOM Search errors are common. Search on Live.com for the answerX64 Memory corruption error.Net bug KB 923028 (http://support.microsoft.com/?id=923028). IE Crash when creating a documenthttp://support.microsoft.com/kb/938888

Known Issues: Content DeploymentViolation of PRIMARY KEYKB936867 (hotfix)Special character encoding problemKB938536 (hotfix)Updating settings causes full deploymentKB937208 (hotfix)Master page settings not honored after full deploymentWorkaround16Best Prcatice for Content & CodeSDLCDefinitions: "Content"Rules of thumb:Lives inside the content databaseIs created using SharePoint Designer or the Web UI

Examples:Lists/librariesContent pagesMaster pagesPage layouts (_catalogs/masterpage/)18Definitions: "Code"Rules of thumb:Lives outside the databaseHas a backing assembly (sometimes)

Examples:FeaturesSite DefinitionsCustom web partsCustom field controls_layouts pages19Basic ProcessContentCodeCodeCodeContentContentCodeContent DeploymentSolution Deployment20Technologies: FeaturesCollection of SharePoint elements that enables special functionalityCan be activated and deactivated on site collections/sitesExample: Publishing Infrastructure featureCreates listsProvisions files in the databaseAdds custom field typesAdds custom content typesInstalling is different than Activating!21Technologies: SolutionsPackages up SharePoint collateralFeaturesAssembliesSite DefinitionsEtc.Synchronizes across front endsReusableUpgradableLocalizableDoes not activate features!22Technologies: Content DeploymentMirrors a site collections content to anotherExplicitly designed for authoring production scenarios for internet sitesWorks incrementally by defaultSupports keeping some content more up-to-dateUses Content Migration API under the covers23Content DeploymentAssumption: Destination is meant to look like the sourcePaths and JobsSchedule and ScopeIncremental by defaultQuick deploymentNot designed for destination editing24Other Methods to Move ContentStsadm o import/exportWeb levelOne-time movesSite Management ToolInter-site collection moves/copiesOne-time movesBackup/restoreNot prescribed for regular content movesOwn set of quirks/issuesCustom Code25What's Left?Typically not the samePermissionsCachingData connectionsConfigure farms independentlySearch/SSP settingsInfoPath Forms

26Related Sessions.OFC301 - Capacity and Performance Planning for Microsoft SharePoint Products and Technologies 200714/08/2007 10:45 AM OFC418 - Microsoft SharePoint Products and Technologies 2007: Deployment and Advanced Administration Topics14/08/2007 3:45 PM

Certifications & Resources70-630 - Microsoft Office SharePoint Server 2007, Configuring70-631 - Windows SharePoint Services 3.0, Configuringhttp://www.wssdemo.comhttp://www.sharepointusergroup.net.nz

Evaluation FormsQuestions?

2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.8/9/2007 4:11 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

31Data

Config DB

Data

Content DB

Data

SSP DB

SearchIndex

Data

Content DB

Data

Full Backup

Data

Differential