SharePoint 2013 Architecture Service applications in SharePoint 2013.
SharePoint 2016 Farm Architecture and Visual Studio Testingnellisconsultingllc.com/Resources... ·...
Transcript of SharePoint 2016 Farm Architecture and Visual Studio Testingnellisconsultingllc.com/Resources... ·...
SHAREPOINT 2016 FARM ARCHITECTURE & LOAD TESTING
• FoundingPartnerofSummit7Systems,Inc.• Summit7SystemsLeadArchitect• 7timeMicrosoftMVPforSharePointServer• 3time MicrosoftMVPforOffice 365• CISSP,MicrosoftCertifiedTrainer,CCNA,MCITP:
SharePointServer• AuthorofseveralSharePointbooksbyMicrosoftPRESSS• MasterSCUBADiverTrainer• [email protected]
BEN CURRY / MANAGING PARTNER
@curryben http://summit7systems.com/blogs/author/ben-curry/
4
AGENDA
• SharePointServer2016 FarmArchitecture
• CapacityPlanningandserviceapplications
• VisualStudioforAdminsLive!
HARDWARE REQUIREMENTS FOR 2016• StretchfarmsAREsupported iflessthan1mslatency,99.9%overatenminute
span,and1GBorgreaterbandwidth
• We’lltalkaboutthatlaterinServiceApplications…but besmartwhereyouenableservices
• “appserver”haschangedmaking thismorepaletteable
• SQLServer• 16GB– 24GB
• AppServers
• 12GB– 16GB,4Cores• WebServers
• 8GB– 16GB,4coresSeehttps://technet.microsoft.com/en-us/library/cc262485 fordetails
ACCOUNTS
• ConfigurationWizards(PoShell,CA,PSConfig)willmodifymostpermissionsrequiredtorunSP2016
• InstallAccount/SetupAdministratorAccount(don’teverdelete)• Sameaccount,folkscalliteither/or
• FarmAccount(CAAppPool)• SQLServerSecurityAdmin,DBCreator
• Grantsetupadministratoraccountpermissionstoinstallsoftware
ACCOUNTS AND PRE-REQS
• OneormanyWebApplicationPoolIdentities• OneormanyServiceApplicationPoolIdentities• VerifyGPOsarenotoverridingsecuritysettingsforfileand registry See
https://technet.microsoft.com/en-us/library/cc678863 fordefaultsecurityconfig
• CheckAnti-VirusSettings• Disableduring installation• ExcludeDirectorieshttps://support.microsoft.com/en-us/kb/952167• Basically:logs,bin,FIM,search,BLOB,WebTempandApplications
• Remembertogobackandchangelogsettingsifneeded• Runpre-reqinstallerorinstallfromnetwork
MAXDOP = 1
• Yup,stillrequired
FEATURE PACK 1: MINROLE
DISTRIBUTED CACHE
• DistCachemustbeoneatleast1server!!• Add-SPDistributedCacheServiceInstance• AndbesuretherearenolocksonConfigDB• Pendingupdates,etc• NewFeatures(likeDLP)timerjobssimplywon’trun• RTMfix?Idon’tknow…
SERVICES BY ROLE• Front-End(verydifferentthanpreviousversions)• Optimizedforanyservice,serviceapplicationorcomponent
thatservesuserrequests.• Somelegacy“AppTier”serviceapplicationsarenowonFront-
Ends,likeMMS• …andonAppserversaswell
• ManysmallerfarmswillhavetouseCustomRole• Example,2Fesand2Appswon’tbeabletoprovisionSearchin
farm
CENTRAL ADMIN DASHBOARD FOR MINROLE
• Mustbelocaladmintosee“FixLink”• ActionColumnischanged forMinRoleservers• SingleServercan beconvertedintoamulti-serverfarmusingthe
roleconversionfeature• Custom allowsustomanageeachserviceindividually
*MustbeLocalAdminonserverto“fix”
SERVICES ON SERVER*Ifyouconvert aserverrole,serviceswillautostart/stop…useanabundanceofcaution!!!
WHAT’S REMOVED IN SHAREPOINT 2016
• FIM– Wearebackto2007days– ADimport.Ifyouwantsync,useexternalMIMtodoit.
• ExcelServices– removed.OfficeOnlineServer• OfficeWebApps.
• SPF– gone.UseSPO.• TagsandNotes– removed• NoBIuntillaterintheyear.No,2013stuffwon’twork…• SSL??TLS1.2isstandard…and SMTPis/canbeencrypted
DOCUMENT MANAGEMENT UPGRADES
• 10GBFiles(actually,nolimit?)• Overall,theinterfaceisreallycleanedupforusers• DocumentLibraryInterface• Auto-Indexing• http://www.learningsharepoint.com/2015/09/08/shar
epoint-2016-auto-indexing-list-view-5000-items-threshold/
DEFINE TARGETS
ServeravailabilityWebapplicationavailabilityServiceApplicationavailabilityResponseTimesFour‘9s’isachievable
› (butitisexpensive…)› SP2016hasZerodowntimepatching!
APPLICATION POOL REFRESHER
ServerMemory
PortalWebApplicationPool
MySitesWebApplicationPool
PortalWebApplication MySitesWebApplication
UPAServiceApplication
UPAServiceApplicationPool
APPLICATION POOL REFRESHER
ServerMemory
SharedWebApplicationPool
PortalWebApplication MySitesWebApplication
UPAServiceApplication
UPAServiceApplicationPool
WEB APPLICATION ARCHITECTURE
SiteCollection
SiteCollection
SiteCollection
SiteCollection
http://portal.contoso.com
WEB APPLICATION ARCHITECTURE
SiteCollection
SiteCollection
SiteCollection
SiteCollection
http://portal.contoso.com
SQLServer
ApplicationPool
FARM SERVICES & IIS
demo
CAPACITY & PERFORMANCE PLANNING
ResearchandStudy› http://technet.microsoft.com/en-us/library/cc262971.aspx
DefineyourtargetsCreateLogicalArchitectureDesignPhysicalArchitectureTestandvalidateLogandMonitorAdjustarchitectureasneeded
HTTP COMPRESSION
• Don’tenableunlessyouneeditandconsiderdedicatingWebserversforcompression• ConfigureFileTypes,Thresholds,filelocation,andcompression• TherecanbeissueswithcustomAuthN,soTest,Test,Test
BLOB CACHING
• Don’tenableitunlessyouneedit,seeapattern?• StoredonadiskonWebserver• Requiredforimagerenditions• Setfiletypes,andusesomecommon sense!
• Nocollaborativefilesonintranet• Dynamiccontentcanbreak,i.e.rotatingimageWebparts
• SetviaWeb.config• SetBLOBstoremaxsize• Caution,AppPoolalwaysrecycleswhenyoutouchweb.config (andmake abackup first,ok?)
DocumentSize
#ofDocuments
VISUAL STUDIO TESTING FOR IT PROS
VisualStudioisn’tjustfordevelopers!
OVERVIEW OF INFRASTRUCTURE TESTING
Testsingleserverormodifyaffinity/stickyFirewallportsfromcontrollerandagentstocontroller/agents/serversRemoteRegistrypermissionstotestedservers
WHY TEST?
EnsureadequateresourcesTestperformanceimpactofWebpartsTestanymajorconfigurationchange
DON’TGUESS.KNOW!
PREPARE VISUAL STUDIO
SetupResultsDatabaseonSQLServerRemovedefaulttestsifdesiredSetupthetestcontrollerandagents
BUILD A TESTING 'RIG’
RequiresVisualStudioEnterprise› Ifyoudon’tsee‘Test’asanoption,youhavethewrongversion
Musthaveonecontroller› Usemultipleagentsforbetterreal-worldload
CreatenewProjectusingthe‘TestProject’templateCreateLoadtestresultsstore(DB)Setloadtestdatabaseastherepository (stillsays“2010inname…that’sok)
Tip:Useloadtestresultsrepository.sqltocreatetherepositorydatabase:C:\ProgramFiles(x86)\MicrosoftVisualStudioNN\Common7\IDE’
CREATE A TEST PROJECT AND WIRE UP THE REPOSITORY
CREATE LOAD TEST
CreateloadtestusingoneormoreWebtests› Choose%mixforyourenvironment› Fornewimplementationsorcompleteunknowns,
usethepostedmixonTechNetDocumentLoadTestSettings
› Besuretousethesamesettingswhencomparingbaselinesandchanges
CreatePeakandoff-peakbaselines
READING THE RESULTS
ProcessortimeandDiskI/OarecriticalUseSystemsCenterOperationsManagermanagementpackdocumentationforperformancecounterstomonitorduring tests
› Orruleauthorview
LoadTestSummaryisusefulAddcustomcountersforSearch,etc.
LOGGING
EventLogsTraceLogsUsageLogsWebAnalyticsDeveloperDashboardSCOM