0
Building the ‘Perfect’ SharePoint 2010 FarmBest Practices from the Field<br />Michael Noel<br />Convergent Computing (CCO....
Michael Noel<br />Author of SAMS Publishing titles “SharePoint 2010 Unleashed,” “SharePoint 2007 Unleashed,” “SharePoint 2...
What we will cover<br />Examine various SharePoint 2010 farm architecture best practices that have developed over the past...
Architecting the Farm<br />
SharePoint 2010 ArchitectureSmall Farms<br />‘All-in-One’ (Avoid)<br />DB and SP Roles Separate<br />
SharePoint 2010 Architecture“Smallest Highly Available Farm”<br />2 SharePoint Servers running Web and Service Apps<br />2...
SharePoint 2010 Architecture“The Six Server Farm”<br />2 Dedicated Web Servers (NLB)<br />2 Service Application Servers<br...
SharePoint 2010 ArchitectureLarge Farms<br />Multiple Dedicated Web Servers<br />Multiple Dedicated Service App Servers<br...
SharePoint 2010 Virtualization Architecture<br />
Virtualized Farm ArchitectureCost-effective Virtual Environment / No HA<br /><ul><li>Allows Organizations that wouldn’t no...
Allows for separation of the database role onto a dedicated server
Can be more easily scaled out in the future</li></li></ul><li>Virtualized Farm ArchitectureHighly Available Farm with only...
All components Virtualized
Uses only two Windows Ent Edition Licenses</li></li></ul><li>Virtualized Farm ArchitectureBest Practice Virtual/Physical w...
Multiple farm support, with DBs for all farms on the SQL cluster</li></li></ul><li>Virtualized Farm ArchitectureLarge Virt...
Content Database and Site Admin Architecture<br />
Content Database and Site Collection Planning<br />Start with a distributed architecture of content databases from the beg...
Remote BLOB Storage (RBS)<br />First version was known as EBS, now RBS<br />SQL level technology that moves the BLOBs to d...
SQL Database Optimization<br />
SQL Database OptimizationContent Databases Distributed Between Multiple Volumes<br />Volume #1<br />Volume #2<br />Volume ...
SQL Database OptimizationContent Databases Distributed Between Multiple Volumes<br />Break Content Databases and TempDB in...
SQL Database OptimizationTempDB Tips<br />TempDB is critical for performance<br />Pre-size to 20% of the size of the large...
SQL Database Mirroring<br />
Single Site HA Mirrored Farm<br />Single Site<br />Synchronous Replication<br />Uses a SQL Witness Server to Failover Auto...
Cross-Site Mirrored HA Farm<br />Two Sites<br />1 ms Latency<br />1GB Bandwidth<br />Farm Servers in each location<br />Au...
Two Farm / Mirrored Content DBs<br />Two Sites<br />Two Farms<br />Mirror only Content DBs<br />Failover is Manual<br />Mu...
Mirroring Database Supportability Matrix (1 of 2)<br />
Mirroring Database Supportability Matrix (2 of 2)<br />
Hardware/Software<br />
Hardware Planning ConsiderationsDisk, Memory, and Processor<br />SQL Database role requires a great deal of space, especia...
Operating System Best practicesVersions<br />Highly recommended: Windows Server 2008 R2 (with SP1) for security, performan...
Operating System Best practicesSQL Server<br />SQL Server 2008 R2 Recommended, particularly if you have high security requ...
SharePoint Installation<br />
SharePoint InstallationSample Service Accounts<br />
SharePoint InstallationInstallation Process<br />For most flexibility, choose ‘Complete’ Installation, even if not install...
SharePoint InstallationInstallation Process<br />Highly recommended to choose the final destination for the Index/Query to...
SharePoint InstallationCommand-line Installation of SharePoint<br />Good to understand how to install SharePoint from the ...
Script: http://tinyurl.com/SPFarm-Config<br />Function Configure-SPSearch  {<br />	PARAM($AppPool, $FarmName, $SearchServi...
SharePoint InstallationSome Manual Service Apps Still Required<br />Due to bugs in SharePoint, certain Service Apps will n...
Configuring the Farm<br />
Configuring the FarmRunning the Config Wizard to Install Servers (If used)<br />Consider using an easy to remember port fo...
Configuring the FarmSQL Alias<br />A SQL Alias will help you if you need to change your DB location.  For example, if your...
Install SQL Client Tools, including the Backwards Compatibility Client Tools.  <br />Launch the SQL Server Configuration M...
Configuring the FarmNetwork Load Balancing<br />Hardware Based Load Balancing (F5, Cisco, Citrix NetScaler – Best performa...
Configuring the FarmNetwork Load Balancing<br />Best Practice – Create Multiple Web Apps with Load-balanced VIPs (Sample b...
Configuring the FarmSecurity Considerations<br />Infrastructure Security and Best Practices<br />Best Practice Service Acc...
Configuring the FarmSSL Certificates<br />External or Internal Certs highly recommended<br />Protects Transport of content...
Configuring the FarmUser Profile Sync (UPS) Setup<br />Most complex part of a SharePoint installation<br />Uses the Forefr...
Configuring the FarmEnabling Diagnostic Logging and Usage and Health Data Collection<br />To configure diagnostic logging<...
Configuring the FarmBest Practices<br />For Email enabled content, create a dedicated OU for Email enabled contacts and di...
Kerberos<br />
KerberosBest practice: Enable Kerberos!<br />When creating any Web Applications for Content, USE KERBEROS.  It is much mor...
KerberosStep 1: Create the Service Principal Names<br />Use the setspn utility to create Service Principle Names in AD, th...
KerberosStep 2: Enable Kerberos from SP Servers to SQL<br />Use setspn to create SPNs for SQL Service Account<br />SPNs ne...
Kerberos Step 3: Allow  User and Computer Accounts to Delegate (Optional)<br />Required for Excel Services and other imper...
KerberosStep 4:  Enable Kerberos on Web Application<br />Go to Application Management – Authentication Providers<br /> Cho...
Logon to SharePoint Web Front-End as the setup account<br />Launch the SQL Management Studio<br />At the Connect to Server...
KerberosBonuses for SPCA – Kerberos, NLB, SSL, and Default Port<br />Bonus #1: Enable Kerberos<br />Add the SPNs for SPCA<...
Session Takeaways<br />Use multiple service accounts, definitely don’t mix Application Pool identity accounts with the far...
Upcoming SlideShare
Loading in...5
×

Building the Perfect SharePoint 2010 Farm

6,235

Published on

Building the 'Perfect' SharePoint 2010 Farm; Best Practices from the Field. Compilation of best practice infrastructure guidance for SharePoint 2010 from Michael Noel, author of SharePoint 2010 Unleashed.

Published in: Technology
2 Comments
5 Likes
Statistics
Notes
No Downloads
Views
Total Views
6,235
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
321
Comments
2
Likes
5
Embeds 0
No embeds

No notes for slide

Transcript of "Building the Perfect SharePoint 2010 Farm"

  1. 1. Building the ‘Perfect’ SharePoint 2010 FarmBest Practices from the Field<br />Michael Noel<br />Convergent Computing (CCO.com)<br />@MichaelTNoel<br />
  2. 2. Michael Noel<br />Author of SAMS Publishing titles “SharePoint 2010 Unleashed,” “SharePoint 2007 Unleashed,” “SharePoint 2003 Unleashed”, “Teach Yourself SharePoint 2003 in 10 Minutes,” “Windows Server 2008 R2 Unleashed,” “Exchange Server 2010 Unleashed”, “ISA Server 2006 Unleashed”, and many other titles .<br />Partner at Convergent Computing (www.cco.com / +1(510)444-5700) – San Francisco Bay Area based Infrastructure/Security specialists for SharePoint, AD, Exchange, Security<br />
  3. 3. What we will cover<br />Examine various SharePoint 2010 farm architecture best practices that have developed over the past year<br />Examine SharePoint Best Practice Farm Architecture<br />Understand SharePoint Virtualization Options<br />Explore SharePoint DR and HA strategies using Database Mirroring<br />Explore other common best practices (RBS, SSL, NLB)<br />Learn how to Enable Kerberos for Best Practice Security<br />A large amount of best practices covered (i.e. Drinking through a fire hose), expectation is that you can take away 2-3 useful pieces of information that can be used in your environment<br />
  4. 4. Architecting the Farm<br />
  5. 5. SharePoint 2010 ArchitectureSmall Farms<br />‘All-in-One’ (Avoid)<br />DB and SP Roles Separate<br />
  6. 6. SharePoint 2010 Architecture“Smallest Highly Available Farm”<br />2 SharePoint Servers running Web and Service Apps<br />2 Database Servers (Clustered or Mirrored)<br />1 or 2 Index Partitions with equivalent query components<br />Smallest farm size that is fully highly available<br />
  7. 7. SharePoint 2010 Architecture“The Six Server Farm”<br />2 Dedicated Web Servers (NLB)<br />2 Service Application Servers<br />2 Database Servers (Clustered or Mirrored)<br />1 or 2 Index Partitions with equivalent query components<br />
  8. 8. SharePoint 2010 ArchitectureLarge Farms<br />Multiple Dedicated Web Servers<br />Multiple Dedicated Service App Servers<br />Multiple Dedicated Query Servers<br />Multiple Dedicated Crawl Servers, with multiple Crawl DBs to increase parallelization of the crawl process<br />Multiple distributed Index partitions (max of 10 million items per index partition)<br />Two query components for each Index partition, spread among servers<br />
  9. 9. SharePoint 2010 Virtualization Architecture<br />
  10. 10. Virtualized Farm ArchitectureCost-effective Virtual Environment / No HA<br /><ul><li>Allows Organizations that wouldn’t normally be able to have a test environment to run one
  11. 11. Allows for separation of the database role onto a dedicated server
  12. 12. Can be more easily scaled out in the future</li></li></ul><li>Virtualized Farm ArchitectureHighly Available Farm with only Two Servers<br /><ul><li>High-Availability across Hosts
  13. 13. All components Virtualized
  14. 14. Uses only two Windows Ent Edition Licenses</li></li></ul><li>Virtualized Farm ArchitectureBest Practice Virtual/Physical with HA/Perf<br /><ul><li>Highest transaction servers are physical
  15. 15. Multiple farm support, with DBs for all farms on the SQL cluster</li></li></ul><li>Virtualized Farm ArchitectureLarge Virtual Farms<br />
  16. 16. Content Database and Site Admin Architecture<br />
  17. 17. Content Database and Site Collection Planning<br />Start with a distributed architecture of content databases from the beginning, within reason (more than 50 per SQL instance is not recommended)<br />Distribute content across Site Collections from the beginning as well, it is very difficult to extract content after the face<br />Allow your environment to scale and your users to ‘grow into’ their SharePoint site collections<br />
  18. 18.
  19. 19. Remote BLOB Storage (RBS)<br />First version was known as EBS, now RBS<br />SQL level technology that moves the BLOBs to different storage location, thus reducing Content DB size by 80-90%.<br />Note this is primarily a Data Management tech, not so much a performance technology.<br />Typically used with third-party product, though MS does provide for limited native FILESTREAM options<br />
  20. 20. SQL Database Optimization<br />
  21. 21. SQL Database OptimizationContent Databases Distributed Between Multiple Volumes<br />Volume #1<br />Volume #2<br />Volume #3<br />Volume #4<br />DB-A<br />File 1<br />DB-B<br />File 1<br />DB-A<br />File 2<br />DB-B<br />File 2<br />DB-A<br />File 3<br />DB-B<br />File 3<br />DB-A<br />File 4<br />DB-B<br />File 4<br />Tempdb File 1<br />Tempdb File 2<br />Tempdb File 3<br />Tempdb File 4<br />
  22. 22. SQL Database OptimizationContent Databases Distributed Between Multiple Volumes<br />Break Content Databases and TempDB into multiple files (MDF, NDF), total should equal number of physical processors (not cores) on SQL server.<br />Pre-size Content DBs and TempDB to avoid fragmentation<br />Separate files onto different drive spindles for best IO perf.<br />Example: 100GB total Content DB on Four-way SQL Server would have four database files distributed across four sets of drive spindles = 25GB pre-sized for each file.<br />
  23. 23. SQL Database OptimizationTempDB Tips<br />TempDB is critical for performance<br />Pre-size to 20% of the size of the largest content database.<br />Break into multiple files across spindles as noted<br />Note there is a separate TempDB for each physical instance<br />Note that if using SQL Transparent Data Encryption (TDE) for any databases in an instance, the tempDB is encrypted.<br />
  24. 24. SQL Database Mirroring<br />
  25. 25. Single Site HA Mirrored Farm<br />Single Site<br />Synchronous Replication<br />Uses a SQL Witness Server to Failover Automatically<br />Mirror all SharePoint DBs in the Farm<br />Use a SQL Alias to switch to Mirror Instance<br />
  26. 26. Cross-Site Mirrored HA Farm<br />Two Sites<br />1 ms Latency<br />1GB Bandwidth<br />Farm Servers in each location<br />Auto Failover<br />
  27. 27. Two Farm / Mirrored Content DBs<br />Two Sites<br />Two Farms<br />Mirror only Content DBs<br />Failover is Manual<br />Must Re-index<br />
  28. 28. Mirroring Database Supportability Matrix (1 of 2)<br />
  29. 29. Mirroring Database Supportability Matrix (2 of 2)<br />
  30. 30. Hardware/Software<br />
  31. 31. Hardware Planning ConsiderationsDisk, Memory, and Processor<br />SQL Database role requires a great deal of space, especially if versioning is turned on in Document Libraries. Don’t underestimate!<br />Servers running the Search Service Application Index or Query need hard drive space to store the Index files, which can be 5%-30% of the size of the items being indexed.<br />The more memory and processor cores that can be given to SharePoint the better, in the following priority:<br />Database Role<br />Search Service Application Role<br />Other Service Application Roles<br />Web Role<br />
  32. 32. Operating System Best practicesVersions<br />Highly recommended: Windows Server 2008 R2 (with SP1) for security, performance (client/server traffic improvements), and ease of setup.<br />Windows Server 2008 RTM is also possible, but requires some custom configuration (Kerberos, etc.)<br />Enterprise Edition of Windows only required for very large SQL instances (More than two cluster nodes, high transaction volume, etc.) Standard edition of Windows is adequate in nearly all other cases.<br />
  33. 33. Operating System Best practicesSQL Server<br />SQL Server 2008 R2 Recommended, particularly if you have high security requirements, as it allows for transparent encryption of databases and PowerPivot (R2 only)<br />SQL Server 2005 x64 also supported<br />Enterprise edition of SQL only required for more than two nodes in a cluster, Asynchronous database mirror replication, TDE, RBS with non-local BLOB storage, or other advanced scenarios<br />Separate Reporting Services server may be required for intensive reporting<br />Separate Analysis Services server may be required for PowerPivot<br />Create exception in Windows Firewall policy for port 1433<br />
  34. 34. SharePoint Installation<br />
  35. 35. SharePoint InstallationSample Service Accounts<br />
  36. 36. SharePoint InstallationInstallation Process<br />For most flexibility, choose ‘Complete’ Installation, even if not installing all of the roles on the server. This will allow for the addition of roles in the future as needed.<br />Be sure not to select ‘Stand-Alone’, unless you plan on having a very small farm with a limited database (SQL Server Express)<br />
  37. 37. SharePoint InstallationInstallation Process<br />Highly recommended to choose the final destination for the Index/Query to live (i.e. if it’s on a different drive, enter that during installation). It’s difficult to change index location later.<br />Remember, after installing the binaries, the server is not a farm member yet…it can be added to any farm. Good concept to use to pre-stage servers.<br />
  38. 38. SharePoint InstallationCommand-line Installation of SharePoint<br />Good to understand how to install SharePoint from the command-line, especially if setting up multiple servers.<br />Allows for options not available in the GUI, such as the option to rename databases to something easier to understand.<br />User PowerShell<br />
  39. 39. Script: http://tinyurl.com/SPFarm-Config<br />Function Configure-SPSearch {<br /> PARAM($AppPool, $FarmName, $SearchServiceAccount)<br /> $searchServiceInstance = Get-SPEnterpriseSearchServiceInstance -local<br /> Start-SPEnterpriseSearchServiceInstance -Identity $searchServiceInstance<br /> $dbName = $FarmName + "_SearchServiceApplication"<br /> $searchApplication = New-SPEnterpriseSearchServiceApplication -Name "$FarmName Search Service Application" -ApplicationPool $AppPool -DatabaseName $dbName<br /> $searchApplicationProxy = New-SPEnterpriseSearchServiceApplicationProxy -name "$FarmName Search Service Application Proxy" -SearchApplication $searchApplication<br /> Set-SPEnterpriseSearchAdministrationComponent -SearchApplication $searchApplication -SearchServiceInstance $searchServiceInstance<br /> $crawlTopology = New-SPEnterpriseSearchCrawlTopology -SearchApplication $searchApplication<br /> $crawlDatabase = Get-SPEnterpriseSearchCrawlDatabase -SearchApplication $searchApplication<br /> New-SPEnterpriseSearchCrawlComponent -CrawlTopology $crawlTopology -CrawlDatabase $crawlDatabase -SearchServiceInstance $searchServiceInstance<br /> while($crawlTopology.State -ne "Active")<br /> {<br /> $crawlTopology | Set-SPEnterpriseSearchCrawlTopology -Active -ErrorActionSilentlyContinue<br /> if ($crawlTopology.State -ne "Active")<br /> {<br /> Start-Sleep -Seconds 10<br /> }<br /> }<br /> $queryTopology = New-SPenterpriseSEarchQueryTopology -SearchApplication $searchApplication -partitions 1<br /> $searchIndexPartition = Get-SPEnterpriseSearchIndexPartition -QueryTopology $queryTopology<br /> New-SPEnterpriseSearchQueryComponent -indexpartition $searchIndexPartition -QueryTopology $queryTopology -SearchServiceInstance $searchServiceInstance<br /> $propertyDB = Get-SPEnterpriseSearchPropertyDatabase -SearchApplication $searchApplication<br /> Set-SPEnterpriseSearchIndexPartition $searchIndexPartition -PropertyDatabase $propertyDB<br /> while ($queryTopology.State -ne "Active")<br /> {<br /> $queryTopology | Set-SPEnterpriseSearchQueryTopology -Active -ErrorActionSilentlyContinue<br /> if ($queryTopology.State -ne "Active")<br /> {<br /> Start-Sleep -Seconds 10<br /> }<br /> }<br />}<br />
  40. 40. SharePoint InstallationSome Manual Service Apps Still Required<br />Due to bugs in SharePoint, certain Service Apps will need to be manually configured, they won’t work in PowerShell yet, hopefully fixed in later versions<br />This includes the following:<br />PerformancePoint Service Application<br />User Profile Service Application<br />Web Analytics Service Application<br />
  41. 41. Configuring the Farm<br />
  42. 42. Configuring the FarmRunning the Config Wizard to Install Servers (If used)<br />Consider using an easy to remember port for the Central Admin service (i.e. 8888). Change to 443 later.<br />You are welcome to change the Config Database name to match a common naming convention<br />Your database access account is the SP Service account, which only needs DBCreator and Security Admin rights on SQL. Don’t give it more!<br />Run the wizard on additional servers as necessary<br />
  43. 43. Configuring the FarmSQL Alias<br />A SQL Alias will help you if you need to change your DB location. For example, if your SQL server name is ‘SQL1’, use something like ‘SPSQL’ to connect, and have DNS point to the proper server location. This makes it MUCH more flexible.<br />Use the SQL Native Client 10.0 Configuration (32bit) node to create the alias<br />
  44. 44. Install SQL Client Tools, including the Backwards Compatibility Client Tools. <br />Launch the SQL Server Configuration Manager and create three SQL aliases using the 32bit Alias section:<br />spdbcontent.companyabc.com <br />spdbsearch.companyabc.com<br />spdbservices.companyabc.com<br />Point all to the SQL server name, port 1433.<br />Launch the SQL Server Client Network Utility (System32cliconfg.exe) and create the same 3 aliases as above using TCP/IP and port 1433. Make sure to map the alias to the SQL netbios name (or cluster netbios name) as above<br />Configuring the FarmSQL Alias<br />
  45. 45. Configuring the FarmNetwork Load Balancing<br />Hardware Based Load Balancing (F5, Cisco, Citrix NetScaler – Best performance and scalability<br />Software Windows Network Load Balancing fully supported<br />If using Unicast, use two NICs on the server, one for communications between nodes.<br />If using Multicast, be sure to configure routers appropriately<br />Set Affinity to Single (Sticky Sessions)<br />If using VMware, note fix to NLB RARP issue (http://tinyurl.com/vmwarenlbfix)<br />
  46. 46. Configuring the FarmNetwork Load Balancing<br />Best Practice – Create Multiple Web Apps with Load-balanced VIPs (Sample below)<br />Web Role Servers<br />sp1.companyabc.com (10.0.0.101) – Web Role Server #1<br />sp2.companyabc.com (10.0.0.102) – Web Role Server #2<br />Clustered VIPs shared between SP1 and SP2 (Create A records in DNS)<br />spnlb.companyabc.com (10.0.0.103) - Cluster<br />spca.companyabc.com (10.0.0.104) – SP Central Admin<br />spsmtp.companyabc.com (10.0.0.105) – Inbound Email VIP<br />home.companyabc.com (10.0.0.106) – Main SP Web App (can be multiple)<br />mysite.companyabc.com (10.0.0.107) – Main MySites Web App<br />
  47. 47. Configuring the FarmSecurity Considerations<br />Infrastructure Security and Best Practices<br />Best Practice Service Account Setup<br />Kerberos Authentication<br />Data Security<br />SharePoint Security ACLs and Role Based Access Control (RBAC)<br />Transparent Data Encryption (TDE) of SQL Databases<br />Transport Security<br />Secure Sockets Layer (SSL) from Server to Client<br />IPSec from Server to Server<br />Inbound Internet Security (Forefront UAG/TMG) / Certs<br />Rights Management<br />
  48. 48. Configuring the FarmSSL Certificates<br />External or Internal Certs highly recommended<br />Protects Transport of content<br />20% overhead on Web Servers<br />Can be offloaded via SSL offloaders if needed<br />Don’t forget for SPCA as well!<br />
  49. 49. Configuring the FarmUser Profile Sync (UPS) Setup<br />Most complex part of a SharePoint installation<br />Uses the Forefront Identity Manager (FIM) subcomponent on the server to synch My Site Profiles with external directory source such Active Directory<br />Would take an entire session to describe the process, but best blog on the topic is SharePoint MVP Spencer Harbar’s (harbar.net)<br />
  50. 50. Configuring the FarmEnabling Diagnostic Logging and Usage and Health Data Collection<br />To configure diagnostic logging<br />On the Central Administration Home page, click Monitoring.<br />In the Reporting section, click Configure diagnostic logging.<br />On the Diagnostic Logging page, verify that Enable Event Log Flood Protection is selected. If not, click the corresponding check box to enable this feature.<br />Leave default values for other items<br />Click OK to save your changes.<br />To configure usage and health data collection:<br />On the Central Administration Monitoring page, click Configure usage and health data collection.<br />Click the check box to Enable Usage Data Collection.<br />Click the check box to Enable Health Data Collection.<br />Name database <br />Leave all other settings at default<br />Click OK.<br />
  51. 51. Configuring the FarmBest Practices<br />For Email enabled content, create a dedicated OU for Email enabled contacts and distribution lists and give the SP Admin account rights to create and modify contacts and groups in that OU.<br />Don’t forget Alternate Access Mappings if connecting to the content in more than one way (i.e. https://home.companyabc.com vs. just http://home)<br />If using SSL on a web app, it must have a dedicated IP address, not just a host header<br />Don’t forget to install Antivirus (MS Forefront Protection for SharePoint recommended)<br />Don’t forget a comprehensive backup solution (MS System Center Data Protection Manager (DPM) 2010 or 3rd party)<br />
  52. 52. Kerberos<br />
  53. 53. KerberosBest practice: Enable Kerberos!<br />When creating any Web Applications for Content, USE KERBEROS. It is much more secure and also faster with heavy loads as the SP server doesn’t have to keep asking for auth requests from AD.<br />Kerberos auth does require extra steps, which makes people shy away from it, but once configured, it improves security considerably and can improve performance on high-load sites.<br />
  54. 54. KerberosStep 1: Create the Service Principal Names<br />Use the setspn utility to create Service Principle Names in AD, the following syntax for example:<br />Setspn.exe -A HTTP/mysite.companyabc.com DOMAINNAMEMYSiteAppAccount<br />Setspn.exe -A HTTP/mysite DOMAINNAMEMYSITEAppAccount<br />Setspn.exe -A HTTP/home.companyabc.com DOMAINNAMEHOMEAppAccount<br />Setspn.exe -A HTTP/sp DOMAINNAMEHOMEAppAccount<br />
  55. 55. KerberosStep 2: Enable Kerberos from SP Servers to SQL<br />Use setspn to create SPNs for SQL Service Account<br />SPNs need to match the name that SharePoint uses to connect to SQL (Ideally SQL Alias, more on this later)<br />Syntax similar to following:<br />Setspn.exe -A MSSQLSvc/spsql:1433 COMPANYABCSRV-SQL-DB<br />Setspn.exe –A MSSQLSvc/spsql.companyabc.com:1433 COMPANYABCSRV-SQL-DB<br />MSSQLSvc = Default instance, if named instance, specify the name instead<br />In this example, SRV-SQL-DB is the SQL Admin account<br />
  56. 56. Kerberos Step 3: Allow User and Computer Accounts to Delegate (Optional)<br />Required for Excel Services and other impersonation applications.<br />On all SP Computer accounts and on the Application Identity accounts, check the box in ADUC to allow for delegation. <br />In ADUC, navigate to the computer or user account, right-click and choose Properties. <br />Go to the Delegation tab <br />Choose Trust this user/computer for delegation to any service (Kerberos)<br />
  57. 57. KerberosStep 4: Enable Kerberos on Web Application<br />Go to Application Management – Authentication Providers<br /> Choose the appropriate Web Application<br />Click on the link for ‘Default’ under Zone<br />Change to Integrated Windows Authentication - Kerberos (Negotiate)<br />Run iisreset /noforce from the command prompt<br />If creating Web App from scratch, this step may be unnecessary if you choose Negotiate from the beginning<br />
  58. 58. Logon to SharePoint Web Front-End as the setup account<br />Launch the SQL Management Studio<br />At the Connect to Server screen, connect to one of the alias names (spdbcontent, sbdbservices, spdbsearch)<br />Make sure you are able to connect to the SQL server instance<br />Login to the SQL server as SQL Admin account<br />Launch Server Manager<br />View Security event log under Diagnostics<br />Look for Event ID 4624/Logon<br />Open the event and look under the Detailed Authentication Information section which should read Kerberos for both Logon Process and Authentication Package for the Setup account <br />KerberosStep 5: Validate Kerberos Functionality<br />
  59. 59. KerberosBonuses for SPCA – Kerberos, NLB, SSL, and Default Port<br />Bonus #1: Enable Kerberos<br />Add the SPNs for SPCA<br />HTTP/spca.companyabc.com, HTTP/spca (Add to App Pool Identity Account for SPCA)<br />Configure Kerberos as defined in this presentation<br />Bonus #2: Configure for SSL<br />Encrypts traffic and Admin passwords<br />Create and install Web certs for spca.companyabc.com<br />Bonus #3: Load Balance SPCA<br />Install SPCA on multiple web role servers<br />Enable either Hardware NLB or Software Windows Network Load Balancing<br />Requires DNS A record (spca.companyabc.com), registry key and AAM modification (below)<br />Bonus #4: Setup SPCA on port 443/80<br />Delete default IIS Web Site<br />Assign dedicated IP (VIP if load balancing) to SPCA Web App<br />Change Port to 80 and 443 in IIS, Assign Cert (if using SSL)<br />Modify SPCA URL on SP Servers - “HKLMSOFTWAREMicrosoftShared ToolsWeb Server Extensions14.0WSSCentralAdministrationURL” (REG_SZ) = https://spca.companyabc.com/<br />Change your default AAM to https://spca.companyabc.com<br />
  60. 60. Session Takeaways<br />Use multiple service accounts, definitely don’t mix Application Pool identity accounts with the farm admin accounts<br />Use Kerberos when at all possible<br />Use a SQL DB Alias for greatest flexibility with a SP Farm<br />Consider DB Mirroring as a DR option<br />A four server farm is the smallest that is highly available<br />Contact us at cco.com for help<br />
  61. 61. Your Feedback is Important<br />Please fill out a session evaluation form drop it off at the conference registration desk.<br />Thank you!<br />
  62. 62. Thanks for attending!Questions?<br />Michael Noel<br />Twitter: @MichaelTNoel<br />www.cco.com<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×