Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Module13ManagingSharePointCustomizations
IntroducingSharePoint2010
TSSRedmond,LLC
11
Module1
IntroducingSharePoint2010
Contents:
Lesson1:EvaluatingtheFeaturesofSharePoint2010 Lesson2:PreparingforSharePoint2010 Lesson3:InstallingSharePoint2010 Lesson4:AdvancedInstallationofSharePoint2010 Lab:InstallingSharePoint2010
1 2
TSSRedm mond,LLC
SharePointBootCamp p
MicrosoftShare M ePoint2010t thecollectiono ofproductsand technologiesth hatincludesSha arePointServer r2010 an ndSharePointF Foundation2010offersabroadrangeoffun nctionalitythat addressesavas stnumberofbu usiness co ollaborationsce enarios.TheSha arePointplatfor rmsitson,andd dependson,an numberofothe erMicrosoftpro oducts an ndtechnologies s.
In nthismodule,youexploretheroleofSharePo oint2010indel iveringbusiness scollaborationsolutionsinthe e en nterpriseandontheInternet.Youthenlearn whatittakesto ogetSharePoin ntupandrunnin ngfromprepa aring yo ourinfrastructu ure,toconfiguri ingrelatedtech hnologiesandpr roducts,todep ployingSharePointserversand farms us singbothoutof fboxinstallatio onwizardsands scripts.
In ntroducingSharePoint2010
TSSRedmond,LLC C
13
Lesson1
Sh harePoint2010isthebusinesscollaborationp platformforthe eenterpriseand dtheInternet.B Behindthissimple va alueproposition nisacomplexa andpowerfulplatformthatde liversrichfunct tionalitytoaddressavastrang geof bu usinessneeds.Inthislesson,yo oulearnjusthowmuchtechno ologyiswrappe dupbythose 13 3words,andyo oudissectthete echnicalcapabil litiesandfeatur resthataredriv vingenterprises saroundthe worldtoadoptSharePoint2010 w 0.
Af ftercompleting gthislesson,youwillbeableto o:
Describethe eSharePoint2010platform.
1 4
TSSRedm mond,LLC
SharePointBootCamp p
Delivertheb bestproductivit tyexperience.T Theenduserex xperienceofSh harePointServer2010buildson n familiaruserinterfacesandt tools. thaunifiedinfr rastructure.Sha arePoint2010p performsrolest thathavebeen, ,inmany Cutcostswit enterprises,p providedbyotherdisparatesys stems.Nowtho oserolescanbe econsolidatedo ontoSharePoin nt 2010. ondtobusinessneeds.ShareP Point2010prov videsadiversef featuresetaddr ressingmanybusiness Rapidlyrespo collaboration nscenarios,with houtofboxfun nctionality,aric chcollectionof communityge eneratedsolutio ons,and extensibilityt tosupportcusto omsolutions. dfeaturesthat supportthosebenefits.Featuresare Microsoftdescrib M besSharePoint2010asaseries sofbenefitsand gr roupedintocategoriescalledc capabilitiesthatdeliversolutio nstorelatedbu usinessscenario os.
In ntroducingSharePoint2010
TSSRedmond,LLC C
15
Th heSharePoint tPlatform
Sh harePointisaplatformthatitselfextendsand ddependsonm anycomponen tsofthebroade erMicrosoft te echnologiessuit te. Th hisvisualization noftheplatform mshowsthedependenciesbo othrequiredan ndavailablebetweencompo onents of fthetechnologystack.Eachco omponentoftheplatformcont tributesspecific cfeaturesandf functionality.
WindowsServ ver2008orW WindowsServer2008R2provid esthecoreope eratingsystemf functionality, includingthesecuritysubsys stem. TheMicrosof ft.NETFramewo orkprovidesthe eframeworkfo orSharePoint,w whichisa.NETa application runningwithinInternetInfor rmationService es(IIS). oundation2010 0deliversfundamentalSharePo ointfunctionaliityincludingser rvice SharePointFo management,security,integ grationwithMic crosoftOfficecllientapplication ns,andcorecollaborative featuressuchaslistsandlibraries. erver2010build dsonSharePoin ntFoundation,a addingsocialne etworking,ente erprisesearch, SharePointSe businessintelligence,andoth herfeatures. providedbySha arePointFoundation2010and SharePointSer rver2010arede etailedlaterinthis Thefeaturesp module. SharePointus sesidentityserv vicesthatcanin ncludetheActiv veDirectorydi irectoryservice eorotherClaims basedauthen nticationprovide ers.Someofthe eseidentityser rvices,suchasfo ormsbasedaut thentication,re ely onthe.NETFramework. SharePointco ontentisstored dinMicrosoftSQ QLServer. SharePointisahighlyextens sibleplatform.Independentso oftwarevendors s(ISVs),thecom mmunity,custom mers, titselfdeliverso olutionsthatde ependonShare ePointFoundationorSharePoin ntServer. andMicrosoft
1 6
TSSRedm mond,LLC
SharePointBootCamp p
Sh harePointProductsandTec chnologies
Th hereisawidearrayofproduct tsandtechnologiesthatmakeupSharePoint. Sh harePointprodu uctsandtechno ologiesincludet thefollowing: SharePointFo oundation2010 0. SharePointSe erver2010forI IntranetScenarios,whichislice ensedwithStan ndardorEnterp prisefeatures. ThefeaturesprovidedbySharePointFound dation2010and dSharePointSe rver2010ared detailedlaterin thismodule. SharePointSe erver2010forI InternetSites,w whichislicensed dforaccessbylargenumberso ofusersandby y nonauthentic catedusers. OfficeWebA Apps,whicharediscussedinModule11,Imp lementingOffic ceWebApps. FASTSearchf forSharePoint2 2010. FASTSearchf forSharePoint2 2010forInternetSites,whichislicensedfora accessbylargen numbersofuse ers andbynonau uthenticatedusers. SearchServer2010andSearchServerExpre ess2010,which hprovidethese earchfunctiona alityof SharePointSe erver. Ad dditionally,ava astselectionofcommunitygen neratedsolutio nsandapplicat ionsbyISVsext tendsthe ca apabilitiesandf featuresetofSh harePoint2010.
In ntroducingSharePoint2010
TSSRedmond,LLC C
17
Sites
Th hesitescapabilityincludesfunctionalitythatd deliversandper rsonalizesconte enttousers,providesmanage eability an ndscalabilityto oadministrators s,enablesdeveloperstocustom mizeandextend dSharePoint,andallowsan en nterprisetoimp plementShareP Pointalongwith hothersolution nsortoconsolid datethefunctio onalityprovided dby di isparatecollabo orationsolution nsintoSharePoint.
Co ontentDelive ery
Th hesitescapabilityoffersthefo ollowingcomponents,features s,andfunctiona alitytodeliverc contenttousers s: Corecontentstructures Webapplications,sitecollections,sites,lists,libraries Servicestorendercontent Multipleb browsers Mobilebro owsers Accessibilit tystandards(W WCAG2.0) RichWebexp perience Ribbonuse erinterface(UI):FamiliarOffic ceUI WebEdit:Richcontented diting Interfacesfor rrichandoffline eclientexperie ences Officeclientapplications SharePointWorkspace OfficeWebApplications Fo ollowingaresom meimportantp pointsrelatedto ocontentdelive ery:
SharePointFo oundation2010 0deliverstheco orefunctionalit tyofSharePoint tandprovidesm mostofthe featuresinth hesitescapabilit ty. ContentstructuressuchasW Webapplication ns,sitecollectio ons,andsites,ar rediscussedinModule2, 0Intranet. CreatingaSharePoint2010
18
TSSRedmond,LLC
SharePointBootCamp
Question:Whatimportantbusinessobjectivesdothecontentdeliverycapabilitiesinthesitescapability itscomponents,features,andthemanywaysitgivesyoutointeractwithcontentsupport?
ContentPersonalization
Thesitescapabilityoffersthefollowingcomponents,features,andfunctionalitytosupportpersonalizingthe deliveryofcontent:
Featuresthatpersonalizetheusersexperiencewithcontent MySites Usertagging Contenttargeting Multilingualsupport Followingaresomeimportantpointsrelatedtocontentpersonalization: Oneusermaynotneed,want,orbeallowedtoseethesamecontentthatanotherusersees.The SharePointsitescapabilitydeliversfunctionalitytoindividualizetopersonalizetheuserexperience. MySiteisausersindividualWebpage,exposingthatusersprofile,sharedinformationanddocuments, expertise,organizationalrelationships,andsocialactivitiestootherusers.Additionally,ausersMySitecan provideapersonalizednavigationandviewofenterpriseresources. UsertaggingisanimportantnewfunctionalityofSharePoint2010.Documents,lists,libraries,sites,andusers canbetagged.Thesetagscanthenbeusedtoassociateauserwithcontentthatisofinteresttothatperson. Contenttargetingistheabilityofanadministratortopushcontenttooneormoreusersbasedonthose userssharedcharacteristics,includingtheirgroupmembership. SharePointprovidesmultilingualsupport.SharePointcansupportcontent,services,andtagsinawiderange oflanguages.Asitecanberenderedinaparticularlanguagetoauserinthatuserslanguageandcanbe switchedtoanotherlanguageonthefly.
ManageabilityandScalability
Thesitescapabilityoffersthefollowingcomponents,features,andfunctionalitytoensurescalable, manageabledeploymentinanenterprise:
Centralmanagement Governance,security,andcomplianceatmultiplelevelsofeveryfeature Operationsmanagement Deploy,secure,configure,backup,monitor,audit,andupdate. CentralAdministration(UI)andWindowsPowerShellsupport Toolsandguidance Enterprisescalability,manageability,andavailability Capacity Topology Performance
IntroducingSharePoint2010
TSSRedmond,LLC
19
SharePointServer2010providesgreaterscalability,manageability,andavailability.
CustomizationandExtensibility
Thesitescapabilityoffersthefollowingcomponents,features,andfunctionalitytoenableanorganizationto customizeandextendSharePoint: Themingandbranding Outoftheboxsolutions,templates,andWebParts Customsolutions:FromnocodetoMicrosoftVisualStudio Workflow,SharePointDesigner,InfoPathServices,MicrosoftVisioServices,MicrosoftExcelServices, MicrosoftAccessServices Microsoft.NET,MicrosoftSilverlight BusinessConnectivityServices:Interactwithlineofbusinessdata SharePointandclientobjectmodels Webservices,applicationprogramminginterfaces(APIs;SharePointandclientobjectmodels),REST ISVandcommunitysolutions Codeplex:http://www.codeplex.com Manageability:Constrain,debug,manageapplicationlifecycle Followingaresomeimportantpointsrelatedtocustomizationandextensibility: ThemesandbrandingfeaturessupportcustomizingthelookandfeelofSharePointsites. Youcandeliverrichfunctionalsolutionsusingoutoftheboxsolutions,templates,andWebParts. SharePointisaplatformonwhichyoucaneasilycreateanddeploysolutionsfromsimple,nocode solutionstomorecomplexsolutionsdevelopedwithVisualStudio. SharePointprovideswaystointeractwithlineofbusinessapplicationsanddatasources.Oneofthemost importantdataconnectionandinteroperabilityfeaturesisBusinessConnectivityServices. ThereisavastecosystemofcommunityandISVswhosupportandextendSharePoint. WithSharePoint,anenterprisecangovernandmanagecodecustomizationsandextensions.
InteroperabilityandPlatformConsolidation
Thesitescapabilityoffersthefollowingcomponents,features,andfunctionalitytosupportavarietyof relationshipswithothersystemsinanenterprise: Interoperability Platformconsolidation Replacepointsolutions Integratedcapabilities:Oneplatformforintranet,extranet,andInternet SharePointprovidesaunifiedinfrastructurethatdeliversabroadrangeoffunctionalitythatmighttakeseveral toolsfromothervendorstodeliver,atwhichpointyouhavetoknowhowtointegratethem.Thisinfrastructure givesyouawaytodeploy,secure,manage,maintain,backup,andmonitoroperations.
Question:Whatarethebusinessoutcomessupportedbyinteroperability?
Question:Whatarethebusinessoutcomessupportedbyplatformconsolidation?
110
TSSRedmond,LLC
SharePointBootCamp
AdditionalReading
MicrosoftSharePoint2010Sites(SP2010_Sites_Datasheet.pdf)at http://go.microsoft.com/fwlink/?LinkID=197249&clcid=0x409.
In ntroducingSharePoint2010
TSSRedmond,LLC C
111
Communities
En nterpriseCollaboration
Th hecommunities scapabilityoffe ersthefollowing gcomponents, features,andfu unctionalitytoenable co ollaborationbet tweenusers: Li ists Fundamentalconstructinwh hichcontentiss stored ts:Calendar,con ntacts,tasks,an nnouncements, surveys Outofboxlist
Al lertsandReally ySimpleSyndica ation(RSS) Businessproce essautomation:Workflows orkflows Outofboxwo uting Documentrou esigner2010 SharePointDe SharePointFou undationdelive ersmuchofthe outofboxente erprisecollabor rationfunctiona alitythatmakes s upthecommu unitiescapability y.
Id dentityandProfile
Th hecommunities scapabilityoffe ersthefollowing gcomponents, features,andfu unctionalitytodefineauserandthe us serprofile: MySites Userprofiles
112
TSSRedmond,LLC
SharePointBootCamp
ActiveDirectoryandothersources Attributes:Biography,jobtitle,location,contactinformation,previousprojects,interests,skills Photos,presence,andcontactcard Organizationalrelationships Manager,teams,colleagues(AddaColleague) Expertise:Assignedorprofessed(AskMeAbout) Socialdatamining SharePointteams OfficeCommunicatorcontacts Emailcommunicationpatternsandcontent
Colleagueandkeywordsuggestion Followingaresomeimportantpointsrelatedtoidentityandprofiles:
MySitesarethesocialnetworkinghubforinteractingwithindividualsinanorganization,designedtohelp buildrelationshipsbetweenusersandtoconnectpeopleinanorganization. UserprofilesareacollectionofattributesthatcanbesynchronizedwithActiveDirectoryandothersources. Userscanalsodefinetheirownattributes.AusersMySiteexposestheusersprofile,andSharePointenables theorganizationandtheindividualtomanagethevisibilityofprofileattributestovariousaudiences. Userphotos,presence,andcontactinformationisdisplayedthroughouttheSharePointUI. Relationshipsaredefinedbyauthoritativesources,suchasActiveDirectory,byusermembershipinteams, andbyuserswhocanaddtheirowncolleagues. ExpertisecanbedefinedcentrallyandbytheuserthroughtheAskMeAboutsectionoftheirprofile. SharePointcandiscoverandsuggestareasofexpertisebyminingtheusersmemberships,contacts,email communicationpatterns,andemailcontent. Throughsuchminingactivities,SharePointcansuggestkeywordsandcolleaguestohelpusersrefinetheir profile.
UserGeneratedContentandUserFeedback
Thecommunitiescapabilityoffersthefollowingcomponents,features,andfunctionalitysothatuserscan generateunstructuredcontentandprovidefeedbackregardingcontentofanytype: Usergeneratedcontent Blogs,wikis(withrichmedia),discussions,podcasting,videos Statusupdate MyNetworkfeed Activity RecentActivitiesfeed Userfeedback Share&Tracktabontheribbon Tags Social/contenttaggingandexpertisetagging Tagcloudcontrol Tagprofiles:Communitiesofinterestaroundatag Ratings Noteboard:Commentsandquestions Socialbookmarking Followingaresomeimportantpointsrelatedtousergeneratedcontentanduserfeedback:
IntroducingSharePoint2010
TSSRedmond,LLC
113
BusinessCommunities
Bycombiningthepowerofcollaborativecapabilitieswithsocialcomputingtechnologies,SharePointenables anorganizationtoachievethegoalsofboththecustomer(userbase)andmanager(IT)ofthetechnology.
ManageabilityandExtensibility
Thecommunitiescapabilityoffersthefollowingcomponents,features,andfunctionalitytoenablean organizationtomanageandextendSharePoint: Security,privacy,andcompliance Centralizedconfigurationandmanagementofbusinesspolicies Monitoring,auditing,andreporting Balancegovernancewithempowerment Extensibility EnterprisesocialnetworkingwithSharePointismanageable,secure,andcompliant.
1 14
TSSRedm mond,LLC
SharePointBootCamp p
Content C
Afundamentalo outputofusersa andbusinessco ollaborationact ivitiesisconten nt.Thecontentcapabilitydeliv vers unctionalitythatsupportsthem managementof fcontentthrou ughoutitslifecy ycle.SharePoint tinteroperates fu withorreplacesothercontentm w managementsy ystems.
Userscansto orejustaboutanytypeofcontentinSharePoiint,includingco ontentthathasbeen traditionallys storedindistinc ctsystems. ousmodalitiesinwhichusersc caninteractwit hcontent,inclu udingviewing(i inthe SharePointprovidesnumero nclientapplications),output,e editing,andeve nconcurrentco oauthoring,wit ththeOfficeWeb browserorin Apps.
IntroducingSharePoint2010
TSSRedmond,LLC
115
DocumentandRecordsManagement
Thecontentcapabilityoffersthefollowingcomponents,features,andfunctionalitytoenableanenterpriseto managedocumentsandrecords: ContentOrganizer:Documentrouting UniquedocumentIDsandpermalinks Documentsets Inplacerecordsmanagement Crossfarmcontentpolicyandrules Access,informationrights Retention,legalholds,disposition Locationbasedpolicy Automaticapplicationofmetadata Documentandrecordsmanagementfeaturesareintegratedintoeverysite. Youcanspecifydocumentroutingrulesthatallowdocumentstobedroppedintoalibraryandthen automaticallymovedtotheappropriatelibrarybasedonmetadataandbusinesslogic. Youcancreatedocumentsets,whicharecollectionsofdocumentsthatcanbetreatedasaunit,witha collectiveversionhistoryandmetadatathatappliestothecollection. You can specify metadata, retention schedules, record declarations, and legal holds and apply them consistently.SharePointprovidesformultistagedispositionofdocuments.Policiescanbelocationbased. SharePointcanautomaticallyapplymetadatabasedonadocumentslocationandotherbusinesslogic.
Followingaresomeimportantpointsrelatedtodocumentandrecordsmanagement:
Question:WhatarethebusinessoutcomessupportedbySharePointssupportforavarietyofcontenttypes andmodalitiesofinteractionwiththecontent?
DefinitionofContentandMetadata
Thecontentcapabilityoffersthefollowingcomponents,features,andfunctionalitytodefinecontentand metadata,andtherebytocreateandmanagecontent: Structuredandunstructuredcontent Blogs,wikis,discussionforums Definedcontenttypeswithmetadata,workflows,templates,andrightsmanagement ManagedMetadataService Tags:Taxonomy&folksonomy Multilingualmetadata Enterprisecontenttypes Useofmetadata Taggingcontent:Manualandautomatic Visibilityoftags:Item,site,client Metadatadrivennavigation Searchrefiners Followingaresomeimportantpointsrelatedtodefinitionofcontentandmetadata:
116
TSSRedmond,LLC
SharePointBootCamp
ManageabilityandExtensibility
Thecontentcapabilityoffersthefollowingcomponents,features,andfunctionalitytoenablean organizationtomanageandextendSharePoint: Manageability Deployacrosssites,sitecollections,Webapplications,andfarms Secure,configure,andaudituseofmetadata Remotebinarylargeobject(BLOB)storage Integratewithothersystemsandlegacyrepositories Open,highlydocumented,extensibleplatform Supportforinteroperabilitystandards XML,SOAP,RSS,REST,WebDAV,andWSRP Someimportantpointsrelatedtomanageabilityandextensibilityofthecontentcapabilityareasfollows:
Question:Whatarethebusinessoutcomessupportedbyextensibilityandinteroperabilityinthecontent capability?
AdditionalReading
MicrosoftSharePointServerContent(SP2010_Content_Datasheet.pdf) at http://go.microsoft.com/fwlink/?LinkID=197250&clcid=0x409.
In ntroducingSharePoint2010
TSSRedmond,LLC C
117
Se earch
Userscanbrowse eSharePointsc contentstructur ressites,lists, ,andlibraries forcontent,bu utofcoursesea archingis ftenamoreeffe ectivemeansof flocatingconte ent.Thesearch capabilityissel lfexplanatorya andisdetailedin of Module11. M
Pe eopleandEx xpertiseSearc ch
Th hesearchcapab bilityoffersthefollowingcomp ponents,featur res,andfunctio nalitytosearch hforpeopleand d ex xpertise: Unlockknowl ledgenotfound dindocuments Communic cations Behaviors Relationsh hips Organizationchartbrowser Search Nicknameandphoneticm matching Recentlya authoredconten nt Peoplean ndexpertisespe ecificrefinemen nt Respon nsibilities,memb berships,pastp projects,interes sts Fo ollowingaresom meimportantp pointsrelatedto opeopleandex xpertisesearch: :
ndexperiences Youcanconn nectwithpeopleandexpertise ebyusingsearc chskills,tools,an sthatyou typicallyapplytosearchingf forcontent. Withpeopleandexpertises search,youcan unlockthekno owledgethatisn notstoredintraditional thevaluethatis sfoundinpeop pletopeopleco onnectionsand socialbehavior r. contentandt SharePoint2010featuresan norganizationb browserthatex xposesavisual,navigableviewof alrelationships. organizationa Inadditionto olookingforpe eopleandexper rtise,youcanus sepeopleande expertisemetad datato improvether relevanceandr refinetheresult tsoftraditionallcontentsearch hes.
118
TSSRedmond,LLC
SharePointBootCamp
ContentSources,Indexing,andQuery
Thesearchcapabilityoffersthefollowingcomponents,features,andfunctionalitytomakecontent availableforeffectiveandefficientsearching: Contentsourcesandindexing Supportfor400+structuredandunstructuredcontenttypes Advancedcontentprocessingwithstronglinguistics Eightyfivelanguages Abilitytobuildandmanageconnectionstoexternalcontentrepositories Commonconnectorframework Query Searchscopes Enhancedquerysyntax Thesaurusandnoisewords Phoneticandnicknamepeoplesearch Querysuggestions(Didyoumean?) Followingaresomeimportantpointsrelatedtocontentsources,indexing,andquery:
ResultsandRelevance
Thesearchcapabilityoffersthefollowingcomponents,features,andfunctionalitytoproduceaccurateand helpfulresults: Resultsaresecuritytrimmed. Resultsarefederated. Resultshaveimprovedrelevancebasedonusageandhistory. Resultsarepresentedincontexttotheuserandtheusersprofile. Resultshavesocialrelevance. Clickthroughbehaviorofresultsfromrelatedqueries Socialdistance Relatedsearches. Followingaresomeimportantpointsrelatedtoresultsandrelevance: Usersseeonlyresultsforcontenttowhichtheyhaveaccess. SharePointsearchresultsarefederated,meaningthatyouseeaunifiedlistofresultsfromallquery services. Searchresultsarerelevant,presentedusingalgorithmsthatincludeclickthroughbehavior,usage,history, theusersownprofile,andsocialdistance. SharePointevenlistsrelatedsearchesalongwithsearchresults,therebypointingyoutowardsearch queriesthatmayhelpyoufindtheinformationyouneed.
UserSearchExperience
Thesearchcapabilityoffersthefollowingcomponents,features,andfunctionalitytoprovideuserswitharich searchexperience: Results
IntroducingSharePoint2010
TSSRedmond,LLC
119
Hithighlighting Resultssummaries Visualsearch Thumbnails Previews Viewinbrowser Refinementpanelandsortingdrivenbymetadata Includessocialdistance,otherpeople,andexpertisemetadata Exactresultcountswithrefiners(FAST) Searchfromthedesktop,browser,orWindowsmobiledevice Followingaresomeimportantpointsrelatedtousersearchexperience:
ManageabilityandExtensibility
Thesearchcapabilityoffersthefollowingcomponents,features,andfunctionalitytoenablean organizationtomanageandextendSharePoint: Infrastructure Scalability:Improvedtopology,algorithms,andperformance FASTintegration Manageability Tuneindexandquerybehavior:Relevance,bestbets Monitorusersearchbehavior Extensibility LeveragethequeryobjectmodelandWebParts Createsearchdrivenapplicationstoenrichplatform Integratewithandaggregateothersystemsandinformation Followingaresomeimportantpointsrelatedtomanageabilityandextensibilityofthesearchcapability: SharePointsearchishighlyscalable. FASTenhancestheoutofboxSharePointsearchexperiencewithnumerousperformanceenhancingand valueaddedfeatures. SharePointprovidesaunifiedadministrativeandmanagementexperience. SharePointisextensibletosupportfederation,aggregation,integration,andcustomsearch applications.
AdditionalReading
SharePointSearchDatasheet(SP2010_Search_Datasheet.pdf)at http://go.microsoft.com/fwlink/?LinkID=197251&clcid=0x409.
1 20
TSSRedm mond,LLC
SharePointBootCamp p
In nsights
Th heinsightscapa abilityencompa assesfunctionalitythatyoucan nusetoconnec cttodatasourcesandpresentthedata in nmeaningfulwa aysthatsupportdecisionmaking.Itisthecap pabilitythatmo stcloselyaligns swithwhattheindustry re eferstoasbusin nessintelligence e.
In nformationSo ources
Th heinsightscapa abilityoffersthe efollowingcom mponents,featu ures,andfunctio onalitytoconne ectwith in nformationfrom mabroadrange eofdatasource es: SharePoint BusinessConnectivityServic ces:Externaldat taandsystems Performance ePointServices:Interactivescorecardsanddas shboards VisioServices s:Browserbasedrenderingof Visiodiagrams, ,includingfilter ring,interaction nwithobjects,a and connectionst todata ExcelServices s Secure,ma anage,andshar reExcelworkbo ooks Renderedinthebrowser Embedwo orkbooksinapp ps,desktop,blog gs,andwikis Programm mability:JavaScr riptobjectmode elandRESTAPI SQLAnalysisSer rvices PowerPivot,S Fo ollowingaresom meimportantp pointsrelatedto oinformationso ources:
Withselfserv viceaccesstoin nformation,use erscandiscover randmanageth heiraspectofth hebusinesswit th accesstotherightinformation. BusinessConnectivityServic cesconnectsyou uwithexternal dataandsyste ems. Performance ePointServicesp provideinteract tivescorecards anddashboard ds. VisioServices sprovidesbrow wserbasedrend deringofVisiod diagramsandinc cludesfiltering, ,interactionwit th objects,andc connectionstodatasources.
IntroducingSharePoint2010
TSSRedmond,LLC
121
PresentationandVisualizationofInformation
Theinsightscapabilityoffersthefollowingcomponents,features,andfunctionalitytoaggregate informationandpresentitinmeaningfulandproductiveways: Presentationofinformation Dashboards Scorecards ChartWebPart GeneratechartsfromExcelworkbooks,BusinessConnectivityServices,orSharePointlists StatusIndicatorLists KeyPerformanceIndicator(KPI)detailshighlightingownership,datestamps,andthresholds Analyticsandvisualizations Drilldownfordeeperanalysisandtounderstandissuesandcausality Rootcauseanalysis Decompositiontree Simplifiednavigationandinteractionwithinformation Followingaresomeimportantpointsrelatedtopresentationandvisualizationofinformation:
AdditionalReading
MicrosoftSharePointServer2010Insights(SP2010_Insights_Datasheet.pdf)at http://go.microsoft.com/fwlink/?LinkID=197252&clcid=0x409.
1 22
TSSRedm mond,LLC
SharePointBootCamp p
Composites
Th hecompositesc capabilityoffers sthefollowingc components,fe eatures,andfun nctionalitytoem mpoweruserst to cr reatenocodesolutionsthatta argetspecificne eedsandtoena ableanenterprisetomanagea adhocsolutions s: AccessService es:PublishAcce essdatabasesas sWebapps nectivityService es BusinessConn Readwrite eaccesstoback kenddata Disconnec ctedexperience e:MicrosoftOffi iceOutlook,M MicrosoftOffice Word,SharePo ointWorkspace e ns:Browser,SharePointDesign ner Customization Outofbox,Shar rePointDesigner,Visio Workflows:O msorformsbas sedapplication s Forms:CustomizedWebform ractwithobject tsanddata Visio:Publishdiagrams,inter Manageability Governanc ceoverallnocodesolutionsfe eatures Controlov verinfrastructure,data,andap pplications Fo ollowingaresom meimportantp pointsrelatedto othecomposite escapability:
Th heenterprisega ainscontrolove ersuchcustom applicationsan dcanapplygov vernanceandse ecurity measuresthatar m renotpossiblew whenapplicatio onsareadhoca andnotcentrallymanaged.
AdditionalRea A ading
MicrosoftSh harePointComp posites(SP2010_Composites_ _Datasheet.pdf) at http://go.mic crosoft.com/fw wlink/?LinkID=19 97253&clcid=0x x409.
In ntroducingSharePoint2010
TSSRedmond,LLC C
123
Lesson2
As syoulearnedin nthepreviousle esson,SharePoint2010isapla atformthatitse elfreliesonawiderangeofoth her Microsofttechno M ologyplatforms.BeforeyoucaninstallShareP Point2010,you mustpreparey yourhardwarea and so oftwareenviron nmenttosuppo ortthedependenciesandinter actionswithSh harePointprodu uctsand te echnologies.
Af ftercompleting gthislesson,youwillbeableto o: Identifyther rolesandtopolo ogiesinSharePo ointfarms. Describetheinfrastructurer requirementsfo orinstallingSha arePoint2010. Describetheprerequisitesfo orinstallingSha arePoint2010. InstallthesoftwareprerequisitesforSharePoint. Describetheinteractionbet tweenSharePoi intservices,Act tiveDirectory,a and SQLServer. Createtheva arioususeracco ountsrequiredt toinstallShareP Point. Assignpermis ssionsandright tsrequiredtoin nstallSharePoin nt. Describetheclientbrowserandapplication nrequirements sforinstallingSh harePoint2010 0.
1 24
TSSRedm mond,LLC
SharePointBootCamp p
heWebfronten nd(WFE)rolere enderscontent ttousers,andt hereforehosts theWebapplic cations(Websit tes) Th withwhichusers w sinteract.
Anumberofserv vicesandapplic cationsprovidefunctionality,s uchassearch,a andadministrat tiveand managementcap m pabilities,sucha asCentralAdministration.Each hoftheseisad distinctrole,and daserverhosti ing on neofthesebackendserviceso oradministrativ vesitesisreferr redtoasplaying ganapplication nserverrole.
yoftopologies. Th herolescanbeconsolidatedonasingleserve erorspreadacro ossmultipleser rversinavariety .These to opologiesaresu ummarizedontheslideandare edetailedinMo odule12,Insta allingandUpgra adingtoShareP Point 20 010.
In ntroducingSharePoint2010
TSSRedmond,LLC C
125
In nfrastructureR Requirements
Sh harePointServe er2010isapow werfulplatform thatcanscalet tomeetthemo ostdemandinge enterprisescena arios. As ssuch,thehard dwarerequirem mentsforShareP Pointbeginwith haminimumha ardwarebasew withatleastfou ur pr rocessorcoresr running2.5GHz zand8GBofRA AM.
Sh harePoint2010isa64bitplatf form,andthere eforeyoumust use64bitversionsoftheoperatingsystemo oneach Sh harePointserve erandforSQLSe erver.Windows sServer2008w withServicePack2(64bit)orW WindowsServer2008 R2 2(whichisonly64bit)isrequi ired.
SQ QLServeristherequireddatab baseplatform.S SharePointServ ver2010require esoneofthefo ollowing: SQLServer20 005ServicePac ck3(SP3)withC CumulativeUpd date3(64bit) SQLServer20 008SP1withCu umulativeUpda ate2orCumula ativeUpdate5o orlater(64bit) ) SQLServer20 008R2(whichisonly64bit) Itishighlyrecom mmendedthatyouusethelatestversionsofth heoperatingsystemandSQLS Servertotake dvantageofthe emaximumnum mberoffeatures.Forexample, ,youneedSQL Server2008R2 2totakeadvant tageof ad fa ailover,PowerP Pivot,andAcces ssServicesreportingfeatures.
Ifyouareinvestingininfrastruc ctureforMicros softOfficeShare ePointServer20 007,investin64bittoreducethe umberofstepsrequiredtomig gratetoShareP PointServer201 10.Migrationfro om32bitto64 4bitplatformsis nu de etailedinModu ule12.
AdditionalRea A ading
Hardwareandsoftwarereq quirements(Sh harePointServe er2010)at crosoft.com/fw wlink/?LinkID=19 96879&clcid=0x x409. http://go.mic
1 26
TSSRedm mond,LLC
SharePointBootCamp p
In nfrastructureO Options
Microsoftallows youtoinstallSharePointonaclientoperatin gsystemtosup M pportdevelopm ment.The fo ollowingaresup pported,withat tleast4GBofR RAM: TheWindowsVistaoperatin ngsystemwithS ServicePack2o orlater(64bit). TheWindows7operatingsy tdevelopment .Suchamodels ystem(64bit)clienttosupport shouldnotbeu usedfor productionpurposes. Yo oucanalsoacce essSharePointt throughahoste edservicesuchasoneofsever ralofferingsfrom mMicrosoftan ndits pa artners,includin ngthefollowing g:
MicrosoftOn nline,whichoffe erstheBusiness sProductivityO OnlineSuite(BPOS),aperuser subscriptionto o SharePointas swellastoMicr rosoftExchange eandMicrosoft tOfficeLiveMee ftOnlinealsoof ffers eting.Microsof dedicatedSha arePointhostingtolargecusto omers. Microsoftwil lloffercustome erstheabilityto ohosttheirpub blicfacingWeb sitesonShareP PointServer 2010.Detailsarenotavailab bleatthetimeo ofpublication. Microsoftsconsumerandsm mallbusinessse ervices,Window wsLiveandOfficeLive,provide esomeSharePo oint .Forexample,a atthetimeofpublicationWind dowsLiveSkyDriveallowsuser rstoeditExcela and functionality. PowerPointd documentsinth hebrowser,whi ichisfunctiona lityprovidedby yOfficeWebAp pps. Yo oucanmixandmatchinternallyhostedfarms swithexternally yhostedservicestomeetvarie edbusiness re equirements.
AdditionalRea A ading
SettingUptheDevelopmentEnvironment tforSharePoint tServer,at http://go.mic crosoft.com/fw wlink/?LinkID=16 64557. nline,athttp://w www.microsoft t.com/online. MicrosoftOn
In ntroducingSharePoint2010
TSSRedmond,LLC C
127
Sh harePointlicens singiscomplexbecauseofthe numberofpro ductsthatareinvolved.Itisim mportantthatyou co onsultwithyourlicensingrepre esentativetoen nsurecomplian nceforyourSha arePointimplem mentation. Th hemosttypicalimplementatio oninvolvespurc chasinglicenses sforWindowsS Server2008orW WindowsServer r2008 R2 2foreachShare ePointserveran ndaquantityof fperuserclient taccesslicense es(CALs)foreac chSharePointuser.SQL Se erveristypically yinstalledwithaperprocessor rlicense,which hdoesnotrequ ireCALsforuse ers.
IfyouareusingS SharePointFoun ndation2010,n noadditionallic enseisrequired d.IfyouareusingSharePointS Server 010,however,y youneedaserv verproductlicenseforeachSh arePointserver randCALsfore eachuser.Share ePoint 20 St tandardCALpro ovidesaccessto othebasiclevelofSharePointS Server2010fun nctionalityinclu udingMySitesa and se earch.WiththeEnterpriseCAL L,whichisanad ddontotheSta andardCAL,you ucandeployfea aturessuchasE Excel Se ervicesandOfficeWebApplica ations.
128
TSSRedmond,LLC AdditionalReading
SharePointBootCamp
SharePointeditionsathttp://go.microsoft.com/fwlink/?LinkID=196255&clcid=0x409.
In ntroducingSharePoint2010
TSSRedmond,LLC C
129
Th hereisalonglis stofsoftwareandconfiguratio onprerequisites s: Thefollowing gserverroles:W WebServer(IIS) ),ApplicationSe erver HotfixforMicrosoftWindow ws(KB976394fo orWindowsSer rver2008/KB9 976462forWind dowsServer 2008R2) WindowsIde entityFoundatio on(KB974405) MicrosoftSyn ncFrameworkR Runtimev1.0(x x64) MicrosoftChartControlsfor rMicrosoft.NET TFramework3. .5 terPack2.0 MicrosoftFilt QLServer2008A AnalysisServicesADOMD.NET MicrosoftSQ MicrosoftServerSpeechPlatformRuntime(x64) WindowsPow werShell2.0(fo orWindowsServ ver2008) crosoftServerS SpeechRecognitionLanguage Optional:Mic Optional:Mic crosoftSQLServ ver2008R2ReportingService sAddinforSha arePointTechno ologies(SSRS)
AdditionalRea A ading
Detailsandlinkstoallprereq quisitescanbe foundatHard dwareandsoftw warerequireme ents" Server2010)athttp://go.micro osoft.com/fwlin nk/?LinkID=196 6879&clcid=0x4 409. (SharePointS
1 30
TSSRedm mond,LLC
SharePointBootCamp p
In nstallingPrere equisites
Yo oumustinstallS SQLServerpriortoinstallingotherSharePoin tprerequisites. .
To orunthePrepa arationTool,log gonasthesetupuseraccount, ,forexample,S SP_Admin.Thes setupuseracco ount isfurtherdescrib bedinalatertopic.Then,launc chthetoolfrom mtheInstallsof ftware rerequisiteslinkontheShareP PointServer201 10Startpage(D Default.hta),sho owinggraphic, pr owninthefollo or rdirectlybyusingPrerequisite eInstaller.exe.
In ntroducingSharePoint2010
TSSRedmond,LLC C
131
Th hePreparationToolscansfore eachprerequisit te.Ifaprerequiisiteisnotfoun nd,thetooldow wnloads,installs s, an ndconfiguresth heprerequisite.
Ifthereisanerro or,forexample, ,ifdownloading gtheprerequis itefails,thetoo olstopsandpro oducesanerror messagethatind m dicateswhichpr rerequisitefaile ed.Youcanfind detailsofthef failureintheerrorlog,which islocatedinthe% %TEMP%folder r.Thetooldispl laysalinktothe elog.Afteryou uhaveremediat tedthe pr roblem,rerunthetool.
OptionalPrere O equisites
Tw woprerequisitesareoptional:MicrosoftServe erSpeechReco gnitionLanguag geandMicroso oftSQLServer 20 008R2Reportin ngServicesAddinforSharePointTechnologie s (SSRS).IfthePreparationToolcannotfindo orinstall th heseprerequisit tes,itgenerates sanerror,buty youcancontinu uetothenextst gSharePointServer tepininstalling 20 010.
1 32
TSSRedm mond,LLC
SharePointBootCamp p
AdditionalPrerequisites
Yo oumustinstalla andconfigures severalprerequi isitesmanually. .Usetheinform mationonthisslideasachecklistof pr rerequisitestoe evaluateinthecontextofyour renterpriseand dyourSharePo intimplementa ation.Afterclas ss, re eadaboutthese eitemsanddete erminewhethe ertheyarenece essaryinyouren nvironment. Th heADO.NETDataServiceUpda ateisusedbyse erviceslikeREST TWebservices. .Ifyou us seClaimsbased dauthentication n,youneedtoa applyKB979917 7 (h http://go.micros soft.com/fwlink k/?LinkID=19688 82&clcid=0x409 forASP.NET. 9)
Th hethirdprerequisiteistodisab bleloopbackchecking.Window wsServer2008 (andWindowsServer2008 R2 2)blocksaccess stoaWebsiteiftherequestfo ortheWebsite originatesont heserveritself. .Thispreventsy you fromusingabrow wseronaShare ePointserverto obrowsetoasit teonthesameserverfarm.Of fcourse,itisno ot ecommendedth hatyoulogont toaSharePoint serveranduse abrowserinth heproductione environment,bu utthis re sc cenariomaybemorecommoninadevelopment,testing,ortrainingenviro nment.
However,theloo opbackchecking galsoprevents SharePointserv vicesmostno otablythesearchcrawlerthatindexes harePointconte entfromacces ssingsitesonth hesameserverf farm.Thecraw wlprocesswillge enerateAccess Denied Sh ev vents,andnoco ontentwillbein ndexed.
Th heproblemisso olvedbyremov vingorcontrollingtheloopback kchecking.Mic crosoftKnowled dgeBasearticle 89 96861hasthed details.Theartic clediscussestw wooptions.Met thod1involves specifyingallsiteshostedont the se erversothatthe eserverallowsrequeststotho osesitestoorigi nateonthesam meserver.Method2entails di isablingloopbac ckcheckingalto ogether,foralls sites.Method2 2reducesthese ecurityofthese ervermuchmor re th hanMethod1.T Therefore,Method2isrecomm mendedonlyfo ordevelopment tandtestenviro onments.
IntroducingSharePoint2010
TSSRedmond,LLC
133
AdditionalReading
AnupdateisavailablethatprovidesadditionalfeaturesandimprovementsforADO.NETDataServicesinthe .NET Framework 3.5 SP1 on a computer that is running Windows 7 or Windows Server 2008 R2, at http://go.microsoft.com/fwlink/?LinkID=200826&clcid=0x409. TwoissuesoccurwhenyoudeployanASP.NET2.0basedapplicationonaserverthatisrunningIIS 7.0orIIS7.5inIntegratedmode,athttp://go.microsoft.com/fwlink/?LinkID=196882&clcid=0x409. Youreceiveerror401.1whenyoubrowseaWebsitethatusesIntegratedAuthenticationandishostedon IIS5.1oralaterversion,athttp://go.microsoft.com/fwlink/?LinkID=196884&clcid=0x409.
1 34
TSSRedm mond,LLC
SharePointBootCamp p
Ac ctiveDirectoryprovidesidentityandauthenticationservices s.Inotherword ds,itstoresuser raccounts(user rnames an ndpasswords)a andvalidatesac ccountlogons.T Theseservicess supportuserslo oggingontoSha arePointsites.T Theyalso su upporttheacco ountsusedbySh harePointandS SQLservicesthe emselves.
Sh harePointservic cesalsorunwithActiveDirecto orycredentials. .Thecredential lsareusedbySh harePointtoac ccess da atainSQLServe er.TheseaccountsmusthaveS SQLloginssoth atSQLcanauth horizetheacces ss.TheseSQLlo ogins ar recreatedautomaticallybySharePointduring gsetupandthecreationofWe ebapplications. .
In ntroducingSharePoint2010
TSSRedmond,LLC C
135
Se erviceAccoun nts
Be eforeinstallingSharePoint,you umustensuret thattherearea appropriateacc ounts,logins,andpermissions sto su upporttheinter rdependencies betweenSharePoint,SQLServ ver,ActiveDirec ctory,andtheS SharePointserveritself.
Duringsetupand dconfiguration, ,SharePointcre eatesSQLdatab basesandlogins s,andmodifiest theserveritself f(for xample,creatinglocalgroups). .SharePointset tupandconfigu urationusesthe ecredentialsofSP_Admintope erform ex su uchtasks,soSP_ _Adminmustbe easecurityadm minanddbcreat torontheSQLs server,andmus stbeamember rofthe lo ocalAdministrat torsgroup.
Se erverFarmAccount:SP_F Farm
Duringinstallatio onandconfiguration,thesetup puser,SP_Adm min,assignsanaccounttotheS SharePointfarm m SP_Farm),which histheserviceaccountrepres sentingtheShar rePointfarm. (S
Th heSPFarmacco ountisusedbySharePointtoc configureandm managetheserv verfarm.Itisth heidentityused dby th heCentralAdministrationsites s(applicationpool,andtheide entityusedbyt theTimerservic ce.
136
TSSRedmond,LLC
SharePointBootCamp
TheSharePointProductsConfigurationWizardautomaticallyassignstheaccountthepermissionsitneeds.
WebandServiceApplicationPoolAccount(s):SP_Service
EachWebapplicationrunsinanapplicationpool.Theapplicationpoolidentityisadomainuseraccountthatis functionallyequivalenttoaserviceaccount,withpermissionstoaccessthecontentdatabasefortheWeb applicationontheSQLServer.
Serviceapplications,suchasSearchortheOfficeWebApplications,arealsoWebapplications.Therefore,they alsoruninanapplicationpoolwithadomainuseridentity.
Webandserviceapplicationpoolaccountsaregrantedthepermissionstheyneedautomaticallyduringthe provisioningoftheapplication.
SearchCrawler(Indexer)Account:SP_Crawl
The search crawler account is used to index content. It is automatically granted permissions to read all SharePointcontent.Itshouldbeauniqueaccountthatcannotaccesscontentatanyhigherlevel.Youmust manuallygrant it permissionto readany other contentsourcethat you configureit to index,for example, sharedfoldersonservers.
UserProfileSynchronizationAccount:SP_Sync
SharePointuserprofilesynchronizationusesanaccounttosynchronizeprofileattributesbetweenActive DirectoryandSharePoint.ThisaccountisdetailedinModule9,UserProfilesandSocialNetworking.
In ntroducingSharePoint2010
TSSRedmond,LLC C
137
Sh harePoint2010generatesmos stofitscontent usingWebstan ndardXHTMLth hatrenderswellacrossmost br rowsers.Micros softcategorizes sbrowsersintot twocategories Level1andLevel2tohelp pcustomersalig gn br rowserchoicew withthedesired dleveloffunctio onality.
O OperatingSystem
Browse er Inte ernetExplorer 7(32bit) Inte ernetExplorer8 8(32bit) Mo ozillaFirefox3.5 5* Note:Featuresprovid dedbyActiveXc controls,sucha aslistDatasheet tview displaysuserpre esenceinforma ation,donotwo orkin andthecontrolthatd aFirefox3.5,w whichdoesnots supportActiveX X. Mozilla InternetExplorer8 8(32bit) Mo ozillaFirefox3.5 5*
InternetExplorer7(64bit) InternetExplorer8(64bit)
138
TSSRedmond,LLC
SharePointBootCamp
OperatingSystem
Windows7 WindowsServer2008R2 UNIX/Linux8.1
SharePointcompatibleapplicationscanprovidearich,clientsideinteractionwithSharePoint.Microsoft Office2003andlaterarecompatiblewithSharePoint.
AdditionalReading
PlanBrowserSupport,athttp://go.microsoft.com/fwlink/?LinkID=196887&clcid=0x409.
In ntroducingSharePoint2010
TSSRedmond,LLC C
139
Lesson3
In nstallingSharePoint t2010
Yo oucanuseseve eralmethodstoinstallandupg gradeaSharePo oint2010farm. Inthislesson,y youlearnhowtoinstall Sh harePointbyusingthewizarddrivensetupan ndconfiguration ntools,whichm makeiteasytoc createasimple efarm.In th henextlesson,y youlearnabout tmethodstoau utomateinstalla ation,andinMo odule 12 2,youlearnabo outwaystoupg gradeanexistingfarmtoShare ePoint2010.
Af ftercompleting gthislesson,youwillbeableto o: Describetheprocessforinst tallingandconf figuringSharePo oint2010. Identifythec configurationpa arametersrequ uiredtoinstallS SharePoint. InstallShareP Pointtocreatea asingleserverf farm. ConfigureSharePointonasingleserverfarm.
1 40
TSSRedm mond,LLC
SharePointBootCamp p
In nstallingSharePointisamultiph haseprocess.Th hefourhighlev velstepsforins stallingandconf figuring Sh harePointareth hefollowing: Installtheprerequisites. InstalltheSharePointbinaries. Configurethe eSharePointse erverandfarm. Configureservicesandappli icationsonthe farm.
In ntroducingSharePoint2010
TSSRedmond,LLC C
141
Be eforeyouinstallSharePointSe erver2010,you mustcollectinf formationthat isrequireddur ringthe in nstallation.Uset thefollowingitemsasapreins stallationcheck list: Youmustkno owtheusernam meandpasswor rdsfortheacco ountsdiscussed intheprevious slesson. Youmustkno owtheSQLServ verservername eandinstancen name. Youwillbepr romptedforac configurationda atabasename,f forexample,Sh harePoint_Conf fig.Determinea anaming strategyforSh harePointdatab bases. Youwillbepr romptedforap portonwhichto ohostCentralA Administration.Youmustdeterminethis. Youwillbepr romptedforafarmpassphrase e.Youmustdet terminethis. Youusethefa armpassphrasewhenmakingc certainchanges stothefarm,fo orexample,whenaddinganew w servertothef farm.Withthefarmpassphras se,anadministr ratorcanperfor rmfarmlevelchangeswithout needingtokn nowthepasswordfortheShare ePointfarmacc count(SP_Farm m).Thefarmpas ssphraseshould dbe long,complex x,uniqueandsh houldnotbethesameasthep passwordusedb byanyoftheSh harePoint administrative eorserviceaccounts.Besuret todocumentth hepasswordand dstoreitinaphysicallysecure e location.
1 42
TSSRedm mond,LLC
SharePointBootCamp p
Th hefollowingste epswalkyouthr roughthemanu ualinstallationofSharePointS Server2010binaries.Duringth hisstep, pr rogramfilesare einstalled,componentsarereg gistered,securit tysettingsarea applied,andser rvicesareconfig gured bu utnotenabled.
In ntroducingSharePoint2010
TSSRedmond,LLC C
143
Sh harePointServe er2010installat tionnowfeatur resasplashscre een.
In nstallationrequi iresadministrat tivecredentials,soaUserAcco ountControldia alogboxappears. r
4. ClickYes. .
5. Enteryourp . productkeyora atrialkey.Youc canchangeitla ater.
1 44
TSSRedm mond,LLC
SharePointBootCamp p
6. ClickIacceptthetermsoft . theagreement.
7. ClickServerFarm. .
Th heStandalonei installationfully yinstallsandco onfiguresShareP aults,includingthe PointServer20 10withalldefa in nstallationofSQ QLServer2008E Expressasthed databaseserver onthesamese erver.Theresultisa
In ntroducingSharePoint2010
TSSRedmond,LLC C
145
st tandalone,singleserverfarmw withallrolesononeserver.Sta andaloneinstall lationisnotsup pportedonase erver th hatisadomaincontrollerbeca auseSQLServer Expresscannot tbeinstalledon nadomaincont troller.Itisnot po ossibletoaddserverstoafarm mthatwasinsta alledwiththeSt tandaloneinsta allation.Therefo ore,it isrecommended dthatyouuseSt tandaloneonly yforthemostsiimpletestingor rdevelopmente environments. In nallotherscena arios,youshouldusetheServe erFarminstallat tionoption.You umusthavealr readyinstalledS SQL Se erveronthesam meserveroron nanotherserver.However,wit thaServerFarm minstallation,y youhavetheop ptionof, later,movingrolestootherserv versinthefarm.
IfyouselectaServerFarminsta allation,youcan nspecifytheloc cationoftheSh harePointbinari iesandthe Sh harePointRoot(formerlyknow wnasthe12Hiv ve,nowthe14H Hive)intheFile eLocationtab.
1 46
TSSRedm mond,LLC
SharePointBootCamp p
8. SelectComp . plete.
Th heStandalone eoptionpresent tedonthispage eoftheinstallat tionwizardcrea atesasingleserverfarm withallcompone w entsandroles.I Itisnotpossible etoaddanothe erservertoafarmthatwasins stalledwiththeStand al loneoption.Thi isoptionisiden nticaltotheStandaloneinstalla scussedinanea arlierstep. ationoptiondis
In nstallationproce eeds.
IntroducingSharePoint2010
TSSRedmond,LLC
147
Attheendoftheinstallationphase,theSetupapplicationoffersyouthechancetoproceedtothe Configurationphase.
9. CleartheRuntheSharePointProductsConfigurationWizardnowcheckbox. 10.ClickClose.
TheresultisaSharePointserverthatisreadytoaddtoafarm.Untilyouaddtheservertoafarm,no SharePointfunctionalityisavailableontheserver.
1 48
TSSRedm mond,LLC
SharePointBootCamp p
Co onfigurationwiththeuserinte erfaceiswizard driven.Aslong gasyouknowth heconfiguratio oninformation pr resentedearlier rinthislesson,installationisve erystraightforw ward.
2. RuntheSharePointProduct . tsConfiguration nWizard,which hyoucanfindin ntheMicrosoft tSharePoint 2010Produc ctsprogramgro oupontheStar rtmenu.
In ntroducingSharePoint2010
TSSRedmond,LLC C
149
3. ClickNext. .
Yo ouarewarnedt thatIISandSha arePointservice eswillberestart ted.
4. ClickYes. .
5. SelectCreate . eanewserverfarm.
1 50
TSSRedm mond,LLC
SharePointBootCamp p
6. Entertheco . onfigurationfortheSQLServerthenameoftheDatabases server(SERVER\ \instanceifyouare connectingt toaspecificinst tanceofSQLSe erver)andtheD Databasename . 7. Enterthefar . rmaccount(SP_ _Farm)usernameandpasswo ord.
8. Enterthefar . rmpassphrase.
In ntroducingSharePoint2010
TSSRedmond,LLC C
151
11 1.Reviewthec configuration,a andthenclickN Next.
Configuratio ontakesseveralminutes.
1 52
TSSRedm mond,LLC
SharePointBootCamp p
12.ClickFinish. 2
o onsiteopens. TheSharePoint2010CentralAdministratio
In ntroducingSharePoint2010
TSSRedmond,LLC C
153
Lesson4
Manualinstallati M ionandconfiguration,asprese entedinthepre eviouslesson,istimeconsumin ngandprone to oinconsistentim mplementation.Inthislesson, youlearnhowt toscripttheins stallationandco onfigurationof f Sh harePoint.Youa alsolearnhowt toinstallalang guagepack. Af ftercompleting gthislesson,youwillbeableto o: PerformascriptedinstallationofSharePoin ntprerequisites s. PerformascriptedinstallationofSharePoin ntServer2010. Executeascr riptedconfigura ationofSharePo ointandaShare ePointfarm. InstallShareP Pointlanguagepacks.
1 54
TSSRedm mond,LLC
SharePointBootCamp p
OverviewofSc O criptedInstallation
By yscriptinginsta allation,anorga anizationcanreducethetimer requiredtodep ployaSharePoin ntserver.Script ting alsoensuresthat tconfigurationisappliedconsistently,andthe ereforereduces sthechancefor rerrorsand ailure.Scriptingisalsorequired dtoautomatetheprovisioning gofSharePoint. . fa
In ntroducingSharePoint2010
TSSRedmond,LLC C
155
Sc criptedInstalllationofPrere equisites
Manyorganizatio M onsdonotallow wserverstohav vedirectaccess stotheInternet t.ThePreparationToolcanbe edirected to oinstallprerequ uisitesfromasp pecificlocation,ratherthando ownloadingprer requisitesfromtheDownloads sCenter at tMicrosoft.com m.
First,youmustdownloadallpre erequisites.Youcanfindlinkst toprerequisitesbyusingoneo ofthe ollowingtwoop ptions: fo Linkstoprere equisitesarelist tedathttp://go o.microsoft.com m/fwlink/?LinkID=196879&clcid=0x409. RunthePrep parationToolan ndexaminethelogforerrorm essagesthatar regeneratedwh henthetool attemptstod downloadeachprerequisite.Th heURLtothea ttempteddown nloadislisted. Pr rerequisiteInsta aller.exesuppor rtsparameterst thatspecifythe elocationofeac chprerequisite. .Thesyntaxofe each pa arameteris/Pre erequisiteName e:PathToInstalla ationFile.ThePr rerequisiteNam meparametersarelistedonthe eslide. Th hepathcanbealocalorUnive ersalNamingCo onvention(UNC C)pathtowhich hthesetupuser r(SP_Admin)ac ccount us sedtorunthep prerequisiteinst tallerhasReadpermission.
Th he/unattended dparametercau usesthePrepara ationTooltoru uninsilent,unattendedmode.Nopromptsor r messagesaredisplayed.Usethis m smodeonlywh henyouarecon nfidentthatpre requisiteinstallationwillbesu uccessful.
Openthecom mmandprompt tandtypeacom mmandlinewit thPrerequisiteIn nstaller.exeand dallofthe switchesona asinglecomman ndline. adandenterall lswitchesonas singleline.Save ethefileas OpenNotepa PrerequisiteIn nstallerArguments.txtinthesa amefolderasPr rerequisiteInsta aller.exe.Then,run PrerequisiteIn nstaller.exe.Ita automaticallylo ooksforthearg gumentsfile,cal lled PrerequisiteIn nstallerArguments.txt,inthew workingdirecto ry. Yo oucreateaPrer requisiteInstalle erArguments.txt tfileinthelab forthismodule e.
1 56
TSSRedm mond,LLC
SharePointBootCamp p
Yo oucanscripttheinstallationof fSharePointbin nariesbyspecify yinginstallation nparametersin nanExtensible MarkupLanguag M ge(XML)filenam medConfig.xml lbydefault.
MicrosoftprovidessampleConf M fig.xmlfilesinth heSharePointd distribution.You ucansimplymo odifythese fil lestomatchyourenvironment.Inmostcases s,youneedonly ytoremovethe ecommenttags s(<!and>) an ndenteravalid dproductID.
<Logging gType="verbose"P Path="%temp%"T Template="ShareP PointServerSetup( (*).log"/> <PIDKEYValue="36BY2DV VVJY6426XPXWVQBM342"/> <DisplayLevel="none"Com mpletionNotice="n no"/> <SettingId="SERVERROLE" "Value="APPLICAT TION"/> <SettingId="USINGUIINSTA ALLMODE"Value= ="0"/> <SettingId="SETUP_REBOO OT"Value="Never r"/> <SettingId="SETUPTYPE"V Value="CLEAN_INS STALL"/> </Configuration>
onfigurationFile Co
Se etup\Config.xml
IntroducingSharePoint2010
TSSRedmond,LLC
157
ConfigurationFile
SetupFarm\Config.xml SetupFarmSilent\Config.xml SetupFarmUpgrade\Config.xml
SetupSilent\Config.xml SetupSingleUpgrade\Config.xml
1 58
TSSRedm mond,LLC
SharePointBootCamp p
Yo oucanautomat tetheMicrosof ftSharePoint20 010ProductsCo onfigurationWizardusingaWi indows Po owerShellscript t.WindowsPow werShellisdiscu ussedinModule e3,Administe ringandAutom mating Sh harePoint,soit tisbeyondthescopeofthisto opictoexplainW WindowsPowe rShell.Thecmd dlets (p pronouncedcom mmandlets)list tedonthisslide eareforreferen ncepurposes.
AdditionalRea A ading
Quickstart:Deploysingles serverinanisola atedHyperVe nvironment(Sh harePointServe er2010),at http://go.mic crosoft.com/fw wlink/?LinkID=19 96892&clcid=0x x409. InstallShare ePointServer20 010byusingWi indowsPowerS Shell,at http://go.mic crosoft.com/fw wlink/?LinkID=19 96893&clcid=0x x409.
In ntroducingSharePoint2010
TSSRedmond,LLC C
159
La anguagePack ks
Ifyouareworkin nginanenviron nmentthatneed dstosupportm multiplelanguag ges,youmustalsoinstall orSharePointS Server2010. languagepacksfo
In nstallationProcess
Th heprocessbyw whichyouinstalllanguagepack ksisdescribedin nthefollowing sections.
1. .InstallWindow wsoperatingsy ystemlanguage efiles Be eforeinstallingSharePointlang guagepacks,yo oumustensure thatthelangua agefilesfortheWindowsoper rating sy ystemhavebeeninstalled.Win ndowsincludeslanguagefilesf formanylangua agesinitsdefau ultconfiguration. However,ifthelanguagesyoua aresupportingincludeanyofthefollowing,yo oumustinstalltheWindowsla anguage lesmanually: fil EastAsianlan nguages,includingChinese,Jap panese,andKor rean leftorientedla anguages,includ dingArabic,Arm menian,Georgian,Hebrew,the Complexscriptandrightto Indiclanguag ges,Thai,andVietnamese Yo oucaninstallW Windowslanguagefilesbyusing gtheRegionalA AndLanguageS Settingsapplicat tionin Co ontrolPanel.
2. .InstallSharePo oint Yo must instal SharePoint before installing a SharePoin language pack. The langua of the SharePoint ou ll b nt age in nstallation beco omesthe defau language for the farm and the language of administra ult d e ativeinterfaces such as s Ce entralAdminist tration.
3. .RuntheShare ePointProducts Configuration Wizard Next,runtheSha arePointProduc ctsConfiguratio onWizardtoco onfigurethefarm mwiththedefa aultlanguage.
160
TSSRedmond,LLC
SharePointBootCamp
YoumustdownloadalanguagepackforeachlanguageyouwanttosupportwithSharePoint.
WhatChangesAreMadebyLanguagePacks
Whenyouinstallalanguagepack,languagespecificsitedefinitionsareaddedtothelanguagetemplatesfolderof theserver,%COMMONPROGRAMFILES% \MicrosoftShared\Webserverextensions\14\template\LocaleID.
Additionally,withtheManagedMetadataService,youcanassigntermstotermstoresinthelanguagesthatyou haveinstalled.TheManagedMetadataServiceisdetailedinModule4,ConfiguringContentManagement.
WhatDoesNotChange
SomeUIelementssuchaserrormessages,notifications,anddialogboxesdonotchange,specificallythose thataregeneratedbysupportingtechnologies,forexample,the.NETFramework,WindowsWorkflow Foundation,orSQLServer.
UpgradeAlert
Thefollowingissueappliesinonlyrareandspecificsituations,butitisimportanttoraisetheissuetothe attentionofadministratorsitaffects.
IntroducingSharePoint2010
TSSRedmond,LLC
161
1. Installthelanguagepack.
2. Runpsconfig.execmdupgradeinplacev2v. 3. Then,runtheSharePointProductsConfigurationWizard.
AdditionalReading
Deploylanguagepacks(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=199614&clcid=0x409.
1 62
TSSRedm mond,LLC
SharePointBootCamp p
Lab:InstalliingShareP Point2010 0
Sc cenario
Yo ouhavebeenas skedtodeployaSharePointfarmtosupportC Contososstrate egicinitiativesr relatedtoenter rprise co ollaboration.Th hissingleserver farmwillactas saprototype,a andexecutives,developers,andenduserswilluse ittoevaluatethe enewfeatureso ofSharePointServer2010.
Startthevirtualmachines
1. Start10174A . ACONTOSODC CA.
IntroducingSharePoint2010
TSSRedmond,LLC
163
Exercise1:CreatingActiveDirectoryAccountsforSharePoint
Althoughyouarecreatingaprototypeenvironment,youmustadheretosecuritybestpractices,including leastprivilege.Inthisexercise,youcreateaccountsforSharePointadministration,services,andaccessto SQLServer.
Themaintasksforthisexerciseareasfollows:
1. CreateActiveDirectoryaccounts.
2. CreateaSQLloginfortheSharePointadministrator. 3. DelegateadministrationoftheSharePointserver.
Task1:CreateActiveDirectoryaccounts
1. LogontoSP2010WFE1asCONTOSO\Administrator withthepasswordPa$$w0rd.
FullName
SharePoint Administrator SharePointFarm Service SharePoint Service Applications
UserLogon Name
SP_Admin SP_Farm
SP_ServiceApps SharePointServiceApplications
4. CloseActiveDirectoryUsersandComputers.
Task2:CreateaSQLServer loginfortheSharePointadministrator
1. OpenSQLServerManagementStudioandconnecttoSP2010WFE1asCONTOSO\SQL_Adminwiththe passwordofPa$$w0rd.
Task3:DelegateadministrationoftheSharePointserver
1. AddCONTOSO\SP_AdmintothelocalAdministratorsgroupofSP2010WFE1.
2. LogoffofSP2010WFE1.
164
TSSRedmond,LLC
SharePointBootCamp
Exercise2:InstallingSharePointServerPrerequisites
Scenario
Youmustinstallcertainsoftwarecomponentsandperformspecificconfigurationpriortoinstalling SharePoint2010.YouusethePrerequisitesInstallertoensurethattherequiredelementsareinplace.The maintasksforthisexerciseareasfollows: 1. AttempttoinstallSharePointServerprerequisites.
Task1:AttempttoinstallSharePointServerprerequisites
1. LogontoSP2010WFE1asCONTOSO\SP_AdminwiththepasswordPa$$w0rd.
Task2:Identify prerequisiteinstallationerrors
1. ClickReviewthelogfile.
YoucanusethisURLtodownloadtheprerequisitemanually.ClickCancelandthenclosethelogfile.
4. ClosetheMicrosoftSharePoint2010ProductsPreparationToolandtheSharePointServer2010Startpage.
Task3:CopySharePointprerequisiteinstallationfiles
CopyandpasteallofthefilesfromD:\Software\SharePointPrerequisitesto D:\Software\SharePointServer2010\PrerequisiteInstallerFiles.
Task4:ScripttheinstallationofSharePointServerprerequisites
1. OpenNotepad.Typethefollowing,ononeline,withspacesbetweeneachswitch:
/SQLNCli:PrerequisiteInstallerFiles\sqlncli.msi /ChartControl:PrerequisiteInstallerFiles\MSChart.exe /KB976462:PrerequisiteInstallerFiles\Windows6.1KB976462v2x64.msu /IDFXR2:PrerequisiteInstallerFiles\Windows6.1KB974405x64.msu /Sync:PrerequisiteInstallerFiles\Synchronization.msi /FilterPack:PrerequisiteInstallerFiles\FilterPack.msi /ADOMD:PrerequisiteInstallerFiles\SQLSERVER2008_ASADOMD10.msi /ReportingServices:PrerequisiteInstallerFiles\rsSharePoint.msi /Speech:PrerequisiteInstallerFiles\SpeechPlatformRuntime.msi /SpeechLPK:PrerequisiteInstallerFiles\MSSpeech_SR_enUS_TELE.msi
IntroducingSharePoint2010
TSSRedmond,LLC
165
Alternately,youcancopythecontentsofthefileD:\Labfiles\Lab01 \PrerequisiteInstaller.Arguments.txtandpasteitintoyourNotepaddocument.
D: CDSoftware\SharePointServer2010 PrerequisiteInstaller.exe
6. StepthroughtheMicrosoftSharePoint2010ProductsPreparationTool.Wheninstallationhas completedsuccessfully,clickFinishtoclosethetool.
Results:Afterthisexercise,youshouldhaveinstalledandconfiguredallSharePointServer2010 prerequisites.
166
TSSRedmond,LLC
SharePointBootCamp
Exercise3:InstallingSharePointServer
Scenario
YouarereadytoinstallSharePointServer2010.Inthisexercise,youinstalltheSharePointbinaries.Inthenext exercise,youfinishtheinitialconfigurationoftheSharePointinstallation.
InstallSharePointServer. or
1B.
ScripttheinstallationofSharePointServer.
Task1A:InstallSharePointServer
1. IntheSharePointServer2010folder,doubleclickdefault.hta.OntheSharePointServerinstallationsplash screen,clickInstallSharePointServer.
Task1B:ScripttheinstallationofSharePointServer
1. EditD:\Software\SharePointServer2010\Files\SetupFarmSilent \config.xml.
2. Replaceline11withthefollowingline:
<PIDKEYValue="36BY2DVVJY6426XPXWVQBM342"/>
Removethecommenttags,<!and>.
3. ReplacetheDisplayelementwiththefollowing:
<DisplayAcceptEULA="yes"Level="basic" CompletionNotice="yes"/>
"D:\Software\SharePointServer2010\setup.exe"/config "D:\Software\SharePointServer2010\Files\SetupFarmSilent\config.xml"
IntroducingSharePoint2010
TSSRedmond,LLC
167
Installationtakesapproximately710minutes.
Results:Afterthisexercise,youshouldhaveinstalledSharePointServer2010.
168
TSSRedmond,LLC
SharePointBootCamp
Exercise4:ConfiguringtheSharePointInstallation
Scenario
YouarereadytocompletetheconfigurationoftheSharePointinstallation.Inthisexercise,youusethe SharePointProductsConfigurationWizardtoconfiguretheserverandthefarm.
YoumaychoosetoperformconfigurationmanuallyortoscripttheconfigurationofSharePointServerandof thenewfarm.
Themaintasksforthisexerciseareasfollows:
1A. or 1B.
RuntheSharePointProductsConfigurationWizard. PerformascriptedconfigurationofSharePointServer.
Task 1A:RuntheSharePointProductsConfigurationWizard
1. OpentheSharePoint2010ProductsConfigurationWizard.
3. Whenconfigurationhascompletedsuccessfully,clickFinish.
WindowsInternetExplorerappearsandopenstheHelpMakeSharePointBetterpage.ThisistheCustomer ExperienceImprovementsurveypageoftheSharePoint2010CentralAdministrationWebsite.
4. SelectYes,Iamwillingtoparticipate(Recommended),andthenclickOK. 5. CloseInternetExplorer.
YouconfigureSharePointinalaterlab.
Task1B:PerformascriptedconfigurationofSharePointServer
1. StartWindowsPowerShell2.0usingtheRunasadministratoroption.
2. Typethefollowingcommand,andthenpressENTER:
D:\Labfiles\Lab01\ConfigureSharePoint.ps1
TheWindowsPowerShellCredentialRequestdialogboxappears.
3. InthePasswordbox,typePa$$w0rd,andthenpressENTER.
Apromptappearstoenterthefarmpassphrase.
4. Type10174_SharePoint_2010, andthenpressENTER.
Configurationproceedsfor710minutes.
5. WhenthepromptPressEntertoexitappears,pressENTER.
IntroducingSharePoint2010
TSSRedmond,LLC
169
Results:Afterthisexercise,youshouldhaveconfiguredSharePointServer2010asasingleserverfarm withtheCentralAdministrationapplicationonport9999.
170
TSSRedmond,LLC
SharePointBootCamp
Exercise5:ConfiguringtheFarmwiththeFarmConfigurationWizard
Inthisexercise,youusetheFarmSetupWizardtoconfiguretheSharePointfarmandserviceapplications withdefaultsettings.
Themaintasksforthisexerciseareasfollows:
1. RuntheFarmConfigurationWizard.
Task 1:RuntheFarmConfigurationWizard
1. OpenSharePoint2010CentralAdministrationandstarttheFarmConfigurationWizard.Fortheservice account,createanewmanagedaccountusingtheSP_ServiceAppsaccountwiththeusername CONTOSO\SP_ServiceApps,andthepasswordPa$$w0rd.
2. ObservethelistofserviceapplicationsthatwillbecreatedbytheFarmConfigurationWizard.Clearthecheck boxnexttoUserProfileServiceApplicationandthenproceedwiththewizardbyclickingNext.
3. ClickSkip.
Youcreateanintranetinthefollowingexercises.
4. OntheInitialFarmConfigurationWizardpage,clickFinish.
Results:Afterthisexercise,youshouldhaveaSharePointfarmandserviceapplicationsconfiguredwithdefault settings.
IntroducingSharePoint2010
TSSRedmond,LLC
171
Exercise6(Optional):InstallaLanguagePack
Inthisexercise,youinstalltheFrenchlanguagepack.
Themaintasksforthisexerciseareasfollows:
1. InstalltheFrenchlanguagepack.
2. Completetheconfigurationofthelanguagepack. 3. Validatetheinstallationofthelanguagepack.
Task1:InstalltheFrenchlanguage pack
1. RunD:\Software\SharePointLanguagePackFR \ServerLanguagePack.exe.
2. SelecttheJacceptelestermesdececontratcheckbox. 3. ClickContinuer.
Thelanguagepackinstalls.
RuntheSharePoint2010ProductsConfigurationWizard. Afterconfigurationiscomplete,SharePoint2010CentralAdministrationopens.
Task3:Validatetheinstallationofthelanguagepack
1. InSharePoint2010CentralAdministration,intheQuickLaunch,clickSystemSettings.
Toprepareforthenextmodule
Whenyoufinishthelab,revertthevirtualmachinesbacktotheirinitialstate.Todothis,completethe followingsteps: 1. Onthehostcomputer,startMicrosoftHyperVManager.
2. RightclickthevirtualmachinenameintheVirtualMachineslist,andthenclickRevert.
3. IntheRevertVirtualMachinedialogbox,clickRevert.
1 72
TSSRedm mond,LLC
SharePointBootCamp p
ModuleRe M eviewandTakeaway ys
ReviewQuesti ions
1. Whatarethemostsalientb . benefitsofShar rePoint2010to yourenterprise eandtoyouasanIT professional?
Issue
Tr roubleshooting Tip p Do ownload the p prerequisite an install it ma nd anually, or dire the ect pr rerequisite inst taller to an av vailable copy o the prerequisite by of us singaswitchw withthePrerequ uisiteInstaller.ex commandorinthe xe Pr rerequisiteInsta aller.Arguments s.txtfile. Ex xaminethelog inthe%TEMP% %folder. En nsurethatyoua areloggedona asthesetupuse eraccountandt that th heaccounthasb beengivenalo oginontheSQLserverwiththe e db bcreatorandse ecurityadminse rverroles.
IntroducingSharePoint2010
TSSRedmond,LLC
173
RealWorldScenarios
1. Thetrainingdepartmentwantstoconductacourseinwhichsitecollectionadministratorswilllearnskills requiredtomanagetheirsitecollections.Eachsitecollectionadministratorinthecourserequiresatest SharePointfarm.YoudonotwantthetestfarmstoconnecttotheproductionSQLServerenvironment. Whattypeofinstallationwillyouprepareforeachsitecollectionadministrator?
BestPractices
Supplementormodifythefollowingbestpracticesforyourownworksituations:
Tools
Tool
SharePointServer 2010Startpage Prerequisiteinstaller SharePoint InstallationWizard
174
TSSRedmond,LLC
SharePointBootCamp
CreatingaSharePoint2010Intranet
TSSRedmond,LLC
21
Module2
CreatingaSharePoint2010Intranet
Contents:
Lesson1:PerformingInitialFarmConfiguration Lesson2:ConfiguringtheSharePointLogicalStructure Lesson3:ExploringtheSharePointWebApplicationand PhysicalArchitecture Lab:CreatingaSharePoint2010Intranet
2 2
TSSRedm mond,LLC
SharePointBootCamp p
St tarttheVirtua alMachines
Be eforestartingth hismodule,star rtandlogonto othevirtualmac chines.
1. Start10174A . ACONTOSODC CB. 2. AfterCONTO . OSODChascom mpletedstartup p,start10174A SP2010WFE1 B. 3. LogontoSP . P2010WFE1asC CONTOSO\SP_A Adminwiththe epassword,Pa$ $$w0rd.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
23
Af fterinstallingyo ourMicrosoftSharePointfar rm,youarerea adytobeginest tablishingconte ent,suchasan or rganizationalintranetsite.Inthismodule,you uwillcreateaS SharePointbase edintranetand, ,asyoudoso,y youwill le earnkeyconcep ptsandskillsrela atedtothelogicalarchitecture eofSharePoint tincludingWeb applications,si ite co ollections,sites, ,andcontentda atabases.
2 4
TSSRedm mond,LLC
SharePointBootCamp p
Lesson1
Af fteryouhavein nstalledMicroso oftSharePoint2 2010onyourfir rstserverinthe efarm,andafte eryouhaverunthe Sh harePointProdu uctsConfigurati ionWizard,you ustillmustconf figureservices,a accounts,ands settingsonthef farm its self.Inthislesso on,you'lluseth heConfigureYourFarmWizard dtoautomatet theprocessofin nitialfarm co onfiguration,an ndyou'llbegint theexplorationofSharePoint's scomponents,t technologies,andfeaturesby ex xaminingthehighleveltasksthatthewizardperforms.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
25
Walkthrough:F W FarmConfigurationWizard d
RuntheFarmConfigurationWizard
1. OpenShareP . Point2010CentralAdministra ation.AttheUs serAccountCon ntroldialogbox x,clickYes. 2. IntheCentralAdministrationQuickLaunc . ch,clickConfigu urationWizards s. 3. IntheFarmConfigurations . section,clickLaunchtheFarm Configuration Wizard.
4. . 5. . 6. . 7. .
OntheConf figureyourShar rePointfarmpa age,clickStartt theWizard. IntheServic ceAccountsect tion,takenoteo oftheexistingm managedaccou nt. Observethelistofservicea applicationsthatareselectedo orcanbeselect ted. ClickNext. Farmservice eapplicationsarecreatedand started.Thista kesseveralmin nutes.Optionall ly,youcanopen SQLServerM ManagementSt tudiotofollowt theprogressof theserviceapp plicationdataba asecreation. Whentheco onfigurationisc complete,theC CreateSiteColle ectionpageope ens.
2 6
TSSRedm mond,LLC
SharePointBootCamp p
Fa armConfigura ationWizard
Th heFarmConfigurationWizardappliesthedef faultsettingsfo rservices,prox xies,proxygroup ps,and ac ccounts.
Th hewizardmake esiteasytogetafarmupand runningusingo outoftheboxd defaults.Itisparticularlywells suitedto co onfiguringaSha arePointfarmfo ortesting,training,ordevelop pmentwhenthe erearenorequirementsforfarmor se ervicecustomization.
In nmostproductionenvironmen nts,however,bu usinessrequirem mentsleadtofa armtopologydesignsand co onfigurationtha atisnotthesam measSharePoin nt'soutofboxd defaults.Theref fore,itisgener rallyrecommended to oconfigurethefarmmanuallyinaproduction nenvironment.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
27
Se erviceapplicatio onsareaveryim mportantconce epttoundersta andinSharePoin nt2010.Althou ughthey pe erformarolesimilartoShared dServiceProviders(SSPs)inSha arePoint2007,t therearesignif ficant di ifferencesbetw weenserviceapp plicationsandSSPs.
Se erviceApplication
Aserviceapplicationprovidessp pecificfunctionality,suchasse earch,thatmay berequiredby yaWeb pplication.Inth heend,Webapplicationsconnecttoandcons sumetheservic ceprovidedbya aservice ap ap pplication.
2 8
TSSRedm mond,LLC
SharePointBootCamp p
Architecture A
Se erviceapplicatio onsarepartofS SharePointFoundation2010.T Thismeansthat tthearchitectu ureispartof th heplatform,inc contrasttoSharePoint2007inwhichSSPswe ereintroducedb byMicrosoftOf fficeSharePoint t Se erver2007andnotbyWindow wsSharePointS Servicesv3.
In nSharePoint20 010,mostnews servicesarebui iltontheWind dowsCommunicationsFramew work(WCF),wh hich meanstheyhave m eoptimizationb builtintotheirp protocol,usingb binarystreams insteadofXML Ltotransferdat ta.
Se etupandAdm ministration
Se erviceappsareadministeredin nCentralAdmin nistrationlikealllWebapplicat ions.InMOSS2 2007,theSSPha ada se eparateadminis strativeapplicat tion.Serviceappscanberemo otelymanageda andmonitored. .Serviceappscanbe ad dministeredbyusingWindows sPowerShell.
Fl lexibleTopology
Aserviceapplicationprovidesasinglesetoffun nctionality.AW Webapplication ncan,througha applicationconn nection roups,connectt tooneormore eserviceapplica ationsbasedon theneedsofth heWebapp.Th hisisincontrast ttothe gr SS SPinSharePoint t2007,whichcontainedabun ndleofservicesa andaWebapp plicationthatwa asconnectedto othe SS SPandincurredtheoverheado ofallservicesin ntheSSP.
WhiteboardD W Diagram
La abelthefollowingcomponents sintheprecedingdiagram:
CreatingaSharePoint2010Intranet
TSSRedmond,LLC
29
AdditionalReading
Module8,ConfiguringandSecuringSharePointServicesandServiceApplications,detailsmanaged accounts.
2 10
TSSRedm mond,LLC
SharePointBootCamp p
Tr raditionally,ser rviceaccountsh havebeendifficultforenterpri sestomanage,becausewhenyouchangethe e pa asswordoftheserviceaccount tinActiveDirec ctory,youmust tthenreconfigu uretheservicew withthenew pa assword,otherw wiseitwillbedeniedlogon.Be ecauseofthisch hallenge,enterp priseshavetypi icallysacrificed se ecuritybestpracticesandhave econfiguredser rviceaccountsw withpasswords thatneverexpire.
Sh harePoint2010introducestheconceptofmanagedaccounts s.Managedacc countsareservi iceaccountswith whichSharePointservicesrun.U w Unliketraditionalserviceaccou unts,however, SharePointisab bletoperform pa asswordresetso ontheaccountsinActiveDirec ctory,anditcan nupdatethese ervicewithane ewpassword.Al llof th hiscanbedoneautomatically,withoutadministrativeinterve ention. Amanagedaccou untstartslikeanyserviceacco ount:adomainu useraccountis createdinActiv veDirectory.Yo ou th oint2010Centr henregistertheaccountasam managedaccoun ntusingSharePo ralAdministrati ion.At th hattime,youen nterboththeus sernameandpa asswordofthea account.
Whenyouconfig W gureaserviceap pplication,appl licationpool,or ranyothercom mponentthatre equiresan id dentity,youcanspecifywhichm managedaccou untshouldbeus sed.Inthisway y,SharePointisa abletomaintaina da atabaseofassociationsbetwee enmanagedacc countsandserv vices.
Ad dditionally,and dincontrasttoS SharePoint2007,whenyouas ssignanidentity ytoaserviceap pplication, Sh harePoint2010configuresanypermissionsor rrightsrequired dfortheidentit ty.
Whenitcomesti W imetochanget thepasswordof famanagedac count,youdos sowithSharePo ointCentral Ad dministration,r ratherthanwith hActiveDirecto oryUsersandCo omputers.Shar rePointisablet tochangethepassword of ftheaccountin nthedomain,anditcanreconf figuretheservi cesassociatedw withthatidenti itytoallowtheuseofa ne ewpassword.
CreatingaSharePoint2010Intranet
TSSRedmond,LLC
211
AdditionalReading
Module8,ConfiguringandSecuringSharePointServicesandServiceApplications,detailsmanaged accounts.
2 12
TSSRedm mond,LLC
SharePointBootCamp p
Lesson2
NowthattheSha arePointfarmis sinstalledandc configured,you ucanturnyourattentiontothe ecreationofW Web pplications,site ecollections,site es,andcontent tdatabases.The esearetheprim marycomponen ntsoftheSharePoint ap lo ogicalstructure.Inthislesson,y youwilllearnhowtocreateth hearchitecture forasimpleSharePointintran netand, alongtheway,co ometounderst tandthecharact teristicsofand issuesrelatedt toeachofthese elogicalcomponents.
Af fterthislesson, ,youwillbeableto:
ManageWe ebapplications ManageSite ecollections Delegatesitecollectionadm ministration Configurequ uotas Managesite es Configurem managedpaths Managecon ntentdatabases s
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
213
Sh harePointLog gicalStructure e
Th hediagramshownontheslide eaboverepresentsthelogicals structureofSha arePoint. AWebapplicationisthehig ghestlevelcomponentofthelo ogicalstructure ewithinafarm. .Afarmcanhav ve oneormore eWebapplications.
Asitecollect tioncontainson neormoresites s.Whenyoucre eateasitecolle ection,youalsocreatethetop levelsiteint thatsitecollect tion.Belowthat ttoplevelsitec canbeoneorm moreadditionalsites,often referredtoa assubsitesorsu ubwebs.
nimportantele ementofthedia agramshownaboveisthatwh henyoucreatea asitecollection n,youalsocreat teatop An le evelsite.Theyar retwoseparate ecomponents,b buttheyalways sgohandinha and.Youcanth haveasitecollection withoutatoplev w velsite,andyou ucanthaveato oplevelsitewit thoutalsohavin ngasitecollect tion.
2 14
TSSRedm mond,LLC
SharePointBootCamp p
To ounderstandth heconfiguration nparametersyo oumustprovid ewhenyoucre eateaWebapplication,itishe elpful to ounderstandho owaclientaW Webbrowser,fo orexampleco onnectstoasite e.
Withabrow wseropened,au userentersaUR RI(UniversalRe esourceIdentifie er),alsocalleda aURL(Uniform ResourceLocator).Thisisth herequestthat theusermakes s.
TheURIincludesaprotoco ol,suchashttp: :andanaddres ss,typicallyspe ecifiedasadom mainnamesyste em(DNS) name, such as intranet.con ntoso.com. Oft ten, the URI als includesa p so path or page th specifies a resource hat withintheta argetsite,suchas/default.asp px.
Therequestmustbesentto otheserverhos stingtheWebs site.Therefore, theDNSnameoftheserverm mustbe resolvedtoi itsIPaddress.T Theclientsends saquerytoitsD DNSserverrequ uestingalookupoftheWebse ervers DNSname,i intranet.contos so.com.
Theclientca annowsendtherequesttothe eWebserverus singtheserver sIPaddress.Th herequestissen ntto aspecificpo ortontheserverbasedontheprotocolorapo ortspecifiedintheURI.ForWebrequests,po ort80 isusedunles ssotherwisespe ecified. IISonthese erverreceivesth herequestandmusthandthe requesttothecorrectsite.Theserverknowswhich siteshouldg gettherequestbasedonthesi itesbindings.A Asitecanbebou icIPaddressor port. undtoaspecifi Typically,ho owever,aWebserverhostsmu ultiplesitesand ditisnotefficie ntorsometime esevenpossible eto assignauniq queIPaddresso orporttoeach site.Therefore, ,itistypicaltos seeaWebserv verhostingmult tiple sitesallboundtothesameIPaddressand port. antheserverkn nowwhichsiteshouldhandlet theinboundreq quest?Whileth heinboundrequ uest Howthenca targetsaspe ecificIPaddress sandport,ther requestitselfco ontainstheDNS SnameoftheW Web
CreatingaSharePoint2010Intranet
TSSRedmond,LLC
215
2 16
TSSRedm mond,LLC
SharePointBootCamp p
Youcansepa aratecontentth hatisaccessible ebyanonymou susersfromco ntentthatisac ccessedby authenticate edusers,orcon ntentthatisacc cessiblebypartn nersfromconte entthatisacces ssibleby employees,byhostingthec contentinsepa arateWebappliications.
Whenyoucr reateanewWe ebapplication,y youalsocreate anewcontent tdatabasethatdefinesthe authenticationmethoduse edbytheapplic cationpooltoco onnecttothed database.
SharePointS Server2010pro ovidesasetofse erviceapplicatio onsthatareava ailableforeach hWebapplicatio on.You canselectw whichserviceapplicationsyouw wanttousefor eachWebappl licationthatyoucreatebyasso ociating theWebapp plicationwithaproxygroupor rbyspecifyinga acustomsetof fserviceapplica ationsfortheW Web application.Formoreinformation,seeMo odule8,Config guringandSecu uringSharePointServicesandS Service Applications s.Serviceapplicationsareasso ociatedwithW ebapplications s.
CreatingaSharePoint2010Intranet
TSSRedmond,LLC
217
CreateaWebApplication
ThefollowingprocedurescreateaWebapplicationthatusesWindowsclassicauthentication,andNTLMasthe authenticationprovider.Inotherwords,theWebapplicationwilluseyourActiveDirectorydomainfor authentication. CreateaWebApplicationbyUsingCentralAdministration 1. IntheCentralAdministrationQuickLaunch,clickApplicationManagement.
2. IntheWebApplicationssection,clickManagewebapplications. 3. OntheWebApplicationstaboftheribbon,clickNew.
TheCreateNewWebApplicationpageappears.
4. IntheAuthenticationsection,selecttheauthenticationmethod,forexample,ClassicMode Authentication.
Formoreinformation,seeModule5,ConfiguringAuthentication.
5. IntheIISWebSitesection,inthePortbox,type80.
Note:ThedefaultportnumberforHTTPaccessis80,andthedefaultportnumberforHTTPSaccessis443.If you want users to access the Web application without typing in a port number, they should use the appropriatedefaultportnumber.
6. IntheHostHeaderbox,typetheuniqueDNSnamefortheWebapplication,forexample, intranet.contoso.com.
ThisfieldisusedsothataservercanhostmorethanoneWebapplicationonthesameport.Iftheserveris hostingonlyoneWebapplicationonthespecifiedport,thisfieldcanbeleftblank.
7. IntheNamebox,typeadescriptivenamefortheWebapplication,forexample,Intranet intranet.contoso.com.
8. IntheApplicationPoolsection,ensurethatCreatenewapplicationpoolisselected.
9. IntheApplicationPoolNamebox,typeSharePointWebApplications.
Youshoulduseameaningful,descriptivenameforeachapplicationpoolthatyoucreate.Use thenamingstandardsofyourorganizationtodeterminethename.
Youshouldalwaysuseameaningfulnameforyourcontentdatabases.Use thenamingstandardsofyourorganizationtodeterminethename.
12.ClickOK.
218
TSSRedmond,LLC
SharePointBootCamp
TheWebapplicationandcontentdatabasewillbecreated.Whenthisprocessiscomplete,the ApplicationCreatedpageappears.
13.ClickOK.
ThenewWebApplicationisdisplayedontheWebApplicationsManagementpage.
Tip:Besurethatyouhavecreatedahostrecord(AorAAAA)inDNSfortheWebapplication.
CreateaWebApplicationbyUsingWindowsPowerShell ThefollowingexampleshowstheuseoftheNewSPWebApplication cmdlettocreateanewWeb application:
NewSPWebApplicationName<Name>ApplicationPool<ApplicationPool>ApplicationPoolAccount <ApplicationPoolAccount>Port<Port>URL<URL>
Where:
AdditionalReading
CreateaWebApplication(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=192703&clcid=0x409.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
219
Lo oadBalancing
Whenyoucreate W eaWebapplica ation,youspecif fytheloadbala ancedURL,fore example, in ntranet.contoso o.com:80.
AloadbalancerisassignedtheIPaddressassoc ciatedwiththe DNSnameofth heWebsite.EachWebfronte endhas essthatisknow wntotheloadbalancer.Theloa adbalancerrec ceivestheclient tsrequest,then auniqueIPaddre orwardstherequesttooneoft theWebfronte endsbasedont thelogicapplied dbytheloadba alancer. fo
2 20
TSSRedm mond,LLC
SharePointBootCamp p
Whenyoucreate W easitecollectio on,youalsocrea ateatoplevels siteinthesitec collection.Thet toplevelsiteca anbe co onfiguredtouse eatemplate,alsocalledasite definition.
2. IntheSiteCollectionssection,clickCreate . esitecollection ns. 3. IntheWebA . Applicationsec ction,ensuretha atyouarefocu sedontheWeb bapplicationinwhichyouwan ntto createasite ecollection.
4. IntheTitleb . box,typeatitleforthesitecollection. 5. IntheTemplateSelections . section,selectthesitedefinitio onyouwanttoapplytothetoplevelsiteofthenew sitecollectio on. 6. InthePrima . arySiteCollectio onAdministrat torsection,inth heUsernameb box,typetheus sernameofthe esite collectionad dministrator. 7. ClickOK. .
8. ClickOK. .
Whenyoucreate W easitecollectio on,youalsocrea ateatoplevels sitewithinthatsitecollection.Thetoplevels siteis ty ypicallycreatedusingasitedef finition,forexample,TeamSite eorPublishing Site,butitisals sopossibletocreatea blanktoplevelsi itethatcanthenbecustomize edlater.
CreatingaSharePoint2010Intranet
TSSRedmond,LLC
221
CreateaSiteCollectionbyUsingWindowsPowerShell ThefollowingexampleshowstheuseoftheNewSPSitecmdlettocreateanewsitecollection.
GetSPWebTemplate $template=GetSPWebTemplate"STS#0" NewSPSiteUrl"<URLforthenewsitecollection>"OwnerAlias"<domain\user>"Template$template
Where:
DeleteaSiteCollection
Whenyoudeleteasitecollection,youpermanentlydestroyallcontentanduserinformationinthesite collection,whichincludesthetoplevelsiteandallsubsites. DeleteaSiteCollectionbyUsingCentralAdministration 1. IntheCentralAdministrationWebsite,intheQuickLaunch,clickApplicationManagement.
2. OntheApplicationManagementpage,intheSiteCollectionssection,clickDeleteasitecollection.
TheDeleteSiteCollectionpageopens.
3. OntheDeleteSiteCollectionpage,expandtheSiteCollectionlist,andthenclickChangeSite Collection.
UsetheSelectSiteCollectionpagetoselectasitecollection: IntheWebApplicationdropdownlist,clickthedownarrow,andthenclickChangeWeb Application. TheSelectWebApplicationdialogboxappears. 2. ClickthenameoftheWebapplicationthatcontainsthesitecollectionthatyouwanttodelete. RelativeURLsofsitesinthesitecollectionsoftheWebapplicationthatyouhaveselectedappearonthe SelectSiteCollectiondialogbox. 3. ClicktherelativeURLofthesitecollectionthatyouwanttodelete,andthenclickOK. 4. ReadtheWarningsectionandverifythatthesitecollectioninformationiscorrect. 5. OntheDeleteSiteCollectionpage,clickDelete.
1.
Thesitecollectionthatyouselectisdeleted.
DeleteaSiteCollectionbyUsingWindowsPowerShell ThefollowingexampleshowstheuseoftheRemoveSPSitecmdlettodeleteasitecollection:
RemoveSPSiteIdentity"<URL>"GradualDelete
Where:
222
TSSRedmond,LLC AdditionalReading
Createasitecollection(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=192705&clcid=0x409.
SharePointBootCamp
Deleteasitecollection(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=192706&clcid=0x409.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
223
SiiteCollectionSettings
Af ftercreatingthesitecollection n,youshouldco onfiguresitecolllectionsettings s.InCentralAdm ministration,th hisis do oneontheApp plicationManag gementpage.
1. Confirm mthattheWebApplicationlist tdisplaystheW Webapplication thatcontainsthesite collectionforwhichyo ouwanttoassig gnownership. Ifnot,e expandtheWeb bApplicationlist,andthenclic ckChangeWeb bApplication.O OntheSelect WebAp pplicationpage e,clicktheWeb bapplication. 2. IntheU URLlist,clickthe esitecollection n. 3. ClickOK K. 3. InthePrima . arysitecollectio onadministrato orbox,typethe enameofthep primaryowner,usingtheformat, DOMAIN\us sername. esecondaryow 4. IntheSecon . ndarysitecollec ctionadministr ratorbox,typet thenameofthe wner,using theformat,DOMAIN\usern name. 5. ClickOK. .
224
TSSRedmond,LLC
SharePointBootCamp
AssignSiteCollectionOwnersbyUsingWindowsPowerShell Thefollowingexampleshowstheuseofthecmdletcmdlettoassignthesitecollectionowners:
SetSPSiteIdentity"<SiteCollection>"OwnerAlias"<DOMAIN\User>"SecondaryOwnerAlias "<DOMAIN\User>"
Where:
TheGrantPermissionspageopens.
4. IntheUsers/Groupsbox,typethenameofusersorgroupsthatyouwanttoaddtotheselected SharePointgroup,andthenclickOK.
Togiveallauthenticateduserstheabilitytobrowseasite,addtheDomainUsersgrouptotheVisitorsgroup ofthesite.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
225
AdditionalRea A ading
Addorrem movesitecollect tionadministrat tors(SharePoi ntServer2010) )at http://go.microsoft.com/fw wlink/?LinkID=1 192707&clcid=0 0x409.
Quotas Q
Oneoftheimportantsitecollec ctionsettingsis thequotatemp plateassociated dwiththesitec collection.
Aquotatemplate especifiesthem maximumstoragepermittedfo oreachsiteina asitecollection. .Quotasalsode efine th heresourceutilizationlimitsfo orSandboxedSo olutions.Sandbo oxedSolutionsa arediscussedin nModule7, M ManagingShare ePointCustomiz zations.
Quotasdefinethefollowing: Q
Storagelimit t(inMB)
Thestoragewarninglevela atwhichsitecol llectionowners s(primaryands secondarysitec collection administrato ors)arenotified dthatthesiteis sapproachingit tsstoragelimit. Thisvaluemus stbelowerthan n thestoragelimit.
ResourceusagelimitforSandboxedSolutions(perday). velatwhichsite ecollectionown ners(primaryandsecondarysitecollection Resourceusagewarninglev administrato ors)arenotified dthatthesiteis sapproachingit tsresourceusag gelimit.Thisvaluemustbelow wer thantheres sourceusagelim mit.
Cr reateorModify yaQuotaTemp plate Quotatemplates Q saredefinedatthefarmlevel.Whenyoucrea ateaquotatem mplate,yousimplifythe managementofs m storagelimitso onnewsitecolle ections.
TheQuotaT Templatespageopens.
226
TSSRedmond,LLC
SharePointBootCamp
Ifyouwanttomodifytheamountofdatathatcanbestoredinthedatabase,selecttheLimitsite storagetoamaximumofcheckbox,andtypethenewstoragelimit,inmegabytes,inthetextbox.
5. IntheSandboxedSolutionsWithCodeLimitssection,setthevaluesforatemplateforSandboxed Solutions.
6. ClickOK.
1. IntheCentralAdministrationQuickLaunch,clickApplicationManagement. 2. OntheApplicationManagementpage,intheSiteCollectionssection,clickConfigurequotasandlocks.
TheSiteCollectionQuotasandLockspageopens.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
227
3. Ifyouwantt . tochangetheselectedsitecollection,intheS SiteCollections section,expand dtheSiteCollec ction list,andthenclickChangeS SiteCollection.UsetheSelect tSiteCollection npagetoselectasitecollection n. 4. OntheSiteC . CollectionQuot tasandLocksp page,intheSite eQuotaInforma ationsection,e expandthe Currentquo otatemplatelist,andthensele ectthenewquo otatemplateto oapply. 5. ClickOK. .
Up pdatingQuotas s Ifyouupdateaq quotatemplate, ,orupdatethe sitecollectionq quota,thechan ngedoesnotap pplytoexistings sites.To pdatequotason nexistingsites,youcanuseWindowsPowerS ShellsSetSPSite ecmdletwithth heMaxSize up pa arameter.
Si iteCollection nLocks
Yo oucanapplyloc ckstopreventu usersfromacce essingormodify yingcontentina asitecollection n.
Description Unlocksthesitecollectionandmakesitav vailabletousers s. Preventsuse ersfromadding gnewcontentt tothesite collection.U Updatesandde letionsarestillallowed. Preventsuse ersfromadding g,updating,ord deletingconten nt. Preventsacc cesstocontent tcompletely.Us serswhoattemptto accessthes itereceiveana accessdeniedm message.
To oLockorUnloc ckaSiteCollecti ionbyUsingCe entralAdministr ration 1. InCentralAd . dministration,c clickApplicatio onManagemen nt. 2. OntheApplicationManage . ementpage,intheSiteCollect tionssection,clickConfigureq quotasandlock ks.
228
TSSRedmond,LLC
TheSiteCollectionQuotasandLockspageopens.
SharePointBootCamp
Notlocked.Tounlockthesitecollectionandmakeitavailabletousers.
Addingcontentprevented.Topreventusersfromaddingnewcontenttothesitecollection. Updatesanddeletionsarestillallowed.
Readonly(blocksadditions,updates,anddeletions).Topreventusersfromadding,updating, ordeletingcontent.
Noaccess.Topreventaccesstocontentcompletely.Userswhoattempttoaccessthesitereceivean accessdeniedmessage.
SetSPSiteIdentity"<SiteCollection>"LockState"<State>"
Where:
AdditionalReading
Managesitecollectionstoragelimits(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=192708&clcid=0x409.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
229
Su ubsites
Asitecollectionc cancontainone eormoresites. .Belowthetop levelsite,youc cancreateaddi itionalsites,also ca alledsubsitesor rsubwebs.
Th heprecedingdiagramshowssu ubsitesforHRandEngineering g.TheURLforH HRwouldbe ht ttp://intranet.co ontoso.com/HR Thesitehiera R. archycanbeeve endeeper,butbeawareofthe260characte erURL le engthlimit.
MultipleSiteC M Collections
Anumberofgov vernancecontro ols,includingcontentownersh ipandquotaco onfiguration,areconfiguredat tthe tecollectionlev vel.Governance eobjectivesofte endriveorganiz zationstocreat temultiplesitecollectionsthat t sit co onfigureunique epropertiesforeachsitecollec ction.
MultipleConte M entDatabase es
Th hecontentfrom mallsitesinasitecollectionisstoredintheco ontentdatabase e.Asitecollecti ioncannotspan n morethanonecontentdatabas m se.Thecontent databaseisthe ecorecompone entofstoragem management, in ncludingbackup pandrestore.
Be ecauseofthisre elationshipbetw weencontentd databasesandst toragemanage ement,governanceandservice e le evelagreements softendriveanorganizationto ocreatemultip lesitecollectio onssothatsitec collectionscan be edistributedac crosscontentda atabases.
2 30
TSSRedm mond,LLC
SharePointBootCamp p
ManagedPath M hs
To ocreateanewsitecollectionw withinaWebap pplication,there emustbeama anagedpathatwhichtocreate ethesite co ollection.
Amanagedpathisaportionoft theURInamesp pacewherethesitecollections sexist.Amanag gedpathisnotd directly mappedtoconte m entwithintheW Webapplication n.Instead,itisu usedbySharePo ointasanames space(path)node wheresitecollec w ctionscanbecre eated.
An nexplicitmanagedpathisusefulforcreating onlyasinglesit tecollection,at ttheexactURL Lspecified.Fore example, th hedefault(root t)managedpat thforourintra anetsiteishttp p://intranet.con ntoso.com/ and dasinglesitecollection ca anbecreatedat tthatexactURL.
Awildcardmanagedpath,forex xample,http:// /intranet.contos so.com/sites/ in ndicatesthatch hildURLsofthepath resitecollections.Awildcardm managedpaths suchassites/alllowsforunlimit tednumberofs sitecollections tobe ar cr reateddirectlyu undertheprovi idedpath.Itisimportanttono otethatasiteco ollection(andt therefore,aWe ebsite) ca annotbecreate edatthisexplici itURL.
Th hedefaultmanagedpath,crea atedwhenyouc createanynew wWebapplicatio on,issites/.How wever,youcandefine managedpathsw m withotherdescriptivenamessuchasdepts(fo ordepartments s),teams,clients,orprojects.
Managedpathsa M allowaSharePo ointservertoreceivearequest tintheformof aURIandtode eterminewhich hpartof th heURIcorrespondstoasitecollection,bylook kingatthelisto ofmanagedpat thsforagivenW WebApplication. Sh harePointcanth hengototheco orrectcontentdatabaseofthe esitecollection ntoretrievethe econtentbased donthe re emainingportio onoftheURI.
Th hismeansthatS SharePointhastolookatevery ymanagedpath hforeachrequ est.SoMicroso oftonly su upportsupto20 0managedpath hsperWebapp plication. Ad ddManagedPathsforaWeb bApplicationby yUsingCentralA Administration n 1. OntheShare . ePoint2010CentralAdministrationWebsite e,intheQuickL Launch,clickAp pplication Managemen nt.
CreatingaSharePoint2010Intranet
TSSRedmond,LLC
231
2. 3. 4. 5. 6. 7.
TheExplicitinclusiontypeincludesonlytheURLthatisindicatedbythespecifiedpath.
8. ClickAddPath. 9. Whenyouhavefinishedaddingpaths,clickOK.
Theribbonbecomesactive.
Warning:Deletionisimmediate.Youwillhavenoadditionalopportunitytoconfirm.
7. Whenyouhavefinishedremovingpaths,clickOK.
NewSPManagedPath[RelativeURL]"</RelativeURL>"WebApplication<WebApplication>
Where:
RemoveaManagedPathbyUsingWindowsPowerShell ThefollowingexampleshowstheuseofthecmdletcmdlettoaddamanagedpathtoaWebapplication:
RemoveSPManagedPath[Identity]<ManagedPathName>WebApplication<WebApplication>
Where:
<ManagedPathName>isthenameofthemanagedpathtodelete.
232
TSSRedmond,LLC
SharePointBootCamp
<WebApplication>istheURLoftheWebapplicationthathoststhemanagedpathtodelete.
AdditionalReading
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
233
ContentDatab bases
verytoolsrequiretherestorati ionofacontent tdatabase.The etimerequiredtorestoreacon ntent Outofboxrecov atabaseshouldbewithintheserviceleveldef finedbyyourSh harePointgover rnanceplan.Al largecontent da da atabasemaytak kesolongtorestorethatyoum mightfailtoach hieveyourserv vicelevelobject tive.
Sc calability
Fr rom a logical storage management perspec s ctive, it would make sense fo each site to be a separat site or o te co ollectionin a se eparateconten database.Ho nt owever,for per rformancereas sons,suchan approachisofte not en fe easible.Infact,s severalscalabili ityguidelinesap pplytoSharePo ointServer2010 0.
Be ecomeawareofscalabilitybou undaries:
tdatabasesperWebapplicatio onaresupporte ed. 300content Additionally y,theRAMandperformanceof fyourSQLServ verlimitsthetot talnumberofc content databasesth hatshouldbeho ostedonthatse erver.
200GBperc contentdataba aseissupported d. Contentdatabasesizesupt to1terabytear resupportedon nlyforlarge,sin nglesiterepositoriesandarchives withnonco ollaborativeI/Oandusagepatterns,suchasRe ecordsCenters. .Largerdatabas sesizesaresupported forthesesce enariosbecause etheirI/Opatte ernsandtypicalldatastructure eformatshaveb beendesignedf for, andtesteda at,largerscales.
100GBpers sitecollectionaresupported.If facontentdata abasecontains onlyonesiteco ollection,thent thesite collectionca anbeupto200 0GB.
234
TSSRedmond,LLC
SharePointBootCamp
AdditionalReading
SharePointServer2010CapacityManagement:SoftwareBoundariesandLimitsat http://go.microsoft.com/fwlink/?LinkID=192711&clcid=0x409.
CreateaContentDatabase
WhenyoucreateaWebapplication,youspecifythenameoftheinitialcontentdatabase.Youcanlatercreate additionalcontentdatabasesfortheWebapplication.
Ifnecessary,clicktheWebapplicationpicker,andthenclickChangeWebApplication.Clickthecorrect Webapplication.
4. ClickAddacontentdatabase. 5. IntheDatabaseNamebox,typeanameforthedatabase,forexample,WSS_Content_Intranet_IT.
Usethenamingstandardsofyourorganizationtodeterminethename.
6. ClickOK.
NewSPContentDatabaseName<ContentDbName>WebApplication<WebApplicationName>
Where:
<ContentDbName>isthenameofthecontentdatabasethatyouwanttocreate. <WebApplicationName>isthenameoftheWebapplicationtowhichthenewdatabaseisattached.
AdditionalReading
Addacontentdatabase(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=192712&clcid=0x409.
AddaSiteCollectiontoaContentDatabases
Afteryoucreateacontentdatabase,youcancreatesitecollectionsinthatcontentdatabase.
CreatingaSharePoint2010Intranet
TSSRedmond,LLC
235
Itsimportanttomentionthatthesizeofthecontentdatabaseisnottakenintoconsideration.
Intheeventthatmorethanonecontentdatabasehasthesamenumberofavailablesites,thecontent databasewiththelowestGUIDisselectedasatiebreaker.
Asyoucansee,thelackoffinegrainedcontrolinCentralAdministrationcanbeproblematicwhenyouare tryingtomanagetheassociationofsitecollectionstocontentdatabases.
TheContentDatabaseparameteroftheNewSPSitecmdletcanbeusedtocreateasitecollectioninaspecific contentdatabase.
YoucanmovesitecollectionsbetweencontentdatabasesbyusingWindowsPowerShell.
ThefollowingexampleshowstheuseoftheMoveSPSitecmdlettomoveasitecollectionbetweencontent databases:
MoveSPSite<http://ServerName/Sites/SiteName>DestinationDatabase <DestinationContentDb>
Where:
<http://ServerName/Sites/SiteName>isthenameofthesitecollection. <DestinationContentDb>isthenameofthedestinationcontentdatabase.
2 36
TSSRedm mond,LLC
SharePointBootCamp p
Ex xampleLogica alArchitecture e
Th heprecedingsli idepresentsasimpleviewofthelogicalinfras structureofaty ypicalintraneto or co ollaborationWe ebapplication.
Underamanagedpath,eachdiv vision,departm ment,orteamge etsauniquesite ecollection.TheURLtoa ivisionalsiteisW Webapplication n\[managedpath\]site,fore example, di ht ttp://intranet.c contoso.com/de epts./HR.
Th hedivisionssite ecollectionscopestheowners ship,userandgr otherconfigurationfor roupdefinition s,quotas,ando th hesite.Sitecolle ectionsalsoimp posefunctional boundaries.Fe eaturescanbea activatedordea activatedatthe esite co ollectionlevel.
Yo ouwilltypically yneedfarmoresitecollections sthanyouwoulldanticipate,be ecausegoverna ancedesignstyp pically re equiremoretha anonesetofco onfigurationatt thesitecollectio onlevel.
Optionally,youc canputeachdivisionssitecollectioninaded dicatedcontent tdatabasetom managestorage e,backup ndrestore.Keepinmind,how wever,thatther reareperforma ancerelatedsc calabilityguideli inesthatmight tprevent an yo oufromputting geverydivisioninaseparatesi itecollectionin particularlylar rgeorcompleximplementatio ons.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
237
Lesson3
In the previous lesson, you ex n xamined the process where a browser req p quests and rece eives content f from a Sh harePointsite. In thislesson, youwillexplorein detailthe componentso y ofSharePoint,II IS,andMicroso SQL oft Se erverthatareresponsibleforhandlingthere equestontheW Webfrontend.
Af fterthislesson, ,youwillbeableto:
SharePointa andIIS7.0 SharePointW WebApplicationsComponents s web.config SharePointR Root SharePointD Databases Customizedvs.Uncustomiz zedPages
2 38
TSSRedm mond,LLC
SharePointBootCamp p
As syoulearnedin nModule1,Int troducingShare ePoint2010,S harePoint2010 0sitsontopofIIS7.0andrelieson In nternetInformationServicesto oprocessreques sts.IIS7.0hass severalfeatures sthatwillmakemanagingyour r Sh harePoint2010environmente easierandincreaseperformanc ce:
HttpModule esandHttpHand dlersparticipate einallrequests stotheserverw withouthavingt tobeassociated d withtheASP P.NETISAPIfilte er,whichimprovestheperform manceofreque estprocessing.
ASP.NETcon nfigurationwas manageddirec ctlyinXMLfiles inpreviousver rsionsofIIS.The enewIIS Managerallowsyoutovisu ualizeconfigurationvaluesand dmakechanges sintheuserinte erface. Traditionally bug500errors. y,ithasbeendi ifficulttotroubleshootanddeb .Now,withfaile edrequest tracing,youcantracethee eventsthatlead dtosucherrors . Youcanmak kechangestoIISconfiguration nsettingsusinga.NETAPI,whi ichmakesitpos ssibleto configureIIS SusingWindow wsPowerShell. IISconfigura ationusedtobe estoredinthem metabase.Now w,configuration isstoredinthe e applicationH Host.configfile. IISsupportsmoregranulardelegationofadministration,w whichmakesit possibletoassi ignrolesto administrato orswithoutgivingthemtheke eystotheentire eWebserver.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
239
KeyPoints
Whenyoucreate W eanewSharePo ointWebapplic cation,severalt thingshappen.
Anewsiteis screatedinIIS.Thesiteisboun ndtotheporta andhostheader rspecifiedbySh harePoint. Anapplicationpoolisassoc ciatedwiththe site. Asyoulearnedinthep previouslesson,anexistingapp plicationpoolc canbeusedbym morethanonesite, whicha allowsthesitestoshareasingleprocessandt osharetheove erheadassociate edwith theapp plicationpool,le eavingcertaine efficiencies.Alte ernately,youca ancreateanew wapplicationpo oolfor thesite e,whichwillisol latethesiteina aseparateproc essandwillincuritsownappp pooloverhead. . Microso oftsupportsuptotenapplicationpoolsperSh harePointserve er.Thisnumber rmaybe reduced ddependingprimarilyontheR RAMoftheserv ver.
Insidether rootdirectoryis sa.NETconfigu urationfile,web b.config.Thewe eb.configfilede efinesthe application nasaSharePoin ntapplication.
2 40
TSSRedm mond,LLC
SharePointBootCamp p
web.config w
Th heweb.configf fileisthekeyco omponentthatmakesanIISW ebsiteaShareP PointWebapplication.The web.configfileis w satypicalXMLbased.NETconfigfilewithsev veralconfigurat tionsectionsadd dedtoit.
Se everalcommonconfigurations sectionsare:
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
241
Sh harePointRoo ot
Ifyouopenthefolderthatactsastherootdire ectoryofaShare ePointWebapp plicationtheP PhysicalPathof fthe SWebsiteyou uwilldiscovert thattherearen no.aspxfilesint thefolder.Whe ere,exactly,doSharePointfilesand IIS pa agesreside?
Th hisfolderiscalle edtheSharePointroot.You'lla alsohearitrefe erredtoasthe1 14hive,becauseinSharePoint t 20 007,thefolderwasnamed12andwascalled the12hive.Ho owever,thepro opernameforth hefolderin Sh harePoint2010istheSharePoi introot.
To oplevelfolde ers
Th hetoplevelfold dersintheShar rePointrootinc clude:
ADMISAPI.W Webservicesth hatmanagecon ntentdeployme ent. BIN.Executa ablesthatmana agesearch,time erjobs,upgrade e,configuration n,andadminist tration. CONFIG.Configurationfiles sthatcontrolco odesecurity,W Webapplication security,andex xtensionsto stsadm.exea andWindowsP PowerShell. HCCab..cab bbasedhelpfile es. Help..chmb basedHelpfiles s.
242
TSSRedmond,LLC
SharePointBootCamp
TEMPLATE.Sitedefinitions,workflowsettings,featureadditions,andusercontrols. UserCode.Filesthatsupportsandboxedsolutions.
WebClients.Configurationfilesusedfortheclientobjectmodel.
WebServices.Filesthatsupportserviceapplications.
TEMPLATEfolder
TheTEMPLATEfolderintheSharePointrootcontainsfilesthatsupportcontentandfunctionalityacross SharePointsitesinafarm.
TheTEMPLATEfolderincludesthefollowingsubfolders:
LAYOUTS.PagesthatimplementfunctionalitythatisavailabletoallSharePointsites.
SITETEMPLATES.Sitedefinitions.
SQL.Scriptsthatcreateconfiguration,search,andcontentdatabases,andtoupgradeolderversionsof databases.
THEMES.StylesthatcanbeappliedtochangethelookandfeelofaSharePointsite.
XML.XMLconfigurationfiles.
SynchronizationoftheSharePointRoot
Whenthefarmhasmorethanoneserver,itiscriticalthattheSharePointrootisthesameoneachserverinthe farm.NumerousactivitiesmakechangestotheSharePointroot,including:
It is best to deploy files and functionality to a SharePoint farm using SharePoint solutions. Solutions are packages, similar to Windows Installer (.MSI) files, which deploy files and functionality. When you use a solution,thefarmdoesthejobofensuringthatthesolutionisdeployedtoallservers.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
243
Sh harePointDatabases
ASharePointimp plementationco onsistsofnume erousdatabases sstoredinSQLS Server: Eachfarmha asaconfiguration,orconfigda atabase.Theco onfigurationdat tabasecontains sdataabout SharePointd databases,Inter rnetInformatio onServices(IIS)Websites,Web bapplications,t trustedsolution ns, WebPartpa ackages,sitetem mplates,andW Webapplicationa andfarmsettin ngsspecifictoSh harePoint2010 0 products,su uchasdefaultqu uotasettingsan ndblockedfilet types.
EachWebap pplicationstore esitscontentinoneormoreco ontentdatabase es,inadditiont tousingsharedcontent intheShare ePointroot.Con ntentdatabases sincludeconten ntfromlistand documentlibra aries,document versions,wo orkflowinstance es,WebPartproperties,audit logs,andsandb boxedsolutions s,inadditiontouser namesandr rights.
As syoulearnedearlierinthismo odule,alltheda ataforaspecific csitecollection nresidesinonecontentdataba ase on nonlyoneserver.Acontentda atabasecanbe associatedwith hmorethanon nesitecollection n.
Co ontentDatab baseTables
Co ontentdatabasetablesinclude e:
oresdataforalldocumentsintheSharePointS Store. AllDocs.Sto AllDocStreams.Storesthedocumentstrea amandrelated dataforungho ostedpagesand ddocumentswith contentstre eamsstoredinthecontentdatabase. AllDocVersions.Storesstre eamsforpreviou usversionsoffiiles. AllUserData a.Storesdatafo oralllistanddocumentlibrarie es.Thetablepro ovidesafixedn numberofgene eric columnsinv variousdatatyp pes,affordingst torageforappli cationdefinedvariableschem mas.Alistitemm maybe represented dbymorethanonerowinthis table,ifitslist' sschemarequiresmoreentrie esofaparticula ardata typethanar reavailableina asinglerow.Applicationdefine edmetadatafo ordocumentsin ndocumentlibraries alsoresidesinAllUserData,anditisaccessedviajoinswit htheDocsView w.
244
TSSRedmond,LLC
RecycleBin.Deletesitemsfromallsitesinthesitecollection. WebParts.ProvidesAvailableWebparts. Webs.Providesconfigurationofeachsite(Web)inthesitecollection.
SharePointBootCamp
AdditionalReading
Databasetypesanddescriptions(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=192713&clcid=0x409.
StorageandSQLServercapacityplanningandconfiguration(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=192714&clcid=0x409.
MSDN,TablesandViewsathttp://go.microsoft.com/fwlink/?LinkID=192715&clcid=0x409.
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
245
Customizedvs.Uncustomiz zedPages
KeyPoints
Whenyoucreate W easite,aspecia alcollectionoff filescalledthes sitedefinitiong generatesthein nitial,defaultco ontent fo orthesite.Asub bsetofthiscont tentisthepage esthatmakeup pthesite,forex xample,default. .aspx,thehomepage.
Th hedefault.aspxpagedoesnotresideintheco ontentdatabase eitself.Instead, ,itresidesinthe eSharePointro ooton th hefilesystemof ftheWebfront tendservers.A AllsitesinaShar rePointfarm,by ydefault,useth hesamedefault.aspx pa age.Ofcourse,thehomepage eofeachsiteist typicallydiffere ent.Thisissupp portedbecausethedefault.asp pxpage de efinescontenta areasandWebPartzones,buttheactualcont tentandthepr ropertiesofeac chWebPartare e sp pecifictoeachs site,andaresto oredinthesite's scontentdatab base.
ntroot,itissaid Whenapagesuc W chasdefault.aspxispulledfrom mtheSharePoin dtobeuncusto omized.Inprevio ous ve ersionsofShare ePoint,thiswascalledghosted.Usingatoolsu uchasSharePointDesigner,youcancustomizethe pa ageitself.When nyoudoso,the ecustomizedpa ageissavedtot thecontentdat tabase.Atthisp point,theuncus stomized ve ersionintheSharePointrootis snolongerused dforthatsite.T Thus,yourcusto omizedpageiss saidtobecusto omized. In npreviousversio onsofSharePoi int,thiswascall ledunghosted.
endedtomodif fyfilesdirectlyintheSharePoi ntroot.Among gotherproblem msthatcouldari ise: Itisnotrecomme harePointupdat tesandservicepacksmayoverwriteyourcha anges. Sh
2 46
TSSRedm mond,LLC
SharePointBootCamp p
Sc cenario
Yo ouhavebeenas skedtobuildan nintranettosupportcommun icationandcoll laborationrequ uirementsatContoso, Lt td.Youhaverec centlycomplete edtheinstallationofSharePoin nt2010.Youm ustnowconfigu urethefarmus sing th heFarmConfigu urationWizard,andcreatethe elogicaltopolog gytosupportth heinitialbusinessrequirement ts.You ar retaskedwithe establishingaSh harePoint2010 intranetsiteso othatbusinessuserscanreviewthenewfeat tures of fthepublishing gsitedefinition. .Additionally,youhavebeena askedtoconfigu uresitestomee etthecollaboration re equirementsofseveraldivision nswithintheorg ganization.You uwillbeginbyc creatingasitefo ortheInformat tion Te echnology(IT)d department.
Startthevirtualmachines
1. Start10174A . ACONTOSODC CB. 2. AfterCONTO . OSODChascom mpletedstartup p,start10174A SP2010WFE1 B.
CreatingaSharePoint2010Intranet
TSSRedmond,LLC
247
Exercise1:CreatingaWeb Application
Scenario
Inthisexercise,youwillcreateanewSharePointWebapplicationfortheintranet.The maintasksforthisexerciseareasfollows: 1. CreateanewWebApplication.
Task1:CreateanewWeb application
1. LogontoSP2010WFE1asCONTOSO\SP_Adminwiththepassword,Pa$$w0rd. 2. InSharePoint2010CentralAdministration,navigatetotheWebApplicationsManagement page. 3. CreateanewWebapplicationwiththefollowingconfiguration:
Authentication:ClassicModeAuthentication
Port:80
Hostheader:intranet.contoso.com
Applicationpoolname:SharePointWebApplications
Applicationpoolidentity:CONTOSO\SP_ServiceApps
Databasename:WSS_Content_Intranet
Results:Afterthisexercise,youshouldhavecreatedanewWebapplication,intranet.contoso.com.
248
TSSRedmond,LLC
SharePointBootCamp
Exercise2:CreatingaSiteCollection
Scenario
Inthisexercise,youwillcreateasitecollectionfortheIntranet,andyouwillsolveproblemsaccessingthenew Webapplication.
Themaintasksforthisexerciseareasfollows:
1. 2. 3. 4. 5. 6.
Task1:Createanewsitecollection
Task2:Attempttoopenthenewsite
Task3:AddaDNShostrecordforthenewWeb application
ConnecttotheDNSserverrunningonCONTOSODC.
Createanewhostrecordinthecontoso.comzonewiththename,intranet,andtheIPaddress, 10.0.0.21.
CloseDNSManager.
Task4:Open thenewsite
1. InInternetExplorer,intheaddressbar,typehttp://intranet.contoso.com,andthenpressENTER.
CreatingaSharePoint2010Intranet
TSSRedmond,LLC
249
Task5:Createapublishingsitepage
Task6:Configurepermissions
AddtheCONTOSO\DomainUsersgrouptotheContosoIntranetVisitorsgroup. Results:Uponcompletingthisexercise,youshouldhavebeenabletosuccessfullycreateaContosointranet Website.
250
TSSRedmond,LLC
SharePointBootCamp
Exercise3:CreatingaSiteCollectioninaNewContentDatabase
Scenario
Inthisexercise,youwillcreateaWebsitefortheInformationTechnology(IT)departmentontheContoso intranet.TosupportbackupandrestoreoperationsaccordingtoContososSharePointgovernanceplan,youwill createtheITintranetWebsiteinitsowncontentdatabase.ThiswillallowyoutobackuporrestoretheWebsite independentlyofthecorporateintranetWebsiteyoucreatedinthepreviousexercise.
Themaintasksforthisexerciseareasfollows:
Task1:Createacontentdatabase
Task2:Createasitecollectioninaspecific contentdatabase
Task3:ExaminetheinformationtechnologyWebsite
Toprepareforthenextmodule
Whenyoufinishthelab,revertthevirtualmachinesbacktotheirinitialstate.Todothis,completethe followingsteps:
Cr reatingaSharePoint2010Intranet
TSSRedmond,LLC C
251
ModuleRe M eviewandTakeaway ys
ReviewQuesti ions
1. Whywouldy . youcreatemor rethanonecontentdatabaseiinaWebapplic cation?
252
TSSRedmond,LLC
SharePointBootCamp
Module3
DesigningaLogicalArchitecture
Contents:
Lesson1:IdentifyingBusinessRequirements Lesson2:OverviewofSharePoint2010LogicalArchitecture Lesson3:DocumentingYourSharePoint2010Environment Lesson4:DocumentingtheLogicalArchitecture Lab:DesigningaLogicalArchitecture
32
Sha arePointBootCamp
Th hismodulediscu ussestheimpor rtanceofusing theMicrosoft SharePoint20 010productsto ocreatealogica al ar rchitecturedesi ignbasedonbu usinessrequirem mentsbeforeyo ouimplementa asolution.Them modulecovers co onceptualconte ent,definingalogicalarchitect ture,andtheco omponentsofS SharePoint2010 0thatyoumust tmapto bu usinessspecifica ations.
Re equirementsgathering,andthedevelopment tofasolutiond esign,areacom mplexareaofst tudy.Thereisarange of fstructuredme ethodsforident tifying,analyzing,anddocumen ntingsystemsa ndbusinesspro ocesses.Thismodule re eviewssomeofthetechniques sforanalyzinganddesigningbu usinesssolution nsforSharePoin nt2010,rather than an nyspecificstruc cturedmethodo ology.
Objectives O
Af ftercompleting gthismodule,youwillbeable to:
Identifybusi inessrequireme entsanddescrib behowbusines ssrequirements saffectthelogic calarchitecture eofa SharePoint2 2010deployme ent. Mapbusines ssrequirementstoSharePoint2010architect turecomponent ts. Explainthei importanceofd documentationanddescribeth heoptionsford documentinglo ogical architecture e. Describehow wtodocument talogicalarchit tecturedesign.
33
Lesson1
Th hislessonbeginsbyexplainingtheimportance eoflogicaldesi gnwhenyouar replanningaSh harePoint 20 010deploymen nt.Youcanonlydesignasucces ssfulSharePoin t2010solutionbygainingdeta ailedknowledgeof an norganizations sbusinessrequi irements.There equirementsm ustincludebot thfunctionalan ndnonfunctiona al bu usinesssuccesscriteria.Bygath heringthisinfor rmation,youca andesignalogic calarchitecture eforthebusiness th hatisthefoundationofmorefeaturecentere eddesignforind dividualcompo nentssuchasSearchorbusine ess in ntelligence(BI).
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Describethe eimportanceof fplanningalogicalarchitectur re. Describethe eguidelinesforgatheringrequirements. Listapproac chestorequirem mentsgathering g. Describefun nctionalrequire ements. Describenonfunctionalreq quirements. Describehow wtoorganizein nformation.
34
Sha arePointBootCamp
KeyPoints
Th hecorecapabilitiesforSharePoint2010includ de:
Sites.ShareP Point2010can provideallbus siness Websites s:corporateint tranet,extranet,orInternets sites; projectsites s;personalsites s;andsoon.You ucanbaseallo oftheseonasin nglearchitectur reandevenasi ingle farm,whichmakesmanage ementanddeve elopmenteasie r.
Communitiesorsocialcomp puting.SharePo oint2010delive ersarangeofso ocialcomputing gfunctionalitya and solutions,includingpersona alsites,wikis,blogs,discussion forums,andta agging.Allofthesecanbedeliv veredin thecorporat tefarmandcor rporatesecurity ystandards.
Contentman nagement.Shar rePoint2010pr rovidesdocume ent,records,We ebcontent,and ddigitalasset managemen ntthatintegrate esseamlesslyw withMicrosoftO Office2010,and dpreviousversio onsoftheMicrosoft Officesystem.
Search.Shar rePoint2010pr rovidesarange ofenterprisese earchoptionsfo orintranetsear rchandpeoplesearch, andaplatfo ormtobuildsearchdrivenappl lications.
InsightsorBI.SharePoint20 010providesar rangeofBItoollsincludingExce elCalculationServices, PerformancePointServices,andVisioServicesthatdelive rBIfunctionalit tytoinformatio onworkersinth he formofdash hboards,keype erformanceindicators(KPIs),an ndWebParts.
llofthesearee enterpriseready ycapabilities,so oitisessentialt thatyouundert takearigorousdesigntoensurethat Al yo oursolutionpro ovidesfunctiona alitythatmeets sbusinessrequiirementsandismanageablefo orITstaff.Each ca apabilityinShar rePoint2010isdesignedtome eettherequirem mentsofrelated dworkloads,su uchasenterpris se co ontentmanagement(ECM)andWebcontent management( (WCM),asShare ePointServer2 2010becomesm more bu usinesscriticalintheenterpris se.
35
Es ssentialsofRe equirementsGathering
KeyPoints
Acommonreaso onforthefailure eofanITdeplo oymentislacko ofeffectiveplan nninganddesign n.Technologists s eldomfailtoins stallandconfigu uresoftwarean ndhardwarepla atforms,butde ploymentsofte endonotmatch h se th hebusinessgoalsoftheorganiz zation.Thefirst t,andprobably mostimportan nt,componento ofasuccessful Sh harePoint2010deploymentisathoroughkno owledgeofthet targetorganiza ationanditsbus sinessgoals.Ifa a Sh harePointarchit tectfailstocapturetheserequ uirements,itish highlyunlikelyt thattheeventu ualsolutionwill su ucceedfromthe ebusinessviewpoint.
As sasolutiondesigner,youmust tgatherkeybus sinessinformat tiontoensuret hatyoursolutio onreflectsthe re equirementsandgoalsofyourorganization.T Therearesevera alessentialdos anddontsforg gatheringbusin ness in nformation.
PreparingYourQuestions
Yo oushouldprepa areyourquestio onsbeforeyou starttheinform mationgatherin ngprocess.Byd doingthis,youc can di irectthediscuss siontoensuret thatyougetthe einformationth hatyourequire e.Acommonmi istakeamongnew ar rchitectsistole etusersdrivetheinformationg gatheringproce ess,whichcanm meanthatthein nformationisth horough in nsomeareas,bu utdoesnotgive ethedesignerthenecessaryin nformationtom mapagainstalat tertechnicalde esign. Th hiscanleadtor repeatinterview ws,whichcanbedifficulttoar rrange.Thismay yleadtoalossofconfidencefrom se eniorbusinessfi igures.
36
Sh harePointBootCamp
Es stablishingaLicensingBudget
Th helogicalarchit tecturemustreflectbusinessrequirements,b butitshouldalso oreflectfinancialpossibilities. .You sh houldestablisht theSKUsandop ptionsnecessar rytofulfillbusin nessrequireme ntstoensureth hatthesearere ealistic withinyourbudg w get.Thisshouldalsoreflectthe erequirementf foradditionalso oftwareorplatf forms,suchasO Office 20 010orMicrosof ftSQLServer2 2008.
MaintainingD M Documentatio on
Whenyouhaveg W gatheredinform mation,makesu urethatyoudo cumentthereq quirementsand dthelogicalsolu ution.If re equirementscha ange,youmust tupdatethecor rrespondingdoc cumentationac ccordingly.Withoutcurrent do ocumentation,itwillproveimpossibleforyou urteamtocom pletethedesigneffectively.
AvoidingTechnologyBased A dDesign
Yo oushouldnotfo ocusyourlogica aldesignonagiventechnology y.EvenifyouaredesigningaS SharePoint 20 solution, you may find that there are businesscritica l components that require additional solut 010 y tions or in ntegration. Failu to identify these may lea to a solutio n that does no meet busine requiremen You ure ad ot ess nts. sh houldidentifyre equirementsthatmaybeouto ofscopeforthi sparticularpro oject.
Sh harePoint2010hasarangeofgreattechnical capabilities,bu utyoushoulden nsurethatyour rsolutionisbasedon bu usinessrequirem ments,notsolutionfeatures.T TheSharePoint2 2010featuresm maydeliverthefunctionalityth hat so olvesabusinessrequirement,b butyourdesignmustalwayspu uttherequirem mentbeforethe efeature.
AvoidingLeadingQuestion A ns
Whenyouprepareyourquestio W ons,donotmak kethemmatchy yourpreferred solution,otherwisethereisan n in ncreasedchance ethatyouwillm missarequirementthatdoesn notfitwithyour rpredefinedsolution.
UpdatingDocu U umentation
De esigndocumentationisaseto oflivingdocume ents.Aschanges soccur,youmu ustreturnandu updateplansso othat yo ouhaveanongo oingbusinessan ndtechnicaldescriptionofthe eproject.Ifyoufailtodoso,th hedocumentation maybecomeade m escriptionoftheinitialdesign,whichyoucan notuseforsign nofforrebuilds s.
AdditionalRea A ading
Fo ormoreinformationaboutSha arePoint2010licensing,see
ht ttp://go.micros soft.com/fwlink k/?LinkID=20084 49&clcid=0x409 9.
37
KeyPoints
Whenyouneedt W tofindoutaboutbusinessrequirements,you mustaskmana agersandstaffw whoworkinthe e bu usiness.Thisma ayseemobvious,butsometime escomputeran nalystsidentifyt thetechnicalso olutionandthenforce th hebusinesstofi it.
MethodsofInformationGa M athering
Co ommonapproa achestoinforma ationgathering ginclude:
Sponsorand dstakeholderinterviews.Youm mustengagewit thbusinessspo nsorsandstake eholders.Thesepeople havetheove erarchingvision nforthebusinessandthesolu tionthattheyr require.Busines sssponsorsand d stakeholder rsoftenhavebu udgetarycontro oloftheproject t.Questionsmayinclude: Whatis sthebusinessvisionfortheorg ganization? Whatis sthebudgetfor rtheproject?
Focusgroup ps.Itisoftenmo oreeffectivetogatherteamst ogetherinfocu usgroupstodisc cussbusiness requirements.Youshouldw workwithyour sponsorandse eniorstakeholde erstoidentifythecomposition nofthe groupssoth stionsmayinclu hatyoudonotg getaskewedpe erceptionofthe ebusiness.Ques ude: Whatkeytechnologyf functionsarere equiredforyour rbusinessdivisi ion? Whatb benefitsdoyouwanttorealize fromaSharePo oint2010deplo oyment?
Userintervie ews.Withtheh helpofthebusin nessstakeholde identifykey ers, yusersintheor rganization. Theseindividualswilloftenhaveindepth knowledgeofb businessprocess ses,andmayha aveabig influenceindecisionmakin ng.Questionsm mayinclude: Whatarethekeyactiv vitiesofyourde epartmentandw whatfunctiona alitydoyouneedtoexecuteth hese functions? Whatarethemajorpr roductivityissue esfacingyourd departmentthat vedthroughnew w tmayberesolv technologies?
38
SharePointBootCamp
User questionnaires. These can provide an effective means of quantitative information gathering. A questionnaireshouldbe wellstructured,enabling you to gather key information for trend analysis. For example,socialcomputingisanendusersolution.Itisessentialthatyouunderstandwhattheendusers expectfromanysocialcomputingsolution.Questionnairesoftenconsistofseveralclosedquestionsanda fewopenendedquestions,whichmayinclude:
Doyouneedtousesocialcomputingfunctionalityforyourwork? Whatbenefitswillthisoffer?
RulesofEngagement
Whenyouorganizeanybusinessrequirementsgatheringsessions,youmustcreaterulesofengagement.Itis particularlyimportantthatyouestablishtimeconstraints.Youshouldgenerallylimitmeetingstoonehour, althoughthisisclearlyadiscretionaryfigure.Somemeetingsmayrequiremoretime,particularlyforlargerteams orfocusgroups.Theonehourdurationisbasedonthefactthatmostpeoplearemostattentiveinthefirst40 minutesofameeting.Ifpossible,youshouldgetthecorebusinesscompletedduringthistimeandusethefinal20 minutestoconfirmdecisions.Youcannominateamediatortoleadthesessionsandanotetakertotakedetailed notes.
TypesofInformation
Theoptionsofqualitativeversusquantitativeanalysiscanbeimportant,andbothapproachesareusefulin gatheringbusinessrequirements.Qualitativeanalysistakesinformationfromasmallerbutbetterinformedgroup, whereasquantitativeanalysisdrawsinformationfromalargergroup.Thekeystakeholdersandbusinessmanagers representqualitativeinformationbecausetheyshouldhavethegreateroverviewofbusinessgoals.However, quantitativeanalysis,whichisoftenintheformofquestionnairesorlargerfocusgroups,canhighlightbusiness processesthatareunknownorunimportanttothebusinessmanagementteam.Reviewexistingbusinessprocesses toensurethatyouunderstandhowthebusinessworks.
ReviewingDocumentation
Always capture minutes of the meetings and allot time for attendees to review, validate, and sign off your analysis. Make sure that your documentation reflects business language, rather than transposing business requirementsintocomputerjargon.
Question:Describeanydifficultiesyouhaveencounteredingatheringuserrequirementinformation.
39
Fu unctionalPlann ning
KeyPoints
Fu unctionalplanningidentifiesth hefunctionsor businessaction nsthatyoumus stbuildintoyou urdesign.Youshould de efinevariouslev velsoffunction nalityinyourinf formationgathe ering.Thesevarydependingontheaudience ethat yo ouinterview.M Moreseniorbusinessleaderstendtohighlight overarchingfun nctionality, su uchasusabilityandincreasedp productivity,wh hichmayappea arconceptualan ndvaguelydefined.However, yo ourdesignwillb bemeasuredby ythesefactors, soyoumusten nsurethatyoue establishmetricsbywhichthes semay be emeasured.Forexample,youcanmeasureproductivitybyt thespeedwithw whichauserca anperformatas sk.If th hereisanexistin ngproductivitybaseline,youm mustexceedit.I Itisusefultofin ndtheexistingbaselinebecaus se pr rovinganincrea aseinproductiv vitywithoutthis smayprovever rydifficult.
In nformationworkersareoftenm morepreciseintheirfunctiona alrequirements s.Youmustdocumentthese fu unctionalrequir rementsthoroughlybecauseth heymayultimat telyprovidethe ebestproofofoverallproduct tivity im mprovements.
Yo must remember that there is a difference between f ou function and f eatures. The former represen a nts bu usinessrequirement,whereasthelatterdesc cribesanapplic cationorplatfo ormcapability.F Featuresmust meet fu unctionalrequir rements,butind dividualfeature esmaybeunne cessaryforabu usinesssolution n.
Youmustma apcommonfun nctionalitydirec ctlytobusiness processes.The solutionmustb beabletoperfo orma taskorachie eveagoal.Aspa artofyourinformationgather ring,youmustl istthekeybusinessprocesses that yourShareP Point2010solut tionmustcomplete.Ensuretha atyouundersta andnotonly thetask,but talsothescope eofthetask.Forexample,ther remaybeareq quirementtotagdocuments consistently acrossanentir reorganization.Alternatively,t tagsmayneedt tobeuniqueindivisions.Youm may havetodeployacorporate einformationar rchitecturetaxo onomythatisaugmentedbydivisionallyspec cific taxonomies.
310
SharePointBootCamp
Authenticationandauthorizationarealwaysimportantindesign.Youmustensurethatsecurityisrobust, ascorporategovernancespecifies,butcomplexlayersofsecuritymustnotimpedetheindividual functionsandtasks. ManyorganizationsrequireITsolutionstoconformtoregulatoryorstatutoryauditrules.Thismayextend beyondtheboundsofuserapplicationstoincludetheapplicationplatformitself.Makesurethatyou understandthelevelsofauditandreportingrequirementsforregulatorycompliance,sothatyoucanapply appropriatepoliciesinSharePoint2010forongoingdatamanagement. Mostcorporateenvironmentshavecomplexintegrationrequirements,whichinvolvedatabeinggenerated orcollatedinonesystemandvisualizedoranalyzedinothers.Yourdesignmustidentifythepotential interactionbetweensystems,includingauthenticationoptions. Youshouldalsoidentifyanyreportingrequirementsfordivisionsinyourorganization.Thismaybean importantelementofBI,whichmaynotbeatermthatanyoneinthebusinessuses.Youmustbeawareofthe SharePoint2010functionalityandhowitmapstothebusinesslanguagethatyou gather.
Question:Listsomefunctionalrequirementsthatyoucanidentifyinyourorganization.
DesigningaLogicalArchitecture
311
KeyPoints
Itismorecommo onforbusinessuserstoempha asizefunctional ratherthanno onfunctionalele ements,butfailure oincludethelat ttercanhaveacatastrophicef ffectonyourfin nalsolution.Alt houghusersandstakeholders to as ssumethatasys stemwillalway ysbeavailable,y youmustplanf formaximizingavailabilityorp performance.In nyour lo ogicaldesign,ele ementssuchasscalability,perf formance,ands aveamajorimp pactonwhethe eryou securitymayha de eployasinglefa armormultiple efarmsforanorganization.
Th hemostcommo onnonfunctionalrequirementsfocusonsyste emcapability,availability,perf formance,ands soon. Th hesemayhaveagreaterimpac ctonphysicaldesign,butyouu usuallyonlyhav veoneperiodo ofrequirements s ga athering,soyou umustmakesurethatyouget alloftheinform mationthatyou urequire.
Ke eyareasofnonfunctionalplanninginclude:
Capacity.Yourdesignmustprovidesufficie entcapacityove eraneffectiveh agementperiod d,which hardwaremana isnormallyt twoyears.Thismeansthatyou uhavetospecif fysystemsthatp provideadequa atestoragefort this period.Inad dditiontothebasesystems,yo oumustanalyze ethegoalsofth hebusinesstoe enablecapacity for forecastgrowth.Youmustalsobeconvers santwithrequir rementsthatar respecifictoSh harePoint,such as softwareboundaries,toensurethatdatav volumesdonot texceedyourlo ogicalarchitectu ure.Forcapacit ty planningfor rSQLServer,youmaywantto enlistexpertise efromadataba aseadministrato or.
nvolvescalingu Scalability.Y Yourdesignmus stensurepotentialforgrowth throughscalab bility.Thismayin up,by upgradingth heinitialsystem ms,orscalingou ut,withtheadd ditionofsystem stosharework kloads.Yourlog gical designshouldalsoprovideoptionsforexte ensibilitythroug ghscaling.Itisr rareforanenvironmentasrichand variedasthe eenvironmentthatSharePoint t2010offersto oremainstatic. Youwilloftenf findthatyoum mustadd orextendfu unctionalitysuchassocialcomp puting,BI,orSe earchinanorga anization.
312
SharePointBootCamp
Availability.Usersassumethatsystemswillalwaysbeavailableforthemtouse,soyouhavetobuildthis resilienceintoyourplan.Nosystemcanguarantee100percentavailability,soanyservicelevelagreement (SLA)shouldestablishthepercentageofdowntimethatisacceptableforbusinesscontinuity.Thisrelates closelytoavailabilitysolutionssuchasdatabaseclusteringandnetworkloadbalancing.However,your logicaldesignmustensureadequateavailabilitythroughthedivisionoflogicalcomponentsacrossWeb applications. Security.Securityisanoverarchinggoal,soyourdesignmayhavetointegratewithorganizationwide standards.Secureauthenticationmayalsoaffectyourlogicaldesign.Youmustensurethatyouaccommodate secureauthenticationrequirementsbyidentifyingthedivisionofsitecollectionsandsites. Manageability.Ifyourdeploymentrequiresselfserviceprovisioning,youmustensurethatboth administrativestaffanddelegateduserscanmanageyoursolution. Interoperability.SharePoint2010providesauserenvironmentthatcanvisualizeexternaldatasources,for example,throughoutoftheboxWebParts.Yourdesignmustaccommodatetheserequirements.
DesigningaLogicalArchitecture
313
OrganizingYou O urInformation n
KeyPoints
Irrespectiveofho owcarefullyyourecordedtheinterviewinfor rmation,youm ustorganizeita aftertheinform mation atheringproces sshasfinished.Y Youmustcatego orizeinformatio onbyfunctiona alandnonfunct tionalelements sacross ga th heorganization,identifyingdiv visions,departm ments,users,and dexternaluser rs,andaccommodatingtheirva arious re equirements.By ydoingso,youcanidentifyhow wyoucanmap pthelogicalstru uctureoftheor rganization.
Ca ategorizational lsoenablesthedesignertorati ionalizerequire ements,simplify yingadesignan ndminimizingrepetition or rduplicationof effort.Asinmo ostpatternsana alysis,relatively yfewpatternsa arereplicateda acrossmost or rganizations.Yo oumustidentify ythecommona alities,assessan yindividualreq quirements(whichyoucantreatas ex xceptions),anddevelopyourp planbasedonth hismoremanag geablebodyofi information.
Th hekeystakeholdersandthebu usinesssponsor rmustsignofft hefinalversion noftherequirementsinformat tion.This do ocumentationisthebusinesss specificationoftheprojectand damendmentss yourchangecontrol shouldtriggery pr rocess.Inadditi ion,seniorITsta akeholdersshouldsignoffthe nonfunctionalcomponentsto oensurethatth he elementsofyour rrequirementsthatdonotrela atetoSharePoi nt2010,sucha assecurityorne etworkperform mance, ar reagreed.
314
SharePointBootCamp
Lesson2
Th helogicalarchit tectureofyourbusinessisthe basisforyourd design.Whenyo ouhavegathere edthebusiness s re equirements,yo oumustmaptheseagainstthe SharePoint201 10logicalarchit tecture.Thismo oduleprovides an ov verviewofthek keylogicalarchitecturecompo onentsinShareP Point2010.Usin ngthisinformation,youcanm makekey de ecisionsabouth howSharePoint t2010canservi iceyourbusines ssrequirement ts.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
DesigningaLogicalArchitecture
315
WhatIsaLogicalArchitectu W ure?
KeyPoints
Mostnewsolutio M onarchitectsfocusonphysicalhardwaredesig gn,ratherthan thelogicalarch hitecture.Thisisoften ea asierfornewar rchitectstound derstandbecaus setheyaremor refamiliarwith specifyingphys sicalsystempro operties su uchasdiskcapacityormemory y.
Th helogicalarchit tecturedoesno otspecifyanyse erverrelatedfu nctionalitysuch hastheamoun ntorsizeofserv ver ha ardware.Rather,itreflectsreq quirementssuch hasseparation ofdepartment alinformationo oruseraccess.T These re equirementsdonotrelatetoanygiventechno ologiesorplatfo orms.Althoughyoumayidentifytheneedfor r da atabases,alogic calarchitecture edesigndoesno otspecifyapred aseengine. defineddataba
Oneofthemostimportantaspe ectsofalogical architecturede esignisthatsta akeholdersshou uldrecognizeitasatrue eflectionofthei irbusiness;otherwisetheycan nnotagreetosiignoffyourdes sign.Thismeansthatyoumustprovide re in nformationinanontechnicalfo ormatthatclear rlydocumentsb businessrequire ements.
Th hiscourseisabo outdesigningSh harePoint2010solutions,butt thisshouldnot influenceyourlogicalarchitec cture de esign,whichsho ouldbesolution nagnostic.How wever,youshou uldrecognizeth herequirementsthatmayrelateto Sh harePoint2010andwhereothersolutionsma ayneedtointeg gratetoservicebusinessrequirements.
316
SharePointBootCamp
KeyPoints
Th heSharePoint2 2010logicalarch hitecturehasse everalcorecom mponentsthatw willinfluenceyo ourdesign.
Se erverFarms
Aserverfarmrep presentsthetop plevelelement tofadesign.
Dedicatedfu undingsources.
However, you can satisfy man isolation req ny quirements on a single serve farm. For ex er xample, you ca use an ifferent Interne Information Services (IIS) application po et ools with diffe erent process i identities to ac chieve di isolationatthep processlevelfor rbothsitesand serviceapplica tions.
Se erviceApplications
Aserviceapplicationprovidesaresource,orresources,thatca anbesharedac crosssitesinafa armoracross multiplefarms. m
In nMicrosoftOffic ceSharePointS Server2007,ser rviceresourcesw weresharedintheSharedServicesProvider( (SSP). Th hisarchitecture ehaschangedin nSharePoint20 010toprovideg greaterflexibilit tyandgranulari ityofservice.Th he se erviceinfrastruc ctureisnowimp plementedinM MicrosoftShareP PointFoundatio on2010andSharePoint2010. You ca andesignanddeployindividua alservicesindep pendently,andy youcanaddthi irdpartyservic cestoyoursolu ution. Th hismeansthaty youcandeployonlytheservice esserviceapp plicationstha atarerequiredt toafarm.
DesigningaLogicalArchitecture
317
ServiceapplicationsareassociatedwithWebapplicationsandcanhavevariousconfigurations:
ApplicationPools
InIIS7.0,anapplicationpoolisagroupofoneormoreURLsthataworkerprocessorsetofworker processesserves.
WebApplications
AWebapplicationisanIISWebsitethatSharePoint2010createsanduses.YoucanextendaWebapplicationupto fourtimestocreateadditionalzonesinSharePoint2010,whichresultsinuptofiveIISWebsitesthatareassociated withasingleWebapplication.EachIISWebsiteisassociatedwithadifferentzoneandyoucanassignaunique domainnametoeach.
Zones
Zonesrepresentdifferentlogicalpaths(URLs)togainaccesstothesameWebapplication.IneachWeb application,youcancreateuptofivezonesbyusingoneoftheavailablezonenames:Default,Intranet,Internet, Custom,orExtranet.ThisdivisionintozonesenablesyoutoprovidemorethanoneURLforuseraccess,which enablesyoutoprovidemultipleauthenticationoptions.
TheDefaultzoneisthezonethatisfirstcreatedwhenaWebapplicationiscreated.Youcancreatetheother zonesbyextendingaWebapplication.
ContentDatabases
Bydefault,allcontentforaWebapplicationisstoredinonecontentdatabase.Youcanseparatecontentinto multiplecontentdatabasesatthesitecollectionlevel.Acontentdatabasecanincludeoneormoresite collections.Asinglesitecollectioncannotspanmultipledatabases.
SiteCollections
AsitecollectionisperhapsthemostimportantSharePointlogicaldesignelement.Sitecollectionsarealogicalset ofSharePointsitesthatsharethesametoplevelsiteandcertainadministrativesettings.Eachsitecollection containsexactlyonetoplevelWebsiteandzeroormoresubsites.Sitecollectionsarethehighestleveloflogical containmentwithinSharePoint;filesandotheritemscannotbestoredatanylevelhigherthanasitecollection.In addition,sitecollectionsareautonomousandindependentofeachother;eachsitecollectionhasitsownsecurity model,storagelocation,andconfigurationsettings.
Sites
Asiteisalogicalunitofcontainmentthatcontainslistsandlibraries,permissionlevels,andconfigurationsettings. Typically,asiteisrepresentedbyoneormoreWebpages,whichvisuallydisplayWebPartsandotherUIcontent. Eachsitecandefineitsownsecurityorcaninheritfromitsparent.Sitesarecontainedwithinasitecollection.
318
SharePointBootCamp
ListsandLibraries
Alist(orlibrary)isalogicalcontainerthatholdsacollectionofsimilaritemssuchascontacts,appointments,and documents.Eachlistorlibrarycontainsanumberofcolumnsofvariousdatatypes(forexample,textanddate). Listsalsocontainconfigurationsettings,permissionlevels,andviews.
Items
AnitemisthemostgranularlogicalelementinSharePoint,andrepresentsasingularunitofcontent.For example,anitemcouldbeadocument,acontact,oracustomrowofdata.
DesigningaLogicalArchitecture
319
HostingandM MultiTenancy
KeyPoints
Yo oucandefinehostingandmult titenancyasfo ollows:
eprovisionofdistinctSharePoi int2010service estoagroup,us suallyanextern nal Hosting.The organization n. Multitenancy.Thearchitec cturalprinciple whereasingle instanceofthe esoftwareserve esmultipleclien nt organization ns(tenants).
Multitenancyisprimarilydesignedforhosting M gcompanies,wh hosupplyShare ePointservicest toexternal te enantcustome ers.Administrat torscandeploy yandmanagefe eaturesandserv viceswhilegivin ngtenantscont trol ov vertheusageandexperience.
Multitenancyre M eliesonsitesubs scriptionsands subscriptionIDs s.Tenantsiteco ollectionsaregr roupedtogethe erby sit tesubscription basedonacom mmonID.Thesu ubscriptionIDm mapsfeaturesandservicesand dalsopartitions s se ervicedataacco ordingtotenant t.
ndITcosts.Eachenvironment,whichissome etimesreferred toasaproperty,requires Hardwarean uniqueconf figurationandthushardwarea andmanageme ntresources. Selfmanage ement.Usersca anmanagetheir rownenvironm ments,ratherth hanhaveacentraldepartment t provisionallservices.
Financialres sourcemanagem ment.Multiten nancy,whichisd designedprima arilyforhosting gcompanies,ise easyto defineforth hepurposeofin nternalcrossch harging.
320
SharePointBootCamp
Lesson3
Do ocumentationisakeyelementofdesign.Com mmonly,docum mentationfollow wsthedevelopm mentofasoluti ion, wherebydevelop w persdocumentthetechnicalas spectsofadesi gn.Thislessond discussesdocum mentationofyo our Sh harePoint2010deployment.D Documentationisanessentialt toolforsupport tandongoingso olutiondevelop pment, so oyoumustunde erstandwhatyo oushoulddocumentinaShare ePoint2010env vironment.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
DesigningaLogicalArchitecture
321
KeyPoints
Yo ourdocumentationhasseveralusesandyoum mustdirectitto oarangeofcon nsumers.Thism meansthatyouw willhave se everallayersofdocumentation nthatbuildone eachothertode escribeoverarc chingbusinessr requirementsth hrough to oindividualproc cessdocuments s.Nosinglegrou upconsumesalllofthedocumentation,butallofitwillbeus sed du uringthelifeof fyourdeployme ent.
St takeholdersa andBusinessUsers
Th heinformationthatyougatherdefinesthebu usinessrequirem mentsforyourdesign.Itisesse entialthatyour rbusiness stakeholders, and dpossiblyinformationworkers s,ratifythisinfo ormation.Thism meansthatyou umustmakeyour do ocumentationc consumablebybothoftheseg groups,organizi ngtheirintervie ewsorrespons sesintoastruct tured fo ormat.Stakeholdersandotherpotentiallynon ntechnicalperso onnelmustbea abletoviewthe edocumentatio onto maptheirgoalsinyoursolution.Thedocumentationthatyou createactsasb m bothavalidatio ontoolforsign offby stakeholders,and dachangecont troltrigger.Ofc course,thedoc cumentationisa alsothebluepri intfordevelopm ment, de eployment,and dmaintenance.
So olutionArchitects
So olutionarchitec ctsusethelogicalarchitecture designtoplana asolution.The logicalarchitec cturedesign un nderpinsalloft theworkthatco omeslaterinth hesolutiondesi gn.Youmuste nsurethatyouhavethorough do ocumentationt toenablethemtomapthephy ysicalarchitectu ureinlaterdesi ignprocesses.
Sy ystemAdmin nistrators
Sy ystemadministr ratorsuseyourdocumentation nparticularlyt thephysicalde signdocumenta d ationtobuild an ndconfiguresys stemssothatth heymeetfuncti ionalandnonfu unctionalbusine essrequiremen nts.
Developers D
Be eyondthebase earchitecturald design,develope erswillusethes setablesanddiagramstoidentifyfunctional co omponentsofanycustomizeddesign.Foreachcustomcomp ponent,therew willbemoredet tailedanalysis
322
SharePointBootCamp
anddesign,butthelogicalarchitecturedesignrepresentstheenvironmentinwhichanycustomizationexists.
LivingDocumentation
Oneofthebenefitsofdeliveringpublisheddocumentationfromtheoutsetofyourprojectistheabilitytomanage change.Itisnavetoimaginethatyou,orthebusinessusers,cancreateaninitialsetofdocumentationthatgets everythingright.Thismeansthatyourdocumentationisalivingentity,which youmustkeepupdated.Itmayseemthatthispointislabored,butthesinglebiggestweaknessofmost documentationisthatitisseldomcurrent.
DesigningaLogicalArchitecture
323
KeyPoints
In nformationgath heringprocessesfordocument tationrunbroad dlyinparallel youwillgather rinformationth hat af ffectsyourlogic calarchitecture,physicalarchit tecture,securit y,andbusinessapplicationssimultaneously.T There isseldomachanc cetorunaserie esofinformatio ongatheringses ssionsforeach elementofthe edesign.Thelog gical rchitecturedesi ignisthemosti importantbeca auseitistheone ethatismorea abstractedfrom mtheSharePoin nt2010 ar te echnologies.Ifthelogicaldesig gnisincorrect,theimplementa ationwillnotse ervicethebusinessrequiremen nts.
Yo ourdocumentationmustincludethefollowingelements:
Logicalarchitecturedesign
Physicaldesi ign
Securityandauthentication ndesign
Metadatade esign
Applicationd design:
Search
BI Contentmanagement
324
SharePointBootCamp
Lesson4
Nowthatyoukn nowwhyandwhatyoushoulddocument,the enextrequirem mentistoidenti ifyaneffective wayto reate documen ntation.It is common for documentationto be long and p potentially unw wieldy, but this makes cr in nformationdifficulttolocate.Y Youshouldfocusyourefforts oncreatingdo ocumentationthatcontainsallofthe re elevantinformation,butremai inseasytouse.
Th herearemanyd documentation nmethodologies s,someofwhic chyourorganiza ationmayuseo orevenprescrib be.In th hiscase,yousho ouldadheretoc corporategovernance.Ifyoud donothavesuc chguidance,thi islessonprovidessome ef ffectivedocume entationoption nsfortabularan nddiagrammatiicdocumentatio on.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
ecture. Describethe eprocessofmappingbusiness requirementst tologicalarchite Describethe eLogicalArchite ecturePlanning gWorksheet. Describehow wtocategorize ebusinessrequirements. Transposeca ategorizedbusinessrequireme entstotheLogic calArchitecture ePlanningWorksheet. Describewh hyyoushouldus sediagrammati icdocumentatio on.
DesigningaLogicalArchitecture
325
KeyPoints
In nformationfrom marangeofsou urcesandinara angeofformats sarrivesforyou u,asasolutiona architect,todo ocument an ndanalyze.Itisessentialtoref formatthesetoaconsistentm modelthattheb businessusersca anvalidate.The e ca ategorizationof frequirementsshouldgrouplo ogicalcompone entstogetherso othatindividualsintheorganiz zation ca anrecognizeanendtoendbusinessflow,whichtheycanth ensignoff.Bus sinessusersofte enfailtoseethe e im mportanceofth hisstagebecaus setheymayfeelthatyouarete ellingthemwha attheyalreadyknow.Howeve er,itis es ssentialforyoutoensurethatyouhaveacom mpletepictureo ofthebusiness andthefunctio onalityrequired dfora su uccessfulShareP Point2010depl loyment.
Re ememberthat,aspartofthisp process,youcan nhaveamoreo objectiveviewo ofthebusiness andmaybeableto id dentifypotentialbenefitsthaty youcandeploy acrosstheorga anization.
326
SharePointBootCamp
UsingaPlannin U ngWorksheet
KeyPoints
Onewaytodocu umentthelogica alarchitecturedesignisbyusin ngaplanningw worksheet.Apla anning worksheetprovid w desagreatdealofstructuredinformationina ausableandco onciseformat.
Businessreq quirement.Thiscolumnshould alwaysbethef firstdocumenta ationelement,becausethelog gical designshouldalwaysreflec ctbusinessrequ uirements.Youd donotneedto haveacellfore eachbusiness requirement.Rather,youm mustidentifytherequirements sthatwillaffect tthenumberof fWebapplicati ions thatyounee edtodeploy.
Sitename.Thiscolumniden ntifiesthework kingnameforea achsite.Theto oplevelcontains sWebapplicati ionssuch asintranet,extranet,andIn nternetsites.Be elowthese,you uhavesitecolle ections,whichh housemultiples sites belowthesitecollection.Fo orexample,you umayhaveaniintranetthatpr rovidessitesfor rdepartmentsi inyour organization n,suchasITorH HR.Thesearesitecollectionsthatwill,inturn n,hostsitesthat tarepertinent tothese functionaldivisions.
SiteURL.Thi iscolumnmaps stheURLandpa athforeachsite e.Thetoplevel lofthefarmcontainsrootURL Ls(/) suchaswww w.litwareinc.comfortheIntern netsiteofLitwa are,Inc.Sitecol llectionsinaWebapplicationw will havesubsite eURLs.Forexam mple,anintrane etsitemayinclu udeasitecollec ction(/sites),in nwhichthereare subsites,suc chas/sites/ITfo ortheITdivision nor/sites/HRfo ortheHRdivision.
Parentsite.T Thiscolumnide entifieseachoftheWebapplic cationsinwhich hallothersitesexist.IntheLitw ware, Inc.example e,thismayinclu udeInternet(w www.litwareinc. com),intranet (intranet.litwar reinc.com),or extranet(ex xtranet.litwareinc.com)parentsites.Rememb berthatMySite esshouldhaveitsownWeb applicationf forperformanc ceandmanagem mentreasons,suchasmy.litwa areinc.com.
reatetheWebapplication,site Template.Th hiscolumnspec cifiesthesitetemplatethatisb bestsuitedtocr e collection,o orsite.Thesitet templatesprovidecorefunctio onalitythatisappropriatetoy yoursite.
DesigningaLogicalArchitecture
327
328
SharePointBootCamp
Sa ampleScenario:Identifying gBusinessRequirements
KeyPoints
Th heslidedisplays sawellstructuredrequiremen ntsdocumentth hatcontainsalo otofinformatio onregardingyo ouruser re equirements.As sadesigner,you umustreviewt thistoidentifyt thecomponent tsthatwillinfluenceanddrive your Sh harePointdesign.Itisusuallye easytolocatevo olumeinformat tionsuchasthe enumberofuse ers,sites,ordata vo olumes.Yousho ouldalsobeabletofindlessmetricbasedinfo ormation.
Yo oucanseefrom mthehighlighte edelementsoft thisslidethatth hereisalotofin nformationthatshouldaffectyour de esign.Asanapp proach,highligh htingelementst thatyouthinkw willinfluencelo ogicalarchitectu ure de esignisveryuse eful.Itmaintain nstheintegrityo ofthedocumen nt,sothatyoud donotunwittin nglychange th herequirements,whileidentify yingthekeycom mponents.You maychoosetousevarioushig ghlightingcolorsor ad ddcommentsto ocategorizethe eseelements.
DesigningaLogicalArchitecture
329
KeyPoints
Mappingyourbu M usinessrequirem mentstoaplanningworksheet thelpsyoumap pthelogicalcom mponentsofyour de esign.Thereisa arangeofbusin nessrequiremen ntsthatyoucan nidentifyfrom thisshortdocumentandmap tothe Lo ogicalArchitecturePlanningW Worksheet.
WorksheetCo W olumns
nc.siterequire 1. Therequired . ddepartmental lintranetsites. TheLitware,In esdivisionalsite es(implemente edas site collections)foreachofthesixdepartments.Eachsitecolllectionisbased donapublishin ngtemplatebec causethe intentionisf forthedepartm mentstopublish hinternalinform mation.
2. Therequired . dInternetfacing gsiteanditsproductssubsite. Litware,Inc.re equiresanInter rnetsitethatcanshow allproductinformation,soyoushoulduse eadedicatedW Webapplication. .Thiswillalmos stcertainlyrequ uire anonymousaccessforcasualbrowsers.Itisalsolikelytha attheLitware,In nc.Internetsite ewillrequireot ther components stobepublishe ed,suchasAbou utUsinformatio on,forexample e.
3. Theextranet . tsiteandsubsit tesforpartners.Thereisabusiinessrequireme entforextranet taccessto partners,inadditiontosite esforeachpartn ner.Inthiscase e,thereisasite collectioncalle ed/partnersbelow whicheachindividualpartn nersitecanbeh hosted.
4. TheMySites . srequirement.T Therequiremen ntsspecificallys statethatthere eisadesiretostartusingsocial computingt toaidcommuni icationsintheo organizationthr roughtheavaila abilityofperson nalWebsites.T This meansthaty youwillneedaMySitesWeba application.For rsecurity,capac city,andperfor rmancereasons s,itis goodpractic cetodedicatea aWebapplicatio ontoMySites. Thiswillalsoin fluencethephy ysicaldesignbe ecause youshouldk keepyourActiv veDirectorydirectoryservice serverlocaltomaximizeperfo ormance.There eisno specification nthatLitware,Inc.isamultina ationalorganiza ation,butyoush houldcheck.Inthenotes,you cansee thatthereis snospecificatio onforselfservic cesiteprovision n.Asadesigner r,youshouldch heckthisbecaus seit wouldhaveamajorimpact tonITadminist tration.EachMy ySiteisasiteco ollection,soyou ucanestimate the numberofM MySites.Thiswillinfluencethe evolumeofcon ntentandthere eforeanyquotasthatyoumay seton personalsite es.
330
SharePointBootCamp S
KeyPoints
Th heuseofMicro osoftVisiodiag gramscanprovideavisualrepr resentationthat twillaugmenti information in naspreadsheet orreporttable.Thisformofdocumentationispopularbeca auseitprovidesasummarized st tructurethatise easytoconsum me.Thegraphica alelementsmak keiteasiertoid dentifyeachlog gicalcomponen ntinthe Sh harePointlogica alarchitecture.Diagramsshouldbekeptsimp pleandprovide ahighlevelsummaryofthed design.
By usingboth ta y abularand diag grammaticdocu umentation,yo can delivera documented designthat is both ou a ea asyforbusiness andITuserst s tovisualize,andcontainsall o ofthe informat tionthatyou requireto influe ence de etaileddesignfo orphysicalorotherplanning.
DesigningaLogicalArchitecture
331
332
SharePointBootCamp
Exercise1:MappingBusinessRequirementstoaLogicalArchitecture Design
Scenario
CentralITatContoso,Ltdhascompletedthebusinessrequirementsgatheringandthestakeholdershave approveditsfindings.CentralIThastaskedyourteamwithcreatingalogicalarchitecturedesignthataddresses theserequirements.
Theinformationthatyourteamhasgatheredisdetailedinthesupplieddocuments.Usethesedocumentsto produceyourlogicaldesign.
Themaintasksforthisexerciseareasfollows:
1. Readthesupportinginformation.
2. CompletetheLogicalArchitecturePlanningworksheet.
Task1:Readthesupportinginformation
1. Logonto10231ANYCDC301asCONTOSO\EdwiththepasswordPa$$w0rd.
2. Readthelabscenario.
3. IntheE:\Labfiles\Lab01\Starterfolder,readtheinformationintheContosoBusiness Requirements.docxfile.
4. IntheE:\Labfiles\Lab01\Starterfolder,readtheinformationintheLogicalArchitecture Requirements.docxfile.
Task2:Complete theLogicalArchitecturePlanningworksheet
IntheE:\Labfiles\Lab01\Starterfolder,completetheworksheetintheLogicalArchitecturePlanning Worksheet.xlsxfile.
DesigningaLogicalArchitecture
333
Exercise2:CreatingaLogicalArchitectureDiagram
Scenario
Youneedtocreateagraphicalsummaryofthecontentinthecompletedlogicalarchitectureworksheet.The maintaskforthisexerciseistocompletealogicalarchitecturediagram.
Task1:Completealogicalarchitecture diagram
IntheE:\Labfiles\Lab01\Starterfolder,completethediagramintheLogicalArchitectureDiagram.vsdfile.
334
SharePointBootCamp
ModuleRe M eviewandTakeaway ys
ReviewQuesti ions
1. Whatarethekeydifference . esbetweenfun nctionalandnon nfunctionalrequirements?
WhenyouaredesigningaS SharePoint2010 0solution,itise essentialtomapbusinessrequ uirementstoalogical architecture edesignbeforeyoustarttodeploy. Alwaysvalid dateyourdesign nwithyourstak keholders.Thise ensuresthatyo oufullyreflecttheirbusinessgoals andtheyunderstandyourd designfunctionality. atechangestoy yourdocument tation. Alwaysupda
Module4
PlanningaServiceApplicationArchitecture
Contents:
Lesson1:IntroductiontotheServiceApplicationArchitecturein SharePoint2010 Lesson2:ServiceApplicationArchitectureandComponents Lesson3:TopologiesforServiceApplications Lesson4:MappingServiceApplicationstoYourLogicalArchitecture Lab:PlanningaServiceApplicationArchitecture
42
Sha arePointBootCamp
Th hismodulerevie ewstheroleoftheserviceapp plicationarchite ectureinMicros softSharePoin nt2010andex xamines its seffectonyour rsolutiondesign n.Thewayinw whichyoudeplo oyserviceshasc changedfundam mentallysince MicrosoftOfficeSharePointServ M ver2007.Share ePoint2010has sagranularapp proachtoservic ceprovision,soy youcan ad ddserviceapplicationsforanyWebapplicatio ononanindivid dualbasis.Office eSharePointSe erver2007had a ce entralizedappro oachtoservicedeployment,an ndyouimpleme ented allservicesthrou ughasingleSharedServicesPro ovider(SSP).
ourSharePoint2010serviceap pplicationdesigncanbemoref aspossibleprev viously,soitis flexiblethanwa Yo im mportanttound derstandhowto oimplementse ervicesandplan yourtopology forSharePoint2010.
Objectives O
Describethe eserviceapplica ationarchitectu ureinSharePoin nt2010andlist ttheavailables service applications s. pplicationarchi Describethe ecomponentsa andoptionsthatareavailableiintheserviceap itecturein SharePoint2 2010. Describesom meofthetopologyoptionsfor rserviceapplica ationsandtheir rrespectiveben nefits. Describehow wtomapandd documentbusin nessrequiremen ntstoserviceap pplications.
43
Lesson1
Th henewserviceapplicationarchitectureinSha arePoint2010is saparadigmsh hiftfromtheSSP PmodelinOffic ce Sh harePointServe er2007.Itisess sentialthatyou understandthe eavailableserviceapplications ssothatyoucan de evelopthebest tSharePoint201 10solutionfory yourorganizati on.
Th henew,moreg granular,archite ectureoffersop pportunitiesfor rsolutionarchit tects.However,thisflexibilityc comes witharesponsibi w ilitytobecomefullyconversan ntwiththesubt tletiesofthese rviceinterrelati ionships.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Describethe eserviceapplica ationarchitectu ureinSharePoin nt2010. Describethe edifferencesbe etweentheSSP modelinOffice eSharePointSe rver2007andt theservice applicationa architectureinSharePoint201 10. Listtheavailableserviceap pplications. Describethe esecuritymode elforserviceapplications. Listdepende enciesbetween nserviceapplica ations. Describethe ebenefitsofser rviceapplications.
44
Sha arePointBootCamp
KeyPoints
Se erviceapplicatio onsprovidespe ecificfunctionalitytousersinS SharePoint2010 0.Thisincludesaccesstoapplic cation fu unctionalitywithMicrosoftExc cel2010,Micro osoftVisio201 10,orunderlyin ngservicessuchastheManage ed MetadataService M eortheBusines ssConnectivity Services.Thefr rameworkofth eservice ap pplicationarchitectureinShare ePoint2010isd designedtoena ablearchitectst toselectonlyth heservicesthat ar rerequiredtod deliverabusines sssolution.This sisamajorshift tfromtheSSPinOfficeShareP PointServer 20 007.
Aserviceapplicationhasthefollowingcompon nents:
Anapplicatio onpool
Aserviceapp plicationproxygroup
heserviceapplicationarchitecturerunsacrosstheSKUsfrom mSharePointFo oundation2010throughto Th Sh harePoint2010Enterprise,tho oughnotallSKU Usofferallofth eSharePointse ervices.Theserv vice ap pplicationarchitectureisalsoe extensible,soth hirdpartyvend orscandevelop pserviceapplicationsthatyoucan de eployinyourso olution.
Th heflexibilityof theserviceapp plicationarchitecturewhere eyoucandeplo oymultipleinst tancesofthesa ame se erviceprovides a range of design options for SharePoint 2010 architec You can im d t cts. mplement multiple in nstancesofaser rviceapplicationforresilience, ,performance, orsecurity.
Th heserviceapplicationarchitecturehasitsown nsetoftermino ology;itisimpo ortanttounders standtheseterms as syouworkwith hyourteamtod developadesig gn.Thefollowin glistexplainsth heterminology y:
PlanningaServiceApplicationArchitecture
45
Serviceapplication.Theimplementationoftheserviceonafarm,includinganyfarmspecific configuration. Serviceapplicationproxy.Thetargetforusercallstotheserviceapplications.Usercallsarenotdirect,butuse Windows Communication Foundation (WCF) to communicate with the service via a proxy. The service applicationsthatareconsumedthroughaWebapplicationaretermedaproxygroup.Theproxyisapointto thisservicethathandlescallsthroughaWebFrontEnd(WFE)server.
Serviceconsumer.Thistermdescribesthefeaturesthatuse,orconsume,thefunctionalitythattheservice applicationprovides.ThismaybeanExcelWebPartthatrendersExcelServicesinformationinabrowser.
Question:Whywouldyouusemultipleserviceinstances?
46
Sha arePointBootCamp
KeyPoints
Th hemovetotheserviceapplicationarchitectureisprobablyt hemostsignific cantarchitectur ralchangein Sh harePoint2010.Forarchitectswhoaremovin ngfromOfficeS SharePointServer2007toShar rePoint2010,itis im mportanttound derstandthedif fferencesbetwe eentheseappro oachestoservic cedeployment. .
OfficeSharePointServer2007p providedtheSSP Ptodeployanu umberofprodu uctivityservices s,suchastheBu usiness ataCatalog(BD DC)andExcelCa alculationServic ces.Youtypical lyonlyusedoneglobalSSP,wh hichsuppliedal ll Da se ervicestoallWe ebapplications. .Thishadsever ralconsequence esforthesoluti onarchitect:
Themonolithicdesignmeantthatallservic ceswereavaila bletoallWeba applications;yo oucouldnothav vea separateser rviceforoneWe ebapplication. Forexample,if fyourAccounts sdepartmentw wantedaccessto oExcel newith CalculationS Servicesandthe eMarketingdepartmentwant tedaccesstoBD DC,youhadtop provideeveryon accesstobo othinthefarm.Thiswasclearly yawasteofres sources,andita alsolimitedthesecurityfunctio onality ofSSP.
exibleindeploy yment.Youcouldnotimpleme entgranularser rvicestoindividualbusinessgro oups, SSPwasinfle soadesigninevitablyprovisionedservices stouserswhod didnotneedthe em. SSPwasnotextensible.Onl lyservicesthat OfficeSharePo intServer2007 7providedwere eavailable.The
ne ewarchitecture einSharePoint2010offersfar greaterdesign scopeforarchitects.Youcann now de elivertherightsetoffunctiona alitytotheright tuserswithout tdeployingunne ecessaryservice estoallusers. Th hisenablesarch hitectsto:
Deploygranularservices,de eliveringonlyth heservicesthat tarerequested dforeachWeba application. xibledeploymentthatprovidesscalableresilie enceandsecuritythroughtheimplementatio on Designaflex ofmultipleinstancesofser rviceapplication ns.Thisenables syoutodeploymultiple
PlanningaServiceApplicationArchitecture
47
instancesofaserviceapplication,suchasExcelServices,whichareisolatedfromeachother,sothat independentdepartmentsorgroupsdonotshareExcelcontent.
Extendservicefunctionalitybydeployingthirdpartyserviceapplicationsorbypurchasingadditionalservice applicationSKUssuchasMicrosoftProjectServer2010.
48
Sha arePointBootCamp
KeyPoints
Sh harePoint2010SKUsprovidearangeofservic cesthatarchitec ctscanusetod deliverbusiness requirements.The ra angeofservicea applicationsgro owswitheachle evelofSKUfun ctionality,from mSharePointFoundation 20 through Sh 010 harePoint2010 Standardto SharePoint2010 Enterprise.It isimportant t 0 that you identif the fy rig ghtSKUforyou urorganization,becausethisw willsavetimean dmoney.
TheApplicat tionDiscoverya andLoadBalanc cerServiceAppllication.Thisser rviceprovidesa administrative functionality yfortheservice eapplicationarchitecture,such hasregistering gserversonthefarmandgroup ping serviceapplicationsacrossW Webapplications.Theloadba lancingfunctio nalitymeansth hatyoucanprovidethe bestavailableperformance ebyprovidingm multipleservice applicationinst tancestowhich hSharePoint20 010can routeuserre equests.Thisha appensautomatically.Youmay yalsoseethisc calledtheTopol logyService Application,derivedfromtheWindowsPo owerShellcom mmandSPTopo ologyServiceApp plication.
TheSecurity TokenServiceA Application.Thisservicemanag gesauthenticat tionbyactingas sabrokerfor SharePoint2 2010.Itcansup pportmultiplea authenticationp providers.
Mostofthesese M ervicesareselfd descriptive, suc chasExcelServ vicesandAcces ssServices.How wever,thereare esome se ervicesthatareimportantforyourdesignbut thavelessobv iousroles.The followinglistdescribesthese service ap pplications:
SecureStore eService.Thisse erviceprovides singlesignon( SSO)proxyfunc ctionality.Thisi isessentialifyo ou wanttousetheBusinessDa ataConnectivityServicestoac ccesslineofbus siness(LOB)ser rversseamlessly yfor users.
Managed Metadata Service. This service provides the capability to create and sto the taxono M e e ore omy information, such as docu ument metadata, that is use throughout SharePoint 2010. This is a c ed core functionfor manyotherservices.
PlanningaServiceApplicationArchitecture
49
StateService.ThisserviceprovidestemporarystorageofusersessiondataforSharePointServer components.
410
SharePointBootCamp
Se erviceApplica ationSecurityModel
KeyPoints
Sh harePoint2010hasupdatedits ssecuritymode eltoofferclaims sbasedauthen ntication.There ehavealsobeen n ch hangesthataffe ecttheservicea applications.Co oretothisisthe efactthatservic ceapplicationsuseWCFto co ommunicatebe etweenservices.Althoughthisdoesnotchang getheuserexpe erience,itprovi idesimproved pe erformanceand dsecurityflexib bility.Italsosup pportsSecureSo ocketsLayer(SS SL)transports.
Th heserviceapplicationarchitectureenablesyo outoisolateser rvicesfromone another.Youc canachievethis sat se erviceinstance,applicationpoo ol,anddatabaselevels,depend eryourserviceu usesdatabases. .Ifyour dingonwhethe bu usinessrequires smorerigorous ssecurityforap pplications,you candesignyou ursolutionsoth hattheservice ap pplicationsares separated,toensurethatuser rsofaserviceap pplicationdono otshare an nycomponents swithotheruse ers.
Hostingcompani iesororganizat tionsthatwant tousemultite enancytosepar ratedivisionsor rdepartments canstill haremostserviceapplications s.Thisisbecaus setheseapplica ationsaredesig gnedtobecapableofmultite enancy. sh Yo oucanalsoisola ateserviceappl licationsinamu ultitenancyenv vironment.
UserProfiles s
PlanningaServiceApplicationArchitecture
411
Theseserviceapplicationsdonotstoretenantdata,anddonotsupportPartitionMode:
State
AccessDatabase
VisioGraphics
WordViewing
PowerPoint
ExcelCalculation
Theseserviceapplicationscanstoretenantdata,butcannotbepartitioned:
WebAnalytics(sitebased)
UsageandHealthDataCollection(sitebased)
Theseserviceapplicationscannotbepartitioned,andconsequentlydonotmakesenseinmultitenant environments:
PerformancePoint
FASTforSharePoint
412
SharePointBootCamp
Se erviceApplica ationDependencies
KeyPoints
Notallservicesareentirelyself contained,soy youmustreview wpossibleservic cedependencie eswhenyoupla anyour ogicalarchitectu uredesign.Thiswasnotanissu uewithOfficeS harePointServe er2007,becaus setheservicesw were lo im mplementedina amonolithicde esign.However, ,withthegranu ularframeworkinSharePoint2 2010,itisnowp possible to odeploydepend dentserviceapplicationswitho outenablingco reserviceappli ications.Dependentservice ap pplicationswillnotfunctionasexpectedand dmaynotfunct tionatallwith houttherequir redplatformser rvicesin pl lace.
So omedependenc ciesaremoreobviousthanoth hers,suchastha atbetweenfun ctionssuchasP PeopleSearcha andthe UserProfileService.Ifyoudono othavetheabilitytoimportus serinformation nfromexternalsources,sucha asHR sy ystems,youwillnotbeabletomakethebest useofPeopleS Search.Othersa arelessobvious s.Forexample, Excel Se ervicesisdepen ndentontheSta ateServicetoprovidetempora arystorage.
Th heslideshowss somecommond dependenciest thatwillaffecty yourserviceapp plicationplanni ing.Youmayfin nd pa apersontheWebthatcategor rizeserviceapplicationsascore eorfoundation nservicesandth heframeworka as hi ierarchical.This sisnotadescrip ptionthatisuse eddirectlyinSh harePoint2010documentation n,butitdoesde escribe th hefunctionalde esign.Theliston ntheslideisno otanexhaustive elistofdepende encies.
413
Be enefitsofSer rviceApplications
KeyPoints
As syouhavealrea adyseen,thenewserviceappl licationarchitec ctureinShareP Point2010providesanumbero of be enefits.Wheny youstarttoplan ntoprovidefor rbusinessfunct ionality,youmustensurethat tyoutakeadvan ntage of ftheoptionsfordeployingserv viceapplication ns.Listedbelow waresomeover rarchingbenefit tsthatyoushou uld re emember:
ployment.Yous shouldidentify theWebapplic cationswhereu usersrequirese ervice Granulardep applicationf functionalityan nddesignthatis sbasedonapriincipleofminim maldeployment t. Flexibleconf figuration.Youcanprovidesca alabilityinyour designbyensu uringthatyouprovidetheright t configuratio onofinstancest tomaximizeperformanceand resilience.Rou ndrobinloadb balancingisanintegral featureofSh harePoint2010serviceapplica ations,anditisa amajorbenefit twhenyoudesignformultiple e instances. Delegatedadministration.Y YoucanminimizecentralITov verheadsandpr rovidemoreeff fectivelocal managemen ntbydelegating gadministration nofserviceapp plications.Thisc capabilitymean nsthatlocal administrati iveuserscanprovidefirstlines support,butitiisessentialthat tyouplantrainingaspartofyo our design. onsacrossWeb icesacrossWeb bapplications.Y Youcansharese erviceapplicatio bapplications. Sharedservi Thisenables syoutocreater requirementsp pecificserviceap pplicationinsta ancestoprovide egreaterperfor rmance, perhapsbys scalingupserve ersthathostthe eseservices.Rat therthandeplo oyingacrossallW Webapplicatio ons, SharePoint2 2010enablesyo outodevelopdesignsthatsha reserviceapplicationsonlybe etweenWeb applications swhereusersne eedspecificserv vices.Forexam mple,youmaysh hareaManaged dMetadataSer rvice betweenWe ebapplicationsthatsharecom mmontaxonomiies.Youcanext tendthistoprov videmultipleM Managed MetadataSe erviceinstances stodeployacommontaxonom myfortheentir reorganization, ,withWeb . application specifictaxono omies.Thisisfun nctionalitythat tisuniquetoth heManagedMe etadataService.
Sharedservicesacrossfarm ms.Youcanalso designyoursollutiontoshareserviceapplicat tionsacrossfarms.This iscalledpub blishingaservice eapplication.Youcandesigna asolutionthatinstallsonefarm msapplicationproxy onanotherf farmandpointittoauniversa alresourceindic cator(URI)locat tion.
414
SharePointBootCamp
Lesson2
Fo orasolutionarc chitect,itisimp portanttounde erstandtheopti onsforservice applicationdes sign.Itisalsoim mportant to ounderstandho owthestructur reofthefarmto opologiesinan organizationca anbenefitfromthevarioustop pology op ptionsforservic ceapplications. .
Manyserviceapp M plicationsintegr ratewithextern naldata,soaso olutionarchitec ctmustalsound derstandhowth heSSO op ptionsthattheSecureStoreSe erviceofferscan nbenefitadesig gn.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Describethe eworkflowofaserviceapplication. Listthecom mponentsofserv viceapplication ns. Describethe elogicalarchite ectureofservice eapplications. Describethe eoptionsforcro ossfarmservice eapplicationsh haring. Explainther requirementsfo orserviceapplic cationsthatnee edtoconsume externaldata.
415
Se erviceApplica ationWorkflo ow
KeyPoints
Se erviceapplicatio onsdeliverserv vicefunctionalit tytousers.Whe enausertrigge rsaservicerequestfromabro owser, th herequestsuc chasakeyword dsearchissentthroughtheW WFEserver,whi ichmaybeprec cededbyahard dware ne etworkloadbal lancer.
Th heWFEservers sendsarequest tthroughtothe eapplicationser rverthatserves stheserviceapplication.Theservice ap pplicationarchitectureinShare ePoint2010enablesmultiples serverstodelive erinstancesoft thesameservic ce ap pplication,soth hereisasoftwareloadbalance erthatroutesre equeststothea appropriateserv ver.
Al llcommunicatio onusesWCF,so othereisnodir rectaccesstoth heserviceapplic cationdatabase es.Bydefault, co ommunicationb betweenWebs serversandserv viceapplication sinafarmtake esplacebyusing gHTTP(port 32 2843),butyouc canselecteithe erHTTP(port32 2843)orHTTPS (port32844).T Thirdpartycom mpaniesthat de evelopservicea applicationscan nalsoimplemen ntNetTcpBindin ng(port32845) )toprovidehigh hperformance e co ommunications swithWCFclien nts.NetTcpBindingisgenerally thebestoption nforservicesoperatinginside a fir rewall,suchaso onanintranets site.Administratorscanuseth eServiceApplic cationspageto ochangethe pr rotocolandpor rtbindingforea achserviceappl lication.
AccessServic ces
ExcelService es
Performance ePointServices
WordAutom mationServices
416
SharePointBootCamp
TheVisioGraphicsServiceusesabinarylargeobject(BLOB)cache,whichprovideshigherperformancewhenit renderslargedrawings.
Question:WhatisthedefaultportnumberforserviceapplicationcommunicationoverHTTPS?
417
KeyPoints
Aserviceapplicationismadeup pofanumbero ofcomponentst thatworktoget thertodelivers service unctionalitytot theenduser. fu
Se erviceApplicationConnec ction(Proxy)
nnectionismor Whenyoudeployaserviceapplication,youcre W eateaserviceap pplicationconn nection.Thiscon re co ommonlyknownasaproxy.Th heproxymanag gestheconnect tioninformation nsothatthese erviceapplicatio oncan co ommunicatewithservicerequestsfromservic ceconsumers,s suchasWebPar rts.Youcanlink kandmanages service ap pplicationsagainstindividualW Webapplication ns.Thismeansthatyouhaveth heflexibilitytodeploymultiple eservice ap pplicationinstan nces,whichyou ucanisolatetomatchperform manceorsecurit tyrequirements.Youshould re ememberthatb bydefault,servi iceapplications sareassociated withalloftheWebapplicatio onsonafarm,soyou ha avetospecificallyassociateser rviceapplicationstoWebappl ications.Youca anmanageprox xiesthroughthe e Sh harePointCentr ralAdministrationsiteorbyus singWindowsP owerShell.
Se erviceApplicationProxyG Groups
Sh harePoint2010groupsserviceapplicationstogetherforWeb bapplicationco onsumptionthro oughproxygroups. Th hesearesimply ygroupingsofse erviceapplicatio onsthatyouca ndeploytodiff ferentWebapp plications.Thism may se eemtrivial,butthisisanimpor rtantdesignme echanismforso lutionarchitect tsforgroupinga andisolatingse ervice ap pplications.
By ydefault,allser rviceapplicationsareplacedin ntheDefaultgr oup.Thismean nsthatallusersinWebapplica ations th hatconsumeservicesfromtheDefaultgrouphaveaccesstot thegroupmem mbers.However r,youcancreate cu ustomgroups,towhichyoucanaddservicest thatyouwantt oprovidetoas specificWebap pplication.Whe enyou cr reateaWebapp plicationandch hooseacustomgroup,onlytha atWebapplicat tioncanconsum metheservices s.Ifyou cr reateanewserv viceapplication nthroughtheA AdministrationU UI,itisaddedto otheDefaultgr roup.However, youcan moveserviceapp m plicationstooth hergroupsorch hangetheirasso ociationwithW Webapplications.Whenyouus se WindowsPowerS W Shelltocreatea anewserviceap pplication
418
SharePointBootCamp
byusingthenewspserviceapplicationproxygroupcmdlet,theservicedoesnotautomaticallyjointhe Defaultgroupyoumustaddthedefaultswitch.
AWebapplicationdoesnothavetoconsumealloftheservicesinaproxygroup;youcanconfigurethisthrough theConfigureServiceApplicationAssociationspageontheSharePointCentralAdministrationsite.
Databases
Oneofthebiggestsurprisesfordesignersanddatabaseadministrators(DBAs)whoarefamiliarwithOffice SharePointServer2007isthelargenumberofdatabasesthatareassociatedwithserviceapplications.Ifyou upgradeanOfficeSharePointServer2007farmtoSharePoint2010,theseareautomatically generatedforeachupgradedornewservice.Thesystemgeneratednamesforthesedatabasesarenot easytorelatetotheserviceapplication.Foreasiermanagementandrecognition,youshoulddefineyourown databasenamesforyourserviceapplicationdatabases.
Someserviceapplicationshavemultipleassociateddatabases,suchastheUserProfileServiceandthe SearchService.
419
Lo ogicalArchitectureofServiiceApplications
KeyPoints
Th helogicalarchit tectureofservic ceapplications isanimportant telementofde esign.Therearesomeservice ap pplicationspecificconfiguratio onordeployme entoptions,but titisusefultou understandhow wyoucandeplo oy se ervices.
Th hedesignofthissolutionhastw woproxygroup ps:theDefaultp proxygroupand dthecustomproxygroup.Although th hedefaultactionistohaveserv viceapplication nsintheDefaul tproxygroup,i itisnotmandat tory.Someofth he se erviceapplicatio onsareinacust tomgroup,and doneisnotinth heDefaultprox xygroupatall.
Se erviceapplicatio onscanalsobeinmorethano oneproxygroup p.Thismeansth hatyoucanshareservicesamo ong Webapplications W swithouthavin ngtoshareallof fthem.Inthisc case,serviceapp olatedsothato only plicationXisiso us serswhoareass sociatedwithW Webapplication nAcanuseit.Itispossibletocreateseparateapplicationpoo olsto se eparatetheserv viceapplication nsattheprocess slevel.
Noticethatthere earemultiplein nstancesofserv viceapplication nYintheDefau ltproxygroup.Thisprovidesg greater erformance,becausetheseinstancesareonseparatephysica alserversandcanthereforepr rovideloadbala ancing. pe Th hisconfiguratio onwillalsoensu uregreaterresilience,because theserviceapp plicationwillstillbeavailablee evenif th hereisasingles serverfailure.
420
SharePointBootCamp
Youmayisolateserviceapplicationsforsecuritypurposesandthisisolationisdoneattheprocesslevelonly.If performanceisthereasonforisolatingthisserviceapplication,youcanincludeadditionalinstances.
421
Cr rossFarmServiceApplicat tions
KeyPoints
Al lthoughyoucan nshareallserviceapplicationsacrossWebap plications,ther reareonlysixth hatyoucansha are ac crossfarms:
sService UserProfiles ManagedMetadataService e BusinessCon nnectivityServices SearchServi ice SecureStore eService WebAnalyticsService
Arequireme enttominimize emanagemento overheadforpo opularservices, ,suchassearch. Adecisionto ocreateaservicefarmtocent tralizeresource management. Arequireme enttoshareanorganizationw wideresources suchasataxonomythroughtheManaged MetadataS Service.
rustedfarms.Fa armsmustexchangesecurityce ertificates. Configuretr Publishthes serviceapplicat tions.Onthesha aringfarm,you mustpublisht heserviceapplicationsothat externalfarm mscanconsum meit.Youusethe eApplicationM Managementpa agetodothis.
422
SharePointBootCamp
Connecttocrossfarmserviceapplications.Ontheconsumingfarm,youmustcreateaconnectiontothe publishedservice.ThisusestheURIthatisgeneratedinthepublishingprocess.
Set appropriatepermissions.The consumingfarm musthave permissionto the ApplicationDiscovery and LoadBalancingServiceApplicationonthepublishingfarm.Itmustalsohavepermissionstotheservicethatit willconsume.
Anadditionallevelofplanningisnecessaryforfarmsthatarelocatedindifferentdomains.Youmustensure thatthefollowingconditionsareinplacetosharetheseserviceapplications:
UserProfileService.TosharetheUserProfileService,youmustconfiguretwowaytrustbetween domains.
BusinessDataConnectivityServices.Thepublishingfarmdomainmusttrusttheconsumingfarmdomain foranadministrativefeaturetofunction.
SecureStoreService.Thepublishingfarmdomainmusttrusttheconsumingfarmdomainforan administrativefeaturetofunction.
423
KeyPoints
Itiscommontoimplementdele egatedWindow wsidentitieswhe enaserviceapp plicationmustu useanimperson nated dentitytoaccessremoteresources.Theserviceapplicationst thatusedelegat tedWindowsid dentityare: id
Iftheserviceapp plicationandthetargetexternaldataarenot inthesamedo main,youcanc configurethese e se erviceapplicatio onstousetheS SecureStoreSer rvicetoprovide emanageduser rorservicecred dentials.Withou utthe Se ecureStoreServ viceconfigured,itisnotpossib blefortheseser rvicestosuccessfullyauthentic catetogainacc cessto th heexternaldata a.
424
SharePointBootCamp
Lesson3
Th heflexibilityoftheserviceapp plicationarchite ecturemeansth hatthereisnos singlecorrectso olutionforall Sh harePoint2010environments.Youmustrevie ewthebusiness requirements, ,ITdrivers,andgovernance di irectivestoiden ntifythebestso olutionforyour organization.
Yo oumustunders standtheavailableoptionsand dtheirbenefits anddisadvanta agesbeforeyou uplanyourserv vice ap pplicationarchitecture.Oneof ftheadvantage esofthearchite ectureinShareP Point2010isits sflexibility,soy you ca anmodifyyourdeploymentify yourbusinessre equirementsch hange.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Describethe eimpactofserv viceapplicationsonsolutionde esign. Describethe eadvantagesan nddisadvantage esofdesignings serviceapplicat tionsinasingleproxygroup. Describethe eadvantagesan nddisadvantage esofdesigningm multipleservice eapplicationpr roxygroupsinm multiple applicationp pools.
Describethe eadvantagesan nddisadvantage esofdeployingm multipleservice eapplicationpr roxygroupsina asingle applicationp pool.
425
KeyPoints
Se erviceapplicatio onscanhaveamajorimpactonthetopology ofyouroverallsolution.Thisis sbecauseusers swant fu unctionsandser rviceapplicationsofferawide rangeoffuncti onality.Thebre eadthoftheseserviceoffering gs meansthatyouc m canchosefromawiderangeofimplementatiiontopologies.T Theflexibilityo oftheservice ap pplicationarchitectureenables syoutocreate manyalternativ vedesigns.Itisimportantthat tyouensuretha atyour de esignisfunction nalratherthanunnecessarilyc complex.Keyele ouselectyourtopology ementstorememberwhenyo de esigninclude:
Granulartop pologies.Mosti importantistha atyouusetheg granularityofth heserviceapplicationarchitec ctureto ensurethatyoucandeliver rthebusinessre equirementsac crosstheorganizationwithoutwastingresour rces, suchasadm ministrativetime eorhardwareb budget. Extensibleto opologies.Reme emberthatyou ucannowexten ndyourservice architecture.Thisdoesnotjus stmean thatyoucan naddserviceap pplicationsorex xtendacrossfar rmsordomains s.Youcanincrea aseperformanc ceor capacitybyaddingservicei instancestodea alwithgrowth. Thismayalsob beanoptionformanagingspik kesin demandoru unexpectedcha angesinusage. Servicedrive entopologies.T Thereisalsothe eoptionfordev velopingaservic ceapplicationd driventopology y.This maysoundu unlikely,butsea archisaservice eapplicationan ditiscommon fororganizatio onstosetupsea arch specificfarm ms.Youmaycho oosetoextendt thisbeyondas pecificservicea andincludeara angeofservices s.The keypointist theserviceapp plicationflexibili ity,whichshou ldencourageyo outodesignas solutionthatwi illfit yourbusiness.
426
SharePointBootCamp
KeyPoints
Th heslideshowsa arelativelysimp pletopology.Alloftheservice applicationsareinasingleDefaultservice ap pplicationproxy ygroup.Allsite eshaveaccessto oallofthefarm mserviceapplica ations.
Th hismayseemaverysimpleapp proach,butsim mplicityisoftent themostelega ntsolution.Thisoptioniseasy yto de eployandmana agebecausemu uchoftheconfigurationcapita alizesonthedef faultsettings.T Thedesignoffer rs ce entralizedmaintenancewithm minimaleffort,a anditisunlikely ythatuserswillhaveissueswh hentheyaccess s se erviceapplicatio ons.
Ifthereisanissueregardingthis stopology,itis scalability.The reisnoseparat tionofservicesdependentont the equirementsofuniqueareasof fthebusiness.T Thereisalsono ooptionforindi ividualdepartm mentstomanage etheir re ow wnserviceapplications.Theref fore,ifthevolu umeofbusiness increases,theloadonthecen ntralITteamma ayalso in ncrease.
Th hisisalmostcer rtainlythemost tcommondeplo oymenttopolog gyforserviceap pplications,alth houghpartofth hatmay be etodowiththe efactthatitwo orksforthemajorityofnewins stallations.Ifth isisthesolutionthatyouchoo ose,you sh houldreviewita aspartofyourongoingreview wprocesstodet terminewhethe eryourorganiza ationmaygainbenefits fromotherdeplo oymentoptions sforserviceapp plications.
427
KeyPoints
Th topology on the slide pro he n ovides a greate element of isolation for u er users in Web A 1 because it App im mplements a cu ustom service application pro group. Thiis provides the users with a set of service oxy ese ap pplicationresou urcesthatarenotavailabletot thefarmuserso ofWebApp2a andWebApp3. .
Th hissolutionprovidesgreaterisolationbyputtingservicestha atarededicated dtothecustomgroupinasepa arate ap pplicationpool. .Itisimportanttonotethatyo oucanshareser rviceapplicatio nsacrossbothDefaultandcus stom gr roups.Youcana alsosharethem mamongWebapplications.
Th hereisgreateri isolationofserv vices,whichpro ovidessomedat tasecurity.Itm maybethatoneoftheservice ap pplicationsinth hecustomgroupisasecondinstanceofaserv viceapplication nthatisavailableintheDefault gr roup.Deployme entofanotherinstancewillconsumeaddition nalfarmresourc ces,butthisma aybejustifiedb bythe in ncreasedgranula arityofservice. .
428
SharePointBootCamp
KeyPoints
Th heexampleont thisslidelooksc considerablymorecomplex,b utitisjustane extensionofthe epracticesthatthe pr reviousexample esused.Inthisexample,thefa armhasmoreth hanonecustom mgroup.Thismaybearequire ement be ecauseseverald divisionsrequire easingleservic cetobeisolated d.Forexample,eachmayuse an ninstanceofEx xcelServicestha attheywanttokeepseparate, ,perhapsmaint tainingdifferent tdatabasesto in ncreaseseparati ion.
Yo oucanalsousethistypeoftop pologytoprovid deuniqueservic ceapplications toindividualW Web ap pplications,whi ichuseadelega atedmodeltore educepressure eoncentralITre esources.
To opologiesthatp providecustomserviceapplicationproxygrou upsaremostus sefulfororganiz zationsthathav ve di ivisionsorteam msthatrequirea adegreeofsepa arationfromth erestofthebu usiness.Thecus stomgroupmay yalsobe us sefulforspecial listsiteswhereseparationises ssential,suchas ssitesthatprov videaccesstoex xternalpartnersor cu ustomers.
429
KeyPoints
En nterpriseorganizationsarenot talwaysmorec complexthanot therenvironme ents.However,theyareusually ymuch larger,sothereis sgreaterscopeformoreuniqu uerequirement tsandpressings solutionboundaries.Rememb berthatif ouworkforala argeenterprise,itdoesnotmeanthatyoumu ustdesignacom mplexsolution. yo
En nterpriseSer rvicesFarm
Yo oucanuseanEnterpriseServic cesFarmtoshareserviceappli cations.Thisen nablesthecentr ralITdepartme ent to oprovisionallsh hareableservice esacrosstheor rganization,suc chascorporate taxonomiesthr roughthe ManagedMetadataService.Thistopologyisals M soattractivefor rpanorganizat tionSearchServ vice im mplementations s.
Th hismeansthatt thefarmisprob bablynotonew whereuserswou uldconsumem oreobviousfun nctionalservice e ap pplications,suchasExcelServic cesorVisioServ vices.Thisdesig gnisprobablybestsuitedtopu ublishingenviro onments.
Th hebenefitsofthisdesigninclud de:
430
SharePointBootCamp
Provisionofpanorganizationservices,suchastheUserProfileServiceandtheManagedMetadata Service.
CollaborativeFarms
FarmBhasarangeoflocalservices,whichmakesitmoreusefulforcollaborativeworkingbecausethesemay includeExcelServicesandAccessServices.ThistaxonomystillbenefitsfromtheorganizationwideUserProfile ServiceandManagedMetadataService.NotethatthereisadivisionalManagedMetadataServiceonFarmC, whichindicatesthatthereisasubgrouptaxonomythatisapplicabletobothFarmBandFarmC.
Thebenefitsofthisdesigninclude:
SpecializedFarms
FarmCisasmallerenvironment,withonlyoneWebapplicationthatusesprimarilylocalservices.Thismay indicatethatthisisaspecialistdepartmentthathasspecificrequirements.Inthisinstance,theExcelServicesand BusinessConnectivityServicesapplicationsareisolatedfromotherfarms.
ThisfarmalsohasitsownManagedMetadataServicesothatitcanmanageataxonomythatisdistinctfrom theorganizationstaxonomy.
Thebenefitsofthisdesigninclude:
431
Lesson4
Al lldesignmustb bedrivenbybus sinessneedand ddocumentedb bythesolutiona architect.Forse erviceapplications,you mustdesignyour m rsolutionbased dontheexisting glogicalarchite ecture.Thisisan nadditionallay yeroffunctiona alitythat willleadtoafina w aloverarchingsetofdesigndoc cumentation.
Whenyoumapr W requirementsto oserviceapplic cations,youmu ustensurethat yougetbusine stakeholder ess rstosign of ffthedesign.Thiswilllargely beahighlevelagreementon functionbecau usesupportingserviceswillha avelittle meaningformos m stbusinessuser rs.Aswiththelogicaldesign,it tisessentialtha atyoumaintain nthedocumentationof yo ourserviceappl licationforman nagementanda administrationp purposes.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Describehow wtoidentifyth heserviceapplic cationrequirem mentsforanorg ganization. Describehow wtouseaplanningworksheet ttodocuments serviceapplicat tioninstances.
432
SharePointBootCamp
KeyPoints
Mapping business requiremen to the available service a M nts applications de emands that y you have a th horough un nderstandingof fwhatservicea applicationsoff ferandwhatyo ourbusinessuserswanttoach hieve.Itshould dnotbe yo ourgoalto use easmanyservic ceapplicationsaspossible, bu to usetheri ut ightones.Fore example, justb because in nformationwor rkersusethe MicrosoftOffice M esystemdoesn meanthat you shoulddeploy all of the service not ap pplicationsthat tarerelatedtoMicrosoftOffice;thesearenec cessaryonlyify youwanttouse etheirfunctionality.
RequiredAppl lications
Id dentifyingservic ceapplicationst thattheorganiz zationrequires isdependento ontheinformationthatyougatheras pa artofyouranalysisofbusiness requirements.Itisrareforau userrequireme ntsdocumentt tospecifyanyneedfor th heUserProfileS Service,soyoum mustinterpretw whichservicesa essfunctionality.For arenecessaryt odeliverbusine ex xample,ifthebusinessrequire ementsspecifyt thatthebusines sswantstousemoresocialcomputingfunctio ons, su uchastaggingandMySitessite es,youshouldb beabletoration nalizethattoaneedfortheUserProfileServ vice.
Is solatedServic ces
Whenyouhavei W identifiedalloftherequiredse ervices,yousho ouldthenidenti ifywhethersom medivisionsor seservices.This de epartmentshav vearequiremen ntforisolatedin nstancesofthes sisnotafunctio onofpreferenc ce,but ra atheraresultof frealbusinessn need.Forexamp ple,adepartme entmayhaveataxonomythat ttheywanttou usefor se earch.Ifthisisu uniquetothisde epartment,you ushouldconside erdeployinga se eparateserviceinstancethatenablesdepartm mentaluserstom managetheiro owntaxonomy.Theseuserswill no otbeseparated dfromthecorpo orateManaged dMetadataServ vice,buttheyw willhaveanadditionaltaxonom my th hattheycanuse e.Youmayalsoneedtoidentif fythelevelofis solationthatisn necessaryforse erviceapplicatio ons so othatyoucand decidewhethertoprovideseparateserviceap pplicationdatab bases.
PlanningaServiceApplicationArchitecture
433
MultipleInstances
Youshouldidentifywhich,ifany,servicesarecriticaltoyourbusinessandalevelofperformancethatis acceptabletotheusers.Whenyouhavethisinformation,youmaychoosetoincludemultipleinstancesof importantserviceapplicationsforimprovedperformanceorincreasedsecurity.Ifyoudorequiremultiple instancesforresilience,ensurethatyouhosttheseinstancesonseparateservers.Forexample,youshould implementtwoinstancesofExcelServicesinthesameapplicationpooltoensureincreasedavailabilityforusersof ExcelServices.Byhavingtwoinstancesonseparateservers,youcanensurethattheservicecontinues,evenifan applicationserverfails.
Performance
Allserviceapplicationsplaceresourcedemandsonservers.Ifyouhaveaseriesofresourceintensiveservice applications,such as Excel Servicesor the VisioGraphicsService,you shouldensurethat you implement theseonseparateplatforms.
MultipleFarms
Fromaperformanceandmanagementperspective,yourgoalshouldbetodeliverasinglefarmsolutionforyour organization.Oftenarchitectsregardfarmseparationasthefirst,orevenonly,optiontoisolateusers.However, Webapplicationsandsitecollectionsarethefirstoptionsthatanarchitectshouldselect.Rememberthatyoucan onlysharesixservicesacrossfarms.Ifyoumustdeploymultiplefarms,you shouldidentifyandgroupcommonrequirementssothatyoucandesignforeasymanagementandbetter performance.
CentralizedServices
Ifyouhaveacompellingreasonforestablishingtwoormorefarmsforyourdeployment,youshouldidentify whichoftheavailableserviceapplicationsyoucanshare.Thiswillminimizeadministrativeoverheadsand createacorporateunityforbusinesscomponentssuchassocialcomputing.
434
SharePointBootCamp
KeyPoints
Yo oumustdocum menttheserviceapplicationsth hatyouplantoiimplementand dthecoreinform mationaboutth hese. Yo oushouldalway ysmaintaindoc cumentationab bouttheservice eapplicationsth hatyoudeploy.Thiswillhelpyouto maintaintheenv m vironment.Itwi illalsoenableyoutoensureth hatyouhaveco nfigureddepen ndentservice ap pplications.
PlanningWork ksheet
Th heplanningworksheetisspecifictothelogica aldesignthatyo ouhavecreated dforyourorgan nizationbecaus seit re eflectstheWebapplicationswithwhichservic cesareconnect ted.Thecolumn nsintheworksh heetinclude:
Serviceappl lication.Thiscol lumnlistsallof theserviceapp plications.Youc canaddserviceapplicationsba ased onyourSharePoint2010SK KUandanythirdpartyservice applicationsth hatyouuse. Description.Thiscolumngiv vesabriefdesc criptionofthese ervicefunction ality.Althoughthismaynotbe e necessaryfo oranexperience edarchitect,itmakesiteasier tomapservice esagainstbusine essrequiremen nts. Youmayadd ddependencies sheretoassistl lessexperience dITstaff. Serviceappl licationinstance es.Thiscolumn enumeratesth enumberofins stancesforeachservice application.Makesurethat tyouhavealloftheinstances thatarenecess saryforisolationand performance.
Webapplica ationproxygrou ups.Thiscolumn nliststheWeba applicationpro oxygroups.Fore eachWebapplication thatusesas serviceapplication,youshould didentifythena ameoftheprox xygroup.Formostproxygroup ps,this shouldbeth heDefaultoptio on.However,yo oucanalsospec cifythecustomgroupswiththeirassociatedW Web application.Theremaybea aseriesofthese ecolumns.
Proposedda atabasenames.Thiscolumnliststhenamesof ftheserviceapplicationdatabasesthatyouin ntendto create.Fore eachserviceapp plicationthatyo oucreate,yous shouldnameth heassociatedda atabaseordata abases. Remembert thatmultipleinstancescansha areacommond databaseset,so oifyouwantto oisolateservice applications satthedatabas selevel,youmu ustprovidenam mesforeachserv vice
PlanningaServiceApplicationArchitecture
435
instance.YoumayneedtoconsultwithyourDBAtoensurethatyouselectnamesthatfitwithanyexisting standard.
436
SharePointBootCamp
PlanningaServiceApplicationArchitecture
437
Exercise1:DesigningaLogicalArchitecture
Scenario
ThelogicaldesignfortheContoso,Ltdenvironmenthasbeensignedoff,soyounowneedtodefinetheservice applicationsthatarenecessarytoservicethebusinessrequirements.
YourteammustalsotestpartofthedesignbycreatingManagedMetadataServiceinstancesforContoso,Ltdand ContosoResearchonthetestenvironment.
Themaintasksforthisexerciseareasfollows:
1. Readthesupportinginformation.
2. CompletetheServiceApplicationsPlanningworksheet.
Task1:Readthesupportinginformation
1. Readthelabscenario.
2. Logonto10231ANYCDC102asCONTOSO\EdwiththepasswordPa$$w0rd.
Task2:Complete theServiceApplicationsPlanningworksheet
IntheE:\Labfiles\Lab02\Starterfolder,completetheSharePoint2010ServiceApplicationsPlanning worksheet.xlsxfile.
438
SharePointBootCamp
Exercise2:CreatingServiceApplicationsandAssigningProxyGroups
Scenario
Toassesspartofyourdesign,youmustcreatesomeoftheserviceapplicationcomponentsforuser acceptancetesting.
Themaintasksforthisexerciseareasfollows:
1. CreateManagedMetadataServiceapplications.
2. Associateaserviceapplicationwithacustomproxygroup.
Task1:CreateManaged MetadataServiceapplications
1. UsetheApplicationManagementpagetocreateaManagedMetadataServiceapplicationbyusingthe followingconfigurationinputs:
Name:MMS_Default
Databasename:TermStore_Default ApplicationPool:SharePointWebServicesDefault
2. UsetheApplicationManagementpagetocreateaManagedMetadataServiceapplicationbyusingthe followingconfigurationinputs:
439
ModuleRe M eviewandTakeaway ys
ReviewQuesti ions
1. Whatarethekeydifference . esbetweenthe eserviceapplica ationarchitectu uresinSharePoi int2010and ePointServer20 007? OfficeShare
2. Whatisapro . oxy?
3. Whatisapro . oxygroup?
BestPracticesRelatedtoSe erviceApplications
Su upplementorm modifythefollow wingbestpract ticesforyourow wnworksituations
Minimizethenumberofse erviceapplicatio onsthatyoudep ploytomatchb businessrequire ements.Thissav ves serverresou urces. Checkforse erviceapplicatio ondependencie es. Assessrequirementstodefinethenumber rofinstancesth hatarenecessa ry.Thisrequiresongoing monitoringo ofperformance e.
440
SharePointBootCamp
Module5
PlanningforPerformanceandCapacity
Contents:
Lesson1:PrinciplesofPerformancePlanning Lesson2:DesigningforPerformance Lesson3:PrinciplesofCapacityPlanning Lesson4:DesigningforCapacity Lab:PlanningforPerformanceandCapacity
52
Sha arePointBootCamp
Planningforperf formanceandcapacityisanim mportantpartof fdesigningyou rMicrosoftSh harePoint 20 010deploymen nt.IfyourSharePointenvironm mentdoesnotm meettheperformanceneedsorexpectationsofyour us sers,therecouldbesignificant tresistancetoth headoptionof thesolution.Ifyoudoplanen noughstorage,t the so olutionwillquic cklyrunoutofs spacetoexpand d,andthiswilld delayorpreven tadoptionofth hesolution.
Objectives O
Af ftercompleting gthismodule,youwillbeable to:
Describethe eprinciplesofd designingtomax ximizeperform mance. CreateaSha arePoint2010p performancede esignthatmitiga atesperforman ceproblems. Describehow wcapacityplan nningaffectsthe edesignofaSh harePoint2010implementation. capacitydema CreateaSha arePoint2010fa armdesignthat tcatersforcurr rentandfuture ands.
PlanningforPerformance eandCapacity
53
Lesson1
Be eforeyoucreat teyourperform manceplan,itis importanttou nderstandhow wtomeasurepe erformanceofa Sh harePoint2010serverfarm.Yo ourchoiceoffeaturestoimple ementwillalsoa affectperforma ance.Youwilln needto es stimatethenum mberofserversthatyourfarm requiresbefore eperformingte estingtoverifyt thatthefarmm meets th heperformance eexpectationso ofyourorganiza ation.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Identifyelem mentsofperfor rmancedesign. IdentifySharePoint2010se erverroles. IdentifytheperformancecharacteristicsofWebFrontEn nd(WFE)server rs. Identifytheperformancecharacteristicsofapplicationse ervers. Identifytheperformancecharacteristicsofsearchservers s. Identifytheperformancecharacteristicsofdatabaseserv vers.
54
Sha arePointBootCamp
KeyPoints
Whenyouconsid W deraSharePoin nt2010solution n,thedesignmu ustachievethe performancere equirementsthatthe h bu usinessspecifies.
Question:Howc Q canyoumeasur reSharePoint20 010performanc ce? Question:Which Q helementsofasolutionwillaff fectperforman ce? Question:Which Q htoolscanyouu usetomeasure eperformance? Question:Whenshouldyouimp Q proveperforma ance? Question:Howc Q canyouidentify ythataperform manceimprovem menthasbeena achieved?
PlanningforPerformance eandCapacity
55
Sh harePoint2010ServerRoles s
KeyPoints
Whenyouplana W anddesignaSha arePoint2010s solution,itisim portanttocons siderarchitectu uralelementsof fthe so olutiontounderstandtheimpa actoftheseelementsonthed esign.SharePoi intfarmshavet threeoperation nal tie ersofservicesthatserversind differentrolescanperform.Th efollowingsect tionsdescribet thesetiers.
WebFrontEnd W dServers
WFEserversrend W dertheWebpagecontentand dreturnittothe eclientthatreq questscontent.
ApplicationSe A ervers
Th heapplications serverrolerelat testotheprovis sionofservices inthefarm.Ap pplicationserve ershostservice ap pplications,including:
ice(queryandc crawl) SearchServi UserProfileService BusinessDat taConnectivityService WebAnalyticsService ManagedMetadataService e ExcelService esApplication AccessService VisioGraphicsService WordAutom mationServices s PerformancePointServiceApplication HealthDataColl lectionService UsageandH
56
SharePointBootCamp
StateService SecureStoreService
DatabaseServers
ThedatabaseserverroledescribesthecomputerorcomputersrunningMicrosoftSQLServerthatholdthe followingtypesofdatabase:
Farmconfiguration Search(administration,property,andcrawldatabases) BusinessDataConnectivity ManagedMetadata SecureStore State UserProfile ProfileSynchronization SocialTagging UsageandHealthDataCollection
PlanningforPerformance eandCapacity
57
KeyPoints
WFEserversform W mtheSharePoin ntconnectionpointforclients thatrequestco ontentorservic ces.Thismeansthatall clientrequestsplacesomeloadontheWFEser rvers.WFEserv versrenderpage esbeforereturn ningrequested pages oabrowser. to
WFEserversdon W notrequirelarge equantitiesofd diskstorage,bu utrelyheavilyo onprocessorandmemoryfor pe erformance.Thefollowingtabledescribesthe eprocessorand dmemoryloadc characteristicsf forWFEservers s.
Serviceapplicationorfeature
Sh harePointFound dationService Tim merService Lo oggingService Us serProfileService WordViewingService W Po owerPointService Ex xcelCalculationService VisioService Ac ccessService ManagedMetada ataService
CPUload High Medium Medium Low Low Medium Medium Low Low Low
Memo oryload High Mediu um Mediu um Mediu um Low Mediu um Low Low Low Mediu um
58
Sha arePointBootCamp
Serviceapplicationorfeature
WebAnalyticsService W Bu usinessConnect tionService Inf foPathFormsService WordConversion W nService Pe erformancePoin ntService Sa andboxedSoluti ions WorkflowCapabi W ilities
Memo load ory Low Mediu um Mediu um Low Mediu um Low High
Note:Theseload dcharacteristics sexistevenwhe enallserviceap pplicationsarer runningondedicated pplicationserve ers.Forexample e,theExcelCalc culationService ewillincreaseC CPUusageonth he ap WFEserver,even W nifyouhavean napplicationser rverdedicatedt torunningExce elServices.
Considertha atmediumcost tCPUoperation nsarethreetim mesheavieronw workloadthanlo owcostCPU operations. athighcostCPU Uoperationsarefivetimeshea avieronworklo oadthanlowco ostCPU Considertha operations.
AdditionalRea A ading
PlanningforPerformance eandCapacity
59
Pe erformanceo ofApplicationServers
KeyPoints
Ap pplicationserve ershostserviceapplications.Se erviceapplicatio onsofferamor reflexibleappro oachtofarmse ervices th hanpreviousversionsofMicrosoftOfficeShar rePoint;younow whavemoreo ptionsforcontr rollingwhichse erversin th hefarmrunspe ecificserviceapp plications.
Differentserviceapplicationsha avedifferentwo orkloadprofiles s,butyoucand dedicatespecificserverstospe ecific erviceapplicatio ons.Youcanals soscaleoutbys specifyingmultiipleserversfor aspecificservic ceapplication. se
Differentserviceapplicationsha avedifferentwo orkloadprofiles s,butmostapplicationservicesdonotrequire elocal torageontheap pplicationserve er.Themainhardwarerequire ementsforappli and st icationserversareprocessora memory.Thefollowingtablede m escribestheprocessorandmem moryloadchara acteristicsforapplicationserve ers.
Serviceapplicationorfeature
Sh harePointFound dationService Tim merService Lo oggingService Us serProfileService WordViewingService W Po owerPointService Ex xcelCalculationService VisioService
Memo oryload None Mediu um None Mediu um Mediu um Mediu um High High
510
SharePointBootCamp
Serviceapplicationorfeature
Ac ccessService ManagedMetada ataService WebAnalyticsService W Bu usinessConnect tionService Inf foPathFormsService WordConversion W nService Pe erformancePoin ntService Sa andboxedSoluti ions WorkflowCapabi W ilities
CPU load High Medium None High Medium High High High None
Memo load ory Mediu um Mediu um None High Mediu um Mediu um High High None
Generally,forbe estperformance e,serverrolessh houldnotshare eserviceapplica ationswithahighload. onsiderthatsom meserviceapplicationswillals soincreasethew workloadonth eWFEservers. Co
AdditionalRea A ading
PlanningforPerformance eandCapacity
511
KeyPoints
Se earchistypically yasignificantb benefitofimplementingShareP Point2010,but titplacesalargeworkloadbur rdenon th hefarm.Wheny youconsiderfarmperformanc ce,youmustoft tenconsidersearchperforman ncespecificallyinthe co ontextofthefarm.
Se earchserversca anperformtwofunctions:
Thecrawlco omponentcraw wlsandindexesc contentprimar rilyintheShare ePointcontentd databases,altho oughit canalsoinde exothertypeso ofstoragerepository.Thecraw wlrolebuildsth heindexandsub bmitsindexupd datesto thesearchq queryrole.Craw wlcomponentsa aggressivelyuse eCPUbandwidt th.Optimally,a agivencrawl componentcanutilizefour rCPUcores.Me emoryisnotasc criticalforthec crawlcompone ent. Thequeryco omponentresp pondstouserse earchrequests.W Whenusersent terasearchina aSharePointsit te, SharePoint2 2010submitsth hequerytoase erverthathosts sthequeryrole toreturnaresultset.Allserve ersthat hosttheque eryrolehaveac copyoftheinde exthatthecraw wlrolegenerate es.However,ad dditionalsearch h databasesal lsoholdspecific csearchinforma ation.Thequer ryroletypically hashighprocessorandmemo ory requirements.
In naddition,theS Searchserviceh hasasignificantimpactondata abaseservers.T TheSearchserviceplacesahigh h lo oadonCPU,input/output(I/O) ),andstorageco omponents.Cra awldatabasesa aggressivelyuse eI/Obandwidth h.A cr rawldatabasen needs3,500I/Ooperationsper rsecond(IOps)f forcrawlingact tivities;itwillco onsumeasmuc chas 6, ,000IOPS,basedontheavailab blebandwidth.
512
SharePointBootCamp
Pe erformanceo ofDatabaseServers
KeyPoints
Da atabaseservers sstoremostSha arePointconten ntandmostSha arePointconfigu urationdata.No otallservice ap pplicationsaffectdatabaseservers,becauseso omeserviceapp plicationsdono otrequiredatab bases.However, st torageaccesstim mesandstoragecapacityarea akeyfocusfort therole.
Serviceapplication
Sh harePointFoun ndationService TimerService Lo oggingService UserProfileServ U vice WordViewingSe W ervice PowerPointServ vice Ex xcelCalculation nService VisioService V AccessService A ManagedMetad M dataService WebAnalyticsSe W ervice BusinessConnec ctionService
CPUload d Mediu um None Mediu um High None None None Low Low Low High None
I/Oload Hig gh No one Hig gh Hig gh No one No one No one Low w Low w Low w Hig gh No one
Storage High None High Medium None None None Low Low Medium High None
PlanningforPerformance eandCapacity
513
Serviceapplication In nfoPathFormsS Service WordConversionService W PerformancePointService Sa andboxedSolut tions WorkflowCapab W bilities
DiskStorage D
Diskstoragetype esandredundan ntarrayofinde ependentdisks( (RAID)configura ationcanhaveasignificantim mpact ntheperformanceofdatabase eservers. on
Directattacheds storage(DAS)isaconfiguration nwhereastora agecontrollerw withoutanetwo orkinterfaceconnects heserveranddi iskhardware.D DAStypicallyuse esSmallCompu terSystemInte erface(SCSI),Se erialAttachedSC CSI th (S SAS),orSerialAT TA(SATA)disks.
Astorageareane etwork(SAN)co onnectsserverh hardwaretodis skhardwareoveradedicatednetwork.Thisc canbe nEthernetbase ednetworkora aFibreChannel basednetwork k.SANstoragea appearstotheoperatingsyste emas an lo ocallyattachedd disks.SANsoffe erhighspeed,highcapacitysto oragewithaddi itionalcapabilit ties,suchasthe eability to osupportSQLSe erverclusters.H However,theyc createasignific cantcostincrea aseoverDAS.
Yo oucanusediffe erentdisktypesanddifferentR RAIDconfigurat tionstosupport tspecificperfor rmancerequirements. SA ASdiskstypicallysupportfasteraccesstimes,a althoughspecif ficRAIDconfigu urationssuchasRAID1,RAID D5,or RA AID10canals soaffectreadorwriteaccessti imes.
Ifyouexperience eperformanceo orstoragebottleneckswithth edatabaseserv verrole,youcanaddmore atabaseservers stothefarmandspreadyourd databaserequir rementsacrossmultipleserver rs. da
514
SharePointBootCamp
Lesson2
Designing D gforPerformance
Itisimportantto orecognizewhic chperformance efactorsyoum ustmeasureto planaSharePo ointServer 010deploymen ntthatmeetstheperformancerequirementso ofyourorganiz ation. 20 Af ftermodelingp performance,yo oumustalsounderstandhowt toconfigureyo urfarmdesignandtopologyto o ch hangetheperfo ormanceprofile eofthefarm.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Mapbusines ssrequirementstosolutionperformance. Maplogicalarchitecturean ndserviceapplic cationdesignto operformance. . IdentifyscalingoptionsforimprovingShar rePointfarmpe erformance. Selectasuitabletopologyfo oraSharePoint tfarm. MonitorSha arePoint2010serverperforma ance. Identifystep psinperforman ncemanagemen ntmodeling. Identifytoolsforperformin ngperformance etesting. Identifycach hingoptionsfor rperformancei improvementin nSharePoint20 010.
PlanningforPerformance eandCapacity
515
KeyPoints
Th herearefourm majoraspectstosizingperforma ance.Thefollow wingsectionsde escribetheseas spects.
La atency
La atencyisthetim methatelapsesbetweentheuserperforming anactionandt theclientreceiv vingandposs sibly di isplayingthed data.Forexamp ple,itisthetimethatelapsesb betweentheus serclickingalinkandtheclient t di isplayingthede estinationpage.
La atencytypically yincludesthe time from the client sending a requestto th server;the serverprocessi the t he ing clientrequest;th heserversendin ngaresponseto otheclient;and dtheclientproc cessingorrenderingtherespo onse.
rredtoasround dtriptime(RTT T). Networklatency,alsorefer Availablene etworkbandwid dth,whichaffec ctshowlongitt takestosendba ackthewholeo oftheresponse. Uncompress seddatatransm mission. Customcodeelements,suc chasWebParts sorfeaturestha atarenotwello optimized.
oucanonlydeterminetheserv verprocessinga andclientrende eringelements oflatencythro oughperforman nce Yo te esting.However r,youmayhave eaccesstocasestudiesthatca nprovideaben nchmarktoassistindeterminin ng ge eneralrequirem ments.
Th hroughput
Th hroughputisthenumberofrequeststhatase erverfarmisab bletoprocessin nafixedperiod. .Tocreatea Sh harePointfarmsolutionthatsa atisfiesuserrequirements,you ushould:
516
SharePointBootCamp
Yo ouwilloftenne eedtocalculateworkloadtoes stimatethenum mberofservers thatyourequir reforadequate e th hroughput.Youcancalculatew workloadbyusin ngaworksheet ttoidentifythenumberofcon ncurrentusersa andthe av veragenumberofrequestseac chday.Thefollo owingtableout tlinesanexamp pleworksheet.
Workloadcharacteristics
To otalnumberofu users(Tu) To otalnumberofu uniqueusersea achday Co oncurrencyrate e(Cr) Re equestseachda aybyeachuser Pe eakusageratio(Pu) Ho oursinthebusin nessday(H)
Value
Yo oucanthenapp plythefollowingformulatoes stimatethenum mberofrequest tspersecond: Re equestspersecond=(TuCr PuRd)(H 3600) In nthisformula,T Tuisthetotaln numberofuser rs,Cristheave erageconcurren ntnumberofu users,Puisthe peak us sageratio,Rdis stheaveragenu umberofreque estseachdayby yeachuser,and dHisthenumb berofworkingh hours in ntheday.3,600 0isthefactorto oconverthours intoseconds.
Note:Youshould dusepeakuserloadforexam mple,thenumb erofconcurren ntusersatpeak ktimestosize ethe harePointfarmtocopewithpe eakperformanc cerequirement ts. Sh
DataScale D
Da atascaleisthecorpusofdataorcontentthat ttheserverfarm mholds.Genera ally,greatervol lumesofdatare educe th hroughput,butdatadistributio onacrossdiffere entserversand storagemedia canalsohavea aneffect.
Yo oucancalculate edatascalebas sedoncertainin nformationabo outcontentstor rage,oryoucan nestimatedata a sc calebasedonth hestoragerequirementsinyou urcurrentenvir ronment.
Reliability
Ty ypically,manya administratorsc considerreliabil lityasuptime.H However,inthe econtextofper rformance management,reliabilityisamea m asureofthetim meforwhichthe efarmcanmee etallperforman ncetargets.This sshould in ncludecoverage eofpeakloadtimes.Peakloadtimesmaybew whenthehighe estnumberofu users ar reloggedon,or rwhensearchc crawlsarerunni ing,orwhenba ackuptasksarerunning.
PlanningforPerformance eandCapacity
517
Manyorganizatio M onswillhavear reliabilitytarget tthatisexpress sedasanumbe erofnines.Thefollowingtable e sh howssomeexam mplereliabilityfigureswiththe ecorresponding gcalculatedtim mevalue.
Reliabilityvalue
99 9percent(twon nines) 99 9.9percent(threenines) 99 9.99percent(fo ournines)
AdditionalRea A ading
518
SharePointBootCamp
KeyPoints
Whenyouplana W aSharePointsolution,itisimpo ortanttounder rstandtheeffec ctofthelogicalarchitecturede esign on nperformance. .Logicalarchite ecturechoicessuchasthenum mberofWebapp plicationsorthe enumberofsit te co ollectionsinadatabasecanhav veadramatice effectonperfor rmance.
earevaluesbey yondwhichuse ersmayexperie ncedegradedp performance.Yo oucanexceed Limits.These thresholdlim mitswithasupp portedconfigur ration,although hperformancem maybedegrade ed.Aconfigurationis notsupportedifyouexceedasupportedli imit. dcodedmaximu umvaluesthat thesystemcan notexceed. Boundaries. Thesearehard
M Maximum value 300foreachWe 3 eb application a 5foreachWeb application 5 20foreachWeb 2 b application a 10foreachWe ebserver
Th hefollowingtab bleshowssitecollectionlimits. .
PlanningforPerformance eandCapacity
519
Lim mit Website W Si itecollectionsiz ze(unless itistheonlysitecollection nthedatabase) in Li istviewthresho old
ThresholdLim mit
Note:SharePoint t2010canexce eedsupportedli imits,attherisk kofdegradedp performancean ndanunsupport ted fa armconfiguratio on.SharePoint2 2010cannotex xceedstatedbo oundaries.Share ePoint2010can nexceedthresh hold lim mitsinasuppor rtedconfigurati ion,butatther riskofdegraded dperformance. .
Se erviceapplicatio ondesigncanaffecttherequir redperformanc ceofthedesignbyintroducing gadditionalhard dware re equirements.Yo oucandedicate eoneormoreapplicationserve erstoaservice applicationifth hatservice ap pplicationrequi iresadditionalp performanceor rplacesahighlo m. oadonthefarm
Question:Howc Q cananorganizat tioncreateasin ngleSharePoint tfarmtohold1 1terabyteofcollaborativedata a, giventhattheco ontentdatabase esizelimitis200 0GB?
AdditionalRea A ading
520
SharePointBootCamp
Sc calabilityofSh harePoint2010 0
KeyPoints
Yo oucanscaleSha arePointfarmstomeetperformancetargetsiintwodifferent tways:
Scaleup.Sca alingupinvolve eschangingtheserverhardwar reconfiguration ntoincreaseth heworkloadtha ata singleserver rcanaccommodate.Forexample,youcaninc creasethenumberofprocesso orcoresinaser rver, increasethe eamountofmemoryintheser rver,orupgrade ethedisksubsy ystemtousefas sterstorage. Scaleout.Sc calingoutinvolv vesaddingmore eserverstothe efarmtoachiev vecapacityorp performancetar rgets. Forexample e,youcanaddm moredatabaseserverstodedic catethesearchdatabaseloadtoanotherserv ver.
PlanningforPerformance eandCapacity
521
Se electingaFar rmTopology
KeyPoints
Itisimportantto oconsiderfarmsizeandtopolo ogycarefullywh henyousizeaSharePoint2010 0solutionfor erformanceand dcapacity.Farm mtopologiesfor rSharePoint20 10fallbroadlyintothreecateg pe gories:
Smallfarm.AsmallSharePo ointfarmtypica allyhastwoort threetiersmad deupfromupto ofiveservers. databaseserver, ,andWFEserve ersmayalsope rformserviceapplication Typically,thereisasingled roles.Atwotier,threeserv verfarmcanserverelativelylo owusageload(a afewrequestsperminutetoa afew requestsper rsecond(RPS))andavolumeo ofdatainthere egionoftensof gigabytes. Mediumfar rm.Atopologyf foramediumSh harePointfarm typicallyhasth hreetiers,withmorethansixs servers. Theremayb bemultipledata abaseservers,m multiplesearch servers,andap pplicationserversthatarededi icated tospecificse erviceapplicatio ons.MultipleW WFEserversena blemanyconcu urrentuserrequests.Amedium msize farmcanser rveausageload dofafewtenso ofRPSandada tavolumeupto o1terabyte. Largefarm.AtopologyforalargeSharePo ointfarmtypica allyemploysine excessof1012 2serversthatar re arrangedinthreetiers.Ina alargefarm,youoftenlogically ygroupservers saccordingtoth heapplications that theserversh host.Forexamp ple,agroupoft threeserversho ostingMicrosof ftInfoPathforms,oragroupoftwo crawlserver rs.Alargefarmcanserveusage eloadsofhund redsofRPSand ddatastorageo oftensofteraby ytes.
AdditionalRea A ading
522
SharePointBootCamp
MonitoringPe M erformance
KeyPoints
To osizeasolution ncorrectlyfrom maperformance eperspective,y youshouldperfo ormmonitoring gofthesystem under lo oadtoascertainperformancec characteristics,i identifybottlen necks,andestab blishthecapabi ilityof th hesolutiontom meetbusinessre equirements.
Yo oucanusetheP PerformanceM MonitortoolinW WindowsServer r2008andWindowsServer2 2008R2tocapture pe erformanceinfo ormationfromperformanceobjectsandcoun nters.Performa anceobjectscan nincludehardw ware co omponentssuch hasprocessoro ormemory.The eycanalsoinclu udesoftwareco omponentssuch hasWindows op peratingsystem msubsystemsor rtheMicrosoft.NETFramewor rk.
monitortothe SharePointUsa Yo oucanalsoaddtheperforman ncecounterstha atyouneedtom ageandHealthData Co ollectiondataba ase,whichcant thenprovideasinglepointfor rhealthandper rformancedata a.Youdothisby yusing th heAddSPDiagn nosticsPerforma anceCounter WindowsPowerS W Shellcmdlet.
Yo oushouldcaptu ureinitialperformancestatistic csunderpeaklo oadtocreateabaselineforho owthesystem pe erforms.Yoush houldthenregularlyrevisittheperformancein nformationfor thelivesystem m.Thiswillenableyou to ocapturetrenddataandidentifyanyareasfo orperformance improvement, ifrequired.
ounter Co %ProcessorTime e
Object Processor
Description n Thisshow wsprocessorusa ageoveraperio odoftime.Ifthisisconsistentlytoo high,you mayfindperfo ormanceisadve erselyaffected.Remembertoc count r canalsomeasuretheusageon neach "Total"inmultiprocessor systems.Youc processor rtoensurebala ancedperforma ancebetweencores.
A Avg.DiskQueue e Le ength
Disk
Thisshow wstheaveragen numberofboth hreadandwrite erequeststhatwere queuedfo ortheselected diskduringthe esampleinterva al.Abigger
PlanningforPerformanceandCapacity
523
Counter
Object Description diskqueuelengthmaynotbeaproblemaslongasdiskreads/writesare not suffering and the system is working in a steady state without increasingthequeuelength. Thisshowstheaveragenumberofreadrequeststhatarequeued. Thisshowstheaveragenumberofwriterequeststhatarequeued. Thisshowsthenumberofreadstodiskpersecond. Thisshowsthenumberofwritestodiskpersecond. Thisshowstheamountofphysicalmemorythatisavailableforallocation. Insufficientmemorywillleadtoexcessiveuseofthepagefileandan increaseinthenumberofpagefaultspersecond. Thisshowstherateatwhichfaultsoccurwhenapageissoughtinthefile systemcacheandisnotfound.Thismaybeasoftfault,whenthepageis foundinmemory,orahardfault,whenthepageisondisk.
Memory
Theeffectiveuseofthecacheforreadandwriteoperationscanhavea significanteffectonserverperformance.Youmustmonitorforincreased cachefailures,whichareindicatedbyareductionintheAsyncFast Reads/secorReadAheads/seccounters. Pages/sec Memory Thisshowstherateatwhichpagesarereadfromorwrittentodiskto resolvehardpagefaults.Ifthisrises,itindicatessystemwideperformance problems. Theserverpagingfile,sometimescalledtheswapfile,holdsvirtual memoryaddressesondisk.Pagefaultsoccurwhenaprocesshastostop andwaitwhilerequiredvirtualresourcesareretrievedfromdiskinto memory.Thesewillbemorefrequentifthephysicalmemoryis inadequate. Thisistherateatwhichdataissentandreceivedviathenetwork interfacecard.Youmayneedtoinvestigatefurtherifthisrateisover 4050percentofnetworkcapacity.Tofinetuneyourinvestigation, monitorBytesreceived/secandBytesSent/seccounters. Thisindicatesthecurrentsize(inbytes)oftheworkingsetforagiven process.Thismemoryisreservedfortheprocess,evenifitisnotinuse. Thisindicatesthepercentageofprocessortimethatagivenprocessuses. Thisshowsthecurrentnumberofthreads. Thisshowsthetotalnumberofrequestssincetheservicewasstarted. MicrosoftSharePointFoundation2010providesthebuildingblocks forHTMLpagesthatarerenderedintheuserbrowseroverHTTP.This countershowsthenumberofrequeststhatarewaitingtobe
%Usedand% UsedPeak
PagingFile
TotalBytes/sec
Network Interface
WorkingSet
Process
524
SharePointBootCamp
Counter
RequestWait Time
Object
Description processed. Thisshowsthenumberofmillisecondsthatthemostrecentrequest waitedinthequeueforprocessing.Asthenumberofwaitevents increases,userswillexperiencedegradedpagerenderingperformance. Thisshowsthetotalnumberofrequeststhatwerenotperformedbecause ofinsufficientserverresourcestoprocessthem.Thiscounterrepresentsthe numberofrequeststhatreturna503HTTPstatuscode,indicatingthatthe serveristoobusy. Thisshowsthenumberofrequeststhatarecurrentlyrunning. Thisshowsthenumberofrequeststhatareperformedeachsecond.This representsthecurrentthroughputoftheapplication.Underconstant load,thisnumbershouldremainwithinacertainrange,barringother serverwork(suchasgarbagecollectionorexternalservertools).
ASP.NET
RequestsRejected
ASP.NET
ASP.NET ASP.NET
Thefollowingtabledescribesthesystemperformancecountersthatyoushouldmonitoronacomputerrunning SQLServer.
Counter
UserConnections
SQLServer:Databases Thisobjectprovidescounterstomonitorbulkcopyoperations, backupandrestorethroughput,andtransactionlogactivities. Monitortransactionsandthetransactionlogtodeterminehow muchuseractivityisoccurringinthedatabaseandhowfullthe transactionlogisbecoming.Theamountofuseractivitycan determinetheperformanceofthedatabaseandaffectlogsize, locking,andreplication.Monitoringlowlevellogactivitytogauge useractivityandresourceusage canhelpyoutoidentifyperformancebottlenecks. SQLServer:Databases Thisshowstheamountoftransactionsonagivendatabaseoron theentireSQLServerinstancepersecond.Thisnumberistohelp youcreateabaselineandtroubleshootissues. SQLServer:Locks SQLServer:Locks SQLServer:Locks SQLServer:Locks
Transactions/sec
PlanningforPerformance eandCapacity
525
ounter Co Av verageLatch WaitTime(ms) W La atchWaits/sec
Description Thisshowsthe averagelatchw waittimeforlat tchrequeststha athad towait. Thisshowsthe numberoflatc chrequestspersecondthat rantedimmedia ately. couldnotbegr Thisindicatest henumberoft imesthecompilecodepathis cond. enteredpersec Thisindicatest henumberoft imesstatementrecompilesare e econd. triggeredperse Thisindicatest heratiobetwee encachehitsan ndlookupsfor plans. Thisshowsthe percentageofp pagesfoundinthebuffercach he gtoreadfromd disk.Theratiois sthetotal withouthaving numberofcach hehitsdividedb bythetotalnum mberofcache lookupssincea ninstanceofSQ QLServerwass started.
SQ QL Co ompilations/sec c
Note:TheSQLSe erverperforman ncecountersar reincludedhere eforthesakeo ofcompleteness.ManySharePo oint rchitectswillno otbeSQLServer rperformancee experts.Youma aywanttodiscu ussSQLServerperformanceissues ar withanexperien w ncedSQLServer rdatabaseadmi inistrator(DBA) ).
AdditionalRea A ading
526
SharePointBootCamp
KeyPoints
Pe erformancemanagementmod delingforSharePoint2010inclu udesfivekeyst teps:
1. Model.Mod . delthefarmenv vironmentthat yourequireby establishingthe featuresthatyo ou eelementsorf wantyourso olutiontoprovi ide.Also,determineanyrequi redmeasuressuchasperformanceandreliab bility. Themodelin ngexerciseshou uldcreate:
3. Pilot,test,an . ndoptimize.Deployapilotenv vironmentandc conducttesting gagainstperfor rmancetargets. Wherenece essary,optimize ethedeploymen nttomeetperf formancetarget tsorconsiderre evisingthe solution(for rexample,chan ngethesolution nscopeorrevise ethetopology) ).
Whileyouinitiall W lyplanyourSha arePointfarm,y youwillusethe efirstthreestep pstoidentifype erformancetarg gets, de esignthefarm,andperformte estingtodeterm minewhetherth hedesignmeet stherequiredp performance ta argets.
Note:Workloaddescribesthedemandthatthe esystemmusts sustain.Worklo adtypicallyuse esthelabel PStodescribed demandontheserverfarm.Itismostcommo ontomeasureR RPSbyusingallr requestsin RP th heInternetInfo ormationService es(IIS)logexcep pttheAuthentiicationhandsha akerequests(40 01HTTPstatus). .Youdo no otcounttheseb becausetheybi iasthecalculate edRPSfigure.
PlanningforPerformance eandCapacity
527
AdditionalRea A ading
528
SharePointBootCamp
KeyPoints
Yo oucanuseseve eraltoolstohelp pyoutoperformperformance etestingagainst tyourSharePoi intservers.One eof th hemostcompre ehensiveloadte estingtoolsfor SharePointenv vironmentsisM MicrosoftVisualStudio2010.
escription De
Inthisconfigurat tion,theclientc computerrunn ingVisualStudi iogeneratesallofthe Webrequestsfor W rtheloadtest.T Theloadtestis slimitedto250virtualusers,andthe te estonlyusesone ecoreofthecliientCPU. Inthisconfigurat tion,youdistrib butethetestcontrollerandtes stagentsacross s terstoscaleout ttheloadagent tsandincreasethetestload.Y You differentcomput mustinstallvirtualuserpackson m nthetestcontr rollercomputer rtoenabletesti ing. Th hisconfigurationenablestheu useofallCPUco oresontheload dagentcomput ters. Th hisconfigurationissuitablewh hereateamwill lbeperforming gtesting. Optionally,youc canusetheclien ntcomputerru nningVisualStu udioasthetest t co ontrollercompu uter.Thisconfig gurationenable esallcoresandmorethan250virtual us sersontheclien ntcomputer,bu utisonlyrecom mmendedforscenarioswhere an individualwillperformtesting.
Af fteryouhavech hosenyourconfigurationforV VisualStudio,yo oushouldcreate eanewproject tinVisual St tudio.Theproje ectrequirescon nfigurationoftw woelements:
PlanningforPerformance eandCapacity
529
Loadtests.L Loadtestsareacollectionofte eststoperform asabatch.Loa adteststypically yincludeanum mberof Webtestsan ndenableyout toconfigurerat tiosbetweenth heindividualWe ebtestsinclude edintheloadte est.
Note: Visual Stu udio loadtest projects can in nclude a think time variable, which is in k ntended to mir rror the be ehaviorofusers sbrowsingaWebsite,suchas pausingbetwe eenpages.Fort hetesttoretur rnarawRPSv value,it isrecommended dthatyouignore ethisfeature.
n rformance coun ntersfrom the serversthat y are e you In addition, you can configure Visual Studio to capture per te estingduringthetest.Youmus staddanycountersthatyouw wanttocapture totheloadtes stproject.
Yo oucanalsospec cifythedurationfortheloadtest.Youshould druntheloadte estoveraperio odthatwillensu ure th hatalloperation nalfactorsareincluded,sucha astimerjobsor indexcrawls.
Note:Youcanus setheLoadTest tingToolkit(LTK K)totestwheth heranexistingO OfficeSharePoi int2007topolo ogy ca ansustainanup pgradetoShare ePointServer20 010withthesam meload.TheLT TKisavailableaspartofthe Sh harePoint2010Administration nToolkit.
530
SharePointBootCamp
Ca achinginShare ePoint2010
KeyPoints
Sh harePoint2010hasseveralme ethodsofcachin ngdataandobje ectstohelpimp proveperforma ancefortheend d us ser.
Whenaclientrequestsapage,a W acopyofthepa ageisstoredtem mporarilyinthe eoutputcache.Althoughthed duration of fthecacheisty ypicallysmall(th hedefaultis60 seconds),thisc cangreatlyassis sttheperforma anceofWFEser rversand re educelatency.
Ca acheprofilesar reavailablesothatsiteadminis stratorscancon ntroltheoutput tcachebehavio or.Administrato orscan alsodeterminew whetherdifferen ntusers,suchascontentedito ors,receivecach hedpages.Youcanadjusttheo output acheatthesite, ,sitecollection, ,orWebapplica ationlevel. ca
Sh harePoint2010usestheobject tcachetotemp porarilystoreob bjectssuchaslis rpagelayoutso onthe sts,libraries,or WFEserver.ThisenablestheWF W FEservertoren nderpagesmore equickly,reduc cingtheamoun ntofdatathatis s re equiredfromtheSQLServerda atabases.Youca anadjustthesiz zeoftheobject tcacheatthesitecollectionan ndWeb ap pplicationlevels s.
Sh harePoint2010hasaBLOBcac chethattemporarilystoresdig gitalassets,such hasimageormediafiles,buty youcan us seitwithanyfiletype.Usingth heBLOBcache inconjunctionwiththeBitRat teThrottlingfeatureinIIS7.0also en nablestheprogressivedownloadfeatureford digitalassets.Pr rogressivedown nloadenablest thedownloado ofmedia fil lesinchunksofdata,andplayb backcanstarta aftertheclientd downloadsthe firstchunkrath herthanthewh holefile. Yo oucanenablea andcontrolthesizeoftheBLOBcacheattheW Webapplicatio onlevel.Thedef faultsizeis10G GBand th hedefaultsettin ngisdisabled.
PlanningforPerformance eandCapacity
531
Fo ordeployments swhereyouwanttomakeuse ofdigitalassets s,youshoulden nabletheBLOB Bcacheforther relevant Webapplications W s.Youshouldpe erformthechan ngeonallofthe eWebserverst thathostthesp pecificWebapp plication. Iftherearelargequantitiesofd digitalassetsort theyareheavily yused,conside rincreasingthe esizeoftheBLO OB ache.Alternativ vely,youcande edicateaspecificWebapplicat iontomediafiles,suchasdigit talassets,and ca co onfigureamuch hlargerBLOBca acheforthatW Webapplication .
AdditionalRea A ading
532
SharePointBootCamp
Lesson3
Yo ourinitialplann ningforaSharePointServer20 010deployment tmustincludes sufficientstorag gecapacityto ac ccommodateth hecontentthatuserswillstore einSharePoints storagereposito ories,andthea additionalneedsofthe Sh harePointfarm, ,includingadministrativeands serviceapplicat tionrequiremen nts.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Identifycapacityrequireme ents. Identifyarch hitectureandst torageelementsinSharePoint 2010thataffec ctcapacityplan nning. Identifysupportingenviron nmentalfactorsthataffectcap pacityplanningi inSharePoint2010. Identifystor rageanddataba aseoptionsfora aSharePointfa rm. Identifycontentconsiderat tionsthataffect tcapacityplann ning.
PlanningforPerformance eandCapacity
533
Ca apacityinaBusinessContext
KeyPoints
WhenITprofessionalsdiscussca W apacity,storage eistypicallyatt theforefrontof fthatdiscussion n.However,itis s im mportantthatyouconsideroth heraspectsofca apacity,suchas snetworkcapac cityorperformancecapacity.
Sh harePoint2010storesmostcontentinSQLServerdatabases; ;therefore,cap pacityplanningf forstorageinvo olvesa largeamountofdatabaseplann ning.Itisimport tantthatyouun nderstandcontentcharacteristicstoplanfor the orpus(thetotalamountofdatatostoreinSharePoint2010). sounderstandh howlogical co .Youshouldals ar rchitecturefitst togetherwithd databasestorag ge.Thiswillenab bleyoutoplan fortherightnu umberofdatabases, sp plitcontentamo ongdatabasesc correctly,andplanfordatabas segrowth.
Yo oumustalsoco onsidernetwork kcapacity,particularlyinterms sofclientacces ssconnectionst toWFEservers and ap pplicationserve ersinsomecase es.NewfeaturesinSharePoint 2010suchasO OfficeWebApps sanddigitalass set st torageandplaybackintroduceadditionalnetw worktrafficreq uirementsover rpreviousversionsofOffice Sh harePoint.
Finally,considerthebusinessrequirementsfor thesolution.W Whatarethepe erformancerequ uirements?Willthe olutionhaveperformancehead droomtoenabl legrowthinuse erswiththesam meperformance erequirements s? so
534
SharePointBootCamp
Pr rinciplesofCapacityPlanningforSharePo oint2010
KeyPoints
Whenyousizeca W apacityrequirem mentsforstorage,itisimporta anttoidentifyh howdifferentst torage re equirementsanddifferentdata atypeswillaffe ectdatabaseand dsitecollection ndesign.
alSharePointco ontentdatabase eshouldnotgro owbeyondthesupportedlimit tof200GB. Anindividua Anindividua alfilethatyous storeinSharePo oint2010canno otbelargerthantheboundary ylimitof2GB. Asinglelistr rowcannotexc ceedtheboundarylimitof8,00 00bytesperrow w.
an100GB)tost toreinSharePo ointcontentdat tabases,youmu ust Ifyouhavelargequantitiesofdata(greatertha onsiderhowtoarrangethatda atainmultiples sitecollections. Thisisbecause esitecollections scannotspanseparate co co ontentdatabase es.
If you want to make quantities filesavailableto SharePo m sof oint2010 users s,you can store esomecontent for t xample, archive or static files e sin other con ntent sources, such as a netw work file share You can mak this e. ke ex co ontentavailable etousersthrou ughsearchorlin nksinSharePoin nt2010.
eextrastorage .Digitalassetss Ifyouplantosto oreandmanage edigitalassets,y youmayrequire suchasmediafilesare raditionallymuc chlargerthand documents. tr
Yo oumustalsopla anyoursearchc capacityrequire ements,becaus sethereareadd ditionallimitsth hatareassociat ted withsearchindex w xes.Theselimitsincludethenu umberofcrawl databasesand themaximumindexitemlimit.
PlanningforPerformance eandCapacity
535
AdditionalRea A ading
536
SharePointBootCamp
Pr rinciplesofCapacityPlanningforSupport tingElements s
KeyPoints
In nadditiontopla anningcapacityrequirementsf fortheelement tsofthesolutio onthatarespec cificto Sh harePoint2010, ,youmustalsoplanthecapacityofsupportin ngelementsint thenetworkenv vironment.
Yo oushouldplace edomaincontro ollersonthesam mehighspeedn networksegme entastheShare ePointfarm,tos support lo ogonrequestsat ttheSharePoin ntfarmortosup pportaconnect tionforimporti inguserprofiledatafromtheA Active Directorydirect toryservice.
Ifuserswillbeco onnectingoverw wideareanetw work(WAN)orI nternetlinks,youshouldconsiderthequantityof atathatclientstransmitandre eceiveoverthe linkandthenu umberofconcu rrentusersont thelink. da
Sh harePoint2010introducesnew wfeaturesthataffectnetwork traffic.Thefoll lowingtablelist tsthenew fe eatures,withan noverviewofth hetrafficandpa ayloadquantitie es.
ent Clie Of fficeWebApps Po owerPointWebbroadcast MicrosoftWord2 2010andMicro osoftPowerPoin nt 20 010clientapplic cations MicrosoftOneNo oteclientapplication Ou utlookSocialCo onnector MicrosoftShareP PointWorkspace e2010
Payload
Mediu um Low Low High Mediu um Mediu um
PlanningforPerformance eandCapacity
537
In nadditiontopla anningcapacityforSharePoint tcontentstorag ge,youmustpla ancapacityfora additionalSQLS Server re equirements,su uchastransactio onlogstorage.S SQLServercrea atesandexpand dstransactionlo ogsasadditiona al op perationsoccur rtocontent,suc chasaddingne ewcontentorm makingchanges toexisting co ontent.Youcan nmanagetransa actionlogsintw wodifferentwa ys:
Regularlybackupthedatab bases.DuringaSQLServeraw warebackuptask k,transactionlo ogdataisbacke edup andthetran nsactionlogistr runcatedtofree espaceonthet transactionlogdisk.Thisoptio onrequiresenough diskspaceto oenablethetra ansactionlogto ogrowsufficien tlybetweenbackups.
Note:Thedataba asemodelalsoaffectsthereco overabilityofco ontentdatabase esandadvancedfeaturessuch has da atabasemirroring.Ifyoubackupadatabaseu underthesimp lemodel,youc canonlyrestore ethedatabaset tothe tim meofthebacku up.Ifyoubackupadatabaseu underthefullm model,youhave ethecapabilitytorestorea da atabasetothet timeoffailure.Thefullmodelisrequiredtos upportdatabas semirroring.
538
SharePointBootCamp
KeyPoints
Af fteryouhaveestablishedthef featuresthatyo ouwanttoprov videinthesolut tionandthedat tasetthatyouw wantto su upport,youmus stconsiderthebusinessrequir rementsfroma capacitystandpointtomaked decisionsabout t st toragerequirem ments.
Fo ordatabaseserv vers,youmustdecideonthen numberofdata basesthatyourequire.Specifi icservice ap pplications,suchastheManag gedMetadataSe erviceortheUs serProfileServi ice,requireadd ditionaldatabases. In naddition,yourcontentdataba asesareconstra ainedbythefolllowingarchitec cturallimitsinS SharePoint2010 0:
Asinglesitecollectionshou uldnotbelargerthan100GB,unlessitistheo onlysitecollect tionina database. shouldnotbela argerthan200G GB. Asinglecontentdatabases Asitecollectioncannotspa anmultipledata abases.
Th heselimitswilld drivethechoice ethatyoumake eaboutthenum mberofsitecol lectionsandda atabasesthatyo ou re equire,basedon nthequantityo ofstoragethati isrequiredinSh harePoint2010 .Inaddition,fo ormanagement t pu urposes,suchas sbackupandre estore,youmay ychoosetoimp plementalarger rnumberofsm mallerdatabases s ra atherthanasmallernumberof flargedatabase es.
Yo oumustalsoco onsiderthestora agehardwarere equirements.Y YourchoiceofR RAIDimplement tationwillaffec ctthe qu uantityofdisksthatyourequir reandthecost ofyoursolution n.IfyouplanamirroredSQLS Serverimplementation, yo oumustduplica ateyourdataba aseandtransact tionlogstorage e.Ifyouplanto useSANforsto orage,correctly ysize th heSANvolumes s,includingtran nsactionlogsandconfiguration nandserviceap pplicationdatab baseswhere ap ppropriate.
Note:Itisrecommendedthatyo ourplaninclude essufficientfre eespacetoenab bledatabasegr rowthovertime e. herecommendedvalueoffree espaceonthec contentdatabas sedisksshould beequaltothe edatabasesize, Th af fteryoupopulatethedatabase ewiththeplann nedcontent.
PlanningforPerformanceandCapacity
539
Afteryouhaveestablishedyourinitialcapacityrequirements,createabaselineandmonitorstorageovertimeto identifytrendsinstoragegrowth.
Question:Whyshoulddatabasesizetypicallybekeptbelow200GBforeachdatabase?
540
SharePointBootCamp
PlanningforCo ontentCharacteristics
KeyPoints
Differenttypeso ofcontentandtherequirementsforthatcont tentstorageinS SharePointcansignificantly ncreasethestor ragecapacityrequirementfora aSharePointso olution. in
Documents D
Ty ypically,documentstakeupthesameamount tofspaceinSha thattheytakeu upinatradition nal arePoint2010t fil leshare.Howev ver,additionalf featurerequirementscansigniificantlyincreas sethestorageb burdenfor do ocumentsordig gitalassets.
DigitalAssets D
Pr reviousversions sofMicrosoftO OfficeSharePoin nthadfewdigit talassetcapabil lities.Withtheimprovementsin Sh harePoint2010, ,manyorganiza ationsmaycons siderstoringdig gitalassetsinSh harePointconte entdatabases.
VersionHistor V ry
Do ocumentlibrari iescanstorehis storicversionso ofdocumentse achtimeauser rmakesachang ge.Historicdocument ve ersionstakeupanadditionalamountofstorageaccordingto othehistoricve ersionsize.Thismeansthata do ocumentwith1 10versionsthat tareallapproximately10MBi nsizetakesup 100MBinthecontentdataba ase.
Metadata M
Ad ddingmetadata atodocuments sincreasesthes sizeoftheconte entdatabasean ndthesearchpropertiesdatab base.If yo oudonotknow wthequantityofmetadata,for rplanningpurpo oses,useanest timateof10KBforeachitem.
RecycleBinBe ehavior
Whenyouconsid W derdatabasefile esize,youmust ttakeaccounto oftheSharePoi eBinbehavior.The int2010Recycle se econdstageRec cycleBinusesanadditionalpercentageofthe esitecollection quota.Therefo ore,fora
PlanningforPerformanceandCapacity
541
databasewithasinglesitecollection,ifthesecondstageRecycleBinissettouse50percentofthesitecollection quotaandthesitecollectionquotaissetto50GB,thedatabasefilecouldgrowtobe75GBinsize.
542
SharePointBootCamp
Lesson4
Yo oumustplanth hecapacitytargetsandhowyo ouwillachievet themforallSha arePointdatast torage.Ifyoudo onot pl lanenoughstor rage,includings storageforgrow wth,yourShare ePointfarmmay ynotbeableto omanageuser de emands.Inadditiontocalculat tingthestorage erequirements forcontentdat tabases,thiswillincludeplann ningthe ca apacityofconfig gurationdataba ases,databases sforserviceapp plications,searc chrelateddatabases,andinde ex pa artitions.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Designcapacityforconfigurationdatabase es. Designcapacityforserviceapplicationdatabases. Designcapacityforcontent tdatabases. Designcapacityforsearchd databasesandindexpartitions s. Planforrem moteBLOBstora ageforSharePo oint2010.
PlanningforPerformance eandCapacity
543
KeyPoints
Th herearetwoke eyconfiguration ndatabasesfor aSharePoint20 010serverfarm m:
Configuratio ondatabase.Th heconfiguration ndatabasehold dsthefarmconf figurationdata, ,suchasnumbe erof Webapplica ations,managed dpathconfiguration,andfarm mmembership.T Theconfigurati iondatabaseis typically lessthan1G GBinsize,butlo ogfilegrowthcanbesignifican ntovertimeasy youmakemore econfiguration changes tothefarm.Tomitigatethe eloggrowth,yo oushouldconsiiderregularSQ LServerbackup psoftheconfiguration databaseorchangingthed databasemodel tosimple.The configurationd databasehasareadintensiveusage profile. CentralAdm ministrationdata abase.TheCent tralAdministrat tiondatabaseh holdstheconten ntforthe CentralAdm ministrationsitecollection.This sistypicallyless sthan1GBinsize,unlessyoud deployMicroso oft PowerPivotinthefarm.Ify youdothis,the CentralAdmin istrationdataba asecangrowsignificantly becauseoft thePowerPivotdatahistorysettings.
Note:PowerPivo ottracksallofth heinformation aboutwhoisus singworkbooks sinSharePoint2010toprovide ea WorkbookActivitychart.Thisin W nformationissto oredintheCen ntralAdministra ationdatabase;overtime,this can gr rowtoasignific cantvolume.
AdditionalRea A ading
544
SharePointBootCamp
DesigningCapacityforServiceApplicatio onDatabases
KeyPoints
Th hereareseveralserviceapplica ationdatabases s,thesizeofwh hichcanrangef fromsmall(less sthan1GB)toe extra large(1terabyteorlarger).Youmustunderstandwhichofthe esedatabasesc canrequirelarge evolumesofstorage, ndthereasonsf forthestoragerequirements,sothatyoucan nplanaccording gly. an
Database
Size guideline
Read/write characteristics
Description n
1GB Verywriteheavy Thisdatab basestoreshealthmonitoringandusagedata a temporar rily,andyoucan nuseitforrepo ortingand morethan diagnostic cs. 1terabyte Lessthan 1GB Lessthan 1GB Veryreadheav vy Readheavy Thisdatab basestoresexte ernalcontentty ypesandrelated objects. Thisdatab basestoresbackwardcompati ibleinformation nfor theOffice eSharePointSe rver2007Busin nessDataCatalo og applicatio onprogrammin ginterface(API I).Youtypically yonly requireth hisdatabaseinu upgradescenar rios. Thisdatab basetemporari lystoresunaggregatedfactdata, assetmet tadata,andque euedbatchdata afortheWebA Analytics serviceap pplication. Thisdatab basestoresaggregatedstandardreporttables s,fact dataaggr regatedbygrou psofsites,date eandasset metadata a,anddiagnosti icsinformationfortheWeb Analyticsserviceapplicat tion. Thisdatab basestoresand dmanagesusers sandassociated d
1GB100 GB
Variable
Us serProfile
Readheavy
PlanningforPerformance eandCapacity
545
Database
Se erviceProfile
Size guideline
terabyte
Read/write characteristics
Description n informati on.Italsostore esinformationa aboutauser's socialnet tworkinadditio ontomembersh hipsof onlistsandsite es. distributio Thisdatab basestorescon figurationands stagingdatawh hen synchroniizingprofiledat tawithdirector ryservicessuch has ActiveDir rectory. Thisdatab basestoressoci ialtagsandnotesthatusers create,alo ongwiththeirr respectiveURLs s. Thisdatab basestoresman nagedmetadata aandsyndicate ed contentty ypes. This data abase stores te emporary state information for InfoPathF FormsServicein nstances,thech hartWebPart,and VisioServ viceinstances.
Us serProfile 1GB1 Se ervice terabyte Sy ynchronization Us serProfile Se erviceSocial Ta agging Managed Metadata State
Note:Theread/w writecharacteri isticsofthedat tabaseshouldin nfluenceyourdecisionaboutstorageinareas suchas AIDconfiguratio on.Differentph hysicaldisktype esanddifferent tRAIDconfigura ationscanprovidedifferentre eadand RA writeperformance.Forexample w e,RAID5typica allyhaspoorwr iteperformanc cewhencomparedwithRAID1 1.
AdditionalRea A ading
546
SharePointBootCamp
DesigningCapacityforCont tentDatabase es
KeyPoints
Th hefollowingpro ocessdescribeshowtoestimat tethestoraget thatyourequire eforcontentda atabases, withoutconsider w ringlogfiles:
1. Calculatethe . eexpectednum mberofdocume ents.Drepresen ntsthisvalueintheformulaat ttheendofthis slist. 2. Estimatethe . eaveragesizeofthedocument tsthatyouwillbestoring.Sre presentsthisva alueintheform mula attheendo ofthislist. 3. Estimatethe . enumberoflist titemsintheen nvironment.Lre epresentsthisv valueintheform mulaattheend d ofthislist.Listitemscanbe emoredifficult toestimatetha andocuments,p particularlyifth hereisnoexisti ing 2010implemen ntationtobaset thison.Asagen neralguideline, ,estimatethree etimesthenum mberof SharePoint2 documents. 4. Determinetheapproximate . enumberofversions.Estimate etheaveragen umberofversio onsthatany documentin nalibrarywillh have.Vrepresen ntsthisvaluein ntheformulaat ttheendofthis slist.ThevalueofV mustbeatle east1(forasingle,currentver rsion). 5. Usethefollo . owingformulat toestimatethe sizeofyourcon ntentdatabase s: Da atabasesize=((DV)S)+(1 10KB(L+(V D))) datathatShare Th hevalueof10K KBintheformulaisaroughest timateoftheam mountofmetad ePointServer ecalculations. 20 010requires.Yo oushouldgivea andcalculateallsizevaluesinK KBtoensureco onsistencyinthe
Note:Thefeatur resthatyouareusingwilldeterminehowyou ucalculatethen numberofdocu uments.Ifyoua are migratingfromacurrentsystem m m,itmaybeeas siertoextrapola ateyourcurren tgrowthrateandusage.Ifyou uare cr reatinganewsy ystem,reviewy yourexistingfile esharesorothe errepositoriesa andestimateba asedonthatusa agerate.
PlanningforPerformance eandCapacity
547
AdditionalRea A ading
Fo ormoreinformationaboutsto orageandSQLS Servercapacityp planningandco onfigurationinSharePoint
20 010,see ht ttp://go.micros soft.com/fwlink k/?LinkID=20086 63&clcid=0x409 9.
548
SharePointBootCamp
KeyPoints
Th heimplementat tionofsearchin naSharePointf farmcanhaves significantimpa actonstoragerequirements.W Whena se erverthathosts sthecrawlroleperformsacraw wloncontent,t thefollowingev ventsoccur:
Searchentriesarecreatedo orupdatedinanindexpartitio on,whichisheld doncrawlandqueryservers. Metadataab boutcrawledite emsisaddedto otheSearchSer rvicepropertyd database. TheSearchS Servicecrawlda atabaseisupdatedwithinform mationaboutth hecrawlstate.
Th hefollowingtab bledescribesth hethreedatabasesthatareass sociatedwithth heSearchServic ceapplication,w with sizeandread/wr ritecharacterist tics.
Database
Size guideline
Read/write characteristics
Description n SearchServicea application Thisdata basehoststheS ation,theacces sscontrollist(AC CL),andbestbe etsfor configura thecrawllcomponent.Ev veryuseranda administrativea action requiresa accesstothisda atabase. Thisdata basestoresthestateofthecra awleddataandthe tory. crawlhist Thisdata basestoresinfo ormationthatis sassociatedwit ththe data,includingp properties,history,andcrawlq queues. crawledd
1GB1 terabyte
PlanningforPerformance eandCapacity
549
In ndexPartition ns
Yo oumustalsopla anforindexpar rtitionstorageo onthequeryse ervers.Indexpartitionsholdap partofthecont tent in ndex(ortheent tirecontentindex)againstwhic chSharePoint2 2010runsqueri iestoprovidese earchresults.Youcan di istributetheind dexpartitionsto oimproveperfo ormance.Thesiizeoftheindex xandindexpart titionsaredetermined by ythesizeofthe ecrawledcorpu us,andtheyrangefrom1GBto o1terabyte.Fo orgeneralsizing gguidelines:
Theindexmayoccupy5to10percentofthecrawledcor pussize.
Note:Theindexserversbuildsm mallpartsofthe eindexbeforef forwardingthes separtstotheq queryservers.T The ndexserversreq quireasmallam mountoflocalst torageforthisp process. in
AdditionalRea A ading
550
SharePointBootCamp
KeyPoints
BL LOBsaredatae elementsthatha aveeitherofth hefollowingcha aracteristics:
Unstructure eddatawithnoschema(sucha asapieceofenc crypteddata). Alargeamountofbinaryda ata(manymega abytesorgigab ytes)thathasa averysimpleschema,suchasimage files,docum ments,streaming gvideo,orsoun ndclips.
By resultinadram ydefault,Share ePoint2010storesBLOBsinthe econtentdatab bases.Thiscanr maticsize in ncreaseforthec contentdatabaseandassociate edstoragerequ uirements.
Sh harePoint2010withSQLServe er2008R2supp portsremoteBL LOBstorage.WitharemoteBLOBstorage pr rovider,remote eBLOBstoragecanstoreBLOB Bdataoutsideth hecontentdata abaseonsepara atestorage.
SQ Server 2008 Enterprise an SQL Server 2008 R2 Ente QL 8 nd r erprise also off remote BL ffer LOB storage wi ithout FILESTREAMthat tcanuseNASo orDASstorage,andadditionallthirdpartyrem moteBLOBstorageoptionsm maybe vailable. av
Note:Itisimport tanttoidentifythatSharePoin nt2010(rathert thanSQLServe r2008)support tstheuseofthe e emoteBLOBsto orageprovidert thatyouwantto ouse. re
AdditionalRea A ading
PlanningforPerformanceandCapacity e
551
Lab:PlanningforPerf n formanceandCapacity
552
SharePointBootCamp
Exercise1:CreatingaPerformance Plan
Scenario
Havingcompletedthelogicalarchitectureplanningandserviceapplicationplanningactivities,youmustnow identifythenumberofWFEserversthatarerequiredfortheContoso,Ltd.SharePoint2010productionfarm.
Thereisadditionalplanninginformationavailableinthesupplieddocuments.Usethesedocumentstoproduce yourperformanceplan.
Themaintasksforthisexerciseareasfollows:
1. Readthesupportinginformation. 2. CompletethePerformanceworksheetinthePerformanceandCapacityPlanningWorksheet.xlsxfile.
Task1:Readthesupportinginformation
1. 2. 3. 4. 5.
PlanningforPerformanceandCapacity
553
Exercise2:CreatingaCapacityPlan
Scenario
YounowneedtoplanthestoragerequirementsforContoso,Ltd.Thereisadditionalplanninginformationavailable inthesupplieddocuments.Usethesedocumentstoproduceyourcapacityplan.
Themaintasksforthisexerciseareasfollows:
1. Readthesupportinginformation. 2. CompletetheCapacityworksheetinthePerformanceandCapacityPlanningWorksheet.xlsxfile.
Task1:Readthesupportinginformation
1. Reviewthelabscenario. 2. IntheE:\Labfiles\Lab03\Starter\folder,readtheinformationunderDatasetintheRightSizing SharePointServer2010DeploymentssectionoftheSPServer2010CapacitySizingOverview.docxfile.
Task2:CompletetheCapacityworksheetinthePerformanceandCapacityPlanning
Worksheet.xlsxfile
InthePerformanceandCapacityPlanningWorksheet.xlsxfile,intheCapacityworksheet,completethe detailstoestablishthedatabasestoragerequirements.
554
SharePointBootCamp
ModuleRe M eviewandTakeaway ys
ReviewQuesti ions
1. Whatarethetwotoolsthat . tyoucanuseto omeasurethep performanceof faWFEserverinaSharePointtest farm?
2. Whenyouca . alculateconten ntdatabasesize,youmustestim matethenumb berofstoreddocuments. Shouldyoue estimatethenu umberofversio onsofdocument tsthatyouwill keep? 3. Whatisthemaximumrecommendedsizef . foracontentda atabase? 4. WhatistheBLOBcache? . 5. IstheShareP . Pointsearchind dexstoredinad database?
Understand youruserrequirements. Establishyou urorganizationsperformance eandcapacityre equirements. Deployates stfarmforperfo ormancetestingonsimilarhar rdwaretoyour productionenv vironment. Estimatethe econtentdatab basesizethroug ghcalculationo rfromexisting storagerequire ements. Limitdataba asesizeto200G GB. Limitsitecollectionsizeto100GB. Planstorage efortransaction nlogs. Planstorage eforserviceapp plicationdataba ases. EnableBLOB Bcachingfordig gitalassets.
Module6
DesigningaPhysicalArchitecture
Contents:
Lesson1:DesigningPhysicalComponentsforSharePointDeployments Lesson2:DesigningSupportingComponentsforSharePointDeployments 616 Lesson3:SharePointFarmTopologies Lesson4:MappingaLogicalArchitectureDesigntoaPhysical ArchitectureDesign Lab:DesigningaPhysicalArchitecture
62
Sha arePointBootCamp
Whenyoudesign W naMicrosoftS SharePoint201 10deployment ,youmustcare efullyconsidert thehardwarean ndfarm to opologyrequirements.Yourchoicesofserver hardwareandt thenumberofs serversthatyou uspecifyforthe efarm ca anhaveasignificantimpacton nhowthefarm meetsuserreq uirements,how wusersperceive etheSharePoin nt so olution,andhow wlongbeforeth hefarmrequire esadditionalha ardware.
Th hismoduledesc cribesthefactorsthatyoushouldconsiderwh henyoudesign thephysicalarc chitectureofa Sh harePoint2010deployment.Thephysicalarch hitecturerefers stotheserverd design,farmtop pology,andsup pporting elementssuch asnetworkinfr rastructureforyourdeploym ment.Thisphysic calarchitecture eunderpinsthe op perationsofyou urSharePoint2010environme ent,soitisessen ntialthatyourp physicaldesignfullymeetsthe e op perationalrequirements.
Objectives O
Af ftercompleting gthismodule,youwillbeable to:
63
Lesson1
Be efore committing to specific numbers of servers, you m ust understand the basic ha s d ardware and so oftware re equirements.Inaddition,yous shouldalsocon nsideroptionss uchasserverv virtualizationan nddiskstorage choices be ecause these choices will ha a fundame c ave ental effect on management options and the planning o high n t of av vailability.Yous shouldalsonote ethattherema aybenonfuncti onal,orimplicit t,requirements sthattheorgan nization ex xpects from the SharePoint deployment. Ide d entifying these nonfunctional requirements is an important step e l to owardestablishi ingthebestdes signandgaining guseradoption n.
Objectives O
Af ftercompleting gthelesson,you uwillbeableto o:
Identifyservervirtualizatio onoptions.
Identifystoragechoices.
64
Sha arePointBootCamp
HardwareRequ uirements
KeyPoints
Th hefollowingtab bleshowsthehardwarerequir rementsforWe ebFrontEnd(W WFE)servers,app plication se ervers,andsingleserverinstallations.
mrequirement Minimum 64bit,fourcores. 4gigab bytes(GB)fordeveloperoreva aluationuse. 8GBfo orproductionuse(singleserve erormultiplese erverfarm). 80GBf forthesystemd drive. Inprod ductionuse,you uwillrequiread dditionaldisksp pacefordailyoperations.Youshould mainta aintwiceasmuc chfreediskspa aceasRAM.
omponent Co Processor(CPU)
Minimumre equirement 64bit,fourcoresforsmalldeployment s(seeStandard dFarmTopolog gieslaterinthi is module). 64bit,eig ghtcoresforme ediumdeploym ments(seeStan ndardFarmTopologieslaterin nthis module). 8GBfors smalldeployme ents. 16GBfor rmediumdeplo oyments. 80GBfor rthesystemdrive. Additiona aldatabasestor rage,basedonc contentrequire ementsandfarm m
Memory(RAM) Ha arddisk
65
omponent Co Minimumre equirement configura ation.
Note:Theminim mumrequirementvaluesforad databaseserver rarehigherthantheminimum m equirementsfor rinstallingMicr rosoftSQLServe erduetothes significantloadonthedatabas seservers re in naSharePointfa arm.
AdditionalRea A ading
66
Sh harePointBootCamp
SoftwareRe equirements s
KeyPoints
WFEandapplicationserversina W afarmrequiret thefollowingso oftware:
WindowsSe erver2008Sta andard,Enterprise,Datacenter r,orWebServe r(66bitedition n)withService Pack2(SP2 2).Alternatively,WindowsServ ver2008R2Stan ndard,Enterprise,Datacenter, ,orWebServer r.
Webserver r(InternetInformationServices(IIS))role.
Applicationserverrole.
MicrosoftFilterPack2.0.
WindowsPo owerShell2.0.
SQLServer2 2008NativeClient.
nsportsecurityormessageenc Note:Anupdatetosupporttokenauthenticati ionwithouttran cryptionin WindowsCommunicationFound W dation(WCF)is srequiredforth he.NETFramew work3.5SP1inW WindowsServe er 20 008SP2orWindowsServer20 008R2beforeyo ourunSetup.
67
Da atabaseservers srequireany66 6bitversionofW WindowsServe er2008(orWin dowsServer20 008R2)withone eof th hefollowingdat tabasesinstalled:
SQLServer2 2008R2.
AdditionalRea A ading
68
Sha arePointBootCamp
VirtualizationCo onsiderations s
KeyPoints
Se ervervirtualizat tionwithHyper rVonWindow wsServer2008 isbecomingco ommonplaceinmanyorganizat tions. Co ompaniesusevirtualizationtoimproveserver rutilizationand dmanagement, ,addflexibilityt todatacenters, ,or de ecreasethecoststhatareassociatedwithrun nningmultiplep physicalservers.
Ifyoutaketheco orrectplanningandsizingstep pspriortodeplo oyment,thenyo oucanvirtualize esomeorallof fthe erversinaShare ePointfarmsuc ccessfully. se
WFEandApplicationServe W ers
WFEandapplicationserversare W ebothgoodcan ndidatesforvirt tualization.Youshoulduseper rformanceandc capacity pl lanningguidelin nestoplanthenumberofserv versthatyoureq quire.Youshou uldthenconside erwhichofthese se erversyouwant ttovirtualize.
Ifyouplantovirt tualizeseveral,orperhapsall, oftheWFEand dapplicationse rvers,youmayrequireadditio onal ceasthesamen numberofphys sicalserverswo ouldachieve.Th his virtualserverstoachievethesameperformanc equirementresu ultsfromthepe erformanceove erheadofthevi rtualizationpla atform.UsingW WindowsServer 2008 re R2 2HyperV,youcanachievenearparitytophy ysicalperforman ncewiththeco orrectplanning.
DatabaseServ D vers
Vi irtualizingdatab baseserversrun nningSQLServe erisadifficultd designdecision, ,becausethepe erformance ov verheadofthevirtualizationplatformcanaffecttheentires solution.Howev ver,SharePoint2010fullysupp ports virtualizeddatab baseservers.
Yo oucanalwaysa addmorevirtua aldatabaseserv verstoimprove performanceif frequired.Inad ddition,yousho ould allocatethesame elevelofhardw wareresources, suchasprocess sorcoresandm memory,tothevirtualserverasyou wouldtoaphysic w calserver.
69
HighAvailabili ity
Yo ourvirtualizatio onplatformmay yintroduceadd ditionalhighav ailabilityoption ns.Somevirtual lizationsoftwar re, in ncludingHyperV V,canmakeho ostedvirtualmachineshighlyav vailablewheny youconfigureafailovercluster rfor th hevirtualization nservers.Inthesecircumstance es,individualviirtualmachines s,suchasWFEo orapplication se ervers,canfailo overfromonev virtualhostserv vertoanother.
AdditionalRea A ading
610
SharePointBootCamp
St torageOptio ons
KeyPoints
When you plan for content storage on Sha W s arePoint 2010, you must cho oose a suitable storage architecture. e Sh harePointconte entstoragehasasignificantde ependencyonth heunderlyingd database;there efore,databaseandSQL Se erverrequireme entswilldrivey yourstoragecho oices.
St torageArchit tecture
Th hefollowingsto oragearchitectu uresaresuitableforSharePoin nt2010:
Directattach hedstorage(DA AS),wherehard ddisksareattac cheddirectlytothecomputerrunningSQLSe erver. Storagearea anetwork(SAN),whichusesa networkinfrast tructuretocon nectthecompu uterrunning SQLServertotheseparatediskstoragevolumes. Networkatt tachedstorage( (NAS)devicesm maybesuitable, ,undercertain circumstances, ,suchasforrem mote binarylargeobject(BLOB)s storage.Howev ver,thissupport tissubjecttopreciseNASspec cifications.
atabaseswithre emoteBLOBsto oragearetheo nlyconfiguratio oninwhichSha arePoint2010su upports Note:Contentda NASstorage.Any ynetworkstoragearchitecture emustrespond toapingwithin nonemillisecondandmustre eturn th hefirstbyteofd datawithin20m milliseconds.
DA ASistypicallyasignificantlych heaperoptionth hanSANstorag ge.However,DA ASusuallyoffers sfewermanage ement ca apabilitiesandf feweroptionsfo orhighavailabi ilityconfiguratio ons.SANstorag gecansupportf failoverclusteringin SQ QLServerandm mayprovideadd ditionaldisaster rrecoveryoptio ons,suchasSAN Nmirroring.
611
Note:Ingeneral, ,youshouldcho ooseaDASarch hitectureifash aredstorageplatformcannotguaranteeares sponse tim meof20millise econdsorlessandsufficientcapacityforavera ageandpeakI/ /Ooperationspersecond(IOps s).
RAID
Sh harePoint2010workswellwith hredundantarrayofindepend dentdisk(RAID) )basedstorage e,whichoffers im mprovedperformance,additionalfaulttoleran nce,orboth,de ependingonthe eRAIDoptionthatyouchoose e.The fo ollowingtabledescribesthemo ostcommonRA AIDtypes.
Description Offersimp provedperform mancebystripin ngdataacrossdisksinthearray y.Not faulttoler rant. Duplicates s(mirrors)data aontoaseconddiskinthearra ay.Faulttoleran nt,but nosignific cantperformanceimprovemen nt. Usesthree eormoredisks toprovidefaul lttolerantstora agewithlesswa asted spacethan nRAID1.RAID5 5typicallyoffer rsgoodreadI/O Ocharacteristics; however, diskwriteperfo ormanceistypicallyslowertha annormal,due tothe faulttoler rancerequirem ment. Usesacom mbinationofRA AID1toprovide efaulttoleranceandRAID0to o provideaperformanceim mprovement.M MoreexpensivethanRAID1or rRAID suresoptimumw writeperforma ance. 5,butens
RA AID10
DiskTypes D
Differentstorage earchitecturesu usearangeofd disktypes.Thes sedisktypesinc clude:
SerialAttachedSCSI(SAS).
SolidStateD Drive(SSD)orFlashDisk.
AdditionalRea A ading
Fo ormoreinformatio onabouthowtodesignstoragearc chitecturebasedo oncapacityandI/O O
requirements,seehttp://go.microso h oft.com/fwlink/?LinkID=200871&clcid d=0x409.
612
SharePointBootCamp
DatabaseConf figurationOptions
KeyPoints
Sh harePointconte ent,services,an ndconfiguration ndatabasesare estoredoncom mputersrunning gSQLServer; th herefore,thereareoptionsfordatabaseconfigurationthaty youmustconsid derinyourplanning.
Simplerecovery.Thismode elreuseslogfile espace.Thisocc cursaftertrans sactionshavebe eencommittedtothe databasebu utbeforeadata abasebackupoccurs.Thismod delreducestheamountofdisk kspacethatisre equired betweenco onsecutiveback kupoperations. However,ifac corruptionordi iskfailureoccur rs,youcanonly yrestore thedatabas setothelastba ackup.
Fulldatabas se.Thismodeln neverreuseslog gfilespace.Inst tead,itincrease esthesizeofthelogfile(andt the storagerequirement)whenitperformsnewtransaction s.Ifadatabase problemoccurs,itispossiblet to restorethedatabaseupto othelasttransa action,ifthetra nsactionlogfile eisintact.Fort thisreason,itisbest practicetostorethedatab baseandlogfile esonseparated disks.
Bulklogged ddatabase.This smodelisverys similartothefu ullmodel;thee exceptionisthat tbulkoperation nsonthe databasear reonlypartially yreproducedinthelogfile,sothesebulkoper rationscannotbeperformeda asa recoveryop peration.Thism modelisusefulfo orshortperiod sduringlargeb bulkoperations, ,butitisnot recommend dedforSharePo ointdatabases.
Database
Fa armconfiguratio ondatabase Ce entraladministr rationcontentd database Co ontentdatabase es
613
Database
Us sageandHealth hDataCollectiondatabase Bu usinessDataCon nnectivitydatab base Ap pplicationRegis strydatabase Se ecureStoredata abase Statedatabase WebAnalyticsSta W agingdatabase WebAnalyticsRe W eportingdatabase Se earchserviceapplicationadmin nistrationdatab base Se earchserviceapplicationCrawldatabase Se earchserviceapplicationPrope ertydatabase Us serProfileserviceapplicationp profiledatabase e Us serProfileserviceapplications synchronization ndatabase Us serProfileserviceapplications socialtaggingda atabase Managedmetada atadatabase WordAutomationServicesdatabase W Pe erformancePoin ntserviceapplic cationdatabase e Po owerPivotapplicationdatabase e
Default data abase recoverymodel Simple Full Full Full Full Full Full Simple Simple Simple Simple Simple Simple Full Full Full Full
Otherconsiderat tionsmayinclud detheplaceme entofthetempd dbdatabaseintheSQLServerfilesystem.Testing ndcustomerdatashowthatinsufficientdiskI/Oforthetemp pdbdatabasec cansignificantly yimpedeShareP Point an Se erver2010farm mperformance. Toavoidthisis ssue,allocatede edicateddisksfo orthetempdbdatabase.Forb best pe erformance,pla acethetempdb bdatabaseona RAID10array.
Note:Insomeor rganizations,ad dedicatedteamofdatabasead dministrators(D DBAs)willmanagethecomputers ru unningSQLServ ver.Intheseenv vironments,you umayneedtod discusstherequ uirementsforth heSharePoint da atabaseswithth heDBA.Thisdis scussionwillenabletheDBAto ounderstandth hefunctionand dpurposeofthe e da atabasesothatheorshecans selectthereleva antmanagemen ntoptions.
AdditionalRea A ading
Fo oranoverviewofr recoverymodels,see
http://go.microsof ft.com/fwlink/?LinkID=200872&clcid= =0x409.
614
SharePointBootCamp
Fu unctionalandNonfunctionalDesignMapping
KeyPoints
In nanydeploymentproject,ther rewillbebothf functionalandn nonfunctionalr requirements.
Itisimportantth hatyoursolutiondesigntakesa accountofthese efunctionalreq quirementsbec causethesetypi ically rivethesolution.Theserequire ementsmayhelpyoutocalcullatetheminimu umnumberofs serversthatyou urequire, dr ba asedonuserloa adandfeaturerequirements.T Theymayalsoh helpyoutocalc culatethenumb berofapplicatio on se erversthatyourequire,becaus seadditionalap pplicationservic cefeaturesaren necessary.
Th histableshowsexamplesoffunctionaldesignmappings.
In nadditiontofun nctionalrequire ements,youmu ustalsoplanfor rnonfunctional requirements.Nonfunctional re equirementsma aybeexistingpo oliciesthatyoumustuse,such hasasecuritypolicythatdetailsauthenticatio on methods.Thesen m nonfunctionalr requirementsm mayalsobeesse entialelementst usercommunity ydoes thattheendu no otdirectlyspecify,suchastheauditingofdoc cuments,which affectstoragerequirements.
Th histableshowsexamplesofno onfunctionaldesignmappings.
DesigningaPhysicalArchitecture
615
Requirement
Security
Design impact
Supportedauthenticationmethodsanduserstores
616
SharePointBootCamp
Lesson2
In nadditiontodesigningyourSharePointdeploy yment,youmu stalsoundersta andtherequire ementsofthe su upportingnetworkandservices.Youshouldco onsidersupport tingrequiremen ntssuchasDom mainNameSyst tem (D DNS)ortheActiveDirectoryd directoryservice ebecausethes ervicebehavior randrequireme entsmayaffect tyour fa armtopologyor rserverplaceme entwithinthen network.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
617
Re equirementsforActiveDir rectoryandDNS
KeyPoints
Fo orSharePointm multipleserverf farmdeployments,youwillreq quireanActive Directorydoma aininfrastructu ureto su upporttheauth henticationofse erviceapplicatio onaccounts.In addition,Activ veDirectoryisth hemostcommo onstore fo oruseraccounts stocontrolacce esstoSharePointcontent.
Al lthough this is a common con nfiguration for mostinternal corporate netw works,you sho ouldconsiderho this ow re equirementaffe ectsextranetan ndInternetfac cingfarmdeplo oyments.Youm maywanttoconsiderusingreadonly do omaincontrolle ers(RODCs)toa assistinsuchenvironments.
Yo oushouldalsop placedomainco ontrollersinthe esameActiveD Directorysiteas stheSharePoin ntfarmserversf forbest pe erformance.Co onfiguringdoma aincontrollersi inthesameAct tiveDirectorys siteasglobalcatalog(GC)serv versalso en nsuresoptimum mperformanceforGClookups, ,suchasusingt thePeoplePicke er.
In nyourDNSenvironment,yous shouldensureth hatyouhavepr rovisionedanyf fullyqualifiedd domainnames( (FQDN) fo ortheWFEserv versintotherele evantDNSzone es.TheseFQDN entriesmaybe erequiredtoen nableWebapplication na ameresolutionsuchasalterna ateaccessmapp pings.YourShar rePointserversmayalsorequir reInternetnam me re esolution,forex xample,ifyouw wanttodisplayInternetbased feedsonShare ePointWebpag ges.
618
SharePointBootCamp
DesignConsiderationsforIIS D
KeyPoints
Sh harePoint2010usestheIIScom mponentofWin ndowsServer2 008toreceivea andrespondto oWebbrowser re equests.YouperformmostSha arePoint2010configurationta sksinSharePointCentralAdministration,butyou sh houldbeawarethatyoumayh havetoperform msomeWebser rvicemanagem enttasksoutsid deSharePoint2 2010.
Yo may require encrypted Web traffic, for example, to p ou e W protect user ac ccess over the Internet. In t e this sc cenario,youcan nuseSecureSocketsLayer(SSL L)toencrypttra afficandestablishasecurecon nnectionbetwe een th heclientandth heWFEserver.T ToenableSSL,yourequireap properlyconfigu uredWebserve ercertificate.Y You pe erformtheinsta allationofthec certificatetotheappropriateW WebsiteinIIS.
Yo oumayalsoreq quireadditionalhostheadersfo oraWebapplic cation,suchasw whenyouconfi igurealternateaccess mappingstoenablemultipleUR m RLsforasinglec contentsource. .Inthisscenario o,youmustcon nfigurethehost theader in ntheIISManage erconsole.
Yo ouconfigurece ertainsettingsfo ortheWebapp plication,sucha sBLOBcachese ettings,intheW Web.configfile. .This fil leisstoredinth hedirectoryfortheWebapplic cationontheW WFEserver(s).
Ifyouhavemulti ipleWFEserver rsinthefarmth hathostthesam meWebapplica ations,youmust talsoconsiderhow yo ouduplicateandbackupthese esettingsonthe enecessaryWF FEserver.
619
KeyPoints
Mostsmallandm M mediumsizeSha arePointfarmd deploymentsus seasingledatab baseserverasastarting po oint.Onlyastra ansactionlevels sincreasewillad dministratorsco onsiderscaling outtolargerfarmtopologies.There ar reseveralreaso onstoconsiderm multipledataba aseserverstosu upportaShareP Point2010farm m: Youcanuse eadditionalcom mputersrunning gSQLServerto distributeI/Oo operationsanddatabase accessloadsforheavywor rkloads.Thiscon nfigurationcan beforaservice eapplication,su uchassearch,o orto separatehe eavycollaborationbasedsitec collectionsfrom mothercontent .
Youcanuse easecondcomp puterrunningS SQLServertoim mplementaform mofdatabaseh highavailabilitythatis knownasdatabasemirrori ingorlogshipping.Databasem mirroringcopies stransactionlo ogdatafromthe e computerrunningSQLSer rverthatholdst thelivecopyof thedatabaset oastandbyser rverwithaseco ond copyofthatdatabase.Ifth helivedatabase efails,thestand dbyserver cantakeov verdatabaseop perationsinapr rocessknownas sfailover.Datab basemirroringr requiresacopy yofthe databasean ndlogfilesonb boththeliveand dstandbyserve ers.
Youcanuse eadditionalcom mputersrunning gSQLServerto implementafo ormofserverhighavailabilityknown asfailoverc clustering.Failo overclustersreq quiresharedsto orage,suchasaSAN,tosharet thedatabasevo olumes andlogfiles samongmultip pleinstancesofSQLServerrunn ningondifferen ntclusternodes.Thisarrangem ment offersaddit tionalscalability ybeyonddatabasemirroring.B Basedonlicensingrequiremen nts,thefollowin ngtwo failoverclus sterconfigurati ionsareavailab ble:
Youcan nuseSQLServerStandardand WindowsServe erEnterpriseon neachclustern nodetocreatea atwo nodefa ailovercluster. Youcan nuseSQLServerEnterpriseand dWindowsServ verEnterpriseo oneachclusternodetocreate ea failover rclusterthatca anscaleupto16 6nodes.
620
SharePointBootCamp
Note:Highavaila abilityoptionsin nthemselvesdo onotspreadloa adbetweenclu usternodesand thereforedonot im mproveperform manceintheirownright.
AdditionalRea A ading
621
Lesson3
Th hislessonreview wstheoptionsf foraSharePoin ntfarmtopology y.Theflexibility yoftheSharePo ointtopologyenables so olutionarchitectstotailoreach hfarmdeploym menttothespec cificsizingandp performancere equirementsoft their or rganization.
UsingSharePoint t2010,youmay ychoosetodep ployasinglefarm mtoserviceall requirements.Alternatively,y youmay hoosetodeploy ymultiplefarms sbasedonsepa aratingauthorin ngandpublishin ngprocessesormultiplefarms sfora ch ge eographicallydi istributeduserb base.Inaddition,multiplefarm mscanshareso omeserviceapp plications,oras single fa armcanprovide econtentrequir rementsforsev veraldifferento organizationssimultaneously.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
622
SharePointBootCamp S
SingleFarm mTopologies s
KeyPoints
Fa armtopologyis extremelyflexi ibleinSharePoi int2010.Forex xample,youcan naddserversto oafarm(scaleo out)to sh hareexistingser rviceswiththecurrentfarmse ervers.Youcan alsodedicatesp pecificserverst torunningspecific se erviceapplicatio ons,suchassearchorExcelSer rvices,ordedica ateserversasW WFEservers.
Th herearethreec categoriesoffarmtopologies:
Smallfarms s.Thesefarmstypicallyhavebe etweentwoand dapproximatel lyfiveservers,a andtheycanha ave ver(s)alsoruns ts twoorthre eetiers.Inasma all,twotierfarm m,theWFEserv serviceapplicat tioncomponent suchassearchquery,searc chcrawl,orMic crosoftInfoPath hforms.Asma allfarmcanserv vebetween10, ,000 to20,000usersdepending gonusageands servicerequirem ments.
Mediumfar rms.Thesefarm mshavebetwee enapproximate lyfiveand10servers,separate edintothreetiers.In mediumfar rms,serviceapp plicationsareof ftenspreadout tacrossanumb berofapplicatio onservers,with dedicateds searchservers.A Amediumfarmcanmanageup pto40millionitems.Youcanextendamediu um farmbyhav vingmorethanonedatabases server,withthe esearchdatabasesseparatedf fromother SharePointdatabases.
Largefarms s.Thesefarmst typicallystartat tapproximately y10serversand dscaleout.The abaseswithsim recommend dationforscalin ngoutalargefa armistogroup servicesordata milar performanc cecharacteristic csontodedicatedserversand thenscaleoutt theserversasa agroup.
Question:Inam Q mediumfarmwit thasingledatabaseserver,yo uplantoadda nadditionaldatabaseserverf for pe erformancerea asons.Whichserviceapplicatio ondatabaseswo ouldyoumovet tothenewdata abaseserverfir rst?
DesigningaPhysicalArchitecture s
623
AdditionalRea A ading
624
SharePointBootCamp
KeyPoints
In nSharePoint2010,youcansha aresomeservice eapplicationsa amongdifferent tfarmsinthesa ame or rganization.Thisenablesyoutounifyorstand dardizecertainserviceapplicat tionrelatedele ements.
Fo orexample,anorganizationmayhavetwoseparateSharePo ointfarmsfordi ifferentdepartm mentsor ge eographicregions.Insuchane environment,yo oucancreatea dedicatedsear rchfarmthatca ancrawlconten nt fromandprovidesearchresultstobothfarm mssimultaneou usly.Scalingout tinthiswaytomultiplefarms also rovidesperform manceopportun nities.Forexample,youcanus seadedicateds searchfarmtos scaleforindexe es pr th hatincludemor rethan40millio onitems.
Cr rossfarmservic cesareapplicationsthatcanbe esharedindepe endentlywitho otherfarms.Som meservice ap pplicationscanbesharedoutt toanotherfarm mandsimultane eouslyconsume edfromservices srunninginoth her fa arms.Forexamp ple,anorganiza ationmayhave twofarmsthat bothusetheM ManagedMetad dataServicetod define metadata.FarmA m Acanusethelo ocalManagedM MetadataServic ceandconsume etheManagedMetadataServ viceof Fa armB,whichmakesbothsetso ofmetadataavailable.Youcan nrepeatthisco onfigurationonFarmBsothat both fa armscansharem metadatadefinitions.
erofphysicalse By ynecessity,topologiesformult tiplefarmsincreasethenumbe erversthatyourequire.However, fa armsthatarede edicatedtotheprovisionofserviceapplicatio onsmaynotrequireanyWFEservers.Duetot the in ncreasednumbe erofserversreq quired,multiple efarmtopologie esareagoodca andidateforvir rtualization.
625
MultipleFarms M sforContentPublishing
KeyPoints
Manyorganizatio M onswanttoens sureacontrolle eddistributiono ofcontentthrou ughanauthorin ngandreviewp process be eforetheymakethecontentliveinaproduct tionenvironme nt.Organizatio nsmayconside erdeployingmu ultiple fa armstoholdcon ntentatdifferentstagesofthis sprocess.
An nauthoringfarmenablescont tentauthorstomakechangest tocontent,and dsuchfarmsare eoftenmaintainedon th heinternalnetw work.Somepart tsofthereview wprocessmayta akeplacewhile ethecontentisonlyheldhere, ,and ot therreviewsma ayoccurafterthecontentmov vestoastaging genvironment.
Organizationscanuseastagingfarmtoholdaf finaldraftofite emsbeforethey ymovethemto oaproduction nvironment.Atthestagingfarm m,finalreviews sforcontentsu uitability,style,a andlayoutcanoccurbeforeth hey en pu ublishtheitemintogeneralcir rculation.
Aproductionfarmenablesread derstobrowsef finalcontentwi thoutanycross soverwithdraft tandauthoring g pr rocesses.Yoush houldonlymovecontenttotheproductionfa armafterallrev viewsarecomplete.Youcanplace pr roductionfarms sinaperimeter rnetworkforac ccessfromthe Internet.
So omeorganizatio onswilluseadd ditionalfarmenvironments,suc chasadevelop pmentfarmand datestingfarm. Organizationsoft tenusethesefa armenvironmentswhenaddit ionalcodingreq quirementsexis st,suchasinho ouseor hirdpartyWebParts. th
626
SharePointBootCamp
AdditionalRea A ading
627
MultiTenancyEnvironments M s
KeyPoints
Sh harePoint2010hassignificantl lyimprovedopt tionsforhosting gproviders.Imp provementsinlogicalarchitecture en nableyoutoim mplementfarmd deploymentsth hatuseamultit tenancymodel. .Multitenancy ymeansthatdif fferent co ompaniescansh hareasinglefar rmenvironmen nt.
Th hisarrangemen ntsuitslargeorg ganizationswith hsubsidiarycom mpaniesthatha avespecificrequ uirementsfor Sh harePoint2010.Theparentcompanycanprov visionandman agealargefarm mwithsegregat tedcontentare easfor th hesubsidiaries;theparentcom mpanyandthes subsidiariescan combineinves stmentinhardw wareandlicensi ingand sh harethebenefit ts.
Th hemultitenanc cymodelalsosu uitsSharePoint hostingprovide ersaspartofac commercialhos stingmodel,wh here cu ustomercompa aniespayforSha arePointstorag geandservicep rovisioning.
AdditionalRea A ading
628
SharePointBootCamp
Lesson4
Th hereisastronglinkbetweenth helogicalarchit tectureofShare ePoint2010an dthephysicala architectureof Sh harePoint2010.Someofthedesignchoicesth hatyoumakefo orthelogicalar rchitecturewillhaveadirectim mpact on nthephysicalarchitecture,suc chasthenumberofdatabases sthatyourequi ireorthenumb berofserversth hatyou ne eedinthefarm.Thislessonma apssomeofthe elinksbetween logicalandphy ysicalarchitectu ures,anddiscusses su upportingrequirementsforyou urfarmtopolog gy.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Identifylink ksbetweenlogicalandphysicalarchitecturesiinSharePoint.
629
KeyPoints
Ty ypically,yourSh harePointfarmsolutionwillno otexistinisolatiion.Therewillu usuallybeanex xistingnetwork in nfrastructurewithadditionalne etworkservices sinplace,which hyourSharePo intfarmwillsup pplement.Thismeans th hattherewillbe eexistingeleme entsthatyoumustaccountfor rinyourdesign .Thefollowinglistcontainsso ome ex xamplesofexist tingsupportreq quirementsorp policies:
Theremayb beexistingsecu urityrequirementsorpoliciest thatgovernhow wserverscantr ransmitdata,or rthere maybecon nfigurationrequ uirementsforW Webserversinp erimeternetwo orks.
When you calculate netw work usage an bandwidth requirements, you must take account of other nd networkus sageon shared networksegments. You must tincludethisu usageinyourca alculationsand your performanc cetesting.
Yourorgani izationmayrequirethatSQLSe erverDBAsadm ministertheSha arePointdataba aseserversinste ead ofSharePoi intadministrato ors.
630
SharePointBootCamp
MappingLogic M calArchitectureDesigntoPhysicalSpeciifications
KeyPoints
Af fteryouhaveestablishedalog gicalarchitectur redesign,youc candecideonth hephysicalfarm m,server sp pecifications,an ndnumberofse ervers.Manyof fthelogicalarch hitectureeleme entswillhaveanimpacton th hephysicalspec cifications.Thef followingtable listssomeexam mplesofrelation nshipsbetween nlogicaldesignand ph hysicalrequirem ments.
Impactonphysicalspecifications
Forlargecon ntentcollection s(corpusover4 40millionitems s)ormultiplef farm scenarios,thisrepositoryma ayrequireaded dicatedsearchf farm. Thenumber ofWebapplica ations,andthen numberofuser rswhoconnectto aveanimpacto nthenumbero ofWFEserverst thatyourequir re. them,willha MoreWFEse erverscanoffer rdedicatedhost tingofindividualWebapplicat tions.
Qu uantityofconte ent
Ascontentde emandincrease es,yourequire additionaldata abasestostore contentbeyo ond200GB.Fur rtherdemandm mayresultinsp plittingservice applicationd databases,such assearch,onto oadditionalserv vers.Youmaya also needtorevie ewthediskstor ragetype(RAID Dconfigurationo orSAS/SATA)
MicrosoftOff ficeWebAppsplacemoredem mandonnetwo orkbandwidth,in additiontoW WFEandapplica ationservers. Hostheader andalternatea accessmapping guserequiresad dditionalDNSre ecord n.Youmaynee dtochangeint ternalDNSorIn nternetDNSorb both. configuration
DesigningaPhysicalArchitecture
631
Logicaldesignrequirements
632
SharePointBootCamp
KeyPoints
In nadditiontodesigningthenum mberoffarmsth hatyourequire eandsizingthefarm(s),youmu ustconsiderfar rm pl lacement.
Network N
Ifuserswhowillaccessthefarm maresolelyont theinternalnet twork,youcanp placethefarmintheinternal etwork,andacc cessrequiremen ntsaresatisfied d. ne
Ifthefarmmustbeaccessiblefr romtheInterne ettocorporat teusers,busines sspartnersinanextranetscen nario,or ubliclytherea areanumberof foptionsfordeploymentofth efarmandAct iveDirectory.T Thefollowingta able pu de escribestheser rverplacementoptionsandcor rrespondingcon nsiderations.
Co onsiderations H HTTP(orHTTPS) )trafficmustpa assfromthe In nternettotheW WFEserversint theinternal n etwork.Forim provedsecurity y,usean a pplicationlaye rfirewall,suchasMicrosoft ThreatManagem mentGateway. T A Authenticationt trafficmustpas ssbackfromthe e W WFEserverstot thedomaincontrollersinthe in nternalnetwork k. Requirescarefulconfigurationo offirewalltose ecurely R passbothActive eDirectorytraff ficbetweendom main p co ontrollersandt trafficfromWFEandapplicatio on se erversbacktoc computersrunn ningSQLServer r.
Pe erimeternetwork
Intern nalnetwork
Sp plitWFEand domaincontr rollersfor Split ap pplicationserversinthe intern naldomaininb both pe erimeternetwork, intern nalandperimet ternetwork co omputersrunnin ng SQ QLServerinthe int ternalnetwork
633
rmplacement Far Pe erimeternetwork eDirectoryplacement Active
Co onsiderations T Thisconfiguratio onprovidesActiveDirectoryin nthe perimeternetwo ork,butasasep parateforest. p Typically,thispr reventssinglesignon(SSO)for r Ty co orporateusers, ,becauseasepa arateaccountis s re equiredforaut henticationint theperimeterforest (a althoughyouca anestablishatr rustrelationship).
Note:Youshould dchooseanAct tiveDirectoryan ndfarmplacem mentconfigurat ionthatbestm meetsyour or rganizationsse ecurityandauth henticationrequ uirements.
Antivirus A
Yo oumustalsoco onsiderhowtop protectSharePo ointcontentaga ainstvirusesan dmalware.You ushouldconsider in ntegrationwithyourcorporate eantivirusstrate egy,oryoumay yrequirededica atedSharePoint tantivirussoftw ware ifyourcurrentan ntivirussoftwar redoesnotprov videintegration nwithSharePoi int2010.
HighAvailabili ity
Yo oumustalsoco onsiderhighava ailabilityrequire ementsadditio onalserversma aybenecessary ytosupportext tended up ptimerequirem ments.Forhigha availabilityrequ uirements,you mustconsidert thethreefarmtiersseparately y:
Toimpleme enthighavailab bilityforWFEse ervers,youreq uireatleasttw woWFEservers thathostthes same eror Webapplic cation,withloadbalancing.Th heloadbalanci ngelementma aybeahardwa areloadbalance thenetwor rkloadbalancin ng(NLB)featur rein Windows Server2008.N NLBisavailable inWindowsSe erver 2008Web,Standard,Enterprise,andData acenteredition ns.
Toimpleme enthighavailab bilityforservice applications,yo oucanimpleme entmultipleap pplicationservers thathostth hesameservice es.
Toimpleme enthighavailab bilityfordatabas ses,yourequire eatleasttwoco omputersrunni ingSQLServer. Youcancon nfigurethesefo ordatabasemirroring(whichre equiresduplica testorage),ory youcan configureth hemaspartofa aSQLServerfai ilovercluster(w whichrequiress sharedstorage).
Note:Youmayalsobeabletoachievehighava ailabilitywheny youvirtualizeSharePointserve ers.Depending on th hevirtualization nplatformrequirements,asing glevirtualWFE, ,application,or rdatabaseserv vercanbehighly y av vailableacrossm multiplevirtualhostservers.
Question:Youde Q ecidetoimplem menttwocomputersrunningS SQLServerinam mirroredconfig gurationforhigh h av vailability.Willt thisconfiguratio onalsoimprove eperformance? ?Explainyourr reasonsforyour ranswer.
AdditionalRea A ading
634
SharePointBootCamp
DocumentingthePhysicalDesign
KeyPoints
Af fteryouhavedesignedyourph hysicalserverre equirementsan ndfarmtopolog gy,itisimportan nttodocument tyour de esignandrecordalloftherequ uiredelements readyfordeplo oyment.Thisde esigndocument twillalsohelpw when yo oudeploythefa arm,becauseyo oucanidentify dependencies, createaworks sequencetofollow,andensurethat yo oudonotforgetanyrequirementsduringdep ployment.
gtheserverhar rdware Yo oushouldcreat teaworksheett todescribethe serverrequirem ments,including co onfiguration,ne etworksettings, ,domainmemb bership,andwh hichserverswillhostserviceap pplicationsinth he fa arm.
Thenumberandtypeofse ervers.
DesigningaPhysicalArchitecture s
635
Lab:DesigningaPhy n ysicalArchitecture
636
SharePointBootCamp
Exercise1:PlanningthePhysicalArchitecture
Scenario
ContosoPharmaceuticalsResearchisrequestingitsownSharePointfarm.However,youhavelogically separateditsWebandserviceapplications,soyoushouldnowidentifythemostcosteffectivesolutionthat satisfiestheContosoLtdrequirements.
Theinformationthatyourteamrequiresisdetailedinthesupplieddocuments.Usethesedocumentstoproduce yourphysicalSharePointdesign.
Themaintasksforthisexerciseareasfollows:
Task1:Readthesupportinginformation
1. Readthelabscenario. 2. Logonto10231ANYCDC104asCONTOSO\EdwiththepasswordPa$$w0rd. 3. IntheE:\Labfiles\Lab04\Starterfolder,reviewthePhysicalArchitectureRequirements.docxfile.
Task2:CompletethePhysicalArchitecturePlanningworksheet
IntheE:\Labfiles\Lab04\Starterfolder,completethedetailsforallproduction,staging,andtest serversinthePhysicalArchitecturePlanningWorksheet.xlsxfile.
Task3:CompletethePhysicalArchitecturediagram
IntheE:\Labfiles\Lab04\Starterfolder,completethefarmdesigninthePhysicalArchitecture Diagram.vsdfile.
DesigningaPhysicalArchitecture
637
Exercise2:TroubleshootingaName ResolutionProblem
Scenario
Usingthecompleteddesign,yourteamconfiguredSharePointinthelabenvironment.Youcanaccesstheintranet sitebynavigatingtohttp://nycdc1,butnothttp://intranet.contoso.com.Youmustresolvethisproblemand ensurethatitdoesnotrecurintheproductionenvironment.
Themaintasksforthisexerciseareasfollows:
1. AttempttoaccesstheContoso,LtdintranetbyusingtwodifferentURLs. 2. Resolvethenameresolutionproblem.
Task1:AttempttoaccesstheContoso,Ltdintranetbyusingtwo differentURLs
1. InWindowsInternetExplorer,gotohttp://nycdc1.YoushouldbeabletoviewtheContoso,Ltdhome page. 2. InInternetExplorer,gotohttp://intranet.contoso.com.Youwillreceiveanerrorpage.
Task2:Resolvethenameresolutionproblem
1. UseSharePointCentralAdministrationtocreateanalternateaccessmappingfortheSharePoint80 Webapplicationwiththefollowingsettings:
Zone:Intranet
Address:http://intranet.contoso.com
638
SharePointBootCamp
ModuleRe M eviewandTakeaway ys
ReviewQuesti ions
1. Onwhiched . ditionsofWindo owsServer2008 8canyouinstalllSharePoint20 010? 2. WhichSQLS . Serverdatabase erecoverymode elisnotsuitable eforSharePoin nt2010databases? 3. Whatisthemaximumrecommendedsizef . foracontentda ontainsmultiple esite atabasethatco collections? 4. Whichtoolm . mustyouuseto oaddSSLcertific catestoShareP PointWebapplications?
Performlogicalarchitecturedesignbefore ephysicalarchit tecturedesign. Considerexi istingnetworka andsecuritypolicies. Ifyouaremakingcontenta accessibletothe eInternet,care efullyconsiders serverplacemen ntand protectingtheconnectionbyusinganapp plicationlayerg gatewaydevice. .
Module7
AdministeringandAutomatingSharePoint
Contents:
Lesson1:ConfiguringCentralAdministration Lesson2:AdministeringSharePointfromtheCommandLine Lesson3:AutomatingSharePointOperationswithWindowsPowerShell LabA:AutomatingSharePointwithWindowsPowerShell LabB:AdministeringSharePointwithStsadm
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
72
Sha arePointBootCamp
In npreviousmodu ules,youusedC CentralAdminis strationtoperfo ormcommonad dministrativeta asksrelatedtot the in nstallationandc configurationof fMicrosoftSharePoint.
In nthismodule,youlearnmorea aboutwhatitm meanstobeana administratoro ofaSharePointfarmandwhatittakes to oadministerSha arePointusingb bothCentralAd dministrationan ndcommandlin neoptions.
Am mongthemost tpowerfultools satyourdisposa alasaSharePoiintadministrato orisWindowsPowerShell. Sh harePoint2010offersrichsupp portforWindow wsPowerShella astheprimaryc commandlineinterfacefor ad dministeringandautomatingS SharePoint,andinthismodule youlearnthef fundamentalso ofWindowsPow werShell fo orSharePoint.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
73
Lesson1
ConfiguringCentralAdministr C ration
In nthislesson,you utakeahighle evellookattheavailableoption nsforadministe eringSharePoin nt:Central Ad dministration,S Stsadm,andWindowsPowerSh hell.Youlearnt toconfigureCe ntralAdministr rationandtoide entify th hevariousadministrativerolesinaSharePoint tenvironment. Laterlessonse xploreStsadma andWindows Po owerShellindetail.
Af ftercompleting gthislesson,you uwillbeableto o: Describetheoptionsforadm ministeringShar rePointfarms. ConfigureandmanagetheC CentralAdminis strationWebap pplication. Describetheadministrativerolesthatyouc canusetoman ageSharePoint tfarms.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
74
SharePointBootCamp
Administrat tiveOptions
In nadditiontoSharePoint2010C CentralAdminis stration,youha aveatleasttwootheroptionsw withwhichto ad dministeraSharePointfarm:StsadmandWindowsPowerShe ell.
St tsadmisacomm mand(Stsadm.e exe)locatedint thefolderC:\Pr ogramFiles \C CommonFiles\M MicrosoftShare ed\webservere extensions\14\B BIN.
Sh harePoint2010ManagementS Shellistheprefe erredinterface forperforming gtaskbasedcom mmandsandfo or ru unningscripts.T TheSharePoint2010Managem mentShellsuppo ortsbothStsadmandWindow wsPowerShell.
In nthismodule,youlearnaboutallthreeoftheseadministrati veoptions.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
75
CentralAdminis stration
Re ememberthatC CentralAdminis strationisaWe ebapplication.E Everyactionyo uperforminCe entralAdministration isbeingexecuted dusingtheappl licationpoolide entityfortheCe entralAdminist trationWebapp he plicationandth merservice,for rexample,SP_F Farm.Actionspe erformedinCe ntralAdministr rationarenotex xecutedinthec context tim of fyouradministrativeaccounts sidentity.
Ifsomethingisno otworking,bes surethattheSP P_Farmidentity yhasthepermis ssionsitrequire es.Forexample e, ometasksperfo ormedinCentra alAdministratio onrequirethatt theaccounthav vethefollowing gattributes: so LocalAdministratorsgroupm membershipon neachSharePoiintserver QLServerperm missions MicrosoftSQ Th hesepermission nsareassigned automaticallyif fyoufollowthe eproceduresou utlinedearlierin nthiscourse. However,ifsome ethinghappens sthatremoveso ordeniesarequ uiredpermission n,administrativ vetasksmayfai il.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
76
SharePointBootCamp
Where: <PortNumber>isanavailableport.
AdditionalReading
ChangetheCentralAdministrationWebsiteportnumber(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=192720&clcid=0x409. Setadminport:Stsadmoperation(OfficeSharePointServer)at http://go.microsoft.com/fwlink/?LinkID=192721&clcid=0x409.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
77
AdministrativeRoles
Fa armAdminist trators
Th heFarmAdmini istratorsgrouprepresentstheaccountsthatc canusetheCen ntralAdministra ation ap pplicationtope erformadminist trativetasks. ManagetheFarm M mAdministrato orsGroup InSharePoint2010CentralA Administration QuickLaunch,c clickSecurity,andthen,intheUserssection,click ratorsGroup. ManageTheFarmAdministr ver MembersoftheFarmAdministr M ratorsgrouphavepermissions toandrespons sibilityforallserversintheserv fa arm.Membersc canperformalladministrative tasksinCentra lAdministrationfortheserver ror se erverfarm.Mem mbersofthisgroupcanalsous seWindowsPow werShelltocrea ateandmanage econfiguration da atabaseobjects sandcanperfor rmcommandlineoperations,forexample,St tsadm.exe.They ycanassign ad dministratorsto omanageservic ceapplications,whichareinsta ancesofshared dservices.
Th heFarmAdmini istratorsgroupdoesnothavep permissionstoa accessindividua fault. alsitesortheircontent,bydef However,memberscantakeow wnershipofasit tecollectionby assigningthem mselvesasasitecollectionown nerin entralAdminist tration.Forexam mple,ifasiteco ollectionadmin nistratorleavest onandanew Ce theorganizatio ad dministratormu ustbeadded,amemberofthe eFarmAdminist tratorsgroupca antakeowners shipofthesite co ollectiontomak kethechange.
Lo ocalAdminist trators
MembersoftheAdministratorsgrouponthelo M ocalserverarem membersofthe eFarmAdminis stratorsgroupb by de efault.Therefor re,membersoftheAdministra atorsgroupont thelocalserver rcanperformallfarmadminist trator ac ctionsandmore e,includinginst tallingnewprod ductsorapplica ations,deployin ngWebPartsan ndnewfeatures stothe globalassemblyc cache,creatingnewWebappli icationsandnew ormationServices(IIS)Website es,and wInternetInfo tartingservices.LikeFarmAdm ministrators,membersofthisgr roupontheloc calserverhaven noaccesstosite e st co ontent,bydefault,butcantakeownershipof asitecollectio n.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
78
SharePointBootCamp
ServiceApplicationAdministrators
Manyserviceapplicationsalsohaveadministrators,andtheadministrationoftheseserviceapplicationscan thereforebedelegated.
Farmadministratorsalwayshaverightstomanageallserviceapplications.Thoserightscannotbe removed.
Donotclickthenameofaserviceapplication.Mostserviceapplicationnamesarelinkstotheservice applicationsmanagementapplication.
3. Intheribbon,clickAdministrators.
ServiceApplicationFeatureAdministrators
Afeatureadministratorisassociatedwithaspecificfeatureorfeaturesofaserviceapplication.These administratorscanmanageasubsetofserviceapplicationsettingsbutnottheentireserviceapplication.For example,afeatureadministratormightmanagetheAudiencesfeatureoftheUserProfileserviceapplication.
SiteLevelAdministrators
Thefollowingtworolesareadministrativeroles,buttheydonothaveanycapabilitytoperformtasksin CentralAdministration: Sitecollectionadministrators TheOwnersgroupofasite
Thescopeoftheirpermissionsisthesitecollectionorsite.
AdditionalReading
Chooseadministratorsandownersfortheadministrationhierarchy(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=192722&clcid=0x409.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
Ad dministeringandAutomating SharePoint g
79
Lesson2
In nthislesson,you umoveawayfr romtheuserint terfaceoftheC CentralAdminis strationWebap pplicationandtu urnto co ommandlineop ptionsforadministeringSharePoint.Youexplo sadm.exe),whic chisincludedw with oreStsadm(Sts Sh harePoint2010tosupportmixedenvironmen nts,andWindow wsPowerShell,w whichistherec commendedtoolfor ad dministeringandautomatingS SharePoint2010 0.
Af ftercompleting gthislesson,youwillbeableto o: AdministerSharePointfromthecommand promptwithSt tsadm. Identifyther roleofWindow wsPowerShellfo oradministering gSharePoint.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
710
SharePointBootCamp
Sh harePointandCommandLineAdministra ation
Sh harePointhasin ntroducednewcommandline administration ninterfaceswith heachsuccessiv veversionofthe e pr roduct.InShare ePoint2007,Mi icrosoftintrodu ucedStsadm(Sts sadm.exe),whichexposed182 2commands.
Sh harePoint2010alignswithotherMicrosofttechnologiesarou undtheuseofW WindowsPowe erShellasthepr rimary co ommandlinein nterfaceforadm ministration.Sha arePoint2010p providesmoret than600Windo owsPowerShell cm mdletstosuppo ortadministrationofaSharePo ointfarm.Powe erShellprovides sasupersetofc capabilitiesfoun ndin Ce entralAdminist tration.Window wsPowerShell2.0isrequiredto oinstallShareP Pointandisinsta alledbytheMic crosoft Sh harePointProdu uctsPreparationTool(Prerequ uisiteInstaller).
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
A nisteringandAutomatingSharePoint Admi
711
St tsadm
St tsadm is depre ecated but is included to support compatiibility with pre evious product versions. There are, ho owever,asmallnumberofrare elyusedStsadm moperationsfor rwhichnoWin dowsPowerShe exists. ellequivalente So omeStsadmope erationsarenolongersupport tedbecauseoff featureorarch itecturalchangesin Sh harePoint2010.Forexample,c commandsused dtocreate,enu umerate,andm manageSharedS Service Pr roviders(SSPs)a arenotsupport tedbecauseSSP Pshavebeenre placedbyservic ceapplications.
To ouseStsadm,yo oumuststartCommandPromptonaSharePo ointserverwith htheRunAsAdministratoropt tion, an ndthennavigat tetothefolderthatcontainsStsadm.exe: C:\ProgramF Files\CommonF Files\Microsoft Shared\webse rverextensions s \14\BIN Yo oucanavoidha avingtonavigatetothisdeeply ynestedfolderb byaddingthep pathtothefoldertothe %PATH%environ % nmentvariable.Forexample,typethefollowi ngcommand:
setpath=%path%; ;C:\ProgramFiles\CommonFiles\MicrosoftShared\we ebserverextensio ons\14\BIN
Where: W <OperationN Name>isthenam meofanStsadm moperation. <Value>isthevalueforapa arameterusedb bytheoperatio on. To odiscovertheo operationsthataresupported,typethefollow wingcommand: :
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
712
SharePointBootCamp
stsadm?
Toreaddocumentationaboutaspecificoperationandtheparametersitsupports,typethefollowing command:
stsadmhelp<OperationName>
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
A nisteringandAutomatingSharePoint Admi
713
WindowsPowerS W Shellisataskba asedcommandlineshellands scriptinglangua agedesignedespeciallyforsyst tem ad dministration.B BuiltontheMic crosoft.NETFramework,Wind owsPowerShel llhelpsITprofessionalscontro oland au utomatethead dministrationofseveralMicrosofttechnologie s,includingthe eWindowsoperatingsystem, Sh harePoint2010, ,theActiveDire ectorydirectoryservice,andMicrosoftExch angeServer.
WithWindowsPowerShellcomm W mands,calledcmdlets,youcan nperformmana agementtasksf fromthecomm mand lin ne.WithWindo owsPowerShellproviders,you canaccessdata astores,suchas stheregistryan ndcertificatest tore, as seasilyasyouaccessthefilesy ystem.Inadditio on,WindowsPo owerShellhasa arichexpressionparserandaf fully de evelopedscriptinglanguage.
WindowsPowerS W Shellincludesth hefollowingfea atures: Cmdletsforp performingcom mmonsystemad dministrationta asks. Ataskbasedscriptinglanguage. existingscriptsa andcommandl linetools.Fore xample,youcanperformmos stCmd.exe Supportfore commandsw withWindowsPo owerShell. esign.Becausec cmdletsandsys stemdatastore esusecommonsyntaxandnam mingconvention ns, Consistentde datacanbesharedeasilyandtheoutputfro omonecmdlet tcanbeusedas stheinputtoan nothercmdlet withoutrefor rmattingorman nipulation. Providerstha atexposesystem mresourcessuc chastheregistr ry,certificatest tore,anddirecto oryservicefor simplifiednav vigationbyusin ngthesametechniquesthatus sersemployton navigatethefile esystem. oncapabilities. Youcanmanip ulateobjectsdi irectlyorsendt themtoothert toolsor Powerfulobjectmanipulatio databases. Extensibleint terface.Indepe endentsoftware evendorsande enterprisedevel loperscanbuild dcustomtoolsa and utilitiestoadministertheirsoftware. Th hereissignificantoverlapbetw weenStsadman ndWindowsPow werShellinsup portforoperationsthatareco ommon to both SharePo 2007 and SharePoint 2010. However, Windows Pow erShell provide unique capa o oint es abilities re elatedtothema anagementofa allnewfeatures s,includingsupp portforthefoll lowingtasks:
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
714
SharePointBootCamp
AdditionalReading
AboutWindowsPowerShellathttp://go.microsoft.com/fwlink/?LinkID=192723&clcid=0x409.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
A nisteringandAutomatingSharePoint Admi
715
Cmdlets
WindowsPowerS W Shellcommandsarecalledcmd dlets,pronounc cedcommand lets.
Li istAvailableCm mdlets Th heGetCommandcmdletlistsc cmdlets. TypeGetCom mmand. Cm mdletsarenotc casesensitive.T Thefollowingcm mdletsareequiivalent: GetCommand d d getcommand ND GETCOMMAN Cm mdletsalwaysfollowtheVerb Noun,alsocalledtheActionO Objectformat.T TheNounisalw wayssingular.
Fo orexample,the ecmdlettolista allprocessesrun nningonamac hineisGetProc cess.Tolistallp processesrunning on namachine: TypeGetProc cess. Th herearealimite ednumberofv verbs,whichcan nbelistedwith theGetVerbc mdlet.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
716
SharePointBootCamp
AdditionalReading
UnderstandingImportantWindowsPowerShellConceptsat http://go.microsoft.com/fwlink/?LinkID=192724&clcid=0x409. LearningWindowsPowerShellNamesat http://go.microsoft.com/fwlink/?LinkID=192725&clcid=0x409.
TabCompletion
WindowsPowerShellsupportstabcompletion,soyoucantypeafewlettersandthenpressTABtocomplete yourtyping.Thisappliesnotonlytopaths,whichispossibleinCommandPromptaswell,butalsotocmdlets andtheirparameters.
Toexperiencetabcompletion,performthefollowingstepsinSharePoint2010ManagementShell,whichcreates anewcontentdatabaseforaWebapplication:
1. TypeNewSPCont,andthenpressTAB.
WindowsPowerShellcompletesthenameofthecmdlet,NewSPContentDatabase. ThefirstparameteroftheNewSPContentDatabasecmdletisthenameofthedatabaseyouwanttocreate.
2. PressSPACEBAR,typeTestContentDB,andthenpressSPACEBAR.
Thenextparameteristhenameofthedatabaseserveronwhichtocreatethecontentdatabase.
3. TypeDa,andthenpressTAB.
WindowsPowerShellcompletesthenameoftheparameter,DatabaseServer.
4. PressSPACEBAR,typeSP2010WFE1,andthenpressSPACEBAR.
TheotherrequiredparameteristhenameoftheWebapplicationwithwhichthecontentdatabaseis associated.
5. TypeW,andthenpressTAB.
WindowsPowerShellcompletesthenameoftheparameter,WebApplication.
6. PressSPACEBAR,andthentypehttp://intranet.contoso.com. 7. PressCTRL+Ctocancelthecommandwithoutexecutingit.
AdditionalReading UsingTabExpansionathttp://go.microsoft.com/fwlink/?LinkID=192729&clcid=0x409.
GetHelp
WindowsPowerShellcmdletsarewelldocumentedwithastandarddocumentationformat.
GetHelpcmdlet[examples|detailed|full]
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
AdministeringandAutomatingSharePoint
717
Forexample,togethelp,includingexamples,abouttheNewSPContentDatabasecmdlet,typethe following:
GetHelpNewSPContentDatabasedetailed
AdditionalReading
GettingInformationAboutCommandsat http://go.microsoft.com/fwlink/?LinkID=192730&clcid=0x409. GettingDetailedHelpInformationathttp://go.microsoft.com/fwlink/?LinkID=192731&clcid=0x409.
Objects
UnlikeCommandPrompt,inwhichcommandsreturntextthatthenmustbeparsedandprocessedastext, WindowsPowerShellreturnsobjectsrepresentationsofthecomponentitself.
Forexample,theGetProcesscmdletreturnsobjectsrepresentingprocessesonacomputer.Typethe followingtoretrieveallprocessesonacomputer:
GetProcess
GetProcessNameiexplore
TheNameparameteristhedefaultparameterfortheGetProcesscmdlet,soitcanbeomitted:
GetProcessiexplore
Intheseexamples,WindowsPowerShelloutputsseveralpropertiesofeachprocessitreturns.Youarenotdoing anythingwiththeobjectsotherthanshowingproperties.
However,objectsreturnedbyacmdletcanbestoredinvariablesforlateruseorpipedtoasubsequentcmdlet asinputforthecmdlet.
Pipeline
WindowsPowerShellfeaturesapipelineachannelthroughwhichtheoutputofacmdletcanbepassedtothe followingcmdlet.Thepipelineisrepresentedbythepipecharacter(|).
Forexample,typethefollowingtostopallprocessesnamediexploreonacomputer:
GetProcessiexplore|StopProcess
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
718
SharePointBootCamp
Asyoulearnlaterinthislesson,oneofthemostimportantdifferencesbetweenWindowsPowerShelland CommandPromptisthatcmdletsreturnobjects,nottext.InCommandPrompt,commandsreturntext,andthe textcanbepipedtoanothercommand.InWindowsPowerShell,cmdletsreturnobjects,which canbemanipulatedinmuchmorepowerfulwaysfurtherdownthepipeline.Forexample,theGetProcess cmdletreturnsobjectsrepresentingprocesses namediexplore.Thenextcommandinthepipelinestopsthose processes, but it could just as easilybe a cmdlet that changesthe priority of the processes or that returns specificinformationabouttheprocesses,suchastheirmemoryandprocessorutilization.
AdditionalReading
UnderstandingtheWindowsPowerShellPipelineat http://go.microsoft.com/fwlink/?LinkID=192732&clcid=0x409.
Aliases
WindowsPowerShellallowsacmdlettohavealiases,whicharealternatenamesforthecmdlet.For example,gpsandpsarealiasesforGetProcess.Also,killisanaliasforStopProcess. ListAvailableAliases TheGetAliascmdletlistsaliases. TypeGetAlias.
GetAliasdefinitionStopProcess
GetAliaskill
AdditionalReading
UsingFamiliarCommandNamesathttp://go.microsoft.com/fwlink/?LinkID=192733&clcid=0x409.
Variables
AsyoubegintofindandcreateWindowsPowerShellscripts,theresonemoreconceptyoumustunderstand: variables.VariablesarememorylocationsthatstoreavalueorobjectandarerepresentedinWindows PowerShellbyanamethatstartswithadollarsign($).
Toassignavariablethatis,tocreateanddefineavariablesimplyusethefollowingsyntax:
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
AdministeringandAutomatingSharePoint
719
$variable=value
Forexample,thefollowingscriptstopsallprocessesnamediexplore:
$process="iexplore" GetProcess$process|StopProcess
Toassignastringvaluetoavariable,enclosethevalueinsingleordoublequotationmarks,asshownearlier.
Variablescanalsostoreoneormoreobjects.Examinethefollowingscript:
$process=GetProcess"iexplore" $process|SelectID,name,description $process|StopProcess
$_
Thespecialvariable$_representsthecurrentobjectinthepipeline.Youseeexamplesofthislaterinthe module.
Again,youlearnmoreabout$_andputittouselaterinthemodule.
AdditionalReading
UsingVariablestoStoreObjectsathttp://go.microsoft.com/fwlink/?LinkID=192734&clcid=0x409. WindowsPowerShellonMicrosoftTechNetat http://go.microsoft.com/fwlink/?LinkID=192735&clcid=0x409. WindowsPowerShellScriptingCenterat http://go.microsoft.com/fwlink/?LinkID=192736&clcid=0x409.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
720
SharePointBootCamp
Lesson3
Nowthatyouhavelearnedsom meofthefundam mentalconcept tsofWindowsP PowerShell,you ucanturnyour ttentiontohow wyoucanuseW WindowsPowerS Shelltoadminis sterandautom ateSharePoint2010. at Af ftercompleting gthislesson,youwillbeableto o: DescribetheSharePoint201 10managementshell. Delegatepermissionstouse eWindowsPowerShell ExaminetheSharePointlogi icalstructure. CreateaSharePointintranetbyusingWind dowsPowerShe ell. Describeobje ects,members,properties,and dmethodsinW WindowsPowerS Shell. Describehow wtoselect,sort.andformatou utputinWindow wsPowerShell. Describehow wtofilterobjects. DescribeIterationanditerat tioninscipts. AutomateSh harePointopera ationswithWind dowsPowerShe ell.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
A AdministeringandAutomatin SharePoint ng
721
Sh harePoint2010Manageme entShell
Sh harePoint2010ManagementS ShellloadsaWindowsPowerSh hellprofileloca atedintheShar rePointroot: Sh harePointRoot\CONFIG\POWE ERSHELL\Registr ration \S SharePoint.ps1.AWindowsPowerShellprofile eisascriptthat tconfiguresthe einitialuserenv vironmentfor WindowsPowerS W Shell.Inthecas seofSharePoint t2010Managem mentShell,theprofiledoesth hreeimportantthings:
IfyourunWindowsPowerSh hell,youcannot tactuallyperfo ormanySharePo ointtasksbecau usethesnapin nsare Toloadsnapins s,youmustrun thefollowingco ommand: notloaded.T
AnotherwaytoaddSharePo ointfunctionalit tytoWindowsP PowerShellisto ouseaprocesscalled roughwhichyouloadtheShar rePoint.dllfiles sdirectly.Thisw wasrequiredinS SharePoint reflection,thr 2007butisno otrecommende edinSharePoin nt2010nowtha attheSharePointsnapinisava ailable.
gthatimproves hreadoptionto oReuseThread. .Thisisasetting stheutilization nofmemoryin SetsthePSTh WindowsPow werShellandred ducesthelikelih hoodofmemor ryleaks.InWin dowsPowerShe ell,eachlinee each ThreadOptions commandis sstartedinitso ownthread,orp process.WhenT saresettoReus seThread,each h commandisr runinthesame ethread.IfyouuseWindowsP owerShell,you mustrunthefollowingcomm mand:
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
722
SharePointBootCamp
AdditionalReading
PSThreadOptionsathttp://go.microsoft.com/fwlink/?LinkId=183145.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
A nisteringandAutomatingSharePoint Admi
723
DelegatePerm missionstoUseWindowsPowerShell
To oassignthesetw woroles,andth herebytodeleg gatepermission ntouseWindow wsPowerShell,y youcanandsho ould us setheAddSPAdmincmdlet.Th heprocessisstr raightforward.
So o,withjustonecommand,you uvegiventheusertheSharePo oint_Shell_Acce essroleonthed databaseandadded th heusertotheW WSS_ADMIN_WPGlocalgroup oneachserver inthefarm.Ift theuseriscurre entlyloggedon n,the us serwillofcours sehavetologof ffandlogback onforthenew wlocalgroupme embershiptota akeeffect.
To operformthisd delegation,youraccountmusthavetheSecur rity_Adminserv verrolefortheSQLServerinst tance an ndthedb_ownerroleforthed database,andy youmustbeint theAdministrat torsgroupofea achserverinthe efarm. In notherwords,y youmustbeahighleveladmin nistratortodele egatetoanothe eruserthe
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
724
SharePointBootCamp
abilitytouseWindowsPowerShell.Practicallyspeaking,youlllikelybeadministratoroftheSQLServerandof eachserverinthefarm,thoughtechnicallyspeakingyoudontneedquitethatmuchpower.
SiteCollectionOwnership
Youmustalsobeasitecollectionowner,asdefinedinCentralAdministration,touseWindowsPowerShellagainst asitecollectioninthecontentdatabase.
ToassignasitecollectionownerbyusingWindowsPowerShell,followthisexample:
SetSPSiteAdministration<SiteCollectionURL>OwnerAlias<DOMAIN\user>SecondaryOwnerAlias <DOMAIN\user>
Where:
<SiteCollectionURL>istheURLofthesitecollection.
TheOwnerAliasparameters<DOMAIN\User>istheprimarysitecollectionadministrator.
TheSecondaryOwnerAliasparameters<DOMAIN\User>isthesecondarysitecollection administrator.
RunSharePoint2010ManagementShellwiththeRunAsAdministratorOption
Finally,manycmdletsrequirethatyouareanadministratorofthecomputeronwhichthecmdletisbeing executed.ThesecmdletsfailunlessyouusetheRunAsAdministratoroptionwhenopeningSharePoint 2010ManagementShell.
AdditionalReading
SharePoint2010ProductsadministrationbyusingWindowsPowerShellat http://go.microsoft.com/fwlink/?LinkID=192737&clcid=0x409.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
A nisteringandAutomatingSharePoint Admi
725
TypeGetSPF Farm.
TypeGetSPW WebApplication.
Th heGetSPWebA Applicationcmd dletleavesoutC CentralAdminis strationbydefa aultasameasur reofprotection n ag gainstscriptsthataredesigned dtoperformact tionsagainstev veryWebapplic cationinafarm m.Toincludethe e Ce entralAdminist trationWebapp plication,includ detheparamete erIncludeCen tralAdminsitrat tion. Re etrieveaCollec ctionofAllSiteC Collectionsinth heFarm To oretrieveacollectionofsiteco ollectionsinthe efarm:
TypeGetSPS Site.
To opreventrunaw waymemoryan ndprocessing,theGetSPSitec cmdletlimitsthe enumberofsit tecollectionsitreturns to o20,bydefault.Addthelimitparametertoincreasethislim mit,oraddlimit talltoreturnallsitecollection ns.The GetSPSitecmdle etalwaysexclud destheCentralAdministration nsitecollection. . Re etrieveaCollec ctionofWebSit tes Th heGetSPWebc cmdletretrievesacollectionof fWebsitesinascopespecified dbythecmdlet tsparameters.The Siteparametersp pecifiesasiteco ollectionasthe scope,andthe eFilterparame eterspecifiesaf filteras hescope. th
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
726
SharePointBootCamp
Forexample,thefollowingcommandretrievestheWebsitesintheintranetsitecollection:
GetSPWebSitehttp://intranet.contoso.com
TheGetSPWebcmdletlimitsthenumberofobjectsitreturnsto200bydefault.LiketheGetSPSitecmdlet, usethelimitparametertoincreasethislimit,oruselimitalltoreturnallWebsitesinasitecollection.
UserInterfaceTerminologyvs.ObjectModelTerminology
Asyouvenodoubtnoticedinthisdiscussion,terminologyusedtodescribethelogicalhierarchyofSharePointis differentinWindowsPowerShellfromterminologyintheuserinterface.ThatsbecausetheSharePointobject model,whichdrivesterminologyusedbydevelopersandbythe.NETFramework,hasalegacythatdatesbackto thebeginningofSharePointtime.
Theterminologyisparticularlytrickyaroundthewordsite.Noticethedifferentwaysinwhichthewordsiteis usedbothindescribingthecomponentsofSharePointasshownintheuserinterfaceandintheobjectmodel.
UserInterface andDocumentation
Farm Webapplication Sitecollection Site,Website,Web,subweb,subsite
ItsrecommendedthatwhenyoudiscussSharePointandparticularlywhenyouaregatheringinformationfor troubleshootingthatyouavoidthewordsitebyitself.Clarify:Webapplication,sitecollection,orsubweb.
UsingthePipeline
Asyoulearnedearlier,theGetSPWebcmdletusesaSiteparametertospecifythesitecollectioninwhich Websitesshouldbereturned:
GetSPWebSite"http://intranet.contoso.com"
TheGetSPSitecmdlet,alsopresentedearlier,retrievesallsitecollections.IfyouuseanIdentityparameter,it retrievesonlymatchingsitecollections.
Forexample,thefollowingcommandretrievesonlyonesitecollection:
GetSPSite"http://intranet.contoso.com"
YoucanusethesitecollectionreturnedbyGetSPSiteinsteadoftheSiteparameterofGetSPWeb:
GetSPSite"http://intranet.contoso.com"|GetSPWeblimitall
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
AdministeringandAutomatingSharePoint
727
Question:Howcanyougetalistofallsitecollectionsinthefarm,includingCentralAdministration,whentheGet SPSitecmdletalwaysexcludesCentralAdministration?
Question:HowcanyougetalistofallWebsitesinthefarm,includingCentralAdministration,whenthe GetSPSitecmdletalwaysexcludesCentralAdministration?
AdditionalReading
UnderstandingtheWindowsPowerShellPipelineat http://go.microsoft.com/fwlink/?LinkID=192732&clcid=0x409.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
728
SharePointBootCamp
Yo oucanuseWindowsPowerShe elltocreatelogicalcomponent tsofSharePoint t,justasyoudid dbyusing Ce entralAdminist trationinModule2.
DeleteaWebApplication D
To odeleteaWebapplication,usetheRemoveS SPWebApplicatiioncmdlet.For rexample,thef following co ommanddelete estheintranetW Webapplication n,includingthe eIISWebsitean ndthecontentd databases:
Notetheuseoft theConfirm:$falseparameter.TheConfirmp parameterisco ommontoallW WindowsPowerS Shell ommandsthath havepotentially ydetrimentaleffects.Bydefau ult(Confirm:$t rue),thecmdle etwillpromptfo or co co onfirmation.SpecifyingConfir rm:$falsesuppr ressessuchprom mpts.
Yo oucanalsousetheWhatIfparametertosimulateacomman tseffects.The WhatIf ndandreportit pa arameterispart ticularlyhelpfulwhenyouare performingac commandonav variableorcolle ectionofobject ts so othatyouknow wexactlywhatisbeingdoneto owhichobjects. .
CreateaWebApplication
Th hefollowingexa ampleshowsth heuseoftheNe ewSPWebAppliicationcmdlett tocreateanew wWeb ap pplication:
NewSPWebApplic cation Name <Name> Port <Port> HostHead < der <HostHeader URL <URL> ApplicationPool r> <ApplicationPool> >ApplicationPoolA Account<Applicat tionPoolAccount> DatabaseName< <DatabaseName>
Where: W
<Name>isth henameofthenewWebapplication.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
AdministeringandAutomatingSharePoint
729
<HostHeader>isthehostheader,intheformatserver.domain.com.
NotethattheGetHelpdocumentationforthecmdletstatesthattheformatfor<HostHeader>is http://server.domain.com.Thedocumentationisincorrect.
<URL>isthepublic(loadbalanced)URLfortheWebapplication.
<ApplicationPool>isthenameoftheapplicationpool.
<DatabaseName>isthenameforthefirstcontentdatabasefortheWebapplication.
Forexample,thefollowingcommandcreatestheintranetWebapplicationwithconfigurationsimilartothe intranetthatwascreatedbyusingCentralAdministrationinModule2.
CreateaSiteCollection
ThefollowingexampleshowstheuseoftheNewSPSitecmdlettocreateanewsitecollection.
NewSPSiteUrl"<URLforthenewsitecollection>"ContentDatabase<ContentDatabase Name>OwnerAlias"<domain\user>"Template<Template>
Where: <URL>istheURLofthesitecollectionyouwanttocreate. <ContentDatabaseName>isthenameofthecontentdatabasewithinwhichthesitecollectionshould becreated.Thisparameterisoptional. TheOwnerAliasparameters<domain\user>valuedefinestheprimarysitecollectionadministrator. TheSecondaryOwnerAliasparameterisusedtodefinethesecondarysitecollectionadministrator. <Template>specifiesthesitedefinitionforthetoplevelsiteforexample,BLANKINTERNET#1,the PublishingSite,orSTS#0,theTeamSite. Forexample,thefollowingcommandcreatesasitecollectionattherootoftheintranetWebapplicationand createsatoplevelsitewiththePublishingsitedefinition.
CreateaContentDatabase
ThefollowingexampleshowstheuseoftheNewSPContentDatabasecmdlettocreateanewcontent database:
NewSPContentDatabaseName<ContentDbName>WebApplication<WebApplicationName>
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
730
SharePointBootCamp
CreateaSiteCollectioninaSpecificContentDatabase
UsetheContentDatabaseparameteroftheNewSPSitecmdlettocreateanewsitecollectioninaspecificcontent database.Forexample,thefollowingcommandcreatesasitecollectionfortheSales departmentsintranetsiteinthecontentdatabasecreatedinthepreviousexample:
NewSPSiteUrl"http://intranet.contoso.com/sites/Sales"ContentDatabaseWSS_Content_Intranet_SalesName "Sales"OwnerAlias"CONTOSO\SP_Admin"Template"STS#0"
ThecommandalsocreatesatoplevelsiteinthesitecollectionbasedontheTeamSitesitedefinition.
ListAvailableSiteDefinitions
Typethefollowingcommandforalistofavailablesitedefinitions:
GetSPWebTemplate
CreateaWebSite
ThefollowingexampleshowstheuseoftheNewSPWebApplicationcmdlettocreateanewWeb application:
NewSPWeb<Identity>Name<Name>Template"STS#0"
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
A nisteringandAutomatingSharePoint Admi
731
As syoulearnedin nthepreviousle esson,WindowsPowerShellre eturnsobjects representation nsofthecompo onent its self.Youcansto oreobjectsretu urnedbyacmdl letinvariablesf forlateruseor pipethemtoa asubsequentcm mdlet as sinputforthec cmdlet.
Objectshaveme embers:propert tiesandmethods.Methodsar reactionsthin ngsyoucando withortothe object. ropertiesareattributes.Aspec cialkindofprop pertyisacollect tion,whichcan containzero,o one,ormoreite ems. Pr
AdditionalRea A ading
ViewingObj jectStructure(G GetMember) at http://go.mic crosoft.com/fwlink/?LinkID=19 92738&clcid=0x x409.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
732
SharePointBootCamp
WriteOutput W
Ifyoutypethefo ollowingcomma and:
GetSPWeb"http://intranet.contoso o.com/sites/sales" "
th heURLoftheW Websiteisreturn ned.Asyoukno ow,WindowsPo owerShellwork kswithobjects,butwhenacom mmand co ompletesatth heendofthepi ipelineanimp plicitWriteOut tputcmdletdisp playsthedefaultpropertiesof the ob bject(s)atthee endofthepipeline.Intheexam mpleshown,the edefaultprope ertyisaURL,andthedefaultdisplay fo ormatisatable. .
Se electObject(Alias:Select)
Yo oucanchangew whatisdisplaye edattheendof fthepipeline.F orexample,yo ucanusetheSelectObjectcm mdlet, th healiasofwhich hisSelect,todisplayspecificproperties. Di isplayAllPrope ertiesofPipeline eObjects AddSelect*totheendofth hepipeline. Fo orexample,the efollowingcommanddisplaysa allpropertiesof fthesalesWeb bsite:
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
AdministeringandAutomatingSharePoint
733
AdditionalReading
SelectingPartsofObjects(SelectObject)at http://go.microsoft.com/fwlink/?LinkID=192739&clcid=0x409.aspx.
SortObject(Alias:Sort)
Ifyoutypethefollowingcommand:
GetSPWebApplication"http://intranet.contoso.com"|GetSPSitelimitall|GetSPWeblimitall|SelectObject URL,WebTemplate
theURLandtemplateofallWebsitesintheintranetWebapplicationaredisplayed.Ifyouwanttosortthe resultsbytemplate,youcanusetheSortObjectcmdlet,thealiasofwhichisSort.
Forexample,thefollowingcommanddisplaystheURLandtemplateoftheallWebsitesintheintranet Webapplication,sortedbytemplatename:
GetSPWebApplication"http://intranet.contoso.com"|GetSPSitelimitall|GetSPWeblimitall|SelectObject URL,WebTemplate|SortWebTemplate
YoucanaddtheDescendingparametertotheSortcmdlettosortindescendingorder.Thedefaultis ascendingorder,andthereisnoAscendingparameter.
AdditionalReading
SortingObjectsathttp://go.microsoft.com/fwlink/?LinkID=192740&clcid=0x409.
FormatTableandFormatList(Aliases:ftandfl)
Theformatoftheoutputofcmdletsdependssomewhatonhowmanypropertiesofhowmanyobjects arereturned.Someoftheexamplesshownearlierreturnpropertiesaslists,andothersreturnpropertiesastables.
YoucanspecifyaparticulardisplayformatusingtheFormatList(aliasfl)andFormatTable(aliasft) cmdlets.
Forexample,thefollowingcommanddisplaystheURLandtemplateoftheallWebsitesintheintranet Webapplication,sortedbytemplatenameandformattedasalist:
GetSPWebApplication"http://intranet.contoso.com"|GetSPSitelimitall|GetSPWeblimitall|SelectObject URL,WebTemplate|SortWebTemplate|FormatList
Note:UsingFormatList(orfl)attheendofthepipelineaddsanimplicitSelect*.Allpropertiesare returned.Ifyouwanttolimitpropertiesreturned,addthepropertiestotheSelectcmdlet.
AdditionalReading
UsingFormatCommandstoChangeOutputViewat http://go.microsoft.com/fwlink/?LinkID=192741&clcid=0x409.
OtherOutputFormats
WindowsPowerShellcansave,export,andconvertobjectstoawidevarietyofformats.Someofthemostuseful includethefollowing: Commaseparatedvalue(CSV)files ExtensibleMarkupLanguage(XML)files TheGridView
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
734
SharePointBootCamp
ExportCSV TosaveoutputtoaCSVfile,add|ExportCSV<filename>totheendofthepipeline.
Followthisexample:
(command|ConvertToXML).Save("filename")
Forexample,thefollowingcommandcreatesanXMLfileconsistingoftheURLandtemplateofallthe WebsitesintheintranetWebapplication,sortedbytemplatename:
(GetSPWebApplication"http://intranet.contoso.com"|GetSPSitelimitall|GetSPWeb limitall|SelectObjectURL,WebTemplate|SortWebTemplate|ConvertTo XML).Save("C:\Users\SP_Admin\Desktop\SharePointWebSiteTemplates.xml")
Thefollowingexampleoutputstothedatagridviewapplication:
GetSPWebApplication"http://intranet.contoso.com"|GetSPSitelimitall|GetSPWeblimitall|SelectObject URL,WebTemplate|SortWebTemplate|OutGridViewTitle"WebSiteTemplatesReport"
AdditionalReading
RedirectingDatawithOut*Cmdletsat http://go.microsoft.com/fwlink/?LinkID=192742&clcid=0x409.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
A nisteringandAutomatingSharePoint Admi
735
FiilteringObjects
Noticetheuseof fthe$_variable e,whichyoulea arnedinLesson n2representsth hecurrentobje ectinthepipeline. heWhereObjectcmdletopera atesoneachob bjectinthepipe eline,checkinge eachagainstthe efilterdefined bythe Th ex xpression,whichitselfissurrou undedbybraces s.Aseachobjec ctinthepipelin neisexamined,itisrepresente edby th he$_variable,a andtheobjects sWebTemplate epropertymust tbeequaltoB BLOGfortheobjecttosuccess sfully co ontinuedownthepipeline.
Alimitednumberofcmdletssup pportaFilterp parameter,whic chusesservers sidefiltering.Intheexamplesh hown reviously,allob bjectsareretriev vedbytheGet SPWebcmdlet, ,andthentheW WindowsPowe erShellclientmu ust pr fil ltertheobjects.Youcanreduc cetheburdenontheserverby yusingserversidefilteringwhe eneverpossible e.
Th heSPWebobjec ctcanbefiltere edserversidefo ortheTitleand Templateprop perties.TheSPSiteand SP PSiteAdministra ationobjectscan nbefilteredserversideforOw wner,Secondary yContact,andL LockState.Beca ause,in th hisexample,you uhavetheoptio onofusingserv versidefiltering g,itisrecomme endedyoudoso o.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
736
SharePointBootCamp
Forexample,thefollowingretrievestheWebsitesthatarebasedontheBlogsitedefinitionbyusingserver sidefilteringoftheSPWebobject:
GetSPSiteLimitAll|GetSPWebLimitAllFilter{$_.Templateeq"BLOG#0"}
Operators
Inthefilterexpressionsshownearlier,youmighthavenoticedtheeqcomparisonoperator,whichmeans equals.Thefollowingoperatorsarecommonlyusedinexpressions:
LogicalOperators and or
AdditionalReading
RemovingObjectsfromthePipeline(WhereObject)at http://go.microsoft.com/fwlink/?LinkID=192743&clcid=0x409.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
A nisteringandAutomatingSharePoint Admi
737
Ty ypicalPipeline e
As sobjectsarepa assedthroughth hepipelineofaWindowsPowe erShellcommandorscript,the ereisa co ommonapproachandorderto oworkingwitht thoseobjects: Get.UsetheGetverbtoret trieveobjects. Filter.UsetheWherecmdle ettofilterobjec ctssothattheo onlyobjectsrem maininginthep pipelinearethos se withwhichyo ouwanttowork. Manipulate.Dosomethingt totheobjectsb byusingcmdlet sappropriateto othetypeofob bjectsinthepip peline. Select.Useth heSelectcmdle ettoselectthep propertiesofob bjectsthatyou wanttooutput t. Sort.Usethe eSortcmdlettosorttheresults s,beforeoutput. Output.Use etheFormat,Export,Outtop produceoutput tinthedesired dformat.Ifyou uwanttoconvertthe pipeline obje ect(s)to a spec cific format, you can use the Convert cmdle to do so, an then use the Save et nd methodofth hepipelinetos saveanobject to afile.Anex xampleisshow wnearlierinwhichpipeline ou utputis convertedtoanXMLobject, ,andthensavedtoanXMLfile e. Ex xaminethefollo owingexample:
GetSPWebApplica ation"http://intra anet.contoso.com" "|GetSPSiteLim mitALL|GetSPWe ebLimitALL|Wh hereObject{ $_.WebTemplateeq"BLOG"}|Sele ectURL,Title,WebT Template,LastItem mModifiedDate,C Created|SortLastItemModifiedDate e| ExportCSVdeskto op\StaleBlogs.csv
Th hiscommanddo oesthefollowin ng: GetsWebsitesintheintranetWebapplication Filtersthepip pelinesothato onlyWebsitesw withtheBlogsit tedefinitionrem main Selectsprope ertiesoftheWe ebsites Sortstheresu ultsbythedate eatwhichthela astitemintheW Websitewasm modified Exportsther resultstoaCSVfile
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
738
SharePointBootCamp
Variables
As syouworktowardreadingand dwritingmorecomplexscripts s,youundoubte edlybeginwork kingwith va ariables. As syoulearnedalready,allvariablenamesarep prefixedwithth hedollarsign($ $).To as ssignavariable, ,usethissyntax x:
$variable=value
acceptplaintex WindowsPowerS W Shellcmdletsth hatrequireapassworddonota xt.Passwordsm mustbe co ontainedinase ecurestring,the econtentsofwh hichcannotbe displayed.
WindowsPowerS W Shellalsohasbu uiltinvariables s,includingthef following: $true.Boolea antrue $false.Boole eanfalse $error.Conta ainstheerrorobjectofthelast terror
AdditionalRea A ading
UsingVariabl lestoStoreObjectsathttp:// /go.microsoft.co om/fwlink/?Lin kID=192734&c clcid=0x409.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
A nisteringandAutomatingSharePoint Admi
739
It teration(Loop ping)
Fo orEachObjec ct(%,ForEach h)
Oneofthestreng gthsofWindow wsPowerShellis stheeasewithw whichyoucanperformanope erationon multipleobjects. m .Oneofthemo ostimportantcm mdletsforwork kingonmultiple eobjectsistheF ForEachObject t cm mdlet,common nlyusedbyitsalias,ForEach,or ritssuperabbre eviatedalias,%. .
Th heForEachObjectcmdletitera atesthroughea achobjectinthe epipeline,perf formingoneormoreactionsth hatare co ontainedinasc criptblock.Thes scriptblockisenclosedinbrac kets.
So ometimes,itera ationisdoneimplicitlybyacmdletontherece eivingsideofth hepipeline.Earlier,youlearnedthat th heWhereObjec ctcmdletapplie esafiltertoallo objectsinthep pipeline.Youals sosawthateach hobjectinacollection of fsitecollectionobjectsretrieve edbyGetSPSit tewasprocesse dbyGetSPWe eb,resultingina alistofallWeb sitesin allsitecollections.
AdditionalRea A ading
RepeatingaTaskforMultip pleObjects(For rEachObject)a at crosoft.com/fwlink/?LinkID=19 92744&clcid=0x x409. http://go.mic
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
740
SharePointBootCamp
IterationinScriipts
Ex xaminethefollo owingscript,wh hichcreatesintranetsitesforH HRandMarketi ingintheirown nsite co ollectionsandcontentdatabas ses:
$i=("HR","Marke eting") ForEach($urlin$i) ) { atabaseNameWS SS_Content_Intran net_$urlWebApp plication NewSPContentDa http://intranet.contoso.com $urlContentDatab base NewSPSiteUrlhttp://intranet.contoso.com/sites/$ WSS_Content_Intranet_$urlOwnerAliasCONTOSO\S W SP_AdminTempla ate"STS#0" }
Th hislinecreatesanarrayacol llectionofmultipleitems.Inth hiscase,theitem msarestringva alues.Thearray yitems ar reseparatedby ycommas.Thep parenthesesaro oundtheitems areoptional,butmakeiteasie erto re ead.
ForEach($urlin$i) )
Th hislinestartsth heiteration.For reachiteminth hearrayvariablle$ithescriptb blockthatfollow ws,enclosedinbraces, isexecuted.Thecurrentobjectinthearraydur ringeachiterat tionisassignedt tothevariable$url.Duringeach eration,$urlco ontainsthecurre entitem. ite
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
AdministeringandAutomatingSharePoint
741
NewSPContentDatabaseNameWSS_Content_Intranet_$urlWebApplication http://intranet.contoso.com
The$urlvariableisusedtocreateauniquecontentdatabasenameforeachdepartmentitisthelast componentofthecontentdatabasename.
NewSPSiteUrlhttp://intranet.contoso.com/sites/$urlContentDatabase WSS_Content_Intranet_$urlOwnerAliasCONTOSO\SP_AdminTemplate"STS#0"
The$urlvariableisusedtocreateauniqueURLforthesitecollectionandtoassignthesitecollectiontothe contentdatabasecreatedbythepreviouscommand.
Therightbraceendsthescriptblock.
Thereisablanklineattheendofthescript.IfyouareenteringthescriptdirectlyintheWindows PowerShellconsole,youmustenterablanklinetobegintheexecutionofthescript.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
742
SharePointBootCamp
Lo ocal,Global,an ndRemoteCommands
Th herearetwoca ategoriesofSharePointcmdlets:localandglob bal:
Localcmdletsaffectsometh hingonasingleSharePointserv ver.Forexample,tostartaser rviceonaserver,use erviceInstance cmdlet.Toconn c nectanewSha rePointservert toafarm,usetheConnect theStartSPSe SPConfigurati ionDatabase cm mdlet.Toperfor rmacommand onmultiplese rversinafarm forexample,t tostart aserviceonm multipleservers syouneedtoiteratethrough htheserversinthefarm. Globalcmdle etsaffectthefarmasawhole,generallybyma akingchangest totheSQLServe erdatabase. Forexample, whenyousett thepropertyof aWebapplicat tionusingSetSPWebApplicatio on,the ectsallserversh hostingthatWebapplication.Y Youdonotneed dtotoucheach hserver. propertyaffe Similarly,whe enyoucreateanewsitecollec ctionwithNew SPSite,thesite ecollectionisav vailabletoall SharePointse ervers.
AdditionalRea A ading
RunningRem moteCommand dsathttp://go o.microsoft.com m/fwlink/?LinkID D=192745&clcid=0x409.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
A nisteringandAutomatingSharePoint Admi
743
WindowsPow W werShellScripts s
WindowsPowerS W Shellscriptsare etextfilessaved dwitha.ps1file enameextensio on.
Ex xecutingScrip pts
By ydefault,WindowsPowerShel llscriptsarenot tallowedtorun n.Thisisdonet topreventmalic ciousscriptsfro om da amagingyourenvironment.
To oAllowAllWind dowsPowerShe ellScriptstoExecute Yo oucanremoveallrestrictionsb bysettingExecu utionPolicytoU Unrestricted. TypeSetExe ecutionPolicyu unrestricted,an ndthenpressEN NTER. Th hereare,ofcou urse,significantsecurityrisksby ydoingso.How wever,inatestenvironment,y youmaydecidethat su uchrisksareacc ceptable.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
744
SharePointBootCamp
scripts.Codesigningisbeyondthe scopeof thiscourse,but you can learn more in the resourceslistedin the AdditionalReadingsection.
SchedulingWindowsPowerShellScripts
You can use Task Scheduler to schedule a Windows PowerShell script. This topic is revisited in Module 13, ImplementingBusiness Continuity,toscheduleSharePointbackupoperations.Ofcourse,thescriptsrunonlyif theexecutionpolicyallows.
AdditionalReading
RunningWindowsPowerShellScriptsat http://go.microsoft.com/fwlink/?LinkID=192746&clcid=0x409. StopMaliciousCodeinWindowsPowerShellwithExecutionPoliciesat http://go.microsoft.com/fwlink/?LinkID=192747&clcid=0x409. UsingWindowsPowerShelltoSignScriptswithDigitalCertificatesat http://go.microsoft.com/fwlink/?LinkID=192748&clcid=0x409.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
A AdministeringandAutomatin SharePoint ng
745
Yo ouareresponsibleforensuring gthattheShare ePointfarmcan nbebuiltconsis stentlyinbothlabandproduct tion en nvironments,an ndthatthefarm mcanberebuilt tintheevento ofacatastrophic cfailure.Additionally,youare required to oproduceweek klyreportsshow wingthewebsandstorageutili zationofeachs onfarm. sitecollectionintheproductio To omeetthesego oals,youmustb buildWindowsPowerShellscri ptsthatcanaut tomateSharePo ointmanageme enttasks.
Startthevirtualmachines
1. Start10174A . ACONTOSODC CC.
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
746
SharePointBootCamp
Exercise1:AddingSharePointFunctionalitytoWindowsPowerShell
Scenario
ToautomateSharePointmanagement,youmustuseWindowsPowerShell.ButWindowsPowerShelldoesnot loadSharePoint.dllfilesorsnapinsbydefault.Inthisexercise,youlearnseveralwaystoaddSharePoint managementfunctionalitytoWindowsPowerShell.
Themaintasksforthisexerciseareasfollows:
Task1:LoadSharePoint.dllfilesusing.NETreflection
LogontoSP2010WFE1asCONTOSO\SP_AdminwiththepasswordPa$$w0rd. IntheWindowsQuickLaunch,clickWindowsPowerShell. Toidentifytheassembliesthatarecurrentlyloaded,typethefollowingcommandandthenpress ENTER:
[AppDomain]::CurrentDomain.GetAssemblies()|ForEachObject{SplitPath$_.LocationLeaf}|Sort
TheoutputdisplaysGAC,version,andlocationinformationfortheassembly. Repeatstep3todisplaytheloadedassemblies.
Tip:YoucanpresstheUPkeytoscrollthroughpreviouslyexecutedcommands.
ThelistingincludestheMicrosoft.SharePoint.dll.
Task2:AddtheSharePointsnapinusingtheAddPSSnapincmdlet
TypethefollowingcommandandthenpressENTER:
GetPSSnapin
TypethefollowingcommandandthenpressENTER:
GetPSSnapin
Theoutputliststhesnapinsthathavebeenaddedtothecurrentsession.TheSharePointsnapinisnow added.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
AdministeringandAutomatingSharePoint
747
Toidentifytheassembliesthatarecurrentlyloaded,typethefollowingcommandandthenpress ENTER:
[AppDomain]::CurrentDomain.GetAssemblies()|ForEachObject{SplitPath$_.LocationLeaf}|Sort
Task3:Open SharePoint2010ManagementShell
ClickStart,clickAllPrograms,clickMicrosoftSharePoint2010Products,andthenclickSharePoint 2010ManagementShell. TypethefollowingcommandandpressENTER:
GetPSSnapin
ThelistingdemonstratesthatSharePoint2010ManagementShellpreloadstheSharePoint.dllfiles.
Results:Afterthisexercise,youwillhavelearnedhowtorunWindowsPowerShellwiththeabilityto administerSharePoint.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
748
SharePointBootCamp
Exercise2:DelegatingtheAbilitytoUseWindowsPowerShelltoManage SharePoint
Themaintasksforthisexerciseareasfollows:
1. AttempttouseWindowsPowerShelltoenumeratewebs.
2. ConfigureleastprivilegerightstomanageSharePointwithWindowsPowerShell.
Task1:AttempttouseWindowsPowerShelltoenumeratewebs
InSharePoint2010ManagementShell,typethefollowingcommandandthenpressENTER:
$spsite=GetSPSite"http://intranet.contoso.com"
Toenumerateallofthewebsinthesitecollection,typethefollowingcommandandpressENTER:
$spsite|GetSPWeb
Task2:ConfigureleastprivilegerightstomanageSharePointwithWindowsPowerShell
StartSharePoint2010ManagementShellusingtheRunasdifferentuseroption.Entertheusername, CONTOSO\Administrator, andthepassword,Pa$$w0rd. TypethefollowingcommandseachfollowedbyENTER:
$spcdb=GetSPContentDatabaseWSS_Content_Intranet
AddSPShellAdminUserNameCONTOSO\SP_AdminDatabase$spcdb
CloseAdministratorSharePoint2010ManagementShell.
Results:Afterthisexercise,youwillhavedelegatedSP_AdmintheabilitytomanageSharePointwith WindowsPowerShell.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
AdministeringandAutomatingSharePoint
749
Exercise3:ReportingWeb andSiteCollectionProperties
YouhavebeenaskedtoproduceaweeklyreportofthewebsandstorageutilizationofSharePointsite collections.Inthisexercise,youuseWindowsPowerShelltolistallthewebsinasitecollectionandto producereportsofsitecollectionproperties.
Themaintasksforthisexerciseareasfollows:
1. 2. 3. 4.
Task1:Use WindowsPowerShelltoreportWebproperties
SwitchtoSharePoint2010ManagementShell. Listallofthesitesinthesitecollection,http://intranet.contoso.com.IncludetheLastItemModifiedDate,URL, andCreatedproperties,andsorttheresultsbyCreated.
Tip:YouneedtousetheGetSPSite,GetSPWeb,andSelectcmdlets.
Task2:AttempttousetheGridViewtoreportsitecollectionproperties
Toenumerateallofthesitecollectionsinthefarm,exceptCentralAdministration,typethefollowing commandandthenpressENTER:
GetSPSite
TypethefollowingcommandandthenpressENTER:
GetSPSite|SelectURL,@{Name="Storage";Expression={"{0:N2}MB"f($_.Usage.Storage/1000000)}}, @{Name="Quota";Expression={"{0:N2}MB"f($_.Quota.StorageMaximumLevel/1000000)}}
Thelistingdisplaysvariouspropertiesofeachsitecollection. TypethefollowingcommandandthenpressENTER:
GetSPSite|SelectURL,@{Name="Storage";Expression={"{0:N2}MB"f($_.Usage.Storage/1000000)}}, @{Name="Quota";Expression={"{0:N2}MB"f($_.Quota.StorageMaximumLevel/1000000)}}|OutGridViewTitle"Sites withUsage"
AnerrorindicatesthattheWindowsPowerShellIntegratedScriptingEnvironmentfeatureisnot installed.
Task3:InstalltheWindowsPowerShellIntegratedScriptingEnvironment
TypethefollowingtwocommandseachfollowedbyENTER:
ImportModuleServerManager
AddWindowsFeaturePowerShellISE
ImportModuleServerManager AddWindowsFeaturePowerShellISE
CloseAdministrator:WindowsPowerShell.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
750
SharePointBootCamp
Task4:Use theGridViewtoreportsitecollectionproperties
InSharePoint2010ManagementShell,presstheUParrowseveraltimesuntilyouseethecommandyou typedinTask2,andthenpressENTERtorerunthecommand.
GetSPSite|SelectURL,@{Name="Storage";Expression={"{0:N2}MB"f($_.Usage.Storage/1000000)}}, @{Name="Quota";Expression={"{0:N2}MB"f($_.Quota.StorageMaximumLevel/1000000)}}|OutGridViewTitle"Sites withUsage"
AGridViewwindowappearsdisplayingtheoutputofthecommand. ClosetheSitesWithUsagewindow.
Results:Afterthisexercise,youwillhaveusedWindowsPowerShelltoproducereportsofyour SharePointenvironment.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
AdministeringandAutomatingSharePoint
751
Exercise4:CreatingSiteCollectionsUsingWindowsPowerShell
YouhavebeenaskedtocreatesitesontheintranetforSales,Marketing,andHR.Tocreatethesite collectionsandwebsconsistentlyinboththelabandproductionenvironments,youmustcreateWindows PowerShellscriptstocreatethenewsites.
Themaintasksforthisexerciseareasfollows:
1. CreateasinglesitecollectionusingWindowsPowerShell.
2. CreatemultiplesitecollectionsusingWindowsPowerShell.
Task1:CreateasinglesitecollectionusingWindowsPowerShell
InSharePoint2010ManagementShell,typethefollowingcommands:
NewSPContentDatabaseNameWSS_Content_Intranet_SalesWebApplication http://intranet.contoso.com $spsite=NewSPSiteUrl"http://intranet.contoso.com/sites/Sales"ContentDatabase WSS_Content_Intranet_SalesOwnerAliasCONTOSO\SP_AdminTemplate"STS#0"
Task2:CreatemultiplesitecollectionsusingWindowsPowerShell
InSharePoint2010ManagementShell,createascriptwithaloopthatcreatestwonewsitescalledHR andMarketing.
Tip:Refertothecommandsfromtheprevioustaskandthefollowingexampleofaloop.
Toenumerateallofthesitecollectionsinthefarm,exceptCentralAdministration,typethefollowing commandandthenpressENTER:
GetSPSite
Theoutputliststhenewsitecollections.
Results:Afterthisexercise,youwillhaveusedWindowsPowerShellcmdletsandscriptstocreatenewcontent databases,sitecollections,andsites.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
752
SharePointBootCamp
Exercise5:CreatingandUpdatingItems
Youwanttomodifythedefaultannouncementthatiscreatedonanewteamsitewhenyouprovisiona newsitewithyourWindowsPowerShellscripts. Themaintaskforthisexerciseisasfollows: 1. ModifyalistitemusingWindowsPowerShell.
Task1:ModifyalistitemusingWindowsPowerShell
OpenyournewlycreatedSalessite. OpentheAnnouncementslist,andthenobservethetitleoftheonlyiteminthelist. InSharePoint2010ManagementShell,typethefollowingcommands:
$gc|StopSPAssignment
Results:Afterthisexercise,youwillhaveupdatedalistitemusingaWindowsPowerShellscript.
Donotshutdownthevirtualmachines
Leavethevirtualmachinesrunning.YouwillusethemforLabB.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
A nisteringandAutomatingSharePoint Admi
753
Co ontosos policie encourage and in some cases mandate the automati es a c ion of common tasks. As such, your MicrosoftOffice SharePointServer2007 environmenthad s M severalStsadmscriptsthat we usedto cre ere eate site co ollectionsandw webs.
Th hemaintasksfo orthisexerciseareasfollows:
1. . 2. . 3. . 4. . 5. .
DisplayStsad dmHelpdocum mentation. Enumerates sitecollectionsi inaWebapplic cationusingStsa adm. CreateanOp perationssiteco ollectionusingS Stsadm. CreateanOp perationsMaint tenancesiteusingStsadm. Configureth hesitecollection nadministrator rusingStsadm.
Examinetheoutputofthec command,whic chincludesalist tofthenumero ousoperationss supportedby mplesdisplayed dattheendoft theHelpdocum mentation. Stsadm.Alsonoticetheexam TodisplayHe elpdocumentat tionfortheenu umsitesoperatio on,typethefollowingcomman ndandthenpre ess ENTER:
stsadmhelpen numsites
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
754
SharePointBootCamp
Repeatsteps1and2,andobservetheamountoftimeittakesforeachcommandtoexecute.
Task3:CreateanOperationssitecollectionusingStsadm
UsethecreatesiteoperationofStsadmtocreateasitecollectionandtoplevelwebfortheOperations department,withtheURLhttp://intranet.contoso.com/sites/Operations.AssignCONTOSO\SP_Adminasthe siteadministratorwiththeemailaddresssharepoint@contoso.com. InInternetExplorer,browsetohttp://intranet.contoso.com/sites/Operations.SelecttheTeamSite templateandacceptthedefaultgroupconfiguration.
Task4:CreateanOperations MaintenancesiteusingStsadm
UsethecreateweboperationofStsadmtocreateawebfortheMaintenancedepartmentwiththeURL http://intranet.contoso.com/sites/Operations/Maintenance. InInternetExplorer,browsetothenewsiteandselecttheTeamSitetemplate.
Task5:ConfigurethesitecollectionadministratorusingStsadm
AttempttosignintotheMaintenancesiteasCONTOSO\Administrator withthepassword Pa$$w0rd. Accessisdenied. UsethesiteowneroperationofStsadmtoassignCONTOSO\Administrator asthesiteadministratorofthe Operationssitecollection. ConfirmthatyoucanopentheMaintenancewebasCONTOSO\Administrator.
Results:Afterthisexercise,youwillhaveexecutedseveralStsadmcommandstocreateanew Operationssitecollectionandwebwithaspecificsitecollectionadministrator.
Toprepareforthenextmodule
Whenyoufinishthelab,revertthevirtualmachinesbacktotheirinitialstate.Todothis,completethe followingsteps: Onthehostcomputer,startMicrosoftHyperVManager. RightclickthevirtualmachinenameintheVirtualMachineslist,andthenclickRevert. IntheRevertVirtualMachinedialogbox,clickRevert.
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
A nisteringandAutomatingSharePoint Admi
755
ModuleRe M eviewandTakeaway ys
ReviewQuesti ions
Question:Whataretheadvanta Q agesofusingW WindowsPowerS Shelltomanage eSharePoint?
5/11/2011 3:29:06 PM 60 0000e78-56d0 0-47cd-908f-7 7893da6bdfc0 JOHN MAR 0 RTIN Warning: This is johnm T martin_64@msn.com's uniq copy. It is illegal to rep que s print, redistrib or resell this bute c content. The Licensed Con L ntent is licensed "as-is." Microsoft does not support t Licensed Content in an way this ny and Micros gives no express warra soft anties, guaran ntees or condi itions.Please r report any un nauthorized us to se mscwinfo@ @microsoft.c om.
756
SharePointBootCamp
5/11/2011 3:29:06 PM 60000e78-56d0-47cd-908f-7893da6bdfc0 JOHN MARTIN Warning: This is johnmartin_64@msn.com's unique copy. It is illegal to reprint, redistribute or resell this content. The Licensed Content is licensed "as-is." Microsoft does not support this Licensed Content in any way and Microsoft gives no express warranties, guarantees or conditions.Please report any unauthorized use to mscwinfo@microsoft.com.
Module8
ConfiguringContentManagement
Contents:
Lesson1:OptimizingContentStorageandAccess LabA:ConfiguringListThrottlingandRemoteBLOBStorage Lesson2:ManagingSiteContentTypesandSiteColumns Lesson3:ConfiguringtheManagedMetadataService LabB:ConfiguringManagedMetadata
82
SharePointBootCamp
As syoulearnedin nModule1,Int troducingShare ePoint2010,o oneofthesixca apabilitiesofMicrosoftSharePoint 20 010iscontent.A AfteryouhavebuiltyourSharePointfarmand dthelogicalco mponentsofSh harePointWeb ap pplications,site ecollections,site es,lists,andlibr rariesyourus erswillbeginto opopulateShar rePointwithcontent.
Al lthoughmanyc contentmanage ementfeaturesofSharePoint2 2010areconsid deredenduserfeatures,andare th hereforeoutofscopeforthiscourse,severalf featureswarran ntcoveragebec causetheyrequ uireconfiguratio onby fa arm,serviceapp plication,andsitecollectionad dministrators:lis stthrottling,re motebinarylar rgeobject(BLO OB) st torage(RBS),sitecontenttypes sandcolumns,andmanagedm metadataservic ceapplications.
ConfiguringConte entManagement
83
Lesson1
In nthislesson,you uexplorethead dministrativeta asksrelatedtol istsandlibrarie es,thetwomos stimportant co ontainersforco ontentinsites.Y Youthenlearna abouttwoimpo ortantnewfeat turesofSharePo ointServer 20 010withwhichyoucanbetter rmanageandgo overnboththe performancea andstorageofS SharePoint co ontent:listthro ottlingandRBS.
Af ftercompleting gthislesson,youwillbeableto o:
84
SharePointBootCamp
Lis stsandLibraries
In Module 2, C n Creating a SharePoint 2010 Intranet, you examined a diagram of the logical hierarc of chy Sh harePoint.Apie eceofthatdiag gram,shownintheslide,illustr rchicalstructure eofcontentre elated ratesthehierar ob bjectsinaShare ePointfarm:
In a sitecollectio n on,content is collectedinto listsand docum l ment libraries,a alsocalled, sim mply,libraries.L Lists are co ollectionsofitems,whichcano optionallybegr roupedinfolde ers.Librariesare easpecializedf formoflistdesi ignedto ho oldfiles,calleddocuments,wh hichcanalsobe groupedinfold ders.
CreateaListo orLibrary
Th hestepstocrea atealistorlibra aryarestraightf forwardandwe elldocumented.Butitisimpor rtantthatyoucreatea do ocumentlibrary yorlistthatise easytofind,withauserfriend lyURL,andnav vigationhookssothatuserscan nquickly br rowsetolocate ethelistorlibra ary.
Useaco onsistentstyleofcapitalizatio on,suchasMixe ughInternetInformationServic ces(IIS) edCase.Althou Websit teaddressesare enotcasesensitive,thoughtfu luseofcapitali izationcancrea ateaconsistent environ nmentandcanf facilitatereadability.Someorg ganizationsuse astandardofa alllowercaseURLs; howeve er,mixedcaseU URLs,suchasHu umanResources s,aremorepop pularbecausetheyproviderea adability formultiwordURLs.
KeepURLsshort.Asho orterURLiseas siertorememb berandtype.A Additionally,rem memberthatUR RLsare limitedinlength,to26 60characters,soshortURLsre ducetheriskof foverrunningthatlimitforcon ntent nestedinthislistorlib brary.
Avoidspaces.SpacesinURLsareesca apedbybrowse rsandbecome %20,forexamp ple, http://i intranet.contoso o.com/Shared% %20Documents. Theescapedsp paceisdifficulttoreadand interpre etandcanbep problematicincertainaccesssc cenarios.Avoid spacesinyourURLs.
ConfiguringContentManagement
85
2. Whencreatingthelistorlibrary,configuretheNamefieldtobetheURL.
1. ConfiguretheNamesothattheresultisaURLthatfollowstherulesdiscussedpreviously. 2. DonotaddthelistorlibrarytotheQuickLaunchwhencreatingthelistorlibrary.
3. Aftercreatingthelistorlibrary,changetheTitle.
4. Configurelistandlibrarysettings.
Whenyoucreatealistorlibrary,youshouldconsiderthefollowing:
Enforcecheckout.Fordocumentlibraries,itishighlyrecommendedtoenforcecheckoutifusershave theabilitytomodifydocumentsinthelibrary.ClicktheVersioninglinkontheLibrarySettingspage.
Consider versioning and approval. Consider implementing versioning and approval based on the businessrequirementsforthelistorlibrary.ClicktheVersioninglinkontheLibrarySettingspage.
ManageNavigationtoListsandLibraries
UserscantypetheURLtoalistorlibrarytonavigatetoit,butastheadministratorofaSharePointenvironment, youshouldensurethatthereareeasieroptionsforuserstonavigatetocommonlyusedlists,libraries,andsites.
DeployFavoritesUsingGroupPolicyPreferences
Userscannavigatetoasite,list,orlibrarybyusingWindowsInternetExplorer.Ofcourse,ausercanaddthe location as a Favorite manually. But you can also deploy, or push, Favorites into users Internet Explorer Favorites.
ThefollowinggraphicshowsaGroupPolicyshortcutpropertiessettingthatisconfiguredtocreatealinktothe SpecialProjectsdocumentlibraryontheconsultingsite:
86
SharePointBootCamp
Th heconfigurationelementsofthepropertiesarethefollowin g:
Action:TheUpdateactionc notexistandup createsaFavor riteifonedoesn pdatestheFavo oriteifithas changed. Name:TheN Nameistheuse erfriendlyname eoftheFavorit te,asitwillappearintheuser sFavoritesfold der. Usingthefoldername\Favo oritesNameform matcreatesafo olderintheFav voritesfolder.In nthepreceding g figure,afold dernamedShar rePointSitesisc createdorupda atedwithaFavo oritecalledCon nsultingSpecial Projects.
TargetType: :ThisisURL.
Location:ExplorerFavorites s.
AdditionalRea A ading
DeployingS ShortcutsandF FavoritestoSharePointSitesa at http://go.microsoft.com/fw wlink/?LinkID=1 197205&clcid=0 0x409.
De eployNetworkLocationsforQ QuickAccessto SharePointSite esUsingWindo owsExplorer UsersdontalwaysaccessSharePointlibrariesb byusingInterne etExplorer.The eyalsonavigate etolibrarieswh hen peningandsavi ingdocumentsf fromMicrosoft tOfficeclientap pplicationsand otherSharePoi intaware op ap pplications.
Th heWindowsVis staoperatings systemandlate erclientsprovid esuchfunction nalityusingnetw worklocations.A ne etworklocation nisanodeintheWindowsExp plorerinterface thatbehaveslikeamappeddr rivebutthatha asaname ra atherthanadriv veletter.
1. OpentheCo . omputerfolder. .
ConfiguringContentManagement
87
88
SharePointBootCamp
Sh harePoint2010listsexposeimp portantfunctio onalitythatwas notavailablein npreviousversi ionsof Sh harePoint:
Largelists.S SharePoint2010 0listsaresuppo ortedforupto5 50millionitems s.Thisispossiblebecauseof performanceenhancement tsandnewfeat turessuchasmu ulticolumnlists s.
Listrelation nships.SharePoint2010listssu upportrelations hips.Relatedlis stscanenforcereferentialinte egrity bothcascad dedeleteandpr reventdelete.Fo orexample,ify youhavealisto ofcustomerstha atisrelatedtoa alistof orders,youcanconfigureS SharePointsoth hatyoucannotd deleteacustom merforwhomo ordersexists(pr revent delete)orso othatwhenyou udeleteacusto omer,relatedor rdersaredelete ed(cascadedelete). Relatedlists salsosupportpr rojectedfields.T Thesearefields sfromthepare ntlistthatcanbeshownonth hechild list.Forexam mple,anorderi itemthatisrela atedtoacustom meritemcandi isplaythecusto omersname,ad ddress, emailaddress,andtelepho onenumber.
Datavalidat tion.Youcanpe erformsimpled datavalidationiinanoutofbox xSharePointlist t.Alistcolumn can havedatava alidation,which hensuresthata acolumnsvalue emeetsspecifie edrules.Alistc canalsohaveun nique columns,wh hichensurestha atnotwoitems shavethesame evalueintheco olumns.Forexa ample,youcansetthe emailaddresscolumnofac contactslisttobeuniquesoth hatnotwocont tactsarecreate edwithidenticalemail addresses.
Documents sets.ADocumen ntsetisacollec ctionofdocume entswithitsow wnmetadataan ndversions. WithDocum mentsets,youcanmanageane entirecollection nofdocuments s,worksheets,p presentations,o or othertypesofdocumentco ontentasanentireendtoend dworkproduct. . hdocumentina aDocumentset t,andadditiona almetadataisa appliedtothe Metadataisappliedtoeach FordocumentsinsideofaDocu umentset,adm ministratorscanselectcolumnsthat Documentsetasawhole.F markedasreadonly.Theprope ertycanbeedit tedonlyonthe Documentset.Anychangesto othe theywantm columnthat taremarkedasreadonlyarea appliedtoallof fthedocument tsinside.
ConfiguringContentManagement
89
ADocumentsetincludesaWelcomepagethatactsasacustomizablehomepagefortheDocumentset, displayingthepropertiesoftheDocumentset.
Digitalassetmanagement.SharePointlistsnowprovidecapabilitiesformanagingaudio,video,andimage contenttypes.
Locationbasedmetadatadefaults.Libraryadministratorscanspecifydifferentdefaultcolumnvalues foreachfolderinadocumentlibrary.
AdditionalReading
What'sNew:ListEnhancementsathttp://go.microsoft.com/fwlink/?LinkID=197206&clcid=0x409.
810
SharePointBootCamp
La argeLists
Sh harePoint2010canhandleten nsofmillionsof itemsinalisto orlibrary.Howe ever,operations sinvolvinglarge e nu umbersofitemscanreducepe erformance,lim mitaccesstodat ta,andcausetim meouts.
Querywithn noitemlimit
Addingacol lumntoalargelist
Co onfiguringLis stThrottling
To oconfigurelistt throttling,completethefollow wingsteps:
TheWebAp pplicationsManagementpageopens.
2. ClicktheWe . ebapplicationfo orwhichyouwanttoconfigur relistthrottling. 3. Ontheribbo . on,clicktheGen neralSettingsd dropdownarro ow,andthencli ickResourceTh hrottling.
TheResourc ceThrottlingpageopens.
ConfiguringConte entManagement
811
Li istThrottlingSettings
Th hefollowinggra aphicshowsthe elistthrottlings settingsonthe ResourceThrot ttlingpage.
Th hemostcommo onlyconfigured dsettingsareas follows:
ListViewTh hreshold.Thisvalueconfigures sthemaximum numberofitem msthatcanbeq queriedbystan ndard users. commendedtha atyoudonotch hangethisdefa ault.Ifpoorper rforming Thedefaultis5,000items.Itisstronglyrec thmorethan5,000items,ove erallthroughput tmaysignifican ntlydecreasewhen queriesareusedonlistswit raisingthislimit.
ObjectModelOverride.Youcanapplyase econdleveloft throttlingtosup perusers.Theo overrideallows a superusertoretrievealarg gernumberofitems.Toconfig guresuperuser roverride,youm mustconfigure both ofthefollow wing:
ListView wThresholdFo orAuditorsAnd dAdministrator rs.Thisvalueco onfiguresthem maximumnumberof itemsth hatcanbequer riedbysuperus sers.Thedefaulltis20,000item ms.
Superusero overridedoesno otallowlargelistviewsacces ssmustbethro oughtheobjectmodel.Developerscan settheQuer ryThrottleMode epropertyofSP PQueryandSPS SiteDataQueryo objectstoretrie eveuptothenu umber ofitemsspe ecifiedinthelist tviewthreshold dforauditorsan ndadministrato ors.
DailyTimeW WindowForLar rgeQueries.Yo oucanspecifya periodoftime duringwhichla argequeriescanbe executed.Yo oushouldensurethatthetime ewindowiscon nfiguredtomin imizetheriskofaffectinguser rsbased onyourusag gepatterns.
812
SharePointBootCamp
SeveralotherlistthrottlingsettingsareavailableontheResourceThrottlingpage.
ListViewLookupThreshold.Thisvalue,6bydefault,specifiesthenumberofLookup, Person/Group,orWorkflowStatusfieldsthatadatabasequerycaninvolveatonetime. ListUniquePermissions.Ifalistcontainstoomanyuniquepermissions,thesystemcanexperience performancedegradation.Thedefaultvalueforthissettingis50,000.Asthenumberofuniquepermissions inalistincreases,performancedegrades.Reconsideranydesigninwhichallormostcontentinalargelist mustbeuniquelysecured.Thethroughputdifferenceforoperationsonalistbetween0and1,000unique permissionsisaround20percent.Thereisaconfigurabledefaultof 50,000uniquepermissionsperlist;however,Microsoftrecommendsthatyouconsiderloweringthislimitto 5,000,andforlargelistsconsiderusingadesignthatusesasfewuniquepermissionsaspossible.Thisaids notonlyperformancebutalsomanageability.
AdditionalReading
DesigningLargeListsandMaximizingListPerformanceat http://go.microsoft.com/fwlink/?LinkID=197207&clcid=0x409.
ConfiguringConte entManagement
813
Re emoteBLOBStorage
Bi inarylargeobje ects(BLOBs)areusedtostorela argebinarydat tasuchasdocum mentsandmed dia.Bydefault,B BLOBs ar restoredintheMicrosoftSQLServerconten ntdatabase.Wit thRemoteBLO BStorage,youcanmovestora ageof BL LOBstoadiffer rentdatastore.
BLOBs
plesofBLOBs: BL LOBsarefieldst thatcontainbin narydata.Followingareexamp
QLServerstores sBLOBdataind databasesbyde efault.ButasBL LOBdataexpan nds,itconsumes sserverstorage e. SQ Ad dditionally,BLO OBsuseserverresources,forex xample,cache,thatareoptimi izedfordatabas seaccesspatterns, no otforstoringlargefiles.Theref fore,performan ncecanbedegr raded.
RemoteBLOBStorage
Re emoteBLOBSto orage(RBS)mov vesthestorage eofBLOBstoco ommoditystorag gesolutionstha atcanbeless ex xpensiveandth hatareconfigur redtohandlesim mplestorage.T ThebenefitsofR RBSincludethe efollowing:
RB BSisalibraryap pplicationprogr ramminginterfa ace(API)thatis sintegratedint oSQLServer20 008.RBSworksona pr rovidermodel.A AnRBSprovider rconnectsSQL Serverandthe RBSAPIsofthe eBLOBstore.RB BSshipswithRB BS FILESTREAMprov vider.Therefore e,youcanimmediatelystartto ousetheRBSFI ILESTREAMprovidertomoveB BLOBs setoafolderon nalocalNTFSv volume. fromthedatabas
RBSandShare ePoint2010
Sh harePoint2010supportsRBSFILESTREAMpro oviderwiththef followingconst traints:
814
SharePointBootCamp
Localharddisksonly.SharePointdoesnotsupportRBSremotestorage,suchasnetworkattachedstorage (NAS).
Contentdatabasesonly.OtherdatabasescannotuseRBS.
SQLServerversions.SharePoint2010supportsRBSonSQLServer2008withServicePack1(SP1) andCumulativeUpdate2orSQLServer2008R2.
RBSversion.YoumustusetheversionofRBSthatisincludedwiththeSQLServerRemoteBLOBStore installationpackagefromtheFeaturePackforMicrosoftSQLServerR2.
SharePointalsosupportsthirdpartyRBSproviders.
AdditionalReading
OverviewofRemoteBLOBStorage(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=197208&clcid=0x409.
Guidance:ShouldIUseRBS?
WhenyoudeterminewhetherRBSisappropriateforaparticularcontentdatabase,youshouldbalance considerationsofstorage,performance,andmanageability.Youshouldevaluatethefollowingthreequestions:
AdditionalReading
FILESTREAMStorageinSQLServer2008at http://go.microsoft.com/fwlink/?LinkID=197209&clcid=0x409.
ConfiguringConte entManagement
815
Co onfiguringRBSf forSharePoint2 2010isamultis stepprocess.In thistopic,each hstepisdetailed d.Toperformt these pr rocedures,youmustloginwith hanaccountwiththefollowin ngcharacteristic cs:
En nableFILESTR REAM
First,youmustenableFILESTREA AMbyusingSQ QLServerConfig gurationManag ger.
En nableFILESTR REAM
1. StartSQLServerConfigurat . tionManager.
2. ClickSQLSer . rverServices.
4. ClicktheFILE . ESTREAMtab.
8. ClickOK. .
816
SharePointBootCamp
ConfigureFILESTREAMAccessLevel
1. StartSQLServerManagementStudio.
2. InObjectExplorer,rightclicktheSQLServer,andthenclickProperties.
3. IntheSelectapagesection,clickAdvanced.
4. ClickFilestreamAccessLevel,clickthedropdownarrow,clickFullaccessenabled,andthenclick OK.
AmessageappearsindicatingthatyoumustrestartSQLServer.
5. InObjectExplorer,rightclickthecomputerrunningSQLServer,andthenclickRestart.
Aconfirmationdialogappears.
6. ClickYes.
Alternately,youcanexecutethefollowingquerytosettheFILESTREAMaccesslevel:
EXECsp_configurefilestream_access_level,2 RECONFIGURE
AdditionalReading
Howto:EnableFILESTREAMathttp://go.microsoft.com/fwlink/?LinkID=166110&clcid=0x409.
ProvisionaBLOBStore
ThenextstepistoprovisiontheBLOBstorethat,inthiscase,isafolderonalocalstoragevolume,for example,C:\Blobstore.
IMPORTANT:DonotcreatethefolderbyusingWindowsExplorer.Usethefollowingprocedure,and SQLServerwillcreatethefolderautomatically.
1. StartSQLServerManagementStudio.
2. SelectthecontentdatabaseforwhichyouwanttoprovisionaBLOBstore,andthenclicktheNew Querybuttononthetoolbar.
TheQueryEditoropensanewqueryinthedetailspane.
3. Tosetthedatabasemasterkey,typethefollowingqueryintotheQueryEditor:
use[ContentDBName]
ifnotexists(select*fromsys.symmetric_keyswherename=N'##MS_DatabaseMasterKey##')create masterkeyencryptionbypassword=N'EncryptionKeyPassword'
Where:
ContentDBNameisthenameofthecontentdatabaseforwhichRemoteBLOBStorewillbe provisioned.
EncryptionKeyPasswordisapasswordusedtogenerateanencryptionkey.Itshouldbeaunique, complexpassphrase.
4. ClicktheExecutebuttoninthetoolbar.
5. ClicktheNewQuerybuttononthetoolbar.
TheQueryEditoropensanewqueryinthedetailspane.
ConfiguringContentManagement
817
6. ToenableanewfilegroupforyourRBSprovider,typethefollowingqueryintotheQueryEditor:
addfilegroupRBSFilestreamProvidercontainsfilestream
Where:
ContentDBNameisthenameofthecontentdatabaseforwhichRemoteBLOBStorewillbe provisioned.
7. ClicktheExecutebuttoninthetoolbar.
8. ClicktheNewQuerybuttononthetoolbar.
TheQueryEditoropensanewqueryinthedetailspane.
9. ToaddafilesystemmappingforyourRBSprovider,typethefollowingqueryintotheQueryEditor:
use[ContentDBName]
alterdatabase[ContentDBName]addfile(name=RBSFilestreamFile,filename= 'BlobStorePath')tofilegroupRBSFilestreamProvider
Where:
ContentDBNameisthenameofthecontentdatabaseforwhichRemoteBLOBStorewillbe provisioned.
10.ClicktheExecutebuttononthetoolbar.
RepeattheprocedureforeachcontentdatabaseforwhichRBSshouldbeprovisioned.
InstallRBSonAllSharePointServers
Next,youmustinstallRBSonallSharePointserversinthefarm.Startonaserverthatisafrontendserver.Then, installallotherservers,includingdedicatedapplicationservers.
InstallRBSonaFrontEndServer 1. DownloadRBS.msifromhttp://go.microsoft.com/fwlink/?LinkID=177388.
2. UsethefollowingcommandtoinstallRBS.Donotsimplydoubleclickthepackage.
Where:
InstallLogFileisthenameandoptionalpathofalogfilethatwillbegeneratedbytheinstallation,for example,rbs_install_log.txt.
818
SharePointBootCamp
ContentDBNameisthenameofthecontentdatabaseforwhichRemoteBLOBStorehasbeen provisioned.
DBInstanceNameistheserverandinstancenameofSQLServer.
Installationtakesafewminutes.YoucanmonitorinstallationbyusingTaskManager.Youcanalsomonitor thelogfileforthetextInstallationcompletedsuccessfully.Forexample,usethefollowingcommand:
typerbs_install_log.txt|find"successfully"/i
msiexec/qn/lvx*<InstallLogFile>/iRBS.msiDBNAME="<ContentDbName>"DBINSTANCE="<DBInstanceName>" ADDLOCAL="Client,Docs,Maintainer,ServerScript,FilestreamClient,FilestreamServer"
Where:
ConfirmRBSInstallation
YoucanconfirmtheinstallationofRBSbyexaminingthecontentdatabasefortablesthatbeginwith mssqlrbs.Youcanusethefollowingquerytodeterminewhetherthetablesexist:
EnableRBSUsingWindowsPowerShell
YoumustenableRBSononeWebserverintheSharePointfarm.ItdoesnotmatterwhichWebserveryouchoose forthisactivity,aslongasRBSwasinstalledonitbyusingthepreviousprocedure.
InSharePoint2010ManagementShell,typethefollowingcommands:
Where:
ContentDBNameisthenameofthecontentdatabaseforwhichRemoteBLOBStorehasbeen provisioned.
ConfigureBLOBSizeThresholdUsingWindowsPowerShell
YoucanconfiguretheBLOBsizethresholdabovewhichBLOBsarestoredintheRBSprovider.IfaBLOBisbelow thethreshold,itisstoredintheSQLServerdatabase.
InSharePoint2010ManagementShell,typethefollowingcommands:
ConfiguringContentManagement
819
$cdb=GetSPContentDatabase"<ContentDBName>" $rbss=$cdb.RemoteBlobStorageSettings $rbss.MinimumBlobStorageSize=1048576 $cdb.update()
Where:
ContentDBNameisthenameofthecontentdatabaseforwhichRemoteBLOBStorehasbeen provisioned.
AdditionalReading
InstallandconfigureRemoteBLOBStorage(RBS)withtheFILESTREAMprovider(SharePointServer 2010)athttp://go.microsoft.com/fwlink/?LinkID=197210&clcid=0x409.
SetacontentdatabasetouseRemoteBlobStorage(RBS)(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=197211&clcid=0x409.
MigratecontentintooroutofRemoteBLOBStorage(RBS)(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=197212&clcid=0x409.
820
SharePointBootCamp S
HowRemoteBLOBStorage eWorks
BL LOBobjectsstoredwiththeFIL LESTREAMprov viderarestored donthefilesyst temwithglobal llyunique id dentifier(GUID)basednamesthatprovideau uniquelinkfrom mtheRBStables s.
BL LOBcontentisn notencrypted.TransparentDa ataEncryption( (TDE),whichcanencryptthec contentofBLOB BsinSQL Se erver,isnotapp pliedtotheFILE ESTREAMprovid der.However,y youcanuseNTF FSEncryptingFileSystem(EFS) ): Co onfiguretheBlo obstorefoldert tobeencrypted dafterthefolde erhasbeencrea atedbySQLSer rver.NTFSEFSis s tr ransparenttoco omponentsacce essingtheNTFS Sfilesystem.
IfyouareusingR RBS,itisimportantthatyouco onsiderhowyou uwillbackupan ndrestoretheB BLOBstore.Ifyouuse heSharePointbuiltintoolsforbackup,RBSBL LOBstoresarei ncludedinthebackup.Youcanevenrestore sucha th ba ackuptoacomputerrunningS SQLServerwithoutRBStheB BLOBswillbere storedintothe edatabaseitself f.
Th heSQLServerb backupcomman nddoesnotbac ckupBLOBsinR RBS.However,t theproceduref forproperlybac ckingup bo othadatabaseandtheBLOBs storeisstraightf forward.First,b backupthedat abase.Then,ba ackupthefiles store.To pe erformarestor re,firstrestoret thefilestore,an ndthenrestore ethedatabase.
ConfiguringConte entManagement
821
Sc cenario
Yo ouhavejustins stalledanewSh harePoint2010s serverfarmatC Contoso,Ltd.Yo ourpreviousSh harePoint2007 en nvironmentincludedsomever rylargeliststhatperformedpo oorlyforendus sersandlargedo ocumentlibrariesthat in ncreasedthesize eofcontentdatabasesandthe ereforethetim erequiredtop erformbackupandrestore op perations.Yourrevisedgovern nancepolicyfor SharePoint201 10requiresthat tlargelistshave econtrolstoma anage pe erformanceand dthatthesizeo ofcontentdatab basesbemorec carefullymanag ged.Tosupport ttheserequirem ments, yo ouhavebeenta askedwithimplementinglistth hrottlingandRe emoteBLOBSto orage.
822
SharePointBootCamp
Exercise1:ConfiguringListThrottling
Inthisexercise,youexperiencelatencyproblemswhenperformingoperationsonverylargelists.You applylistthrottlingtoensurethatsuchoperationsdonotcauseexcessivestressontheSharePointfarm.The maintasksforthisexerciseareasfollows: 1. Createacomputerinventorylist.
2. ConfigureleastprivilegerightstomanageSharePointusingWindowsPowerShell.
3. CreatealargelistusingWindowsPowerShell.
4. Observethelistviewthreshold.
5. Additemstoexceedthelistthreshold.
6. Experiencelistthrottling.
7. Configurelistthrottling.
Task1:Createacomputerinventorylist
LogontoSP2010WFE1asCONTOSO\SP_AdminusingthepasswordPa$$w0rd.
OpenInternetExplorer,andthenbrowsetohttp://intranet.contoso.com /sites/IT.
CreateacustomlistnamedComputerInventory.Aftercreatingthelist,changeitsnameand descriptiontoComputerInventory(withaspace).
CreatetwosinglelinetextcolumnsnamedComputerNameandSerialNumber.
Task2:ConfigureleastprivilegerightstomanageSharePointusingWindowsPowerShell
Typethefollowingcommand,andthenpressENTER:
AddSPShellAdminUserNameCONTOSO\SP_AdminDatabase(GetSPContentDatabase "WSS_Content_Intranet_IT")
ClosetheWindowsPowerShellwindow.
Task3:CreatealargelistusingWindowsPowerShell
InSharePoint2010ManagementShell,create4,000itemsinthenewlistbytypingthefollowing commands:
$site=GetSPSite"http://intranet.contoso.com/sites/IT" $web=$site.rootweb $list=$web.Lists["ComputerInventory"] $i=1
do{ #additem $newitem=$list.items.Add() $newitem["Title"]="Client"+$i.ToString().PadLeft(4,"0"); $newitem["ComputerName"]="Client"+$i.ToString().PadLeft(4,"0"); $newitem["SerialNumber"]=$i.ToString().PadLeft(8,"0"); $newitem.Update() $i++ } while($ile4000) $web.dispose()
ConfiguringContentManagement
823
$site.dispose()
YoucanwatchtheprogressofthescriptbyrefreshingtheComputerInventorylistpageintheITWeb.
Task4:Observethelistviewthreshold
OpentheListSettingsoftheComputerInventorylist,andthenverifythattheListviewthreshold messageindicatesthatthelistcontains4,000items.
Task5:Additems toexceedthelistthreshold
InSharePoint2010ManagementShell,create5,000additionalitemsintheComputerInventorylistby typingthefollowingcommands:
$site=GetSPSite"http://intranet.contoso.com/sites/IT" $web=$site.rootweb $list=$web.Lists["ComputerInventory"] $i=4001 do{ #additem $newitem=$list.items.Add() $newitem["Title"]="Client"+$i.ToString().PadLeft(4,"0"); $newitem["ComputerName"]="Client"+$i.ToString().PadLeft(4,"0"); $newitem["SerialNumber"]=$i.ToString().PadLeft(8,"0"); $newitem.Update() $i++ } while($ile9000)
$web.dispose() $site.dispose()
YoucanwatchtheprogressofthescriptbyrefreshingtheComputerInventorylistpageintheITWeb.
Task6:Experiencelistthrottling
Task7:Configurelistthrottling
OpenSharePoint2010CentralAdministration.InCentralAdministration,changetheresourcethrottling settingsfortheSharePointintranet.contoso.com80Webapplication.ConfiguretheListViewThresholdto 10000. SwitchbacktotheComputerInventorylist.IntheComputerInventorylist,pointattheTitlecolumn header,andthenclickthedropdownarrowthatappears.VerifythattheShowFilterChoices commandisnowavailable.
824
SharePointBootCamp
ConfiguringContentManagement
825
Exercise2:EnablingFILESTREAMandProvisioningtheRBSDataStore
Inthisexercise,youenableFILESTREAMandconfigureRBSonthecomputerthatisrunningSQLServer 2008.
Themaintasksforthisexerciseareasfollows:
1. EnableFILESTREAMonthecomputerrunningSQLServer.
2. ProvisionaBLOBstore.
Task1:EnableFILESTREAMonthecomputerrunningSQLServer
ClickSQLServerServices,andthenopenthepropertiesofSQLServer(MSSQLServer).Inthe FILESTREAMtab,selectallthreecheckboxes,andthencloseSQLServerConfigurationManager.
OpenthepropertiesofSP2010WFE1,andthenconfigureFilestreamAccessLevelsothatfullaccessis enabled.Then,restartSQLServerservices.
Task2:ProvisionaBLOBstore
InSQLServerManagementStudio,selecttheWSS_Content_Intranet_ITcontentdatabase.Setthe databasemasterkeybyexecutingthefollowingquery:
use[WSS_Content_Intranet_IT] ifnotexists(select*fromsys.symmetric_keyswherename=N'##MS_DatabaseMasterKey##')createmasterkeyencryption bypassword=N'MasterKeyPa$$w0rd'
AddafilegroupfortheRBSproviderbyexecutingthefollowingquery:
ifnotexists(selectgroupnamefromsysfilegroupswheregroupname=N'RBSFilestreamProvider')alterdatabase [WSS_Content_Intranet_IT]addfilegroupRBSFilestreamProvidercontainsfilestream
AddafilesystemmappingfortheRBSproviderbyexecutingthefollowingquery:
alterdatabase[WSS_Content_Intranet_IT]addfile(name=RBSFilestreamFile,filename ='c:\Blobstore')tofilegroupRBSFilestreamProvider
Results:Afterthisexercise,youshouldhaveenabledFILESTREAMandconfiguredRBSonthe computerrunningSQLServer.
826
SharePointBootCamp
Themaintasksforthisexerciseareasfollows:
1. InstallRBSonthefirstWebserver.
2. ConfirmtheinstallationofRBS.
3. EnableRBSforacontentdatabase.
4. TesttheRBSprovider.
Task1:InstallRBSonthefirstWebserver
StartCommandPromptusingtheRunasadministratoroption.ChangetotheD:\Labfiles\Lab04 folder,typethefollowingcommand,andthenwaitoneminutefortheoperationtocomplete:
msiexec/qn/lvx*rbs_install_log1.txt/iRBS.msiTRUSTSERVERCERTIFICATE=trueFILEGROUP=PRIMARY DBNAME="WSS_Content_Intranet_IT"DBINSTANCE="SP2010WFE1"FILESTREAMFILEGROUP=RBSFilestreamProvider FILESTREAMSTORENAME=FilestreamProvider_1
Task2:ConfirmtheinstallationofRBS
OpenD:\Labfiles\Lab04\rbs_install_Log1.txt,andthenconfirmthatyouseethefollowinglinewithin thelast20linesoftheendofthefile:
Product:SQLServer2008R2RemoteBlobStoreInstallationcompletedsuccessfully.
InSQLServerManagementStudio,refreshtheviewoftheObjectExplorertree,andthenverifythatseveral tablesexistintheWSS_Content_Intranet_ITdatabasethathavenamesthatbeginwiththelettersmssqlrbs.
Task3:EnableRBSforacontentdatabase
InSharePoint2010ManagementShell,enableRBSfortheWSS_Content_Intranet_ITdatabasebytyping thefollowingcommands:
$cdb=GetSPContentDatabase"WSS_Content_Intranet_IT" $rbss=$cdb.RemoteBlobStorageSettings $rbss.Installed() $rbss.Enable() $rbss.SetActiveProviderName($rbss.GetProviderNames()[0]) $rbss
Task4:Test theRBSprovider
SwitchtoWindowsExplorerandverifythatthefilehasbeenaddedtotheBlobstorefolder.
Results:Afterthisexercise,youshouldhaveconfiguredRBSontheSharePointfarmandtestedits functionality.
ConfiguringContentManagement
827
Exercise4:ConfiguringtheBLOBSizeThresholdforRBS
Youhavediscoveredthat,bydefault,RBSstoresallBLOBsintheBlobstorefolder.Aftertestinginyourlab, youdeterminedthatoptimalperformanceisachievedonyourinfrastructurewhenBLOBsoflessthan1 Megabyte(MB)arestoredinthecontentdatabase,andBLOBsgreaterthan1MBarestoredinthefilesystem. Inthisexercise,youconfigureRBSsothatonlyfilesgreaterthan1MBarestoredinthefilesystem.
Themaintasksforthisexerciseareasfollows:
1. Configuretheminimumblobstoragesize.
2. Validatethebehaviorofminimumblobstoragesize.
Task1:ConfiguretheminimumBLOBstoragesize
Task2:ValidatethebehaviorofminimumBLOBstoragesize
Switch to Windows Explorer, open the C:\Blobstore folder, and, by examining file sizes and timestamps,verifythatSharePoint_2010_Walkthrough_Guide.pdf wasmovedtoBlobstorewhereas SharePoint_2010_Datasheet.pdf wasnotmovedtoBlobstore.
Results:Afterthisexercise,youshouldhavemodifiedtheRBSconfigurationtostorefileslargerthan 1Mbyteinthefilesystem.
Donotshutdownthevirtualmachines
Leavethevirtualmachinesrunning.YouusethemforLabB.
828
SharePointBootCamp S
Lesson2
In nlistsandlibraries,userscreate econtent.Share ePointServer2 010offersimpr ressivecontentmanagement fu unctionality,wh hichbeginswith htheabilitytod describeconten ntwithmetadat tausingcolumn nsandtodefine e co ontenttypes.In nthislesson,you ulearnhowtom managesitecon ntenttypesand dsuchcolumns. stknowhowto Al lthoughpoweruserscanperfo ormthesetasks incertainenvir ronments,ITpr rofessionalsmus o su upportthesetas sks.
Fu urthermore,youmusthaveas solidunderstandingofcolumns sandcontentty ypesatthesite elevelbeforeyo oucan ta akeadvantageo ofthemanagedmetadataserv vice,thetopicof fthenextlesso on.
Af ftercompleting gthislesson,youwillbeableto o:
ConfiguringConte entManagement
829
ContentTypes s
Co ontenttypesaredefinitionsof ftypesofcontentthatcanbes storedinlistsan ndlibraries.The eyare,ineffect t, aschemaforthetypesofobject tsthatcanexist tinasite.Conte enttypesarean nimportant omponentofyo ourinformation narchitecture(IA),whichtypica allyreferstobo oththecontent ttypehierarchy yand co ta axonomy.
Co ontenttypesarescopedtothe esiteinwhichtheyarecreated dandallsubsite es.Youcancrea atecontenttype esin an nysite.Howeve er,itisabestpr ractice,whenpo ossible,tocreat tecontenttype esinthetoplev velsiteofasite co ollectionsothat tthecontentty ypesareavailab bletoallsitesin thesitecollect tion.
To odeployconten nttypesacrossm multiplesiteco ollections,youc anuseVisualSt tudiotodefineandpackageth he co ontenttypeasa asolutionspack kage(.wspfile). Thisispossible einbothShareP Point2007andS SharePoint 20 010.
Sh harePoint2010introducesthemanagedmeta adataserviceap pplication,whic chpublishescon ntenttypesand d co olumnsfromon nesitecollection nacrosssitecol llections,Weba applications,an ndfarms.Youle earnmoreabou utthe managedmetada m ataserviceappl licationinthen nextlesson.
1. Createasite . econtenttype.
830
SharePointBootCamp
To oworkwithcon ntenttypesinasite,youfirstcreatetheconte enttype,andth henassociateitwithalistorlib brary.
2. ClickCreate. .
3. Configureth . hefollowing:
Parentcontenttype.A Acontenttypei isderivedfrom fanothercontenttype.Fore example, isthechildof whenyoucreateacus stomdocument tcontenttype,y youtypicallywa anttomakeita achildofthebu uiltin Documentcontenttyp pe.Acontentty ypeinheritsitsp propertiesfrom mitsparentcont tenttype.
Group.Whenyoucrea ateacontentty ype,youcanput titinacontent ttypegrouptomakeiteasiert to locatet thecontenttype.Thegroupha asnotechnicalimpactwhatso everitispure elyorganization nalbut itisrecommendedtok keepcustomco ontenttypestha atyoucreatese eparatefromco ontenttypesthatare builtinorthatarecreatedbythirdpartytools.
Docume enttemplate.If fyoucreatead documentconte enttype,youca anassociateatemplatewithth he content ttype.OntheS SiteContentTyp peInformation pagefortheco ontenttype,clic ck Advanc cedSettings.Use etheUploadop ptiontoupload theappropriat tetemplate.Thetemplatecanbeany fileform mat.
ConfiguringConte entManagement
831
By ydefault,alistcontainsonety ypeofitem,and dalibraryconta ainsoneconten nttype:Docume ent.Tousecontent ty ypesinalistorlibrary,youmus stfirstenableth hemanagemen ntofcontenttypesinthelistorlibrary.
Ifyouhavemore ethanonecontenttypeinalis storlibrary,you ucanchangeth heorderinwhic chthecontentt types ppearontheNe ewmenuofthe eribbon.ClickC ChangeNewBu ttonOrderAnd dDefaultContentType. ap
Ifyouareusingc customcontent ttypesandno longerrequiret thedefaultDoc cumentoritem mcontenttype, youcan elete it. In the Content Types list, click Doc cument. Click D Delete This Co ntent Type, an then click O when nd OK de pr romptedtocon nfirm.
Cr reateaDocumentfromaTemplate
WhenyouclicktheNewbuttonontheribbon ofthelistorlib W brary,oryouclic ckitsdropdow wnmenu,youcr reatea ne ewdocumentb basedonthetem mplatespecifiedbytheconten nttype.
832
SharePointBootCamp
ConfiguringConte entManagement
833
ContentTypeProperties
Co ontenttypesex xposemanyproperties,inaddit tiontothedocu umenttemplat tepropertyford documentcont tent ty ypes.Contentty ypesdefinethefollowing:
DocumentIn nformationPan nel(DIP).TheD DIPisaformtha atappearsabov vethedocumen ntinsomeMicrosoft Officeclient tapplications,suchasMicrosof ftOfficeWord .TheDIPdispla aysthepropertiesofthedocument, givingusersawaytoreada andmodifyprop pertiesinthecllientapplication ninsteadofori inadditiontou usingthe SharePointW Webuserinterf face.TheDIPca anbecustomize edbyusingInfo oPathtoinclude ebusinesslogic, ,access tootherdat tasources,andrichinteraction n.
Information nmanagementpolicysettings.Youcanconfig guredocument tandrecordpol liciesincluding retention,auditing,barcod des,andlabels. oucandefineco olumns,alsocalledattributes, properties,orm metadata,foracontenttype. Columns.Yo Forexample e,acontenttypeforcontracts mightbegiven nadatecolumn nthatspecifiest theexpirationd dateof thecontract t.
ontenttypesareanimportantcomponentof yourenterprise einformationa architecture(IA) ).IA,whichalso o Co in ncludestaxonom mythesubject tofthenextles ssondefinesh owusersidenti ify,locate,andsearchforcont tent.You ca animplementIA Abyclassifyingcontentbasedoncontenttype esforexampl le,beingableto oidentifycontra acts ve ersusproposals, ,andthentobe eabletobubble eupproperties ssuchascontrac ct ex xpirationdates. .
834
SharePointBootCamp S
Columns
As syoudiscovere edinthepreviou ustopic,columnsareusedtod definepiecesof finformationth hatcanbeassoc ciated withadocument w torlistitem.Sy ynonymsforcolumnsincludefiields,attributes s,properties,an ndmetadata.
eports,andalerts. Co olumnsdescribe econtentandc canthusbeused dtoorganizean ndmanagecontentinviews,re Co olumnscanalso obeusedassea archattributes, allowinguserst tolocateconte entmoreefficiently.
Acolumnisscopedtothesitein nwhichitiscrea atedandtoalls subsites.Aswit hcontenttypes s,itisrecomme ended oucreatesiteco olumnsatthetoplevelsiteof asitecollection nwheneverpos ssiblesothatitisavailabletoa allsitesin yo th hesitecollection.
Sh harePoint2010introducesthemanagedmeta adataserviceap pplication,whic chpublishescon ntenttypesand d co olumnsfromon nesitecollection nacrosssitecol llections,Weba apps,andfarms s.Youlearnmoreaboutthe managedmetada m ataserviceappl licationinthen nextlesson.
ConfiguringConte entManagement
835
SiiteColumns
Th herearetwoba asicstepstomakeuseofconte enttypesinaW Website:
1. Createasite . ecolumn.
CreateaSiteC Column
To ocreateasitec column,perform mthefollowingsteps:
3. ClickCreate. .
4. Configureth . hefollowing:
Descrip ption.Adescript tionofthecolumn.Onceasite ecolumnisdefi ined,itcanbeincorporatedintolists, libraries,andcontentt types.Ifthecolumnshouldbe reservedforaspecificpurpos se,orifitsroleisnot selfexp rtaintoprovide planatorybased donthecolumn nsname,becer eathoroughde escription.
Group.Columnsaregr roupedfororganizationalpurp poses.Whenyo ucreateacontenttype,youcanput itinacolumngroupto omakeiteasier rtolocatethec column.Thegro ouphasnotechnicalimpact whatso oeveritispure elyorganization nalbutitisrec commendedtha atyoukeepcus stomcolumnsthatyou creates separatefromc columnsthatar rebuiltinortha atarecreatedb bythirdpartyt tools.
836
SharePointBootCamp
2. Clickthecontenttypeyouwanttomodify.
3. ClickAddfromexistingsitecolumns.
AddSiteColumnstoaListorLibrary
Toaddasitecolumntoalistorlibrary,performthefollowingsteps:
1. ClickSiteActions,clickSiteSettings,andthenclickSiteContentTypes.
2. Clickthecontenttypeyouwanttomodify.
3. ClickAddfromsitecolumns.
ConfiguringConte entManagement
837
ContentTypeandColumnIn nheritance
Co ontenttypesareahierarchy,b beginningwitha alimitednumbe eroftoplevelc contenttypessuchasitem.Whenyou cr reateasitecont tenttype,youm mustspecifythe eparent.When nyouaddthesitecontenttype etoalistorlibr rary,you ar reactuallycreat tingachildcontenttype,calledalistcontent typeaconten nttypescopedonlytothelist.
Achildcontenttypehasthesam mepropertiesasitsparent,init tially,butbecau useitisanindependentobject t, oucanmodifya andthusoverrid dethepropertie esthatitobtain nedfromitspar rent. yo
Th hesameapplies stocolumns.W Whenyouaddasitecolumnto oalistorlibrary y,youcreateal listorlibraryco olumn th hatisachildof fthesitecolum mn,anditinher ritsitsinitialpro opertysetfrom mtheparent.Y Youcanthenm modify pr ropertiesofthe elistorlibrarycolumn.
Whenyouupdat W teacontenttyp peorcolumnatthesitelevel,y youhavetheop ptiontopropag gateupdatestochild co ontenttypesorcolumns.Thec changeyouhavemadeisthen copiedtochildobjects,overw writingwhateverwasthe pr reviousstateof ftheobject.Thisisdoneonap propertybypro pertybasis,soo onlyproperties sthatyouchang geatthe sit televelarepropagatedtochild dobjects.
838
SharePointBootCamp S
Lesson3
ConfiguringtheManagedMe C etadataService
In nthepreviousle essons,youlear rnedhowtodef finemetadataa andcontenttyp pesatthelistan ndsitelevels. In nthislesson,you ulearnhowtoconfigureanim mportantnewse erviceapplicatio oninSharePoin ntServer2010,the managedmetada m ataservice,whi ichmakestermsandcontentt ypesavailablea acrosssitecolle ections,Web ap pplications,and devenfarms.
Af ftercompleting gthislesson,youwillbeableto o:
Configuretaxonomy.
Configuremanagedcontenttypes.
ConfiguringConte entManagement
839
ManagedMet M tadataService e
Th hemanagedme etadataserviceisanimportant tnewfeatureo ofSharePointSe erver2010.Itplaysacriticalro olein en nterprisecontentmanagemen ntbecauseitsup pportsthetwoprimarycompo onentsofinform mationarchitect ture: en nterprisemetad datamanageme ent(taxonomy),andcontentty ypesyndication n.
In nthislesson,you ulearnhowtousethemanage edmetadatase ervicetomanag geenterprisetax xonomy,andth hen yo oulearnhowto osyndicatecont tenttypes.
Atermisawordoraphrasetha atcanbeassocia atedwithanite eminSharePoin ntServer2010.Atermsetisa ollectionofrelatedterms.Youcanspecifytha ataSharePointS Servercolumnmustcontainatermfromasp pecific co te ermset.
En nterprisekeywo ordsarewordso orphrasesthat havebeenadd edtoSharePointServer2010items.All en nterprisekeywo ordsarepartof asingle,nonhierarchicalterm f msetcalledthek keywordset.
le,if you add a columnto a listin a Lo ocalterm sets are createdin the contextof a sitecollectio a f on.For exampl a do ocumentlibrary yandcreatean newtermsetto obindthecolum mnto,thenewtermsetisloca altothesiteco ollection th hatcontainsthe edocumentlibr rary.
Gl lobaltermsetsarecreatedout tsidethecontex xtofasitecolle ection.Forexam mple,theterms storeadministr rator co ouldcreateate ermsetgroupca alledHumanRe esourcesandde esignateaperso ontomanage
840
SharePointBootCamp
thetermsetgroup.Thegroupmanagerwouldcreatetermsetsthatrelatetohumanresources,suchasjob titlesandpaygradesintheHumanResourcestermsetgroup.
ConfiguringConte entManagement
841
First,takealookatmanagingan ndusingterms, frombeginning gtoend,atave eryhighlevel.T Thistopicfocuse es nthemaintask ksinvolvedwithcreatingandusingterms. on
3. Confirmthat . tthetoolisfocu usedontheme etadataapplicat tionthatyouw wanttoadminist ter.Inthe AvailableSe erviceApplicationslist,selectt thecorrectmet tadataapplicati ion.
CreateTermsi inaTermSet t
In natermset,you ucancreateter rms.
842
SharePointBootCamp
CreateaTerm
Tocreateaterm,completethefollowingsteps:
1. OpentheTermStoreManagementTool.
2. Expandthetermstore.
3. Expandthetermgroupandthetermsetinwhichyouwanttocreatetheterm.
4. Pointatthetermsetortermbeneathwhichyouwanttocreatetheterm,andthenclickthedropdown arrowthatappears.
5. ClickCreateTerm.
6. Typetheterm,andthenpressENTER.
UseManagedMetadatainContent
Afteratermsethasbeenestablished,youcanbegintousethetermsinthetermsetastagsforitemsand documents.Todothis,youmustaddamanagedmetadatacolumntoalist,library,orcontenttype.
Important:Amanagedmetadatacolumncanbeassociatedwithonlyonetermset.
AddaManagedMetadataColumntoaSiteasaSiteColumn
1. Openthesiteinwhichyouwanttousemanagedmetadata.
2. ClickSiteActions,andthenclickSiteSettings.
3. IntheGalleriessection,clickSitecolumns.
4. ClickCreate.
5. IntheColumnnamebox,typeanameforthecolumn.
6. Inthelistofcolumntypes,clickManagedMetadata.
7. IntheGroupsection,selectacolumngrouporcreateanewcolumngroup.
8. IntheTermSetSettingssection,expandthetermstore,expandthetermgroupthatcontainsthetermset, andthenclickthetermset.
AddaManagedMetadataSiteColumntoaSiteContentType
1. ClickSiteActions,andthenclickSiteSettings.
2. IntheGalleriessection,clickSitecontenttypes.
3. Clickthesitecontenttypetowhichyouwanttoaddmanagedmetadata.
4. ClickAddfromexistingsitecolumns.
5. IntheSelectcolumnsfromlist,selectthecolumngroupthatcontainsthemanagedmetadatacolumn.
6. IntheAvailablecolumnslist,clickthemanagedmetadatacolumn,andthenclickAdd.
ConfiguringConte entManagement
843
7. ClickOKtoa . addthecolumn.
PickTerms
Af fteraddingamanagedmetada atacolumntoa alist,library,or contenttype,u userscanapplytermsfromthe e te ermsetasvalue esforthecolum mn.
Withthemanage W edmetadataco ontrol,theuser caneithertype eavalueorsele ectavaluebyhi ierarchicallynavigating th hetermsetthat tisassociatedw withthecolumn n.Iftheuserbeg ginstypingava alue,theAJAXdrivencontrold displays alltermsintheassociatedtermsetthatbeginw withthecharac cterstheuserh astyped.Then nameoftheterm mset ndthetermspo ositioninthehierarchyareind dicatedalongw withthetermits self. an
Ifthecolumnsdefinitionallows smultiplevalue es,theusercan selectmoretha anoneterm.Ifboththeterms setand hecolumnsdef finitionallowne ewtermstobe added,theuse rcanalsocreat teanewterma andinsertitatt the th ap ppropriateplaceinthetermse etshierarchy.
Thecontrolconsistsofatex xtbox,abrows sebutton,anda atermselection npage. Youcantype eatermintoth hetextbox. Asyoutype, ,thecontrolpro ovidessuggestio ons.Ifthehighllightedsuggest ionisappropria ate,youcanpre ess ENTER.Alternately,youcan nselectanysug ggestionbyusin ngthearrowkey ystoselectthesuggestionand dthen pressingENT TERorbyclickin ngthesuggestio on. Ifyoutypea atermthatdoesnotexistinthetermstore,yo ourentryisdisp playedinredw withareddashe ed underline.Y Youcannotsave ethechangeuntilyoucorrectt theentry. ClicktheBro owseForAValid dChoicebutton n.Thetermsele ectionpageope ens.Thetermse electionpagesh hows alltermsint thetermset. Toselectaterm,clicktheterm,clickSelec ct,thenclickOK K,asshowninth hefollowinggra aphic:
844
SharePointBootCamp
Ifthetermsetisanopentermset,theAddNewItemlinkappears.Clickthelink,andanew,blankterm appears.Typethelabelfortheterm,andthenpressENTER.
Hereisareviewofsomeimportantpointsaboutterms:
Termsarestoredinatermsetinatermgroup.
Amanagedmetadataserviceapplicationcancontainmultipletermsets.
Typically,termsaretightlymanaged.Mosttermsetsareusuallyclosed,meaningthatonlytermset managersandcontributorscanadd,modify,ordeletetermsinthetermset.
Amanagedmetadatacolumncanexposetermsfromonlyonetermset.
Keywords
Often,enterpriseswanttoallowfolksonomythedevelopmentoftermsandmetadatathatisdrivenbyusers addingtagstocontentandpeople.Termsinafolksonomyaretypicallyunmanageduserscantagcontentor peoplewithwhicheverwordsandphrasestheywanttoapply.
Thereisverylittledifference,really,betweenkeywordsandterms.Botharetermsthatcanbeusedtotag content.Botharestoredinthetermstore.Theprimarydifferencesarethefollowing:
AddanEnterpriseKeywordsColumntoaSiteContentType
1. ClickSiteActions,andthenclickSiteSettings.
2. IntheGalleriessection,clickSitecontenttypes.
3. Clickthesitecontenttypetowhichyouwanttoaddmanagedmetadata.
4. ClickAddfromexistingsitecolumns.
5. IntheSelectcolumnsfromlist,selectthecolumngroupthatcontainsthemanagedmetadatacolumn.
6. ClickEnterpriseKeywords,andthenclickAdd.
7. ClickOKtoaddthecolumn.
8. ClickOKtoclosethecontenttype.
TagContentUsingKeywords
Afteraddinganenterprisekeywordscolumntoalist,library,orcontenttype,userswithpermissiontomodify thecontenttypecanapplytermsfromthekeywordsettocontent.
ConfiguringContentManagement
845
TheEditForm.aspxpageofanitemordocumentdisplaysthemanagedkeywordcontrolforenterprise keywordcolumns.
Itisimportanttonotethefollowingaboutthecontrol:
CreateaKeyword
Keywordsareoftencreatedbyuserswhentheytagcontentwithawordorphrasethatisnotalreadyinthe keywordset.However,ifyouwanttoaddakeyworddirectlytothekeywordset,youcandosobyfollowingthis procedure:
1. OpentheTermStoreManagementTool.
2. ExpandSystem,andthenexpandKeywords.
3. PointattheKeywords,andthenclickthedropdownarrowthatappears.
4. ClickNewKeyword.
5. Typetheterm,andthenpressENTER.
846
SharePointBootCamp
ManageTerms M
Nowthatyouunderstandtheen ndresulthow wtermsareinco orporatedintoit temsanddocum mentsyoucan earnhowtoadm ministermanage edmetadata,fr romthebottom mup,startingat tthetermsthem mselves. le
Te ermProperties
Te ermsaremoret thansimplywordsorphrases. Theyareobject tswithavariety yofproperties. .
2. Selectthete . erm.
3. Modifyoneormoreproper . rtiesoftheterm m.
4. ClickSave. .
Sortorder.B Bydefault,term msaresortedalp phabeticallyint theparentterm msetorterm.H However,youca an manuallyspecifythesortorderbycomple etingthefollow ingsteps:
Availablefortagging.Byde efault,termsareavailabletob beusedfortagg ging.Whywould dyoucreateat term andthenno otmakeitavaila able?Termsthe emselvesarehie erarchicalinat ermset.Thatis s,atermcanha aveone ormoreterm msaschildobje ects.Forexample,youmighth avetermsforte eamsordepart tmentsintheIT Tgroup. Ifyouhavea atermhierarch hyinatermset, ,youmightwan ntnodesthatha avechildterms stobeunavailablefor tagging.
ConfiguringContentManagement
847
Memberof.Atermcanbereusedinmultiplelocations.TheMemberOflistisalistoflocationsinwhich thetermexists.
Source.Whenatermexistsinmorethanonelocation,thetermspropertiescanbeeditedinonlyoneits source.Thepermissionsthatapplytothesourcelocationaffectwhocanmodifythetermsproperties.
TermTasks
UsethedropdownmenusinthetermstorehierarchyoftheTermStoreManagementTooltoperformactions. Youcanperformthefollowingactionsrelatedtotermsinatermstore:
Moveterm.Moveatermtoanotherlocationinthetermhierarchy.
Deleteterm.Removeatermfromthetermstore.
Deprecateterm.Disablethetermsothatitnolongercanbeusedasavalidtermbutstayspartofthe system.
Mergeterm.Tomergeterms,selectasourceterm,clickMergeTerm,andthenselectatargetterm. Theresultisthatthesourcetermanditssynonymsareaddedassynonymsofthetargetterm.
EnterpriseKeywords
Asyoulearnedinaprevioustopic,keywordsarestoredinaflat,nonhierarchicalkeywordset.Keywordshaveonly oneproperty:AvailableForTagging.Youcanperformonlythreeactions.ThefirsttwoareNewKeywordand DeleteKeyword,whichareselfexplanatory.
848
SharePointBootCamp S
ManageTermSets M
Atermsetisaco ollectionofrelat tedterms.
Te ermSetProp perties
AtermsethasaTermSetName eandDescriptio on.Italsohasan nAvailableFor Taggingproper rty.Atermseta alsohas th hefollowingpro operties:
Contact.Anemailaddressf foracontactfo orthetermset. IfanemailaddressisenteredintheContact property,themanagedmetadatacontrold displaysaSubm mitFeedbacklin nkinthetermpicker.Auserwho wantstosub bmitfeedbacko orrequestacha angetotheterm msetcanclickt thelinkandanemailmessage is act. startedwith htheToaddress spopulatedbyt thevalueofthe etermsetconta SubmissionPolicy.Thesub bmissionpolicyd determineswhe etheruserscan naddtermstot thetermsetfro omthe managedmetadatacontrol.Ifasubmissionpolicyisopen n,themanaged metadatacont troldisplaysanAdd NewItemlin nk.So,ifauserwantstotagco ontentwithate ermthatisnota alreadyinthetermsetforam managed metadataco olumn,theuser rcanaddanew wtermonthefly y.Thisallowsfo orfolksonomyinthecontexto ofa managedtermset.Thenew wlyaddedtermisavailabletoo othermanaged dmetadatacolu umnsthatreferencethe sameterms set. Note:Forausertoaddanew witemtoaterm mset,theterms setmusthavea anopensubmiss sionpolicy,the e adatacolumnm mustallowfillin nchoices,andth heusermustha avepermissiontochangeanit tem managedmeta ordocumentthatcontainsthemanagedmet tadatacolumn. .
keholders.Thes setwoproperti iesas wellas Contactareinformationalo only.Theyareu usedto Owner,Stak documentin ndividualsorgr roupswhoarea associatedwith hthetermset. Thesetwopropertiesdonot assign anypermissionstotheterm msetwhatsoever.
ConfiguringContentManagement
849
TermSetTasks
Fromadesignperspective,themostimportantpointtorememberisthatatermsetisusedasthesourceofterms foramanagedmetadatacolumn.Amanagedmetadatacolumncanuseonlyonetermset,andalltermsthatare availablefortagginginthattermsetcanbeappliedasvaluestothecolumn.
2. Typeanameforthetermset,andthenpressENTER.
3. Usingthetermsetsdropdownmenu,youcanperformthefollowingactions:
DeleteTermSet.Thisoptiondeletesthetermsetanditsterms.
MoveTermSet.Thisoptionmovesatermsettoanothertermgroup.
850
SharePointBootCamp S
ManageTermGroups M
Atermgroupisa acollectionofo oneormoretermsets.Atermg grouphasaGro oupNameandaDescription.M Most mportant,thete ermgroupdefin nestworoles: im
GroupMana agers.GroupManagershaveC Contributorperm missionsplusth heabilitytoimp porttermsets. GroupMa anagerscanalso oadduserstot theContributor rsrole.
ImportTerm mSet.Youcanu usethisoptiont toimportaterm msetusingaco ommaseparatedvalues(.csv)f file.You canfindasa ampleimportfil leintherootof fthetermstore e.InTermStore eManagement, ,clicktheterm store, andthenclic ckViewASamp pleImportFile.
AdditionalRea A ading
Managedm metadatainputfileformat(Sh harePointServe er2010)at http://go.microsoft.com/fw wlink/?LinkID=1 197214&clcid=0 0x409.
ConfiguringConte entManagement
851
ManagetheTe M ermStore
Ea achmanagedm metadataservice eapplicationha asonetermsto re.Metadatase erviceapplicatio onscannotshare te ermstores.
Th hetermstorepropertiesdefinethefollowing:
TermStoreA Administrators s.TermStoreAd dministratorsha avefullcontrol overthetermstore.TermSto ore Administrato orscanperform mallactionsofG GroupManager rs,cancreateanddeletetermgroups,andcan assignuserstotheGroupM Managersrole.T Termstoreadm ministratorscan alsomodifythe edefaultandw working languagesof fatermset.
WorkingLan nguages.Aftery youhaveinstalledalanguagep pack,youcana addinstalledlan nguagesasawo orking languagefor ratermset.Then,youcanselectatermandspecifythedefa aultlabelando otherlabelsfor each workinglang guage.Unliketh hedefaultlangu uage,youaren notrequiredtoh havealabelfor reverytermina workinglang guage.
Termsarenotaddedtoate ermstorebyde efaultwhenyou uaddalanguag gepack.Thereis snoautomatic service.Youmu ustmanuallycon nfigurethelabe elsfortermsineachlanguaget translations thatyouwant atermsetto oexpose. Whenaterm mhaslabelsinm multiplelanguages,thelangua ageofthesited determineswhic chlabelsarevis sible. Forexample e,iftheDepartm menttermseth hastermsdefine edinbothFren nchandEnglish, ,anEnglishlang guage teamsiteall lowsuserstous seEnglishterms sfromtheterm msetinamanag gedmetadatac column,andaFrench teamsiteall lowsuserstous seFrenchterms sfromtheterm mset.
To ocreateatermstore,youmus stcreateamana agedmetadata serviceapplica ation.Thesteps sforthisproced dure ar relistedlaterin nthislesson.Todeleteaterms store,youmust tdeletetheman nagedmetadataservice ap pplication.
852
SharePointBootCamp
1. OpentheTermStoreManagementTool.
2. IntheTermStoreAdministratorsbox,typethenamesoftermsetadministratorsseparatedby semicolons.
3. ClickSave.
ConfiguringConte entManagement
853
Te ermStoreDe esign
Te ermStoreHie erarchy
Nowyouhaveex xploredeachco omponentinthe etermstorehie erarchyshowni inthefollowing ggraphic.
Oneormore etermsarecon ntainedinaterm mset.Termsca nalsobecreate edaschildobje ectsofotherter rms. Atermsetis sagroupofrela atedtermsand isthescopeof amanagedme tadatacolumn. .Whenyouadd da managedmetadatacolumn ntoacontenttype,list,orlibra arythatwilluse etags,youspec cifythetermsetthat isusedinthecolumn.Eachmanagedmeta adatacolumnca anusetermsfromonlyonete ermset,andall terms intheterms setareavailable. Oneormore etermsetsarecontainedinatermgroup. Atermgroupisasecurityc containerthatm manageswhoca anmodifyterm msetsandterms s.Youcanspeci ify,for atermgroup,whohasperm missiontomodifythetermset tsandtermsinthetermgroup p.
854
SharePointBootCamp
TermStoreDesign
Becausepermissionstomodifytermsareappliedatthetermgrouplevel,andbecauseSharePoint2010supports multitenancyforthemanagedmetadataserviceapplication,mostorganizationsneedonlyonetermstore.
An alternative to separate term stores hosted by separate managed metadata service applications is to implement multitenancy. Multitenancy is beyond the scope of this course, but in sum it allows a single databasetobepartitionedbetweencustomers.
ConfiguringContentManagement
855
toenterprisekeywordfieldsintheotherfarmyoushouldcreateaseparatemetadataapplicationandterm storetopublishtobothfarms.
AdditionalReading
Plantermsandtermsets(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=197215&clcid=0x409.
856
SharePointBootCamp S
Te erms
Yo oucanusethem managedmetad dataservicetopracticeenterp prisemetadatamanagement.A Asdiscussedina a pr revioustopic,m metadataalsoknownasattrib butes,propertie es,fields,colum mns,terms,tags,andkeywordsisa cr riticalcomponentoftaxonomy yandthereforeofinformation narchitecture. Te erminologyAbo outTerms Th hetermyouhearmostinrelat tiontothemanagedmetadata aserviceisterm m.Atermisawo ordorphraseth hatcan be eusedasanatt tributeforcontent.Whenpeoplerefertotaxo onomy,theyar regenerallyrefe erringtostructured, ce entralized,andmanagedterms s.Acloselyrelat tedconceptisf folksonomy,wh hichisusedtore efertousergen nerated ta ags.
Te ermscanbema anagedandcontrolledinavarietyofwayssot thatanenterpr risecanexposeamanaged ta axonomywhileallowinguserg generatedtags( (folksonomy).A Ataxonomyand dfolksonomyth hataredesigned dand managedtosupp m porttherequire ementsofabusinesscanallow winformationar rchitecturetog groworganically yand ch hangeovertime e. Ap pplyingTerms( (Tagging) Onceyouhaveta agswhetherstructuredorus serdrivenyou umustbeready ytosupporttag ggingthetaskof ssigningdescrip ptors(metadata)tocontent.Sh harePointrefers stotaggingwit hseveralterms s,eachofwhich hare as so omewhatambig guousandarethereforeusedd differentlyindif ts. fferentcontext
Co ontenttaggingorsocialtaggin ngistheadditio onoftermstoco ontenttodescr ribewhatitis,w whatitcontains s,and whatitdoes.Thisisincontrastt w toexpertisetag gging,whichist theassociation oftermswitha aperson,todes scribe whatthepersondoes,whatpro w ojectsthepersonworkson,and dwhatskillsthe epersonhas.
ConfiguringContentManagement
857
One of the primary reasons to tag content is to make it easier to locate by browsing or by searching. SharePointusestagstoprovidemetadatadrivennavigationandfilteringandtoproduceatagcloudcontrol. Tagscanbeusedassearchrefiners,andtagscanbeusedbytheroutingrulesoftheContent Organizerto routecontenttotheappropriatelocation.
BenefitsoftheManagedMetadataService
Themanagedmetadataserviceoffersfeaturesthatareimportantforcreatinganenterpriseinformation architecture:
Managedmetadataseparatesthemanagementoftermsthemselvesfromthecolumnsthatusetheterms. Youcandelegatetermmanagementtolibrarianroles,representedbythetermgroupsContributorand GroupManagerroles. Youcansupportmultiplelanguages.Afteryouhaveinstalledalanguagepack,youcanaddinstalled languagesasworkinglanguagesforatermset.Then,youcanselectatermandspecifythedefaultlabeland otherlabelsforeachworkinglanguage.Unlikethedefaultlanguage,youarenotrequiredtohavealabelfor everyterminaworkinglanguage. Managedtermsencouragemoreconsistentuseofterminology.Termsareavailableacrosscontenttypes, sitecollections,Webapplications,andevenfarms.Termsarefindable,thankstothetermsuggestionsand termpickerthatareinherentinthemanagedmetadatacontrol.Finally,termsareusedmoreaccurately becausetheyarepresentedinthecontextoftheirtermsetandcanbefoundusingsynonymsand abbreviations. Termsaredynamic.Assoonasakeywordortermisaddedtothetermstore,itisavailabletoall enterprisekeywordormanagedmetadatacolumnsinallWebapplicationsthatconnecttothemanaged metadataserviceapplication.Changestoterms,includingnewlabels,synonyms,andmergedterms, cascadethroughthesystem. Managedmetadatacanbeusedtorefinesearchresultsandprovidemetadatabasednavigationsothat userscanlocatecontentmoreefficiently.
Extensibility
Thereisnooutoftheboxfeaturethatconnectsthemanagedmetadataservicetoexternaldatasourcesorterm stores.
AdditionalReading
Managedmetadataoverview(SharePointServer2010)at http://go.microsoft.com/fwlink/?LinkID=197216&clcid=0x409.
858
SharePointBootCamp
ContentTypeSyndication
Itiscommontha atsitesindiffere entsitecollectio onsrequiresim ilarcontenttyp pes.Forexample,theLegal epartmentatCo ontosocreatesatemplatefor nondisclosurea agreements(ND DAs)andacont tenttypeforND DAs de th hatusesthetem mplateanddeclaresallnewND DAsasrecords.E EachofContoso osbusinessuni itshasSharePointsite co ollectionswithd documentlibrariesinwhichND DAsaremainta ined.Theconte enttypecanbepublished,ina mannerofspeak m king,fromtheLe egaldepartmen nttoallContoso obusinessunits s.
Sh haringcontentt typesacrosssite ecollections,W Webapplications s,andfarmsisq quitechallengin ngin Sh harePoint2007.Themanagedmetadataservi icemakesiteas syinSharePoint t2010.
Ea achmanagedm metadataservice eapplicationha asaContentTyp peHubpropert tythatspecifies stheURLofasite co ollectionfromw whichtopublish hcontenttypes.AllotherWeb bapplicationsth hatconnecttot themanaged metadataservice m ereceivecopies softhecontent ttypefromthe contenttypeh ub,andupdate esmadeatthehub ca anbepropagate ed.
Co onfiguretheServiceApplication
Ea achmanagedm metadataservice eapplicationha asaContentTyp peHubpropert tythatspecifies stheURLofasite co ollectionfromw whichtopublish hcontenttypes.
Co onfiguretheCo ontentTypeHub bofaManaged dMetadataSe erviceApplicatio on 1. InCentralAd . dministration,in ntheApplicatio onManagemen ntsection,click kManageservic ce applications s.
ConfiguringContentManagement
859
4. IntheContentTypehubbox,typetheURLofthesitecollectionfromwhichtheserviceapplicationwill consumecontenttypes.
5. SelecttheReportsyndicationimporterrorsfromSiteCollectionsusingthisserviceapplication checkbox,andthenclickOK.
ConfiguretheServiceApplicationConnection
Whereastheserviceapplicationcontrolswhethercontenttypesarepublished,andfromwhichsitecollection,the applicationconnectioncontrolswhetherWebapplicationsusingthatconnectionsubscribetothecontenttypes thatarebeingpublished.
2. Clicktherowofthemanagedmetadataserviceapplicationconnection.
Donotclickthenameoftheserviceapplicationconnection.ThenameisalinkthatopenstheTerm StoreManagementTool.
3. Ontheribbon,clickProperties.
4. SelecttheConsumescontenttypesfromtheContentTypeGallerycheckbox.
PublishtheContentType
Afterasitecollectionhasbeendesignatedasacontenttypehub,contenttypesinthesitecollectioncanbe publishedtothemanagedmetadataserviceapplication,andtherebymadeavailabletootherWebapplications thatusethatmanagedmetadataserviceapplication. PublishaContentType 1. Inthecontenttypehubsitecollection,clickSiteActions,andthenclickSiteSettings.
2. ClickSitecontenttypes.
3. Clickthecontenttypethatyouwanttopublish.
4. ClickManagepublishingforthiscontenttype.
5. ClickPublish,andthenclickOK.
YoucanusethesameManagePublishingForThisContentTypecommandtorepublish,orupdate,acontent typeandtounpublishacontenttype.
RuntheTimerJobs
Twotimerjobsareresponsibleforcontenttypesyndication.TheContentTypeHubjobfindsnewcontenttypesin thedesignatedcontenttypehub.TheContentTypeSubscriberjobthereisoneforeachWebapplicationinthe farmimportscontenttypesfromthecontenttypehubofeachmanagedmetadataserviceapplicationtowhich theWebapplicationsubscribes. ManuallyRunTimerJobsforContentTypeSyndication Ifyoudonotwanttowaitforcontenttypesyndicationjobstorun,youcanrunthemmanuallyby completingthefollowingsteps:
860
SharePointBootCamp
1. InCentralAdministration,clickMonitoring.
2. ClickReviewjobdefinitions.
3. ClickContentTypeHub.
4. ClickRunNow.
5. Waitafewmomentsforthejobtocomplete.
Optionally,youcanclickContentTypeHubtoreturntothejobdefinition.Refreshthepageandmonitor theLastruntimeproperty.Whenitupdatestothecurrenttime,thejobiscomplete.
6. ClickContentTypeSubscriberontherowforthesubscriberWebapplication.
7. ClickRunNow.
8. Waitafewmomentsforthejobtocomplete.
Optionally,youcanclickContentTypeHubtoreturntothejobdefinition.Refreshthepageandmonitor theLastruntimeproperty.Whenitupdatestothecurrenttime,thejobiscomplete.
ConfiguringConte entManagement
861
reateaManage edMetadataSe erviceApplicati ionUsingCentr ralAdministrat tion Cr Fa armadministrat torscancreateamanagedmetadataservicea applicationbyf followingthispr rocedure:
Theservicea applicationcrea atedbytheFarmConfiguratio nWizardisManagedMetadat taService.Ifyou uare manuallycre eatingthefirstmetadataappli icationinyourf farm,youcanu usethesamena amesothattheresult looksfamilia artoSharePoint tadministrators.
Alternately,youcanconsid derusinganame esuchasMana agedMetadataS ServiceApplication,whichism more tisaserviceapp plication,aftera all. accurateit
Thedatabas secreatedbyth heFarmConfigu urationWizardiisManagedMe etadataService_ _GUID.Ifyouar re manuallycre eatingthefirstmetadataappli icationinyourf farm,youcanu useasimilarnam me,perhapswit thout theGUIDco omponent,soth hattheresultlooksfamiliartoS SharePointadm ministrators.
5. IntheApplic . cationPoolsect tion,selectane existingapplicat tionpool.Alternately,createa anew applicationp poolandselectorcreateamanagedaccount fortheapplica tionpoolidentity.
862
SharePointBootCamp
6. Optionally,intheContentTypehubbox,entertheURLtothesitecollectionthatwillserveasthecontent typehub.
7. ItisrecommendedthatyouselecttheReportsyndicationimporterrorsfromSiteCollectionsusingthis serviceapplicationcheckbox.
NewSPMetadataServiceApplicationApplicationPool"<ApplicationPoolName>"Name"<ServiceName>"DatabaseName "<DatabaseName>"DatabaseServer"<DatabaseServerName>"HubUri"<HubURI>"
Where:
2. Selecttherowthatcorrespondstotheservicetoupdate.
Note:DonotselecttherowbyclickingintheNamecolumn.Clickingthenameofthemanagedmetadata serviceopenstheTermStoreManagementTool.Instead,clickinanothercolumninthesamerow.
3. Ontheribbon,clickProperties.
Youcanthenchangeanypropertiesoftheserviceapplication.
ConfiguringContentManagement
863
SetSPMetadataServiceApplicationIdentity"<ServiceApplication>"HubURI"<HubURI>"
Where:
AdditionalReading
Create,update,publish,anddeleteamanagedmetadataserviceapplication(SharePointServer 2010)athttp://go.microsoft.com/fwlink/?LinkID=197217&clcid=0x409.
ConfigureaManagedMetadataServiceApplicationConnection
Webapplicationsmustconnecttoamanagedmetadataserviceapplicationtohavetheopportunitytouse termsetsinthetermstoreandtosubscribetocontenttypesfromthecontenttypehub.
Afteraconnectiontoamanagedmetadataservicehasbeencreated,youcanconfigurethefollowingfouroptions:
Defaultkeywordlocation.Ifselected,Webapplicationsusingthisconnectionstorenewenterprise keywordsinthekeywordsetinthetermstoreassociatedwiththismanagedmetadataservice.
864
SharePointBootCamp
IMPORTANT:ForagivenWebapplication,donotmakemorethanoneconnectionthedefaultkeyword location.Ifnoconnectionisspecifiedasthedefaultkeywordlocation,userscannotcreatenewenterprise keywords.
2. Selecttherowthatcorrespondstotheserviceapplicationconnectiontoupdate.
DonotselecttherowbyclickingintheNamecolumn.Clickingthenameofthemanagedmetadataservice openstheTermStoreManagementTool.Instead,clickinanothercolumninthesamerow.
3. Ontheribbon,clickProperties.
Youcanthenchangeanypropertiesoftheserviceapplicationconnection.
AdditionalReading
MultipleManagedMetadataServiceApplications
Thedesignofmanagedmetadataserviceapplicationsisbeyondthescopeofthiscourse;however,itisworth rememberingthateachmanagedmetadataserviceapplicationprovidesadistincttermstore,givingthe opportunitytodelegateadministrationdistinctly.Eachmanagedmetadataserviceapplicationalsopublishesone contenttypehub.
ConfiguringContentManagement
865
AdditionalReading
866
SharePointBootCamp S
Anumberofrole es,capabilities,andpermissionsdetermineau usersabilitytomodifyoruset termsinatermstore.
adataserviceap pplicationandit tstermstoreca anbemodifiedd directly,withCentral Amanagedmeta dministrationortheTermStor reManagementTool,andbys siteadministrato orsandenduse ersonasite. Ad
ModifytheTermStorefrom M mCentralAdministration
Fa armandservice eapplicationadministratorscanperformtasks srelatedtomanagedmetadat taservice ap pplicationsbyu usingtheManag geServiceAppli icationspageof fCentralAdmin nistration. ModifytheTerm M mStorewiththe eManageServi iceApplications sPage Th hefollowingrol lescanperform mtasksrelatedto omanagingma anagedmetadat taserviceapplic cationsand co onnections:
FarmAdmin nistrators.Farm madministrators scancreateand dconnecttomanagedmetada ataservice applications sandtermstore es,candeleteamanagedmeta adataserviceap pplicationorconnection,cana assign permissionstotheservice,andcanmanag getheTermSto oreAdministrato orsrole. ServiceApplicationAdministrators.Afarm madministrato orcandelegatea administrationofa eapplicationtouserswhoaren notfarmadmin nistrators.Aserv viceapplication n managedmetadataservice administrato orforamanage edmetadataserviceapplicatio onhasfullcontr rolovertheapp plicationandthe erefore canmodifya anypropertyof fthemanagedm metadataservic ceapplicationa andcanevende eletetheapplic cation.
ModifytheTerm M mStorewiththe eTermStoreM ManagementTo ool Th hefollowingrol lescanperform mtasksonthete ermstorebyusiingtheTermSt toreManageme entTool:
Contributors s.Atermgroup psContributors shavefullperm missiontoeditte ermsandterms sethierarchiesinthe termgroup.Contributorscandothefollow wingwithinate ermgroup:
Create,rename,copy,reuse,move,anddeleteterm sets.
ConfiguringContentManagement
867
GroupManagers.AtermgroupsGroupManagershaveContributorpermissionsplustheabilitytoimport termsets.GroupManagerscanalsoadduserstotheContributorsrole.
ModifytheTermStorefromaSite
Youcanmodifyatermstorefromasiteaswell.
Presumingthatauserhaspermissiontochangeanitemordocumentthatusesamanagedmetadatacolumn oranenterprisekeywordscolumn,theusercandothefollowing:
ModifytheTermStorewiththeManagedColumnPropertiesPage Auserwithpermissiontoaddormodifycolumnscandothefollowing:
InformationalRoles
ThetermsetOwner,Contact,andStakeholderspropertiesareinformationalonly.Theyareusedtodocument individualsandgroupsthathaveaninterestinthetermset.Thepropertiesdonotconveyanypermissionofany kind.
However,theContactemailaddressisusedtocreateaSubmitFeedbacklinkinthemanagedkeywordcontrol sothatuserscanproposechangesorrequestnewtermsbyemail.
UseTerms
Numeroustaskscanbeperformedthatusemanagedmetadata.Thesetasksareperformedintheuser interfaceandsecuritycontextofthetask.
868
SharePointBootCamp
Createnewmanagedmetadatacolumns.Userswithpermissiontocreatecolumnscancreateamanaged metadatacolumnthatvalidatesitstermsagainstalocalorglobaltermset.
Addmanagedmetadatacolumnstocontenttypes.Userswithpermissiontocreatecontenttypescancreate acontenttypethatincludesamanagedmetadatacolumnoranenterprisekeywordscolumn.
ConnectionPermissions
Amanagedmetadataserviceapplication,bydefault,allowsallWebapplicationsthatconnecttoittohavefull accesstothetermstore.Withthisdefault,allWebapplicationsconnectingtothemanagedmetadataservice applicationcanperformalloftheactivitieslistedpreviously.
1. InCentralAdministration,clickApplicationManagement.
2. Clicktherowofthemanagedmetadataserviceapplication.
Donotclickthenameoftheserviceapplication.ThenameisalinkthatopenstheTermStore ManagementTool.
3. Ontheribbon,clickPermissions.
Connectionpermissionsareasfollows:
FullAccessToTermStore.ThispermissiongrantsReadandWriteaccesstothetermstoreandReadaccessto contenttypesthatareassociatedwiththemanagedmetadataservice.AWebapplication
ConfiguringContentManagement
869
withthispermissioncanpublishcontenttypestothecontenttypehubandcanmanagetermsandterm sets.
Action
Viewtermsandtermsets
Read Yes
Restricted
Yes Yes Yes Yes Yes Yes Yes
Full Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes
AdditionalReading
870
SharePointBootCamp
Sc cenario
Th heknowledgem managementte eamatContoso isexcitedabou uttheabilityofS SharePoint201 10tosupportan n en nterprisetaxonomy.Theyhave easkedyoutop prototypethef unctionalityof themanagedm metadataservic ceand of fterms.
2. Createagroup,atermset,andterms. .
5. Configuremetadatanavigation. .
InTermStor reManagement,createanew groupnamedO Organization. Createanew wtermsetnam medDepartment.Configurethe etermsetwithaclosedsubmissionpolicy. Addtermsfo orthefollowing gdepartments:Marketing,Fin ance,IT,andSa ales.
ConfiguringContentManagement
871
Task4:Additems withmanagedmetadata
AddthefollowingitemstotheSupportRequestslist:
Title
CreateanewaccountforAndyRuth ResetpasswordforChristaGeller Problemstartingcomputer CreateanewaccountforSeanChai ResetpasswordforLolaJacobsen
RequestType
NewUser PasswordReset DesktopSupport NewUser PasswordReset
Tip:ToaddanewtermyoumustaddittothetermstorebyclickingtheBrowseForAValidChoiceicon, andthenclickingtheAddNewItemlink.
Tip:UsetheSuggestionslisttoenterdepartmentswithouthavingtotypetheentiredepartmentname.
Task5:Configuremetadatanavigation
Toprepareforthenextmodule
Whenyoufinishthelab,revertthevirtualmachinesbacktotheirinitialstate.Todothis,completethe followingsteps:
872
SharePointBootCamp S
ModuleRe M eviewandTakeaway ys
ReviewQuesti ions
1. Whydoeslis . stthrottlingben nefittheuserso ofaSharePoint farm?
Module9
PlanningManagedMetadata
Contents:
Lesson1:MetadatainSharePoint2010 Lesson2:OverviewofContentTypes Lesson3:MappingManagedMetadatatoBusinessRequirements Lab:PlanningManagedMetadata
92
Sha arePointBootCamp
Whenyouaddm W metadatatoitem msordocument ts,youcancate egorizeorclassi ifyitemstoprov videadditionalcontext, or rfilteritemstofindrelevantm materialmoreea asily.Youcana lsosearchonm metadatavalues sorusemetada atato re efinesearchresults.Inthisway ymetadatacan improvesearch husefulnessand drelevancyand dprovideadditi ional co ontextforitems ssuchasdocum ments.
In nmostorganizations,themosteffectivewayt toimplementm metadataisthro oughadefinedt taxonomythatyou ha avestandardize edthroughstakeholderinput.T Thisenablesuse erstoselectme etadatatermsfr romapredefine edlist, whichprovidesstandardresults w s.
MicrosoftShare M ePoint2010als sohasthecapa abilitytofurther renhancethea applicationofm metadatabyusing co ontenttypes.Organizationscanusecontenttypestostandar rdizespecifictypesoffile,docu ument,orlistitem an ndincludemeta adatarequirements,documenttemplates,ret tentionsettings s,andworkflow wdirectly.
Objectives O
Af ftercompleting gthismodule,youwillbeable to:
Describethe efunctionofma anagedmetada atainSharePoin nt2010. Describethe efunctionofco ontenttypesand dexplainhowt toapplythemto obusinessrequ uirements.
PlanningM ManagedMetadata
93
Lesson1
MetadatainSharePo M oint2010
To ounderstandho owSharePoint2 2010candelive erimprovement tsinorganizing gdata,youmust tunderstandth he pu urposeofmetadataandtheta axonomiesthat youcanuseto standardizethe emanagementofmetadata.Y Youmust alsounderstandhowtousetheManagedMeta adataServicein nSharePoint2010toimplemen ntthesetaxono omies.In ddition,itisimp portanttoknow whowfarmtopologyaffectsth heManagedMe etadataService e,becausemany y ad or rganizationswil llwanttocreatetaxonomiesth hatallteamsan ndalluserscan use.Conversely,youmaywan ntto cr reateataxonom myonlyforcertaingroupsorusers.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Identifyvalid dtaxonomystructures. Identifyoptionsformanage edmetadata. Identifyelem mentsintheter rmstore. Identifythecapabilitiesoft theManagedM MetadataServic ce. Planforman nagedmetadatainamultiplefarmenvironm ent.
94
Sh harePointBootCamp
WhatAreT Taxonomies?
KeyPoints
WithinSharePoin W nt2010,anorga anizationaltaxo onomyisaclass sificationmecha anism,typically yhierarchicalinnature, whichuserswithinthatorganiza w ationcanapply todocumentso oritemsthatar reheldinShare ePointlibraries orlists.
howtostoreinf formation. Identifyingh Identifyingw wheretofindin nformation. Identifyingt theintendedau udienceofinfor rmation. Identifyingt thepurposeofi information.
Geography,suchascountry y,region,office elocation,orsit te. Confidentiality,suchaspub blic,private,con nfidential,orse ecret. Department ts,suchasHumanResources,IT T,Manufacturin ng,orLogistics. . Projectsorp programs. Externaltaxonomiessucha asvendorsorcu ustomers.
Note:Itisimport tanttoengagestakeholderinp putsuchasget ttinginputfrom muserteamsto stablishtheclas ssificationandtaxonomyrequirementsofdiff ferentteams.Co onsiderholding g es st takeholdermee etingstohelpidentifythesereq quirements.
PlanningManagedMetadata
95
UsingSharePoint2010,organizationsalsohavethecapabilitytocreatefolksonomies.Afolksonomyisamore flexiblewayoforganizingorcategorizingcontent,whichuserscanextendwithoutadministratorintervention.
Question:Whyisstakeholderinputimportanttohelpestablishthetaxonomy?
96
Sha arePointBootCamp
KeyPoints
Metadataisinfor M rmationaboutf filesordocume ents.Forexamp ple,metadatafo oradocumentm mayincludethe e au uthorofadocumentorthedatethatthedocumentwaslast tchanged.InSh harePoint2010,youcanmanag ge metadatainavarietyofwaysan m ndstandardizey yourmetadata acrossseparate esites,sitecolle ections,Web ap pplications,and dfarmstocreatetaxonomieso orfolksonomies thathelpusers stoidentifyand dusecontentm more ef fficiently.
Metadatacanprovidethefollow M wingbenefits:
Youcanusemetadatatopr rovideadditionalreferenceso rcontexttoanitemorfile,andusersdonotneedto opentheite emtoseethisin nformation. Youcanusemetadatatoca ategorizeinform mation.Thiscat tegorizationcan nhelpwithfilte eringviewsand displayingre elevantinforma ation. Youcansearchformetadat taorkeywords. .Metadataisin ndexedandsear rchable,andyoucanusethesearch resultspagetofiltersearch hresultsbymetadatavalues.
emsbyusingen nterprisekeywo ordstoassistwi thsearch.Ente erprisekeyword dsarestoredas sasingle, Userscantagite at ordsthat all us serscan use an usuallyall u nd userscan updat Enterprisek te. keywordscan p provide a fla list of keywo fo olksonomyforcontentwithina anorganization.
Yo oucanprovideformorecontro olledmetadatausagebyusing gterms.Termsa areflatorhierarchicallistsoft text en ntriesthatyouc canuseasmeta adatainShareP Pointcolumns.F Forexample,yo oucanuseterm mstocreatecate egories or rclassifications fordocuments.Termsareofte enclosedsotha atonlyspecified duserscanupdatethelist,pro ovidinga co ontrolledtaxonomy.
Note:Youmustd distinguishbetw weentermsand dkeywords.Adm ministratorstyp picallypredefine eterms,whereas ke eywordsareoft tennotpredefin ned.Administra atorscanpromo otekeywordsto otermsbyusing gthetermstore managementtoo m ol.
PlanningManagedMetadata
97
AdditionalReading
FormoreinformationaboutmanagedmetadatainSharePoint2010,see http://go.microsoft.com/fwlink/?LinkID=200885&clcid=0x409.
98
Sha arePointBootCamp
KeyPoints
Sh harePoint2010providesmanagedmetadatai intheformoft erms,termsets s,termgroups,andtermsetowners. Th hefollowinglist texplainsthiste erminology:
Term.Aterm mistheindividu ualvalueorentrythatyouwan nttoprovideto ousersforusea asmetadata. Forexample e,atermmaybeanindividual officelocationoranindividua lidentificationcodeforaproject.
Termset.At termsetisalist tofrelatedterm ms.Forexample e,atermsetma aybealistofallofthecompan nys officelocatio onsoralistofa allprojectident tificationcodes. .Termsetsmay ybeaflatlistor rahierarchicallist. Youcanuseatermsetasth hetargetforam managedmetad datacolumntype.
Termgroup.Atermgroupisacollectionoftermsetsthat tprovidesaset ofaccesspermissions.Youpla an termgroups sbasedontheu userswhomust tbeabletoupd date,change,or rdeprecateterm msintermsets.
Termgroupmanager.Ater rmgroupmanagerisabletom makechangesto othetermset,s suchasaddingn new terms,depre ecatingterms,o orchangingper rmissionsforoth herusersonthe etermset. Contributor. .Acontributorisabletomake changestoterm msandtermse etswithinaterm mgroup,butcannot changeperm missionsonthetermgroup.
Note:Termsetsa alsohaveauserknownasatermsetowner.T Termsetowner rsdonothavea anyspecific pe ermissionsonatermset,buta arelistedasaco ontactforquery yorreferencep purposes.
PlanningM ManagedMetadata
99
KeyPoints
Th heManagedMe etadataService eapplicationperformstwoprim maryfunctions: :
Itstoresenterprisekeyword dsandtermgro oups.TheMana agedMetadataServiceholdsm managed keywordsan ndtermgroups,termsets,and dtermsinadata abasethatisassociatedwithth heservice instance. Itpublishesc contenttypes.Y Youcanpublish hcontenttypes fromacontent ttypehubthroughtheManag ged MetadataSe ervice.Eachinst tanceoftheMa anagedMetada ataServicesupp portsoneconte enttypehub.
Yo can create several instanc of the Managed Metada Service in a single farm t separate me ou ces ata a to etadata pu ublishing,topublishmorethan nonecontenttypehub,ortos scalebeyond1, ,000termsets.Youcanalsoco onsume or rpublishmetad dataamongdifferentfarmsifm metadatarequir rementsoverlap.
In neachtermgroup,youcanspe ecifyuserswho haveadministr rativepermissio onsortheability ytoupdateterms to oenablespecificuserstogover rntermsetsand dcontroltheira application.
910
SharePointBootCamp
KeyPoints
To oprovideenter rprisescalability yinSharePoint2 2010,youcans sharemetadata aandcontentty ypesbetween se eparateSharePo ointfarmsbypu ublishingtheManagedMetada ataService.
Co onsideranenvironmentwithm multiplefarms, suchasacoreiintranetfarmth hatservicesmuchoftheorgan nization, an ndadepartmen ntalfarmsucha asafarmforres searchanddeve elopment.Thec coreintranetfa armManaged MetadataService M eincludestermsetsforcompa anydepartment ts,officelocatio ons,productlist tings,andcusto omers.It pu ublishesseveralcontenttypessuchaspolicyd documents,man nufacturingpro ocedures,andp projectdocuments.The re esearchanddev velopmentfarm mManagedMet tadataServiceh hasatermsetfo orprojectcodesandriskcateg gories.
Yo oucanpublisht thetermsetsan ndcontenttype esfromthecore eintranetfarmforuseinther researchand de evelopmentfar rmsothatthecompanydepart tmentterms,or rprojectdocum mentcontentty ypes,areavailab bleto sit tesintheresearchanddevelopmentfarm.In addition,there esearchanddevelopmentfarm mcancreate ad dditionalterms setsorcontenttypeswithouta affectingtheco oreintranetfarm m.
PlanningM ManagedMetadata
911
Lesson2
Organizationscanusecontenttypestostreamlineworkingpra acticesinShare ePoint2010.Thisapproachwo orks wellbecauseyou w ucancreatetem mplatesforspec cifictypesoffile e,document,or udemetadataw with ritemandinclu th hecontenttype e.Inthisway,yo oucanreuseac contenttypeat numeroussites s,lists,orlibrariesintheShare ePoint hi ierarchy,andth hecontenttype ebecomesastandardreferenc eforthetypeo ofinformationt thatyoustore.
Manyorganizatio M onshavestanda arddocuments orstandardinfo ormationrequi irementsthatarefrequently re epeated.Conten nttypesenableorganizationst tospecifyandc controlthestan ndardsthatarea associatedwith hthis in nformation.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
912
SharePointBootCamp
KeyPoints
In nSharePoint2010,youcancreatecustomcolu umnstoholdin nformationsuch hasmetadatao oritemdata.Us sing cu ustomcolumns, ,youcanchoos sethedatatype eforthecolumn nandspecifyth heinformationt thatthecolumn nstores.
Co olumndatatypesinclude:
MLcontent. TextorHTM Apredefinedlistofchoices s,orchoicestha atarebasedon anotherlistint thesite. Numbers. Currencyvalues. Dateandtim meentries. Apersonorgroupthatisse electedfromtheavailableShar rePoint2010or rActiveDirecto orydirectoryse ervice users. Animage. nthatisbasedo onothercolum mnvalues. Acalculation Achoicefromatermset.
Yo oucancreateco olumnsinaspe ecificlistorlibra ary,buttheseco olumnsareonly yavailabletoitemsinthatlistor lib brary,andyouc cannotusethem mwithotherlis stsorlibraries.
PlanningM ManagedMetadata
913
Yo oucanalsocrea atesitecolumns s,whichcanthe enbeassociated dwithanylisto orlibraryatorb belowthatsitewithin th hesamesitecollection.Creatin ngthesitecolum mnattherooto ofthesitecolle ctionmeanstha canbe atthecolumnc us sedanywherew withinthesitecollection.
914
SharePointBootCamp
KeyPoints
In nformationman nagementpolici iesenableyout tospecifysettin ngsfordocumen ntoritembeha avior.The fo ollowingtabledescribestheses settings.
Setting
Re etention
Description
Retentionsettingscontr rolhowlongthe elistorlibraryh holdsanitemandwhathappe ens eriod.Youcans specifytherete entionperiodindays, aftertheitemexceedstheretentionpe ctionsthatyou canspecifyincl lude: months,oryears.Theac DeletingtotheRecycleBino rpermanently. Startingawor rkflow. Movingtoano otherlocation. Deletingprevi iousdraftsorve ersions. on,youcanadd danumberofst tagestotheret tentionsettings ssothatyoucan n Inadditio configure emorecomplex xmanagement policies.
Au uditing
Youcane enableauditset ttingstotracka accesstoitemsinalistorlibrar ry.Theactionsthat youcana auditinclude: Opening,view wing,ordownlo oadingitems. Editingitems. Performingac checkoutorch heckin. Movingorcop pyingitems. Deletingorrestoringitems.
Ba arcodes Labels
Thisoptio onassignsando optionallyinser rtsbarcodesinto odocumentsor ritems.Using barcodes scanassistwithelectronictagg gingandtrackin ngofprinteddo ocuments. Youcanu usethelabelsfu unctiontoaddllabelstodocum ments.Labelsca anprintthe metadata athatisassociatedwithadocu umentalongwi ithheadings,su uchas
PlanningManagedMetadata
915
Setting
Description
confidentialityortheintendedaudience. Youcanpromptuserstoinsertthelabelintothedocumentwhentheyuse MicrosoftOfficeapplications.
Question:Whatisthelimitationofspecifyinginformationmanagementpolicieswithadocumentlibraryinstead ofacontenttype?
916
SharePointBootCamp
KeyPoints
Co ontenttypesareapowerfulmethodforcreat tingcontentof acertaintypea andassociating columns,meta adata, do ocumenttemplates,informatio onmanagemen ntpolicies,orw orkflowswitht thattypeofitem m.
Fo orexample,anorganizationmayperformmanyprojects.Eac chprojectrequ iresaspecificbusinesscaseforthat pr roject.Theorga anizationalread dyhasatemplat tethatprojectmanagerscanc complete,buttheorganization n wantstostreaml w lineprocessesanddeterminew whoisupdating gthebusinessca asedocument.
In nthisexample,y youcancreateabusinesscasecontenttype e.Thecontentt typewillinclude ethedocument te emplate,andyo oucanincludea anymetadatare equirementsas customcolumn ns,suchaslistin ngtheprojectc code an ndprojectmana ager.Youcanim mplementaudit tingforthebus sinesscasethro ughaninforma ationmanagement po olicyinthecont tenttype,andy youcanattacha aworkflowtot thecontenttyp peforreviewan ndnotification pu urposes.
Ifyouuseaconte enttypeinthisway,youonlyn needtocreatet ypeonce.Anysi itethataddsthat thatcontentty ontenttypewill lincludealloftheinherentfun nctionalityofth hatcontenttype e,includingthe etemplate,met tadata, co po olicy,andworkf flowfunctionality.
Th hisexamplesho owsthatorganiz zationscanmod deltheinforma ationthattheys storearoundco ontenttypesto st tandardizeassoc ciatedrequirem mentsandreuse etemplates,po licies,orworkflows.
Note:Youcanap pplycontenttyp pestolistsinad dditiontolibrar ies.Forexample,youcancrea atean mployeevacatio onlistwhereus serscreateane ewrequestforv vacationbyusin ngavacationr request em co ontenttypewiththerequiredcolumns.Howe ever,youcanno otapplylibraryt typecontentty ypestolists,nor rcanyou ap pplylisttypeco ontenttypestolibraries.
PlanningManagedMetadata
917
ContentTypeInheritance
Allcontenttypesthatyoucreatemusthaveaparentcontenttype.Theparentcontenttypegovernswhether thecontenttypethatyoucreateisalistorlibrarycontenttype.Inaddition,thechildcontenttypewillinherit columnsandothersettingsfromtheparentcontenttype.
Planningyourcontenttypesensuresthatyoucanidentifycommonrequirements,andusecontenttype inheritancetosaveadditionalconfigurationtasks.
PlanningContentTypes
Whenyou plancontenttypes,it isimportanttoensurethat you includeallrequiredcontenttypesthat the organizationuses.Youmustalsoidentifyanymetadata(columnsortermsets),retention,auditing, barcode, label,orworkflowrequirementsforeachcontenttypethatyouestablish.
AspartofaSharePoint2010implementation,youmustinvolvethenecessarystakeholders(enduserteams ordepartments)whenyoucreateyourplannedcontenttypes.
918
SharePointBootCamp
ContentTypePublishinginS SharePoint201 10
KeyPoints
In nSharePoint2010,contenttyp pesthatyoucreateinonesitec collectionarere estrictedtouse ewithinthatsite co ollectionbyde efault,contenttypesarenotre eusableacrossd differentsiteco ollections.
To oprovideconte enttypesthatca anstandardizeitemsordocum mentsacrossaw wholeorganizat tionwithmoret than on nesitecollectio on,youmustuse etheManagedMetadataServ vicetopublishc contenttypes.
Th heManagedMe etadataService ecanpublishcontenttypesfro masinglesitec collectionthaty youconfigure,known as sacontenttype ehub.AnyWeb bapplicationsth hatconsumetheManagedMe etadataServicecan us sethepublishedcontenttypes sinsitecollectio onsandsites.Yo oucanonlyspe ecifyoneconten nttypehub fo oreachinstance eoftheManage edMetadataSe ervice.
opublishcontenttypes,useth hefollowingsteps: To
1. Create(orch . hoose)thesitec collectionthaty youwillusefor rpublishingcon ntenttypes.This sisthecontenttype hub.Youmu ustcreateallco ontenttypestha atyouwanttop publishinthiss sitecollection. 2. Intheprope . ertiesoftheManagedMetadat taService,ente rtheURLofthe esitecollection nthatwillbe thecontenttypehub.Intheconnectionpropertiesofthe eManagedMet tadataService,ensurethatthe e consumesconte enttypesfrom thecontenttyp pegalleryatthe especifiedURL. . connectionc 3. Createthecontenttypesinthecontenttypehub. . 4. Publishthec . contenttypesatthecontentty ypehub.Thepu ublishedconten nttypeswillbec comeavailableafter theContent tTypeHubandContentTypeS Subscribertimer rjobshaverun. .
Ifyoumakechan ngestoaconten nttypeintheco ontenttypehub b,youwillneed dtorepublishth hecontenttype efor ourchangestopropagate.Similarly,ifyounolongerwantyo ourcontenttypetobeavailabl le,youcanunpublish. yo Ho owever,unpublishingwillnotremovethecon ntenttypefrom masubscribersi iteifthatconte enttypeisalrea adyin us se.
PlanningM ManagedMetadata
919
Note:Youcansp peedupthepub blishingmechan nismbyforcingtheContentTy ypeHubandContentType Su ubscribertimerjobstorunbef forethescheduledtime.
920
SharePointBootCamp S
Lesson3
To oimplementtaxonomiesorco ontenttypessmoothlyinShare ePoint2010,you umustestablishthemetadata a re equirementsfor rdifferentusers sandteamsiny yourorganizatio on.Ifyoudono otplanthiscorr rectly,youmaycreate co omplicatedtaxo onomiesthatus sersdonotunderstandandcon nsequentlydon notuse.Toesta ablishtheseme etadata re equirements,yo oushouldusuallyinvolvethein nformationwor rkerswhoareth heendusers of fthesolution.T Theseworkersw willhaveimport tantunderstand dingandinsight tintothewayin nwhich metadataorcontenttypescanh m helpateamordepartment.
Yo oucanalsoappointnontechnicaluserstocon ntrolthemanag gedmetadatate ermsandcontenttypesthatar re pu ublishedtotheorganization.T Thisenablesthe epeoplewithth hecorrectinsigh httoadministerimportantpar rtsof th hetaxonomy.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Planforterm msandtermset ts. Plantheimp portofmanagedmetadata. Planforsharedtaxonomies sorcontenttyp pes. Planformul ltilingualmanag gedmetadata.
PlanningM ManagedMetadata
921
KeyPoints
Itisimportantto orecognizethat tyoumaynotbeabletoplana alltermsetstha atuserswilluse eatthestartofthe eployment.Partoftheplannin ngprocessinvolvesidentifyingtermsthatuser rswillapplytoi itemsordocum ments. de However,someu usefultermsets smaynotbeap pparentatthep planningstage,a andusersmayo onlyidentifyad dditional ermsetrequirem mentsafteryou udeployShareP Point2010. te
Th hisiscommonb behavior.Inadd dition,inmostc cases,requirem entsformanag gedmetadataw willnaturallycha ange ov vertime.Admin nistratorswillw withdrawsomet termsandterm msetsandaddo othertermsetstothetaxonom my.
Step S
Description n Toestablishtermsets,ex xaminetheway yinwhichtheo organizationcurrentlycategor rizes documents.Any ytextorchoice emetadatafield dsthatapplytoseveralsitesor rsite itemsord collection nsaregoodcandidatesforterm msets,particula arlyifyouwishuserstoselect valuesfro omapredefined dlist.Anyprede efinedselection nsforfilteringv viewsorsearch and anyvalue esthatusersma ayusetotagite emsarealsopot tentialtermset ts. Notallmetadatashould bemanagedm metadatacolum mnswithyes/novaluesordiffe erent whereyouuset themarebetter raslist,library,orsitecolumns s. valuesineachlocationw
Toestablishtermsetgro oups,investigat ewhoshouldb beusingorcontrollingtheterm msets intheorg ganization.Term msetsformase ecurityboundar ry,controllingw whocanseeord define termsets sinthetermgro oup.Youmayfo ormtermgroup psbasedonorg ganizationalstru ucture, suchasadepartmentor rsubsidiaryorga anizationthatc controlsanumb beroftermsets s.In nancyenvironments,youtypica allycreateater rmgroupforea achhosted multiten organizat tion.
922
SharePointBootCamp
Step S
Description n Foreachtermgroup,ide entifyatleasto negroupmana agerwhocanch hangeandcontrol sandterms.Atl leastonetermg groupmanager rshouldtypicallynotbeamem mber termsets oftheITd departmentor theSharePoint t2010supportt team.Theterm mgroupmanage er shouldbe esomeonewho ounderstandsth hepurposeand dapplicationofthetermsetsw within thetermgroup. ntifyuserswho canfulfilltheco ontributorrole .Contributorsc canmake Also,iden changest totermsetsand dterms,butcan nnotalterrolem memberships. Todefine ethetermgroups,createthet ermgroupwith hintheManage edMetadataService, andthenspecifythegroupmanagerso rcontributorsf forthetermgro oups.Group sorcontributor rscanthencrea ateorimportth hetermsetsand dterms. managers
Note:Youcansp pecifyatermsetownerforeac chtermset.This sisnotanadministrativerolew withpermission ns.It mationinrelationtothetermse mendedthatyou uspecifyauser rin issolelyusedforcontactinform et.Itisrecomm nappropriategroupmanagero orcontributorr roleasaterms etowner. an
PlanningM ManagedMetadata
923
KeyPoints
An nimportantfirs ststepinimpor rtingmanagedm metadataistoi dentifyanyexis stingsourcesof fterms.Theses sources mayinclude: m
Anyformsth hatarecurrentlyinuse. Apreviously ydefined(orpartiallydefined) taxonomy. Anyexisting gMicrosoftOffic ceSharePointServerchoiceco olumns. Anywellkno ownhierarchiessuchasfolder rstructuresord departments.
Yo oucancreatete ermsindividuallyinatermset byusingtheTe ermStoreMana agementToolW Webinterface. However,forlarg getermsetsortermsetswith adeephierarch hy,thiscanbea atimeconsumi ingtask.Youcanalso reatetermsetsbyimportingth hetermsandhierarchyfroma commasepara atedvalue(CSV)file. cr
Termsetname Termsetdescription LCID(localeidentifier) Availablefortagging(true/ /false) Termdescription Level1term m Level2term m Level3term m Level4term m
924
SharePointBootCamp
Yo ouarerecommendedtocreate eaplanningwo orksheetthatid dentifiesanyter rmsetrequirem mentsbyusingt these co olumns.Youcan nthenusethep planningworksh heettoimportt thetermsetint toSharePoint2 2010.Youcanuse MicrosoftExceltofacilitatethi M isimportproces ss.
AdditionalRea A ading
Fo ormoreinformationaboutthe emanagedmetadatainputfile eformatinShar rePointServer2 2010,see ht ttp://go.micros soft.com/fwlink k/?LinkID=20088 86&clcid=0x409 9.
PlanningM ManagedMetadata
925
KeyPoints
In nmostSharePoi int2010environments,youon nlyrequireasin ngleinstanceof theManagedM MetadataServic ce. Whenyouplanforasingleinsta W anceoftheMan nagedMetadat aService,consi iderthefollowingpoints:
plementanyter rmsetsthatyou urequireinthe singleinstance eoftheManage edMetadata Youcanimp Service,upt to1,000termse ets. Youcanimp plemententerprisekeywordsfr romthesingleiinstanceoftheManagedMeta adataService. nonly. Youcanpub blishcontenttyp pesfromasinglesitecollection
Ifyouareplannin ngformultipleinstancesofthe eManagedMet tadataServicea andyouplanto oshare nstancesacrossW Webapplications,considerthe efollowingbest tpractices: in
Onlyconfigu ureoneManage edMetadataSe erviceinstancet tobethedefau ultstoragelocat tionfor columnspec cifictermsets. Onlyconfigu ureoneManage edMetadataSe ervicetobethedefaultstorage elocationforke eywords.
oupscandefine ewhichusersca anreadanduse etermsinthete ermgroup.This senablesasingl le Termsetgro termstoretosupporttermsetsformanys sitecollections, ,whereeachsit tecollectionma aybeadifferen nt hostedorganization. Contenttypepublishingisa associatedwith theManagedM MetadataServiceconnectiont totheWebapp plication object.Thismeansthatyou umayrequirem multipleWebap pplicationstosu upportseparationoforganizat tion basedconte enttypes.Thisis sonlyarequirementifonehos stedorganizatio onrequiresmultiplesitecollec ctions.
926
SharePointBootCamp
KeyPoints
Sh harePoint2010canrepresenta aterminthete ermstorewitha anumberofdif fferentlabels.Y Youwillmost co ommonlyseedi ifferentlabelsfo orthesameter rmifyouimplem mentsynonyms sfortermsinth hetermstore.F For ex xample,thetermhumanreso ourcesmayalso ohavethesyno onympersonnel.Inthisexam mple,SharePoin nt2010 tr reatshumanre esourcesandpersonnelasla abelsforthesa meterm.
In nasimilarway,SharePoint201 10cantreatdiff ferentlanguage eversionsofaw wordasbeingdi ifferentlabelsf forthe sa ameterm.Thise enablesyoutodefinetheterm msetonce,but applytheterm setinasmanysupportedlang guages as syourequire,w withoutneeding gaseparateterm msetforeachllanguage.
1. InstalltheSh . harePointServe er2010languag gepackforeach hlanguagethat yourequire. 2. UsetheTerm . mStoreManage ementTooltoa addeachlangua agetothelistof uagesfortheterm fworkinglangu store. 3. Selectonela . anguagetobethedefaultlanguageforthete rmstore.
Yo oucanusetheT TermStoreMan nagementTool toentermultip plelabelsineac chlanguage;for rexample,youcan en ntersynonymso ofthetermsineachlanguage.However,each hlanguagemus sthaveadefaultlabel.
Note:IfyourSha arePointenviron nmentincludes smultipleterms stores,conside rupdatingallte ermstorestosu upport hesamelanguag ges. th
AdditionalRea A ading
Fo ormoreinformationaboutmu ultilingualterm setsinSharePo oint2010,see ht ttp://go.micros soft.com/fwlink k/?LinkID=20088 87&clcid=0x409 9.
PlanningManagedMetadata
927
Lab:PlanningManag n gedMetadata
928
SharePointBootCamp
Theinformationthatyourteamneedsisdetailedinthesupportinginformation.Usethesedocumentstoproduce yourtermsetdesign.
Themaintasksforthisexerciseareasfollows:
1. Readthesupportinginformation. 2. CompletetheManagedMetadataPlanningworksheet.
Task1:Readthesupportinginformation
1. Readthelabscenario. 2. Logonto10231ANYCDC107asCONTOSO\EdwiththepasswordPa$$w0rd. 3. IntheE:\Labfiles\Lab07\Starterfolder,readtheinformationintheManagedMetadata Requirements.docxfile.
Task2:CompletetheManagedMetadataPlanningworksheet
1. IntheE:\Labfiles\Lab07\Starterfolder,opentheMMSPlanningWorksheet.xlsxfile. 2. OntheServicessheet,fillinthedetailsforallofthetermgroupsthatyourequire. 3. OntheContentTypessheet,fillinthedetailsforanycontenttypesthatyourequire.
PlanningManagedMetadata
929
Exercise2:CreatingtheManagedMetadataServiceApplication
Scenario
Afterplanningthemanagedmetadatarequirements,youhavebeentaskedwithcreatingaproofofconceptto demonstratetotheMarketingdepartmenthowtheycantagbrochures.YoushouldcreatetheManagedMetadata Serviceapplicationfortheproofofconcept.
Themaintasksforthisexerciseareasfollows:
Task1:CreateasitecollectioncalledCTHubonintranet.contoso.com
Name:ManagedMetadataServiceApplication
Databasename:TermStore_Default
Applicationpool:SharePointWebServicesDefault
Contenttypehub:http://intranet.contoso.com/sites/cthub
930
SharePointBootCamp
Exercise3:ImportingTermSets
Scenario
AftercreatingtheManagedMetadataServiceapplication,youshouldimportthetermsetsthatthe Marketingdepartmentrequires.
Themaintasksforthisexerciseareasfollows:
1. CreateanewtermsetgroupcalledContoso
2. ImporttheCostCenterandDepartmenttermfiles.
Task1:Createanewterm setgroupcalledContoso
PlanningManagedMetadata
931
Exercise4:PublishingaContent Type
Scenario
Youshouldcreateandpublishanewcontenttypeforinclusionwiththeproofofconcepttothe Marketingdepartment.
Themaintasksforthisexerciseareasfollows:
1. 2. 3. 4. 5.
Task1:CreateanewsitecollectioncalledMarketing
Task2:CreateacustomcontenttypeintheCTHubsitecollection
Task3:Publishthecustomcontenttype
PublishtheMarketingDocumentcontenttype.
Task5:VerifythatthecustomcontenttypeisavailableintheMarketingsite
1. Go to the http://intranet.contoso.com/sites/marketing site collection, and then view the Content type publishingsettingsforthesitecollection.YoushouldseeMarketingDocumentlistedasasubscribedcontent type. 2. IntheSharedDocumentslibrary,addtheMarketingDocumentcontenttype,andthenverifythatusers cancreatenewMarketingdocuments.
932
SharePointBootCamp
ModuleRe M eviewandTakeaway ys
ReviewQuesti ions
1. Cantheterm . msetownerper rformanychangestotheterm mset? 2. Whatisthed . differencebetw weenatermset tandenterprise ekeywords? 3. Canyouimp . plementmoreth hanoneinstanc ceoftheManag gedMetadataS Serviceinasing glefarm environmen nt? 4. DoeseveryS . SharePointfarm mrequireauniq queManagedM MetadataService e? 5. Canyouuse acontenttypefromonesitec . collectioninano othersitecollec ctionwithoutu usingacontenttype hub?
BestPracticesRelatedtoPlanningManagedMetada ata
Su upplementorm modifythefollow wingbestpracticesforyourow wnworksituations:
Involvestake eholderssucha asinformationw workersorteam mleadersinide ntifyingmetada ata requirements. Identifynon ntechnicalusers swhocanactinthegroupman nagerorcontrib butorroletoma anagetermsets. Configureon nlyoneManage edMetadataSe erviceasthedef faultstorefort termsetsandke eywordsforeac ch consumingW Webapplication n.
Module10
PlanningEnterpriseContentManagement
Contents:
Lesson1:OverviewofEnterpriseContentManagement Lesson2:PlanningTasksforContentManagement Lesson3:PlanningFeaturesandPoliciesforContentManagement Lesson4:PlanningWebContentManagement Lab:PlanningEnterpriseContentManagement
102
Th hetermenterpr risecontentma anagement(ECM M)inMicrosoft tSharePointS Server2010referstothetechn nologies, strategies,policie es,andtoolstha atyouusetomanage,store,a ndservedocum mentsandother rorganizationalcontent to ousers.
Th hismoduledesc cribesthecoreE ECMfunctional litythatShareP PointServer201 10providesanddescribesthem major hi ighlevelstepst thatyoumustta aketodesignasuccessfulECM MplanforShare ePointServer20 010.Italsodiscu ussesthe co onsiderationsfo orplanningfeat turesandpolicie esforcontentm managementin nSharePointServer2010.Allofthese st tepsforplanningECMconstituteavitalparto ofthedesignof yourSharePoin ntServer2010infrastructure.
Objectives O
Af ftercompleting gthismodule,youwillbeable to:
Describethe ecorefunctiona alityofECMinS SharePointServ ver2010thatin nfluencesyourd design. Describethe emajorstepsth hatyoushouldt takewhenyouplanacontent managementsolutionin SharePoint Server2010. econsiderations sforplanningfe eaturesandpo liciesforconten ntmanagementfor Describethe SharePoint Server2010. wtoplanforW WebcontentmanagementinSh harePointServe er2010. Describehow
P anningEnterpriseContentManagement Pl
103
Lesson1
En nterprisecontentmanagemen ntinSharePointServer2010inc cludestheman nagementofdocuments,recor rds, Webcontent,anddigitalassets. W .Youmustunde erstandthesem mainconceptsb beforeyoucanp planyourenter rprise co ontentmanagementstrategya andpolicies.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Describedoc cumentmanage ementinanECMsolution. Describerec cordsmanagem mentinanECMs solution. DescribeWe ebcontentman nagementinanECMsolution. Describedig gitalassetmana agementinanECMsolution.
104
DocumentMa anagement
KeyPoints
Sh harePointServe er2010includes sdocumentmanagementfeatu uresthatyouca anusetocontro oladocumentslife cy ycleinyourorga anization.Thed documentslife cycleincludesh howyoucreate e,review,publis sh,andretireor re etainit.Foryourdocumentma anagementsyst temtobeeffect tive,itshouldre eflectyourorga anizationscultu ure.
Yo ourdocumentm managementto oolsmustbeada aptable.Youm ustbeabletoh holdtightcontr rolofadocument'slife cy ycleifthatsuits syourorganizat tion'sculturean ndgoals;howev ver,youmustal lsobeabletoim mplementaless s st tringentandstructuredsystem mifnecessary.
KeyElementsofaDocumentManagem mentSolution
Th hekeyelement tsofadocumen ntmanagement tsolutionspecif fythefollowing g:
Thetypesof fdocumentsandothercontentthatyourorga anizationcancr reate. Thetemplat tetouseforeac chdocumentty ype. Themetadataforeachdoc cumenttype. Thedocume entstorageloca ationforeachst tageofadocum mentslifecycle . Thedocume entaccessmeth hodforeachsta ageofadocume entslifecycle. Themethod dformovingdocumentsaroundtheorganizat tionasteamme emberscontribu uteaspartofa documentscreation,review w,approval,pu ublication,andd dispositionproc cesses. Thepolicies toapplytodoc cumentstoensu urethatdocum mentrelatedact tionsareaudite ed,documentsa are retainedord disposedofpro operly,andimpo ortantcontentisprotected. Thedocume entformatconv versionsthatare erequiredasa documentmov vesthroughthe evariousphases s ofitslifecyc cle. Theprinciplesthatmustbe efollowedforalldocumentsth hatarecorporat terecords,inclu udingretention nrulesto complywith hlegalrequirem mentsandcorpo oratedocument tationguideline es.
P PlanningEnterpriseContentManagement
105
Re ecordsManag gement
KeyPoints
In nSharePointSer rver2010,arec cordisadocumentorotherele ectronicentityi inanorganizati ionthatcanpro ovide ev videnceofanac ctionortransac ctionthattheorganizationper rforms.Records smustberetain nedforagivenp period of ftime.
Considerswhichkindsofinformationitshoulddeclareas records. witshouldhand dledocumentst thatwilllaterbe cides Decideshow ecomerecords whiletheyareinuse,anddec howitshouldcollecttheinformationafterthedocument tsaredeclared asrecords. Decideshow wandforwhatlengthoftime eitretainseac chrecordtypet tocomplywithlegal, business,orregulatoryrequ uirements. Implements stechnicalsolut tionsandbusine essprocessesto ohelpensureth hattheorganiza ationcompliesw withits recordsman nagementobligationsinacost effectivewayw withoutintrudin ngonthenorm malrunningofth he business. Performsroutinetasksonitsrecords,such hasdisposingof fexpiredrecord dsorlocatingan ndprotectingrecords thatarerela atedtoexternaleventssuchas slawsuits.
Itistheresponsib bilityofcorpora atecompliance officers,record dsmanagers,an ndlawyersinyo our or rganization to determine which documents are records. These staff members can he you to ens s elp sure that do ocumentsareretainedforthe eappropriatepe eriodoftime,b bycarefullycate egorizingallenterpriseconten ntinyour or rganization.Aw welldesignedre ecordsmanagem mentsystemisimportantfort thefollowingre easons:
Ithelpstole egallyprotectan norganization. Ithelpstheo organizationtocomplywithre egulatoryobliga ations. Itincreasest theefficiencyo ofanorganizatio onbyencourag gingthedisposit tionofexpiredi itemsthataren not records.
106
DesigningaMicrosoftSharePoint2010Infrastructure
KeyElementsofaRecordsManagementSolution
Thekeyelementsofarecordsmanagementsolutionincludethefollowing:
Acontentanalysisdocumentthatcategorizesenterprisecontentthatcanbecomerecords,providessource locations,andalsodescribeshowthecontentwillmovetotherecordsmanagementapplication. Afileplanthatspecifieswhereeachkindofrecordshouldberetained,thepoliciesthatapplytothem,how longtheymustberetained,howtheyshouldbedisposedof,andwhoisresponsibleformanagingthem. Acompliancerequirementsdocumentthatdefinestherulesthattheorganization'sITsystemsmustfollow toensurecomplianceandthemethodsusedtoensuretheparticipationofenterpriseteammembers. Themethodforcollectinginactiverecordsfromallrecordsources,suchascollaborationservers,fileservers, andemailsystems. Themethodforauditingactiverecords. Themethodforcapturingandmaintainingmetadataandaudithistoriesforrecords. Theprocessforputtingrecordsonholdwheneventssuchaslitigationsoccur. Amonitoringandreportingsystemforthehandlingofrecordstoensurethatemployeesarefiling, accessing,andmanagingthemaccordingtodefinedpoliciesandprocedures.
P anningEnterpriseContentManagement Pl
107
WebContentManagemen W nt
KeyPoints
AWebcontentm managementso olutionisaconte entmanageme ntsystemthaty youimplement tasaWebapplication. ouusethesesolutionstocreat teandmanageW Webcontentsu uchasHTML,XM ML,pictures,an ndrichmediasu uchas Yo video.Webconte entmanagementenablescont tentcreation,co ontentcontrol, ,andcontented ditingfunctions s.
Publishingfe eatures. Documenta andworkflowto ools. Searchcapabilities. Versioncont trol. Cachingcapabilities. Brandingandpersonalizatio on. Contentvariationcapabilities. Analytics. Socialmedia acapabilities.
108
DigitalAssetM Management
KeyPoints
Digitalassetman nagementisthe eprocessbywhi ichanorganizat tioncreates,sto ores,organizes, ,manages, istributes,andd disposesofitsdigitalassets.Ad digitalassetisa nimage,audio ,orvideofileorotherreusable di ric chcontentfrag gmentthatanorganizationuse esinapplication nsacrosstheen terprise.
Th hedigitalassetmanagementfe eatureinSharePointServer20 010cansavean organizationtimeandother re esourcesbyprov vidingaspecializedrepositoryforstoringand dmanagingdigit talassets.Thism meansthatusersdo no othavetosearc chthroughmultiplenetworklo ocationstolook kforassetsorcreatethemfrom mscratchifthe ey ca annotfindthem m.Byusingacen ntralizedstorag gelocationford digitalassetman nagement,ano organizationals sogains tig ghtercontrolov verbrandsensitivecontentan ndcanensureth hatonlyapprov vedassetsforproductsaremade av vailabletother relevantusers.
Sh harePointServe er2010providescontenttypes sthataredesign nedspecifically foraudioandv videoassetsand dthat su upportthestora ageandplaybac ckoftheseassetsinWebParts sandWebPart pages.Function nalityfordigitalasset managementinS m SharePointServ ver2010iscenteredonanasse etlibrary,which hisatypeofdo ocumentlibrary y.
OverviewofA O AssetLibraries s
As ssetlibrariesare ecollectionsofmediafilessu uchasimage,au udio,andvideo ofilesonShare ePointServer 20 010thatyoush harewithothersiteusers.Aspa artofyourplan nningfordigital assetmanagem ment,youmust t de eterminetheas ssetlibrarythatbestfitstherequirementsofy yourorganization.Theassetlibraryisnothing gmore th hanaSharePoin ntServer2010li ibrarywithspec cializedcontent ttypesfordigit talassets;there efore,youusem manyof th hesamemethod dstoplanadigi italassetmanag gementsolutio nasyouusetoplanadocume entmanagemen nt so olution.
Yo oucanuseanassetlibraryintw woways:
ldocumentlibra aryfordigitalassetsatthetea amlevel.Thisca anbeassimpleasaplacetostore Asageneral image,audio o,andvideofile esforadepartm mentorteamto ouse.Forexam mple,youmayde ecidetogiveev veryone intheSalesdepartmentpermissionstoupload,organize, andmanagesa alesrelated
PlanningEnterpriseContentManagement
109
assets.Alternatively,youmayrestrictthetaskoforganizingandmanagingassetstoasmallsubsetofstaff membersintheSalesdepartment.
KeyElementsofaDigitalAssetManagementSolution
Thekeyelementsofadigitalassetmanagementsolutionspecifythefollowing:
Themetadatatoprovideforeachassettype. Thestoragespacethatyourequirefortheassets. Theperformanceissuestoconsiderwhenyouserveassetstoyourusers. Thestoragelocationforeachstageofanassetslifecycle. Theaccessmethodforeachstageofanassetslifecycle. Themethodformovingassetsaroundtheorganizationasteammemberscontributeaspartofanassets creation,review,approval,publication,anddispositionprocesses. Thepoliciestoapplytoassetstoensurethatassetrelatedactionsareaudited,assetsareretainedor disposedofcorrectly,andimportantassetsareprotected. Thewaythatassetsaretreatedascorporaterecords,andhowyoumustretainthemtocomplywithlegal requirementsandcorporatedocumentationguidelines.
Question:Whatarethetwomainlevelsatwhichyouwoulduseanassetlibrary?
1010
DesigningaMicrosoftSharePoint2010Infrastructur re
Lesson2
Th hereareseveralsetsoftasksfo oreachpartoft theplanningpr rocessforconte entmanagemen ntin Sh harePointServe er2010.
Yo oumustbefam miliarwiththese emajorcontent tmanagementp planningtasksf fordocumentm management,re ecords management,W m Webcontentman nagement,asse etlibrarymanag gement,anddig gitalassetmana agementin Sh harePointServe er2010beforey youcandesigna acontentmana agementplan.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Listtheplan nningtasksford documentmana agement. Listtheplan nningtasksforrecordsmanage ement. Listtheplan nningtasksforW Webcontentma anagement. Listtheplan nningtasksford digitalassetman nagement. Listtheplan nningtasksfora assetlibraries.
PlanningEnterpriseContent tManagement
1011
KeyPoints
Planningfordocu umentmanagementincludest thefollowingm majortasks:
Identify doc cument manag gement roles. You must ensu that your p Y ure plans include a feedback f any from key stakeholders sinyourorganization.Youmu ustalsoensuret thatyouhavet therightimplem mentationteam minplace andyouareawareofthep peoplewhocont tributetothed documentmana agementproces sses. Analyzedocumentusage.A Afteryouhaved determinedwh ichusersworko ondocuments,youshould determinethetypesofdoc cumentsthatth heyworkonand dhowtheyare likelytousethe em. Plantheorg ganizationofdocuments.Share ePointServer20 010enablesyou utoorganizedo ocumentsinsite e collections,s sites,andlibrar ries.Italsooffer rsarangeoffea atures,suchasD DocumentSets s,tohelporgani ize andstoredo ocuments,from mspecializedsite essuchasareco ordsrepository ytolooselystructureddocume ent librariesforquickdocumen ntcreationand collaboration.Y Youcanfurther rorganizethec contentinlibrar ries intofoldersandsubfolders. Planhowcontentmovesbe etweenlocation ns.Thereareoc casionswherey youmayneedt tomoveorcopy ya documentfr romalibraryor rsitetoanotherlibraryorsite duringitslifecy ycle.Forexamp ple,thiswillhap ppenif yourpublish hingprocessincludesmovingadocumentfrom mastagingsite toaproduction nsiteontheInt ternet. Thisplanningstepmayalso oincludethepla anningofconte entthatchange sitsstateoveritslifecycle.Fo or example,ad documentmigh htstartoutasarequestforpro oposal(RFP),be ecomeafinalco ontract,andfina ally becomeale egaldocumentt thatyoumusttreatasarecord d. ormationabou ttypesofdocuments,suchas Plancontent ttypes.Youuse econtenttypes toorganizeinfo documentte emplates,meta adata,workflow wprocesses,and ddocumentma anagementpolic cies. Planworkflo ows.Whenyouplanyourorganizationswork kflows,youcancontrolandtrackhowdocume ents movefromo onepersoninth heworkflowtoanotheraseac chpersoncollab boratesduringa adocument'slif fecycle. SharePointS Server2010includesworkflow wsforcommont teambasedtas skssuchasrevie ewingandapproving content.Sha arePointServer r2010alsoenab blesyoutocrea ateyourowncu ustomworkflow ws.
1012
DesigningaMicrosoftSharePoint2010Infrastructure
PlanningEnterpriseContent tManagement
1013
KeyPoints
Planningforreco ordsmanageme entincludesthe efollowingmajo ortasks:
Identifyreco ordsmanageme entroles.Youm mustidentifyspe ecializedrolest tohaveasucces ssfulplanforre ecords managemen nt.Theserolesincludethefollo owing: Records smanagersand dcomplianceoff fficers.Thesem anagersandoff ficersarerespo onsiblefor categor rizingtheorgan nizationsrecord dsandrunningt theprocessfor recordsmanag gement. ITperso onnel.Thesepersonnelareresponsibleforim plementingthe eITsystemstha atprovide efficien ntsupportforre ecordsmanagem ment. Contentmanagers.Thesemanagersa areresponsible forlocatingorg ganizationalinfo ormationand ensurin ngthatteamsfo ollowrecordsmanagementpra actices.
Analyze org ganizational co ontent. Your re ecords manage and conten managers s ers nt should analyze the organization nsdocumentu usageto determ minewhich doc cumentscan be declaredasr e recordsbefore they createafileplan. Developafil leplan.Wheny youhaveanalyz zedtheorganiza ationalcontentanddetermine edretentionsch hedules, youcanthenfillintherest ofthefileplan.Fileplansgene erallydescribet thetypesofite emsthatthe organization nconsiderstoberecords,indic catetheirstorag gelocation,def finetheirretent tionperiods,an nd definewhoisresponsiblefo ormanagingthem. Developrete entionschedule es.Foreachtype eofrecordinyo ourorganizatio on,youmustde eterminewhenitis inactive,how wlongyoushou uldretainitafte eryouclassifyit tasinactive,an ndhowyoushoulddisposeofit. Design the records manag gement solutio You must d on. determine whe ether to create a records arc e chive, managerecordsin place,o usea combi or inationof the t twoapproache es.Useyourfile plan to desig the e gn recordarchiveordeterminehowtouseex xistingsitestoc containrecords s. Planhowcontentitemsbec comerecords.F Fordocumenta ndrecordsman nagementinSharePointServer r oucancreatecu ustomworkflow wstomovedoc cumentstoarec cordsarchive.Y Youcanalsouse e 2010,yo
1014
DesigningaMicrosoftSharePoint2010Infrastructure
Question:Whichrecordsmanagementroleisresponsibleforlocatingorganizationalinformationandensuring thatteamsfollowrecordsmanagementpractices?
PlanningEnterpriseContent tManagement
1015
KeyPoints
PlanningforWeb bcontentmana agementinclude esthefollowing gmajortasks:
Planpublishingfeatures.Th hetermpublishingreferstoth eauthoringand ddeploymento ofbrandedcont tent, customasse emblies,andcon nfigurationfiles sacrossaShare PointServer20 010farm.TheSharePointServe er PublishingIn nfrastructurefe eatureprovidespublishingfunc ctionalityatthe esitecollection nlevel,andthe SharePointS ServerPublishin ngfeatureprovi idespublishing functionalityat tthesitelevel. PlanWebpa ages.Whenyou uplanWebpagepublishingin SharePointServ ver2010,youd designtheappearance ofyourpubl lishedcontent,determinewhe ereauthorsare allowedtoadd dcontentonpages,andcontro olthe authoringfe eaturesthataut thorsareallowe edtouse.Anef ffectiveplanfor rWebpageshe elpsyoutoensu urethat eachtypeof fcontentthaty yourorganizatio onpublisheshas sbeendesigned dcorrectlyandhasbeenmade e availabletoachieveyourpublishinggoals. PlanWebpa ageauthoring.S SharePointServ ver2010suppo rtsbrowserbas sedauthoring.W Whenyouplanfor browserbas sedauthoring,y youmustplanw whichresources s,pagelayouts,images,videos s,andcommand dsto tingexperience hidefromor rshowtoautho ors.Youmustal lsoplantheedit einthefieldcontrolsinwhich youwill allowauthorstocreatecon ntent. Plancontent tapprovalands scheduling.Asy youplanyourS harePointServe er2010publish hingsites,youm must decidehowmuchcontroly youwantuserst tohaveoverth eapprovalandschedulingofs sitecontent.Fo or example,yo oumaywanttoimposerestrict tionsonhowm uchcontrolaut thorshaveover rapprovingcontent thattheyha avecreatedthem mselves.Youca angiveusersno ocontrol,simple emoderation,o ortheabilityto ostarta workflowaftertheysubmit tcontent. Plancaching gandperformance.Youmustc considerthefolllowingthreeke eycachingandperformanceaspects ofSharePoin ntServer2010: Diskba asedbinarylargeobject(BLOB) )caching.Share ePointServer20 010providesad diskbased BLOBca achethatreduc cesdatabaseloa adandincrease esbrowserperfo ormanceforus sers.
1016
DesigningaMicrosoftSharePoint2010Infrastructure
PlanlargePageslibraries.APageslibraryisadocumentlibrarythatcontainsallofthecontentpagesfora publishingsite.IfyoursitehasaPageslibrarythatstoresthousandsortensofthousandsofpages,youmust considerauniquesetofissuesthatrelatetomanagingthesepagesandprovidingnavigationbetweenthem inasite. Plancontentdeployment.Theplanningprocessforcontentdeploymentstartswithdeterminingwhetherto usecontentdeploymentwithyourSharePointServer2010solution.Theotherstepsthatyoumusttaketo plancontentdeploymentincludedecidinghowmanyserverfarmsyourequire,planningtheconfiguration ofimportandexportservers,planningcontentdeploymentpathsandjobs,andidentifyingthespecial considerationrequirementsforlargejobs. Planvariations.Whenyouplanforvariations,youshouldstartbyconsideringtheinteractionbetween variationsandotherSharePointServer2010features.Thesefeaturesincludecontentapproval,site navigation,contentdeployment,WebParts,andmultilingualsites.Otherplanningstepsforusingvariations withSharePointServer2010includedeterminingthetypeofvariationsthatyouwill require,specifyingthesourcevariationsiteandthetargetvariationsites,decidinghowsitesandpages willbecreatedonthetargetsites,anddecidinghowtoscheduletimerjobsforvariations.
Question:Whatisthedefaultsettingformaximumuploadsize?
PlanningEnterpriseContent Management t
1017
KeyPoints
Planningfordigit talassetmanag gementincludes sthefollowingm majortasks:
Planpermiss sionsandsecuri ity.Whenyoup planforpermiss sionsandsecur rityinanassetli ibrary,youmus st considerwhichpermissions stogranttouse ersandgroupsiinyourorganiza ationandwhet theryoumustd define customperm missionlevelsan ndgroups.The standardavaila ablepermission nlevelsareasfo ollows: Limited dAccess.Usersc canviewspecifi iclists,docume ntlibraries,list items,folders,ordocuments. Read.U Userscanviewit temsonpages. Contrib bute.Userscana addormodifyit temsonpagesa andinlistsand libraries. Design.Userscanchan ngethelayouto ofsitepages. FullCon ntrol.Usershave eallpermission ns.
Planstorage eandperforman nce.Anassetlib braryisaspecia alizedkindofdo ocumentlibrary y;therefore, determining gstoragerequir rementsfordigitalassetsisthe esameasdeterm miningstoragerequirementsf for documents.Themaindifferenceisthatassetlibrariescon ntainfewerasse etsthandocum mentlibraries,but theseassets areoftenmuch hlarger. Ifyouplantousetheassetlibrarytostore eandserveaudiioandvideofile estousers,youshouldenablethedisk basedBLOBcacheandBitR RateThrottling optionstoprov videbetterperf formance.
ataandsearch.Youaddmetad datatohelpdes scribethetype andcontentof fadigitalasset. Planmetada Thismakesitmucheasiertofindassetsinanassetlibrary y;richmediafile esarenotautomaticallysearchable becausethe eydonotcontai intextthatase earchenginecan nindex.Somem metadata,suchasthesizeand d must dimensionsofanimage,ise enteredautomaticallywheny ouuploadthea assettotheassetlibrary.Youm addotherm metadatamanua allysuchasat textdescription n,copyrightinfo ormation,orkeywords.
1018
DesigningaMicrosoftSharePoint2010Infrastructure
AdditionalReading
FormoreinformationaboutECMplanninginSharePointServer2010,see http://go.microsoft.com/fwlink/?LinkID=200900&clcid=0x409.
PlanningEnterpriseContent tManagement
1019
KeyPoints
Planningassetlib brariesforyourdigitalassetma anagementsolu utionincludesthefollowingma ajortasks:
Identifydigit talassetmanag gementroles.W Whenyouplana adigitalassetlib brary,thefirsts stepistodeterm mine theparticipa antsandstakeh holdersforyour rsolution.Thisw willhelpyoutodeterminewho ocreatesdigital assetsinyou urorganization, ,thekindsofas ssetsthattheyc create,whomanagestheasset ts,andwho maintainsth heassetstorage eservers. Analyzeasse etusage.Aftery youdetermine whoworkswit hyourdigitalas ssets,youmust tdeterminethe ekindsof assetsthattheyworkonan ndhowtheyuse etheseassets.Y Youcanthenus sethisanalysist tohelpyouto determineo otherimportant tinformation.T Thisinformation nincludeshowtostructurethe eassetlibraries s,how manylibrariesyourequire,whichcontenttypestousefo ortheassets,an ndwhichinform mationmanagem ment policiesyoushouldapplyto otheassetlibra aries.Youmusta alsoplanforsto oragecapacity,becausemostd digital assetsarelargerthanstand darddocument files. Planorganiz zationofassetlibraries.Asyouplantheasset libraries,youm mustmakesome edecisionsabo out them.These edecisionsinclu udewheretocr reatethem,how wusersmustus sethem,howm manyyourequir re,and howtoorga anizethem. Plancontent ttypes.Thecon ntenttypesthat tassetlibraries includeareima age,audio,andvideo.Youcan neither usetheseco ontenttypesorcreateyourow wncustomconte enttypesthaty youderivefrom mtheincludedcontent types. Plancontent tgovernancefo ordigitalassets.Youmustplan ntheappropriat televelofcontrolthatisrequi iredfor eachconten nttypeandstor ragelocationfordigitalassets. Forexample,youmayusever rsioningtostore e successiveit terationsofasse etsinthelibrary y,oryoumayre equireuserstocheckassetsinandoutbefore ethey workonasse ets.Youmayals sodefineanapprovalprocesssothatassetsm mustbeapprov vedbeforetheycanbe madeavailabletoanaudience. Planworkflo ows.Youusewo orkflowstoperf formmanagem menttasksonas setsintheasse etlibrary.Thism means thatyoumu ustconsiderand ddecideonseve eralplanningre elatedworkflow wissues.Forexa ample,youmus st decidewhet therassetshave etobereviewedandapproved dbeforeassetc consumerscanu use
1020
DesigningaMicrosoftSharePoint2010Infrastructure
them,whohasresponsibilityformanagingtheexpirationofassets,andwhetheryoushouldretainordelete assetsaftertheyexpire.
PlanningEnterpriseContent tManagement
1021
Lesson3
Th hereareseveralfeaturesandp policiesavailableinSharePoint tServer2010th hatenableyout tohostanefficient an ndsuccessfulco ontentmanagem mentsolution,a andeachofthe eserequiresplanningbeforeyo ouimplement th hem.
Yo oumustbefam miliarwithalloftheplanningst tepsthatarereq quiredtoimple ementthesefea aturesandpolic ciesin yo ourSharePointServer2010contentmanagem mentsolutionbe eforeyoucand designacontentmanagement plan.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
Planforvers sioningcontrol, ,contentapproval,andcheck inandcheckou ut. Planforinfo ormationmanag gementpolicies s. Planforcontenttypes. Planfordocumentsets. PlanfordocumentIDs. Planforwor rkflows. Planformet tadatabasedro outingandstora age.
1022
DesigningaMicrosoftSharePoint2010Infrastructur re
KeyPoints
Sh harePointServe er2010providesfeaturestohe elpyoucontroldocumentsiny yourdocumentlibraries.The fo ollowingtabledescribesthesef features.
Feature
Ve ersioningcontro ol Co ontentapproval Ch heckinandcheckout
Descrip ption Them methodbywhic hsuccessiveite erationsofadoc cumentare numb beredandsaved d. Them methodbywhic hsitemembers swithApprover rpermissions contro olthepublicatio onofcontent. Them methodsbywhic chuserscanbe ettercontrolwh henanewversio onofa docum mentiscreated andalsocomm mentonchangesthattheyhavemade whentheycheckina adocument.
Whenyouplanc W contentmanage ementpolicies, youmustconsiiderhowyouw willuseversionin ngcontrol,cont tent ap pproval,andcheckoutandche eckinfeatures inSharePointS Server2010toc controlthevers sionsofadocum ment th hroughoutitslif fecycle.
PlanningVersi ioningContro ol
Th hedefaultversioningcontrolsettingforadoc cumentlibraryd dependsonthe esitecollectiontemplateonwhichit isbased.Youcan nalsoconfiguredifferentversio oningcontrolse ettingsfordiffe rentdocument tlibrariestosuitthe pecificrequirem mentsofthatdo ocumenttype.S SharePointServ ver2010hasthr reeversioningo options: sp
Noversionin ng.Thisoptions specifiesthatnopreviousvers sionsofdocume entsaresaved.Youtypicallyu usethis rcontentthatn optionfordocumentlibrariesthatcontain ncontentoflow wimportanceor neverchanges.
PlanningEnterpriseContent tManagement
1023
Createmajo orversions.Thisoptionspecifie esthatnumbere edversionsofd documentsarer retainedbyusin nga simpleversioningschemes suchas1,2,3.T Tocontrolthee effectonstoragespace,youcanalsospecifyh how manyprevio donotwanttodifferentiatebetween ousversionstok keep.Youtypicallyusethisopt tionwhenyoud draftversion nsofdocument tsandpublished dversions. Createmajo orandminor(dr raft)versions.T Thisoptionspec ifiesthatnumb beredversionso ofdocumentsare retainedbyusingamoreco omplexmajora andminorversio oningschemes suchas1.0,1.1,1.2,2.0, 2.1,andsoo on.Tocontroltheeffectonsto oragespace,you ucanalsospecifyhowmanyp previousmajora and minorversio onstokeep.You utypicallyusem majorandmino orversioningwh henyouwantto odifferentiate betweendra aftcontentthat tisnotyetread dyforpublicatio onandpublishe edcontentthatisreadyforvie ewingby anaudience e.
Note:Regardlessoftheversioni ingcontrolthat tyouchoose,it isimportantto oconsidertheeffectthat re etainingmultipleversionsofth hesamedocume entcanhaveon nstoragespace e.
PlanningContentApproval l
Usecontentapprovaltocontrol ltheprocessof makingconten ntavailabletoa anaudience.Youcanalsosche edule ontentpublishin ngdependingonthedocumen ntstate.Adocu mentdraftthat tisawaitingcon ntentapproval isinthe co Pe endingstate.W Whenanapproverreviewsthed documentanda approvestheco ontent,itbecom mesavailablefo or viewingbysiteuserswithReadpermissions.Ad documentlibra aryownercane enablecontentapprovalfora ocumentlibrary yandoptionally ycanassociatea aworkflowwith hthelibrarytorun do th heapprovalprocess.Thewayinwhichdocum mentsaresubmit valvariesdepen ndingonthe ttedforapprov ve ersioningsettingsinthedocum mentlibrary,aspreviouslymen ntioned.
PlanningCheckInandCheckOut
Yo oucanspecifyt thatusersmustcheckdocumentsoutfromad documentlibra rybeforetheye editthedocum ments. Th hekeybenefitsofrequiringcheckinandchec ckoutincludeg gainingbetterc controlofwhen ndocumentvers sions ar recreatedandb bettercaptureofmetadata.Th hisisbecausea nauthorcanw writecommentsthatdescribethe ch hangesthatheo orshehasmadetothedocum mentwhenheor rshechecksitin.
Ti ip:Youconfigur resettingsforth hecontentcontrolfeaturesth atarediscussed dinthistopicin ndocumentlibr raries. To osharethesese ettingsacrosslib brariesinyours solution,youca ancreatedocum mentlibrarytem mplatesthatinc clude yo ourcontentcon ntrolsettingstoensurethatne ewlycreatedlib rariesreflectyo ourcontentcon ntroldecisions.
Question:Which Q hversioningopt tionwouldyou useifyouwant tedtokeeppre viousversions,butdidnotnee edto di ifferentiatebetweendraftvers sionsofdocume entsandpublis hedversions?
1024
DesigningaMicrosoftSharePoint2010Infrastructur re
KeyPoints
Whenyouplanc W contentmanage ementpolicies, youmustdeter rminehowyou shouldplanandintegrate in nformationman nagementpolici ieswithyourSh harePointServe er2010contentmanagements solution.
An ninformationm managementpo olicyestablishes sasetofrulesf foraspecifictyp peofcontent.Information managementpoliciesenableyoutocontrolwh m hocanaccessyo ourorganization n,whatuserscando nsinformation withit,andhowlongtoretainit w t.Aninformatio onmanagemen ntpolicycanhe lpyoutoenforc cecompliancew with le egalandgovernmentalregulati ionsorwithyou urowninternal businessproce esses.
Fo orexample,sup pposeanorganizationhastofo ollowstrictgove ernmentregula ationsthatrequireittodemonstrate pr ropercontrolan ndmanagemen ntofitsfinancialstatements.T hisorganization nmaycreatese everalinformati ion managementpoliciesthataudit m ttheactionsofstaffmembers, ,whenperform mingtheauthori ingandapprova al pr rocessforalldo ocumentsthata arerelatedtofinancialfilings.
olicyfeature Po Re etention
Descrip ption Thisp policyfeaturehe elpstoretireor rprocessconten ntinaconsistentway thaty youcantrackan ndmanage.Wh henacontentitemexpires,you ucan specif fythatitisdispo osedoforthat acustomworkf flowisrun. Thisp policyfeaturelo ogseventsando operationsthatareperformed don docum mentsandlistit tems.Youcanc configureAuditi ingtologevent ts sucha asediting,view ing,checkingin n,ordeletingadocumentorit tem.
Au uditing
PlanningEnterpriseContent tManagement
1025
olicyfeature Po Ba arcodes Descrip ption Thisp policyfeatureen nablesyoutotr rackphysicalco opiesofa docum mentbycreatin ngauniqueiden ntifiervaluefor radocument.T The usertheninsertsaba arcodeimageo ofthatvalueint thedocument.
Labels
Thisp policyfeaturesp pecifiesalabelt toassociatewit thatypeofdoc cument orlistitem.Labelsar researchablete extareasthatSh harePointServe er2010 ratesbasedonp propertiesandf formattingthat tyouspecify.La abels gener arepa articularlyusefu ulinprintedver rsionsofdocum mentsasawayt to displa aydocumentpro opertiesinprin ntedcopy.
Cu ustom
Youca analsocreatea anddeploycust tompolicyfeatu urestomeetyo our specif ficorganization alneeds,butyo oumustimplem mentthembyu using theSh harePointServe er2010objectm modeloracquir rethemfromathird party softwarevendo or. Forex xample,amanu ufacturingorgan nizationmaywanttodefinean n inform mationmanage ementpolicyfor ralldraftspecif ficationdocume ents forpr roductdesignth hatprohibitsusersfromprintin ngcopiesofthe ese docum mentsonunsec cureprinters.Inthisscenario,t theorganizationcan create eaPrintingRes strictionpolicyf featureandadd dittothereleva ant inform mationmanage mentpolicyfor rtheproductde esignspecification conte enttype.
Whenyouplanthepoliciesfory W yoursolution,youshouldfirstdetermineorga anizationwidepolicyrequirem ments an ndthendesignsitecollectionp policiestomeet ttheserequirem ments.Youshou uldthendistributethesepolici ies fo orinclusioninth hesitecollectio onpolicygallerie esofallrelevan ntsitecollection ns.Thismayreq quireyoutopla an cu ustompolicyfea atures.
1026
DesigningaMicrosoftSharePoint2010Infrastructure c
PlanningforCo ontentTypes
KeyPoints
Whenyouplanc W contentmanage ementpolicies, youmustdeter rminehowyou shouldplanandintegratecon ntent ty ypeswithyourS SharePointServ ver2010conten ntmanagement tsolution.
OverviewofContentTypes O s
Co ontenttypesen nableyoutoorg ganize,manage,andhandleco ontentinacons sistentwayacro ossyourShareP Point Se erver2010sites s.Bydefiningco ontenttypesfor rspecifickindso ofdocumentso orinformationp products,youca an en nsurethatyoum manageeachgr roupofcontent tinaconsistent tway.
esharedattribu Acontenttypeis sagroupofreusablesettingsthatdescribethe utesandbehav viorsforaspecif fic Youcandefinecontenttypesf foranyitemtyp peinSharePoin ntServer2010,i including kindofcontent.Y ocuments,listit tems,mediafile es,andfolders. do
Themetadatathatyouwan nttoassigntoit temsofthistyp pe. Theworkflowsthatareava ailableforitems softhistype. Theinforma ationmanagementpoliciesthatareassociated dwithitemsof thistype. Thedocume enttemplatesfo ornewitemsof fthistype(docu umentsonly). Thedocume entconversions thatareavailableforthistype e(documentso only). Thecustomsolutionsorfea aturesthatareassociatedwith hitemsofthisty ype.
Co ontenttypespr rovideorganizat tionswithaway ytomanagean ndorganizecon ntentconsistentlyacrosssites,lists,and lib braries.Theyals somakeitpossibleforasinglelistorlibraryto ocontainmultipleitemtypeso ordocumentty ypes.
PlanningEnterpriseContentManagement
1027
PlanningDocumentContentTypes
Toplandocumentcontenttypesforyoursolution,useadocumentusageworksheetandacontenttype worksheet,whichrecordsyourdecisionsabouteachnewcontenttype.
Afteryoureviewyourlistofdocumenttypestodeterminewhichonescanusecorecontenttypes,plannew documentcontenttypesbyusingthefollowingsteps:
Enterthedocumenttypefromthedocumentusageworksheet.
Fillinaseparatecontenttypeworksheetforeachcontenttypethatyouplan.
PlanningListContentTypes
TheelementsofaListcontenttypeincludethecolumnsofmetadatathatareassociatedwiththecontenttype, alongwithworkflowsthatcanrunonitemsofthatListcontenttype.YouuseaListcontenttypetodefineatype oflistitemthatisuniquetoyoursolution.
PlannewListcontenttypesbyusingthefollowingsteps:
YoushouldfillinaseparatecontenttypeworksheetforeachListcontenttypethatyouplan.
1028
DesigningaMicrosoftSharePoint2010Infrastructure c
PlanningforDo ocumentSets s
KeyPoints
Whenyouplanc W contentmanage ementpolicies, youmustdeter rminehowyou shouldplanandintegrate do ocumentsetsw withyourShareP PointServer201 10contentman nagementsolut tion.
Adocumentseti isaspecialkind offolderthatc combinesuniqu ueDocumentSe etattributesandtheattributes s ndbehavioroff foldersanddoc cuments.Italso providesauser rinterface(UI),metadata,and dobjectmodel an elementstohelp pmanageallasp pectsofthewor rkproduct.
OverviewofD O DocumentSet ts
Sh harePointServe er2010providessupportforth hecreationand managemento ofmultipledocumentwork pr roductswiththenewDocumentSetcontentt type.TheDocu mentSetconte enttypeisafold derbasedconte ent ty ypethatorganiz zesmultiplerela ateddocumentsintoasinglev viewwhereyoucanworkonth hemandmanag ge th hemasasinglee entity.
Yo oucanthencre eateadditionalc customizedDoc cumentSetcon tenttypesfrom mtheparentcontenttype;eac ch in nheritspropertie esandsettingsf fromtheparen ntDocumentSe etcontenttype.Whenyouadd daDocumentSe et co ontenttypetoa alibrary,usersc cancreatenew instancesofthedocumentset tbyclickingNe ewDocumento onthe rib bboninalibrar ry.
Co onsiderationsforPlanning gDocumentSets
Do ocumentsetsin nSharePointServer2010have similarattribut tesandpropert tiestofolders.H However,thereare so omeimportantconsiderationsthatyoushould dbeawareofw whenyouplana adocumentset solution:
Thereisnol entset.However,youcannotuse limitonthenum mberofdocumentsthatcanex xistinadocume foldersorm metadatanavigationwithdocum mentsets.Ther refore,itisimpo ortanttoconsid derthelikelihoo odof exceedingth helistviewthre esholdwhichi issetto5,000it temsbydefault tandto consideryou urnavigationde esignwhenyou udeterminehow wmanyitemss shouldexistinadocumentset. .In addition,ify youusetheSen ndTofeaturewithadocument tset,thesumfo oralldocument tsinadocumen ntsetcan benolarger rthan50MB.
PlanningEnterpriseContentManagement
1029
1030
DesigningaMicrosoftSharePoint2010Infrastructure c
PlanningforDo ocumentIDs
KeyPoints
Whenyouplanc W contentmanage ementpolicies, youmustdeter rminehowyou shouldplanandintegrate do ocumentIDswithyourSharePointServer2010contentmana agementsoluti on.
OverviewofD O DocumentIDs s
In nSharePointSer rver2010,theD DocumentIDfeatureattaches uniqueidentifierstodocumen ntsthatmakeit teasier to oretrievethemindependento oftheircurrentlocation.TheD ocumentIDser rvicethatsuppo ortsitgeneratesand as ssignsdocumen ntIDs,andtheyareattachedto oadocumentth hroughoutitslif fecycle.
Th hekeybenefito ofthisfeatureis sthatyoucana alwaysreferenc ceandfindado ocumentbyusin ngthisunique id dentifier,regardlessofwhereth hisdocumentis slocated.Forex xample,theSha arePointDocum mentCenterand d Re ecordsCenterh haveDocumentIDsearchcapabilities.Inaddit tion,Searchadm ministratorscan nconfiguretheSearch Se ervicetolookupdocumentIDs sbyaddingtheIDcolumnasamanagedsearc chcolumnandoptionallycreatinga ne ewsearchscopethatisusedto olookupdocum mentIDs.
Al lsobearinmind dthatyouactiv vatetheDocumentIDfeaturea atthesitecolle ctionlevel.The erefore,youmay wanttoactivateitononesitecollection,butnotonanother, dependingont w thedocumentr retrieval re equirementsfor rspecificsiteco ollections.
Ifyoudecidetoa activatethisfea ature,youmust tdecidewhatpr refixtousefor allofyouruniq quedocument dentifiersforthe esitecollection n.Youcanspecifyaprefixofbe etweenfouran d12characters s;typicalexamp plesof id pr refixesaredepa artmentnames suchasSales orMarketing orthecompan nynameifallof fyourdocumen ntsare in nonecentralsitecollection.Whenyouconfigu ureyourownp prefix,youcana alsospecifythat tallexistingdoc cument ID Dsshouldberes settobeginwith hthesamepref fix.
PlanningEnterpriseContent tManagement
1031
Yo ouconfigurethedocumentIDprefixintheDo ocumentIDSet tingsoptionun derSiteCollect tion Ad dministration,a anditisonlyenabledafteryou uhaveactivated dtheDocumen tIDfeature.
1032
DesigningaMicrosoftSharePoint2010Infrastructure c
PlanningforWorkflows
KeyPoints
Whenyouplanc W contentmanage ementpolicies, youmustdeter rminehowyou shouldplanandintegrate workflowswithy w yourSharePoint tServer2010co ontentmanage mentsolution.
OverviewofW O Workflows
Workflowsimple W ementbusiness processesondo ocuments,Web bpages,forms, andlistitemsin nSharePoint Se erver2010.You ucanassociatet themwithlibraries,lists,orcon ntenttypes.
In ntermsofdocumentmanagem ment,youusew workflowstorou utedocumentsf fromoneperso ontoanotherso othat ea achpersoncancompletehisorherdocument tmanagementtasks.Thistypic callyincludesre eviewingdocum ments, ap pprovingdocum mentpublication,ormanaging thedisposalof fdocuments.Inaddition,youc canusecustom workflowstomo w ovedocumentsf fromonesiteorlibrarytoano other,forexamp ple,whenadoc cumentissched duled to obearchived.
DispositionA Approval.Youu usethisworkflow wtomanagedo ocumentexpira ationandretentionby enablingpar rticipantstodecidewhetherto oretainordele teexpireddocu uments. Threestate. .Youusethisworkflowtotrackthestatusofa alistitemthrou ughthreephase es. CollectFeed dback.Youusethisworkflowto orouteadocum mentforreview w.Reviewerscan nprovide feedback,w whichiscompiledandsenttoth hedocumentow wnerwhentheworkflowhasc completed. Approval.Yo ouusethiswork kflowtoroutea adocumentfor rapproval.Appr roverscanappr roveorrejectth he document,r reassigntheapp provaltask,orr requestchanges stothedocume entbeforethey ypublishit. CollectSigna atures.Youusethisworkflowt togathersignat turesthatarere equiredtocompletea MicrosoftOf fficedocument t.
PlanningEnterpriseContentManagement
1033
1034
DesigningaMicrosoftSharePoint2010Infrastructure n
KeyPoints
Whenyouplanc W contentmanage ementpolicies, aspartofyour SharePointSer rver2010contentmanagemen nt so olution,youmustdetermineho owyoucanuse ethemetadata basedroutinga andstorageint theContentOrg ganizer.
OverviewofContentOrgan O nizer
Th henewContent tOrganizerfeat tureinSharePo ointServer2010 0isanewmetad databasedrule esandroutingf feature th hatextendsand denhancesther routingengine thatwasusedi ntheRecordsC CentersitetemplateinMicrosoft OfficeSharePoint2007.Thisfea atureenablesyo outoautomatic callyroutedocu umentstodifferentlibrariesan ndto oldersintheselibraries.Youcanalsouseitfor rdaytodayadm ministrativetas skssuchasmak kingsurethatno ofolder fo in nadocumentlib brarycontainsm morethan5,000items.
Af fteryouactivat tetheContentO Organizerfeature,youconfigu urethesettings andrules.Inste eadofdirectly up ploadingadocu umenttoalibra aryorfolder,yo ouruserscansav applyrulestoadocumentbyu using ve,route,anda on neofthefollow wingmethods:
Uploadinga documenttoa adropofflibrary y. UsingSavea asfromMicroso oftOfficeWord, ,MicrosoftOffi ceExcel,andM MicrosoftOffice e PowerPoint. TofromotherS SharePointsites s. UsingSendT UsingtheW Webserviceobje ectmodel. Usinganem maildropoffzone. Submittingt toaRecordCen ntersite.
PlanningEnterpriseContentManagement
1035
PlanningContentOrganizerSettings
YoumustcarefullyplanhowtheContentOrganizersettingsforyoursitewillaffectyouroverallmetadatabased routingandstoragestrategy.Youshouldalsotestvariousconfigurationsbeforeyouimplement yoursolutionliveonyourproductionsite.YoucanusethefollowingContentOrganizersettingsinyour sitetohelpplananeffectivesolutionformetadatabasedcontentroutingandstorage:
PlanningContentOrganizerRules
ContentOrganizerrulesareatthecenterofyourstrategyforroutingandstoringcontentbasedonmetadata. Theconditionsintherulesthatyoucreatedeterminewhetheraruleshouldbeappliedtoanitem;ifallofyour ruleconditionshavebeenmet,thetargetlocationthatyouspecifydetermineswheretheitemsaresentto.
ThereareseveralimportantconsiderationswhenyouplanContentOrganizerrules:
Itcansometimesbebettertocreateasetofcommonrulesthatsendtoauniquefolderforeveryunique valueofaparticularmetadatacolumn.
Ifadropofflibrarycontainsseveralitemsthatdonotmatchanyoftherules,youmustverifywhatthose itemsareandtrytodeterminewhynorulesarebeingappliedtothem.
PlanningTargetLocations
EachContentOrganizerrulethatyoucreatemustcontainatargetlocationsettingthatspecifieswheretheitems thatmatchtheruleshouldbesent.Thistargetlocationcanbeanothersite,library,orfolder.Arulecanalso specifythatanewfolderiscreatedinthetargetlocationforeachuniquevalueofaparticularproperty.When youspecifyanotherlibrary,thatlibrarymustincludethecontenttypethatisspecifiedinyourrule.
ThereareseveralimportantconsiderationswhenyouplanContentOrganizertargetlocations:
Question:WhichthreeobjecttypescanyouchoosewhendefiningatargetlocationforContent Organizerrules?
1036
DesigningaMicrosoftSharePoint2010Infrastructur re
Lesson4
Th heWebcontentmanagementcapabilitiesinS SharePointServ ver2010canhe elpanorganizat tiontocommun nicate, co ollaborate,andintegratemore eeffectivelywithemployees,p partners,andcu ustomers.Share ePointServer20 010 pr rovideseasyto usefunctionali itytocreate,ap pprove,andpub blishWebconte ent.Thisenable esyoutoget in nformationoutquicklytointranet,extranet,a andInternetsite esandgiveyou rcontentacon nsistentlookandfeel. Yo oucanusethes seWebcontentmanagementc capabilitiestoc reate,publish, manage,andco ontrolalargeand dy ynamiccollectio onofcontent.A AspartofECMi inSharePointS Server2010,We ebcontentman nagementcanh helpto st treamlineyourp processforcrea atingandpublis shingWebsites s.
Yo oumustbefam miliarwithalloftheplanningst tepsthatarereq quiredtoimple ementtheWebcontent managementcom m mponentofyou urSharePointSe erver2010cont tentmanageme entsolutionbef foreyoucande esigna co ontentmanagementplan.
Objectives O
Af ftercompleting gthislesson,youwillbeableto o:
PlanningEnterpriseContent tManagement
1037
PlanningforAuthoring
KeyPoints
Webpageauthoringistheprocessbywhichau W uthorsaddcont tenttoapublish hingsitesuchas sapublicfacin ng In nternetsite.
PlanningWebPageAuthor ring
Sh harePointServe er2010support tsbrowserbasedauthoring.Yo ourbrowserbas sedauthoringp planshouldinclude pl lanningwhichresources,pagelayouts,supportingcontentsu uchasimagesandvideos,andcommandstoh hide fromorshowtoauthors.Itshou uldalsoinclude planningthee ditingexperien ceinthefieldc controlsthatau uthors setocreatecon ntent,planningforreusableco ontent,planning gdictionarycus stomizations,an ndplanningadd ditional us re esourcesthatpa ageauthorsreq quire.
To ogiveyouruser rsadditionalfun nctionality,you ucancustomize etheribbontoa addnewcommandsandbutto onsto pr rovidenewfunc ctionalitytoaut thors.Youcana alsorestrictthe emfromgaining gaccesstocerta aineditingfeaturesif re equired.
WhenyouplanforWebpageau W uthoring,consid derwhetheryo uwanttoaddo orremovecommandsfromthe eribbon or rtheQuickAcce esstoolbar.Also oconsiderthelevelofaccesst toeditingfeatu resthatyouwa antcontentauthorsto ha aveandwhatki indsofstylesth hatyouwanttomakeavailable e.
1038
DesigningaMicrosoftSharePoint2010Infrastructure
predeterminedvalueorcanrestricttheinformationthatauthorsareallowedtoenteronapage.Whenyou planyourmanagedmetadata,youshouldconsiderthefollowingquestions:
PlanningReusableContent
Inapublishingenvironment,itisusefultobeabletoreusecontent.Forexample,youmaywanttocreate brandeditemsthatmustbethesameacrossyoursitecollection,oryoumaywanttocreatetemplatesasstarting pointsforpageauthors.SharePointServer2010providesthiscapabilitybyusingtheReusableContentlist.
WhenyoucreateareusablecontentitemintheReusableContentlist,youcanspecifythatitisshowninthe menuduringpageediting.Youcanalsospecifywhetheritcanbeautomaticallyupdated.
PlanningDictionaryCustomizations
Topreventwordsthatareuniquetoyourcontentfrombeingreportedasspellingerrors,youcanaddacustom dictionarytoyourpublishingsite.Agoodexampleofthisistheuseofcommonlyoccurringproductnamesand acronyms.
PlanningAdditionalResources
Whenyoucreateapublishingsite,SharePointServer2010createslibrariestostoreadditionalresourcesforyour contentauthorstouse.WhenyouplanforWebpageauthoring,youshouldconsiderthetypeofadditional resourcesthatpageauthorsmayrequire.Youmustconsiderwhowillcreatetheresourcesandwhereyouwantto storethem.Ifsomeresourcesarelocatedinothersites,youmustmakealistofwhattheseremoteresourcesare andwheretheyarelocatedsothatyoucanaddthemtotheSuggestedContentBrowserLocationslist.Additional resourcesmightincludemasterpagesandlayouts,customcascadingstylesheets(CSS),documents,andimages.
PlanningEnterpriseContent tManagement
1039
KeyPoints
Co ontentapprova alistheprocessbywhichautho oredcontentis approvedorre ejectedforpublication.Conten nt sc chedulingistheprocessbywhichcontentispu ublishedandm madeavailableto oreadersaccor rdingtoaspecif fied sc chedule.ThePu ublishingfeature einSharePoint Server2010pr rovidestheabili itytoapprovea andscheduleco ontent fo orpublishing.
Th hescopeofyou urWebcontentmanagementp planmustcover rthemanagementandreviewofcontentthatyour us serscreate.Sha arePointServer2010providesa aContentAppr rovalworkflowt thatyoucanus setomeetthis re equirement.
PlanningContentApproval l
UserswhohaveA Approverpermissionscontrolt thepublication ofcontentbyu usingtheconte entapprovalpro ocess. ouenableconte entapprovalintheversioning settingspartof fthelibraryorl istsettingsfort thedocumentl library Yo or rlistthatcontainsthecontentthatyouwant topublish.Wh enyouplanfor rcontentappro oval,youmustd decide ho owyouwantco ontentapprovaltoworkforyo oursiteandwho ocanapprovec contentforpub blishing.In Sh harePointServe er2010,thecon ntrolofcontent tcanbeatoneo ofthefollowing glevels:
None.Ifcontentapprovalis snotrequiredf foritemsinado ocumentlibrary y,afteranauthorsubmits contentforpublishing,itgo oesliveimmediately. Simplemode eration.Amem mberoftheAppr rovergroupmu ustmanuallyap pprovecontentafteranauthor rsubmits itforpublish hing.ThecontentisnotvisibletouserswithR Readpermission nsuntilithasbe eenapproved. Approvalwo orkflow.Youcan nuseaworkflowtoruntheap pprovalprocess.Ifyouuseaworkflow,theap pproval processismoreautomated d.Inaddition,yo oucantakeadv vantageoftheb builtinworkflowfeatures.The ese featuresincludeautomaticallysendingem mailtoapprove ers,addingappr rovaltaskstoap pproverstasklists, andenablingauthorstotra ackthestatusof ftheapprovalp process.Usersc canalso
1040
DesigningaMicrosoftSharePoint2010Infrastructure
modifytheApprovalworkflowtemplateordeveloptheirowncustomapprovalworkflowbyusing applicationtoolssuchasMicrosoftSharePointDesigner2010orMicrosoftVisualStudio2010.
PlanningContentScheduling
ContentschedulingistheprocessbywhichuserswithatleastContributorpermissionscanspecifyascheduleto publishcontenttothesite.IfyouenabletheContentApprovaloptionforadocumentlibrary,contentmustalsobe approvedbeforetheschedulepublishesit.
PlanningEnterpriseContent Management t
1041
KeyPoints
Yo ouusethecont tentdeploymen ntfeatureofSha arePointServer r2010tocopyc contentfromasourcesitecollection to oadestinations sitecollection.Y Youcaneitherd deploythecom mpletesourcesit tecollectionorasubsetofsite es. Co ontentdeploym mentdeployson nlychangedpag gesandrelated assets,anditis sincrementalby ydefault.
Th hecontentdeploymentfeatureisdesignedfo orsitesthatuse amultiplefarm mtopology,whe ereseparate au uthoring,stagin ng,andpublishingfarmsexist.I Ifyouareimple ementingamultiplefarmtopo ologyforyour or rganization,you umustidentifyalloftheconsid derationsthata areoutlinedint thistopicforea achauthoringfa armin yo ourenvironmen nt.
Ifyouuseconten ntdeploymentt togetherwithcontentapprova alandcontents schedulingfory yourSharePoint t erver2010solution,allapprov valprocessesocc curonthesour rceserverwher rethecontentis sauthored.Wh hen Se co ontentisdeploy yedtothetarge etserver,thepu ublishingsched ulethatisassoc ciatedwitheachpieceofconte entis alsodeployed.
Al lthough conten deployment can be usefulf copyingcon nt for ntentfrom one sitecollection e nto another,it is not alwaysa require ementfor every situation.You may want to use content d o deploymentfor your solution in the n ollowingsituatio ons: fo
Theserversrequirespecific cperformancet tuningtooptim mizeperformanc ce. Youhavesecurityconcerns saboutthecont tentthatyouw wanttodeployt tothetargetfar rm.
1042
DesigningaMicrosoftSharePoint2010Infrastructure
PlanningServerFarmRequirements
Atypicalcontentdeploymentscenarioincludestwoseparateserverfarms:onefarmthatcontainsthesource serverthatyouuseforauthoringandonefarmthatcontainsthedestinationserverthatyouuse forproduction.Youcanusecontentdeploymenttocopycontentbetweentwoseparatesitecollectionsin thesameserverfarm,oryoucanuseathreetierserverfarmthatcontainsaserverforauthoring,aserverfor stagingandqualityassurance,andaserverforproduction.
PlanningExportandImportServers
Aspartofyourcontentdeploymentplan,youmustdecidewhichserverswillperformtherolesofexportand importservers.Theydonothavetobethesameasthesourceordestinationservers,butyoumustinstallthe CentralAdministrationWebsiteonthem.
PlanningContentDeploymentPaths
Content deployment paths define source site collections from which content deployment can start and destinationsitecollectionsto whichcontentisdeployed.You can associate a contentdeploymentpath with onlyonesitecollection.Toplanthecontentdeploymentpathsthatyourequireforyoursolution, youmustdecidewhichsitecollectionsyouwilldeployandalsodefinethesourceanddestinationforeachofthese paths.
PlanningJobScheduling
Afteryoudefineyourcontentdeploymentpaths,youmustplanthespecificjobsthatwilldeploythecontent. Whenyouconfigurecontentdeploymentjobs,youspecifywhetheryouwilldeployawholesitecollectionoronly specificsitesofasitecollectionforaspecificcontentdeploymentpath.Youalsodefinethefrequencywithwhich yourcontentdeploymentjobsrunandwhethertheyshouldincludeallcontentoronlynew,changed,ordeleted content.
Youmustalsodecidewhentoruneachjob,whichshouldgenerallymeanrunningthejobsduringlowactivity periodsonthesourceserver.
PlanningforLargeJobs
AcontentdeploymentjobexportsallcontenttothefilesystemonthesourceserverasXMLandbinaryfiles,and thenitpackagesthesegroupsoffilesinto.cabfileswithadefaultsizeof10MB.Therewillbeoccasionswhen individualfiles,suchasvideofiles,willbelargerthan10MB.Inthisscenario,eachfilewillbepackagedintoitsown .cabfile,andthesecanbelargerthan10MB.The.cabfilesarethenuploadedtoatemporarylocationonthe destinationserverwheretheyareextractedandimported.Therefore,ifthesitecollectionthatyouaredeploying containssomelargefiles,youmustensurethatthetemporarystoragelocationsforthesefilesonboththesource serverfarmsandthedestinationserverfarmshavetherequiredspacetostorethefiles.
PlanningEnterpriseContent tManagement
1043
PlanningforBra anding
KeyPoints
Mostorganizatio M onsunderstandtheimportance eofbranding;it tgivesaconsist tentlookandfe eeltocompany in nformationorproductsthatisr recognizableto ocustomersorc consumers.Bran ndingisessenti ialforInternet facing Webcontentint W thesamewayth hatitisforadve ertisingormark ketingmaterials s.Evenforintra anetsites,itis im mportanttomaintaintheorgan nizationbranda andalsodevelo opdivisionaland ddepartmentalbrandsinasite. Th hesecreateaco ommonidentity yandencourageconsistencyo ofcontent.
Th hepublishingte emplatesthatareavailableinS SharePointServ ver2010provideadditionalbra andingandnav vigation se ettingsbeyondt thosethatarea availableinothe ersitetemplate es.Forexample e,youcanusetr reeviewandcontent by yquerycontrols stoprovidealte ernatenavigatio on.Thereason forthisisthatp publishinghasa afargreaterreliance on nlookandfeelthanotherfunc ctionssuchasre ecordsmanage ment.
Masterpagesand M dpagelayoutsa areheldintheMasterPagean ndPageLayouts sGallerydocum mentlibrary us suallyreferredt toastheMaste erPageGallery inthetoplev elsiteofapubl lishingsitecolle ection.
PlanningBrandinginShare ePoint2010
Th hekeyconsider rationswhenyo ouplanforbran ndinginSharePo ointServer201 0areasfollows s:
Providetools sandtraining.Y Youmustprovid deyourShareP oint2010desig gnerswiththea adequatetoolsa and trainingtoc createtherequi iredbrandingfo oryoursite.
1044
DesigningaMicrosoftSharePoint2010Infrastructure
Prioritizeyourrequirements.Youmustdeterminewhatyoumustbrandonyoursite.Perhapsasimplecolor changeissufficientforyourrequirements,ormaybeyouwanttorebrandthewholesiteandbranditemssuch asSearchcontrolsorcalendars.However,ifyouhardlyeverusethecalendarviewofevents,perhapsthisis toomuchbrandingatthisstageinthesitesdevelopment. Considercontenteditors.Whenyoubrandyoursite,youshouldensurethatitkeepsaconsistentlookand feelthroughout.WithWebcontentmanagementinSharePointServer2010,youcancontroltheeditingtools andstylesthatareavailable.ThelevelofHTMLexperiencethatyourcontenteditorshavemaydictatehow youdecidetoimplementyourbrandingplan.Forexample,aContentEditorWebPartmaybetoocomplex forsomeofyourcontenteditors,soyoumayneedtoconsiderenablingpublishingfeaturestoallowusersto editcontentdirectlyonthepage. Simplifydeployment.Youshouldinvolveyourdevelopersinthecontentdeploymentphase. Determinehowtheywanttodeployanycustomizations,andtrytosynchronizeyourdeploymentwiththeirs. Inaddition,youmustensurethatyourplanmakesiteasytochangeyourbrandingstyles.Forexample,ifyou havetoupdateathemefileoralogoimage,youmustresetIIS,andyoumayneedtoreapplyittomanysites. Thiswillbecostlyandtimeconsuming.However,ifyouplanbrandingcorrectly,itwillnotbenecessaryto resetIIS.Forexample,youcanusetheAlternateCSSoptionoranimportthatpointstoanotherfile.
PlanningEnterpriseContent tManagement
1045
1046
DesigningaMicrosoftSharePoint2010Infrastructure
Exercise1:DevelopingaContent ManagementPlan
Scenario
Contoso,Ltdhasspecificrequirementsforitscontentmanagementdesign.Youneedtousetheadditional informationdetailedinthesupplieddocumentstocompleteaplanningworksheetforyourorganizationsECM designforSharePoint2010.
Themaintasksforthisexerciseareasfollows:
1. Readthesupportinginformation. 2. CompletetheSharePoint2010ECMPlanningworksheet.
Task1:Readthesupportinginformation
1. Readthelabscenario.
2. Logonto10231ANYCDC110asCONTOSO\EdwiththepasswordPa$$w0rd.
3. IntheE:\Labfiles\Lab10\Starterfolder,readtheinformationintheECMBusinessRequirements.docxfile.
Task2:CompletetheSharePoint2010ECMPlanningworksheet
IntheE:\Labfiles\Lab10\Starterfolder,completetheworksheetintheSharePoint2010ECMPlanning Worksheet.xlsxfile.
PlanningEnterpriseContentManagement
1047
Exercise2:EnablingandConfiguringDocumentIDsandContentOrganizer
Scenario
Beforeimplementingyourcontentmanagementplaninyourproductionenvironment,youneedto configureandtestsomepartsoftheECMdesignbyusingtheinformationintheECMBusiness RequirementsdocumentandtheSharePoint2010ECMPlanningworksheet.
Themaintasksforthisexerciseareasfollows:
1. 2. 3. 4. 5.
Task1:Activate documentIDsandresetalldocumentIDstousethesameprefix
1. Intheintranet.contoso.com/sites/docssite,activatetheDocumentIDServicefeature. 2. ConfigurealldocumentIDstousetheCONTOSOprefix.
Task2:Activate andconfiguretheContentOrganizerfeature
1. Intheintranet.contoso.com/sites/docssite,activatetheContentOrganizerfeature. 2. Intheintranet.contoso.com/sites/hrdocssite,activatetheContentOrganizerfeature. 3. Intheintranet.contoso.com/sites/hrdocssite,inContentOrganizerSettings,enableFolder Partitioning,andensurethatsubfoldersarecreatedifatargetlocationhastoomanyitemsinit. 4. CopytheSubmissionPointsWebserviceURLtotheclipboard.
Task3:CreateanewSendToconnection
InSharePoint2010CentralAdministration,createanewSendToconnectionbyusingtheinformationinthe followingtable.
Option
Displayname SendToURL
Value
HRDocsContentOrganizer http://intranet.contoso.com/sites/hrdocs/_vti_bin/OfficialFile.asmx (YoucanpastethisfromtheClipboard.)
Task4:CreateanewContentOrganizerrule
Intheintranet.contoso.com/sites/docssite,createanewContentOrganizerrulebyusingthe informationinthefollowingtable.
Option
Name ContenttypeGroup ContentType
Value
MoveContosoDocumentitemstoHRDocs ContosoContentType ContosoDocument ContosoDepartment Isequalto
1048
DesigningaMicrosoftSharePoint2010Infrastructure
Option
conditionsOperator
Value
HR HRDocsContentOrganizer
Task5:TestthenewContentOrganizerrule
1. CreatetwotextdocumentsonthedesktopcalledHRDocandNonHRDoc.Ensurethatyouaddsome basictexttothesetwodocumentsbecausetheuploadprocesswillnotworkotherwise. 2. NavigatetotheDocsDropOffLibrary,andthensubmittheHRDocdocument,specifyingHRasthe ContosoDepartment. 3. NavigatetotheDocsDropOffLibrary,andthensubmittheNonHRDocdocument,specifying MarketingastheContosoDepartment. 4. VerifythattheContentOrganizerrulemovestheHRDocdocumenttotheHRDocsdropofflibraryand leavestheNonHRDocdocumentintheDocsdropofflibrary.
PlanningEnterpriseContentManagement
1049
Exercise3:ConfiguringRetentionPoliciesandRecordsManagement
Scenario
Beforeimplementingyourcontentmanagementplaninyourproductionenvironment,youneedto configureandtestsomepartsoftheECMdesignbyusingtheinformationintheECMBusiness RequirementsdocumentandtheSharePoint2010ECMPlanningworksheet.
Themaintasksforthisexerciseareasfollows:
1. Configureinformationmanagementpolicysettingsfordocumentretentiononacontenttype. 2. ActivateandconfiguretheInPlaceRecordsManagementfeature.
Task1:Configureinformationmanagementpolicysettingsfordocumentretentiononacontenttype
Intheintranet.contoso.com/sites/docssite,configuretheinformationmanagementpolicysettingsfor documentretentionfortheContosoDocumentcontenttypebyusingtheinformationthattheSharePoint 2010ECMPlanningWorksheetSolution.xlsxfileprovides.
Task2:Activate andconfiguretheInPlaceRecordsManagementfeature
1. Intheintranet.contoso.com/sites/docssite,activatetheInPlaceRecordsManagementfeature. 2. Configuretherecorddeclarationsettingstoallowrecorddeclarationinalllocations. 3. ChangetheNonHRDocdocumenttoarecord.
1050
DesigningaMicrosoftSharePoint2010Infrastructur re
ModuleRe M eviewandTakeaway ys
ReviewQuesti ions
1. Whatarethemaindifferen . ncesbetweenSh harePointdocu mentsandreco ords,andhowtheyshouldbe econtentmana agementplan? managedinyourenterprise
Ifyouplantousetheassetlibrarytostore eandserveaudiioandvideofile estousers,youshouldenablethedisk basedBLOBcacheandBitR RateThrottling optionstoprov videbetterperf formance. UsetheDoc cumentIDfeatu uretoattachun niqueidentifiers stoyourusers documentssot thattheycanfind themmoreeasilyirrespectiveofthedocum mentscurrent location. Ifthesiteco ollectionthatyo ouaredeploying gcontainslarge efiles,ensureth hatthetemporarystorageloca ationsfor thesefilesonboththesour rceserverfarms sandthedestin nationserverfa armshaveenoughspacetosto orethe files. Usethenew wContentOrgan nizerfeatureto ocreatemetada atabasedrules toautomaticallyroute documentst todifferentlibr rariesandfolders.