SlideShare a Scribd company logo
1 of 29
Dodge the
bullet
10 ways to avoid common
mistakes in SharePoint
Administration

#SPSUK08
Benjamin Athawes
www.benjaminathawes.com
@benjaminathawes
Who am I?
            − SharePoint server junkie for
              just over 3 years

            − Head of IT Infrastructure at
              eShare Limited in West
              Berkshire (near Reading)

            − SharePoint 2010 admin/dev
              MCTS, MCITP & MOS

            − SharePoint User Group
              speaker (#SUGUK)



                                             2
The slide my boss
made me add…

•   The only specialist provider of “governance” software

    •   220 + trusts

    •   Pensions / Health / Charities / Corporates

    •   UK / Holland / Australia / South Africa

•   Hosted solution based on SharePoint Server and K2

•   Data centre located in Newbury, Berkshire
Our clients
Who are you?


               • IT PRO?
               • Dev?
               • Business?
               • A bit of everything?
               • Wrong session?
Why this session?
Similar administration questions keep recurring with each
new version of SharePoint...

       “I’ve made changes
        in <SQL/IIS/the file      “I have 100 Web apps
       system>, why have I          and my farm seems
        got “an unexpected        slow. How do I speed
              error”?                   things up?”


         “I have a 500GB
      content database and           “Why am I getting a
        I’m having trouble            warning in Central
            upgrading to            Administration saying
      SharePoint <version>,        that the Farm Account
          what can I do?”            shouldn’t be a local
                                           admin?”


                                                            6
Why the same old questions?


                    • Sophisticated product
                    • Poor documentation
                    • Success involves
                      collaboration
                    • Growing complexity!
Ok, so how do we dodge the bullet?
1. Put SharePoint in your job title


                       − BIG product - not just
                         SharePoint

                       − „One man army‟ probably
                         not realistic

                       − Training
2. Start with an appropriate topology

                                   Yup,
− Beware of SharePoint‟s         another
  default settings:            standalone
                                  install
   SQL Server Express
    (R2 =10GB/DB limit)

   No User Profile Service!

− Plan the install
The evil button



      SQL Server Express

Full fat SQL – use this  
3. Understand capacity planning
   recommendations
                 − Easy to push under the rug

                 − Software boundaries normally
                   involve a trade-off

                 − No magic numbers or a silver
                   bullet (e.g. RBS)

                 − Not always documented e.g.
                   Web application scalability
Capacity Planning Example: too many
              Web apps
Web Apps




              Department   Department   Public Site A   Project A   Project B
                  A            B
Collections




              Department   Department   Public Site A   Project A   Project B
                  A            B
Site
Databases
Content




              Department   Department   Public Site A   Project A   Project B
                  A            B




…n Web apps; up to a recommended maximum of 20/farm
Capacity Planning Example: scaling
                     with site collections
 Web Apps




               Secure Web          Public Web          SPCA       MySites         CTHub
               App (HTTPS)         Sites (HTTP)
 Collections




               A   B   C   D   E   A   B   C   D   E          A   B   C   D   E
               F   G   H   I   J   F   G   H   I   J   SPCA   F   G   H   I   J   CTHub
               K   L   M   N   O   K   L   M   N   O          K   L   M   N   O
 Site




               P   Q   .   .   .   P   Q   .   .   .          P   Q   .   .   .
 Databases
 Content




               Secure Web          Public Web          SPCA       MySites         CTHub
               App (HTTPS)         Sites (HTTP)




…n site collections; recommended max 2000/content DB (!)
Common reasons for Web apps…


Reason                    Potential Solution

Vanity URLs               Host named site collections

                          Extend Web app (2007); multiple providers in 2010
Authentication provider
                          in single Web app

SSL                       Extend Web app

Partitioning              Multi-tenancy (not trivial to implement)

Web.config customisations Try to avoid them! 
4. Utilise SharePoint's provisioning
   capability
− If it‟s not packaged in a
  solution, don‟t deploy it!

− Solutions are:
   − Scalable
   − Backed up
   − Quicker (e.g. branding
     artefacts on file system)
Provisioning example: manual
     assembly deployment
5. Avoid the default SQL DB growth
   settings      − Default SQL autogrowth settings
                       mean fragmentation

                              Pre size ldf/mdf files
                              Autogrow in MB not %

                      − Index maintenance still
                        relevant to SSDs

                      − Mechanical disks – don‟t forget
                        OS fragmentation!
6. Remember that virtualisation isn’t
magic sauce
− You can‟t get away from
  normal physical limitations:
   − SQL IOPS
   − Hardware failure
   − NIC throughput

− Ensure Non Uniform Memory
  Access (NUMA) has a direct
  impact on:
    − RAM installed in box
    − Allocation of RAM to VMs
NUMA NUMA?
The NUMA misnomer?
− NUMA = a scalable CPU design
  for multi core processors
  (a good thing).

− The “rule of thumb” guidance for
  determining NUMA boundaries:
    − RAM / logical cores
    − E.g. 64 GB RAM / [2 * quad
      core CPU] = 8GB boundary

− My guidance: “It depends” on
  your hardware:
  check your specific configuration
  using CoreInfo & PerfMon

− Hypervisor agnostic
NUMA example
A HP DL380 G7 with 64GB RAM and 2 hex core processors
Hyper threading enabled




In this particular case, there is a 1:1 ratio between CPU sockets and NUMA nodes,
meaning that there are 2 NUMA nodes of 32 GB each.
7. Design and test a back up strategy

                   − Align strategy with SLAs

                   − Remember SQL backups
                     don‟t cover everything (farm
                     config)

                   − Document your farm
                     configuration using
                     PowerShell or 3rd party tools
                     e.g. SPDocKit
What’s backed up?
  Configuration Setting                                          2007   SP2010 farm-only config   SP2010 with SPDocKit
  A/V settings.                                                  N      Y                         Y
  Diagnostic logging settings.                                   N      Y                         Y
  IRM                                                            N      Y                         Y
  Farm solution store                                            N      Y                         Y
  Application pool settings, including service accounts (all
  accounts that run as Web applications, including the crawler   N      N
  account and the search account).                                                                Y
  Alternate access mapping settings.                             N      N                         Y
  Farm-level search settings.                                    N      N                         Y
  External service connection settings.                          N      N                         Y
  Workflow management settings.                                  N      N                         Y
  E-mail settings.                                               N      Outbound only             Y
  Usage analysis processing settings.                            N      N                         Y
  Content deployment settings.                                   N      N                         Y
  Timer job settings.                                            N      N                         Y
  Recycle Bin settings and other Web application general
                                                                 N      N
  settings.                                                                                       Y
  Administrator-deployed form templates.                         N      N                         Y
  Default quota templates.                                       N      N                         Y
  Database names and locations.                                  N      N                         Y
  Web application names and databases. Be sure to document
  the content database names associated with each Web            N      N
  application.                                                                                    Y
  Crawler impact rules.                                          N      N                         Y
  Activated features.                                            N      N                         Y
  Blocked file types.                                            N      N                         Y


                                               Check out SPDocKit at http://tinyurl.com/c6p6lus
8. Test, test and test again
   “No test farm equals no
      production farm!”
    Andrew Woodward

− Includes:
     Cumulative updates
     Service Packs
     Topology changes
     IIS changes

− Every environment is
  different
9. Utilise PowerShell
                    − STSADM is deprecated

                    − Not just for developers

                    − MS product agnostic

                    − Dozens of uses: removing
                      GUIDs, automating installs,
                      log checking, etc

                    …but don’t forget to test your
                     scripts!
10. Use crowd wisdom

− “Many Are Smarter Than the Few”

− Use social networking tools to keep up to date, e.g.
     “RBS is not „the solution to world hunger‟”
     Spencer Harbar
     “Cumulative Updates are not Service packs”
     Todd Klindt
     “SharePoint‟s farm-only config leaves a lot to be desired”
     Sean McDonough
Summary

− It‟s not just SharePoint

− Understand the capabilities and supported scenarios

− “Default settings” aren‟t always sufficient

− Social tools can aid decision making

− Plan early to “dodge the bullet”




                                                        28
Thanks…


           …to you for listening

           …to Sean McDonough
          for reviewing most of the
                    slides

More Related Content

What's hot

Enterprise search-sizing-ha-and-migration-path
Enterprise search-sizing-ha-and-migration-pathEnterprise search-sizing-ha-and-migration-path
Enterprise search-sizing-ha-and-migration-path
microsoftasap
 
Enterprise search in SharePoint 2013 - Sydney 15th of January 2013
Enterprise search in SharePoint 2013 - Sydney 15th of January 2013Enterprise search in SharePoint 2013 - Sydney 15th of January 2013
Enterprise search in SharePoint 2013 - Sydney 15th of January 2013
Findwise
 
MetaVis Webinar - 10 Things I Like in SharePoint 2013 Search
MetaVis Webinar - 10 Things I Like in SharePoint 2013 SearchMetaVis Webinar - 10 Things I Like in SharePoint 2013 Search
MetaVis Webinar - 10 Things I Like in SharePoint 2013 Search
Agnes Molnar
 
Office 365 and share point online ramp up in 60 minutes for on-premises share...
Office 365 and share point online ramp up in 60 minutes for on-premises share...Office 365 and share point online ramp up in 60 minutes for on-premises share...
Office 365 and share point online ramp up in 60 minutes for on-premises share...
Nik Patel
 

What's hot (20)

Introduction to SharePoint 2013 Search
Introduction to SharePoint 2013 SearchIntroduction to SharePoint 2013 Search
Introduction to SharePoint 2013 Search
 
SharePoint 2013 'Search': What you need to Know!
SharePoint 2013 'Search': What you need to Know!SharePoint 2013 'Search': What you need to Know!
SharePoint 2013 'Search': What you need to Know!
 
Technical Overview of FAST Search Server 2010 for SharePoint - SharePoint Sat...
Technical Overview of FAST Search Server 2010 for SharePoint - SharePoint Sat...Technical Overview of FAST Search Server 2010 for SharePoint - SharePoint Sat...
Technical Overview of FAST Search Server 2010 for SharePoint - SharePoint Sat...
 
Highly available and scalable architectures
Highly available and scalable architecturesHighly available and scalable architectures
Highly available and scalable architectures
 
Developing a Custom FAST Search Server 2010 for SharePoint Solution - Share...
Developing a Custom FAST Search Server 2010 for SharePoint Solution - Share...Developing a Custom FAST Search Server 2010 for SharePoint Solution - Share...
Developing a Custom FAST Search Server 2010 for SharePoint Solution - Share...
 
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
Overview of Search in SharePoint Server 2013 - Australian SharePoint Conferen...
 
Enterprise search-sizing-ha-and-migration-path
Enterprise search-sizing-ha-and-migration-pathEnterprise search-sizing-ha-and-migration-path
Enterprise search-sizing-ha-and-migration-path
 
Enterprise search in SharePoint 2013 - Sydney 15th of January 2013
Enterprise search in SharePoint 2013 - Sydney 15th of January 2013Enterprise search in SharePoint 2013 - Sydney 15th of January 2013
Enterprise search in SharePoint 2013 - Sydney 15th of January 2013
 
MetaVis Webinar - 10 Things I Like in SharePoint 2013 Search
MetaVis Webinar - 10 Things I Like in SharePoint 2013 SearchMetaVis Webinar - 10 Things I Like in SharePoint 2013 Search
MetaVis Webinar - 10 Things I Like in SharePoint 2013 Search
 
SP24 - Using the Content Enrichment Web Service with SharePoint Server 2013 ...
SP24  - Using the Content Enrichment Web Service with SharePoint Server 2013 ...SP24  - Using the Content Enrichment Web Service with SharePoint Server 2013 ...
SP24 - Using the Content Enrichment Web Service with SharePoint Server 2013 ...
 
SharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End UsersSharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End Users
 
GSA Webinar - June 2, 2011
GSA Webinar - June 2, 2011GSA Webinar - June 2, 2011
GSA Webinar - June 2, 2011
 
Office 365 and share point online ramp up in 60 minutes for on-premises share...
Office 365 and share point online ramp up in 60 minutes for on-premises share...Office 365 and share point online ramp up in 60 minutes for on-premises share...
Office 365 and share point online ramp up in 60 minutes for on-premises share...
 
SharePoint Fest Chicago 2014 - Anatomy of SharePoint and Office 365 Hybrid De...
SharePoint Fest Chicago 2014 - Anatomy of SharePoint and Office 365 Hybrid De...SharePoint Fest Chicago 2014 - Anatomy of SharePoint and Office 365 Hybrid De...
SharePoint Fest Chicago 2014 - Anatomy of SharePoint and Office 365 Hybrid De...
 
Enterprise Search in SharePoint 2013
Enterprise Search in SharePoint 2013Enterprise Search in SharePoint 2013
Enterprise Search in SharePoint 2013
 
Search Options in SharePoint 2010
Search Options in SharePoint 2010Search Options in SharePoint 2010
Search Options in SharePoint 2010
 
GSA Connector 3.0 Webinar - June 2013
GSA Connector 3.0 Webinar - June 2013GSA Connector 3.0 Webinar - June 2013
GSA Connector 3.0 Webinar - June 2013
 
#SPSPhilly search topology & optimization
#SPSPhilly search topology & optimization#SPSPhilly search topology & optimization
#SPSPhilly search topology & optimization
 
Understanding and Applying Cloud Hybrid Search
Understanding and Applying Cloud Hybrid SearchUnderstanding and Applying Cloud Hybrid Search
Understanding and Applying Cloud Hybrid Search
 
Building a scalable search architecture in share point 2013
Building a scalable search architecture in share point 2013Building a scalable search architecture in share point 2013
Building a scalable search architecture in share point 2013
 

Similar to Avoiding 10 common SharePoint Administration mistakes

Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010
Mike Watson
 
Migrate to share point 2013 with avepoint 2.14.13
Migrate to share point 2013 with avepoint 2.14.13Migrate to share point 2013 with avepoint 2.14.13
Migrate to share point 2013 with avepoint 2.14.13
Mary Leigh Mackie
 
SharePoint 2010 – Installation and maintenance – best practices
SharePoint 2010 – Installation and maintenance – best practicesSharePoint 2010 – Installation and maintenance – best practices
SharePoint 2010 – Installation and maintenance – best practices
Toni Frankola
 

Similar to Avoiding 10 common SharePoint Administration mistakes (20)

What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
 
SAP HANA – A Technical Snapshot
SAP HANA – A Technical SnapshotSAP HANA – A Technical Snapshot
SAP HANA – A Technical Snapshot
 
Webinar share point performance feb2016 slideshare
Webinar share point performance feb2016 slideshareWebinar share point performance feb2016 slideshare
Webinar share point performance feb2016 slideshare
 
SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...
SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...
SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...
 
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
 
Delivering Apache Hadoop for the Modern Data Architecture
Delivering Apache Hadoop for the Modern Data Architecture Delivering Apache Hadoop for the Modern Data Architecture
Delivering Apache Hadoop for the Modern Data Architecture
 
SAP #BOBJ #BI 4.1 Upgrade Webcast Series 3: BI 4.1 Sizing and Virtualization
SAP #BOBJ #BI 4.1 Upgrade Webcast Series 3: BI 4.1 Sizing and VirtualizationSAP #BOBJ #BI 4.1 Upgrade Webcast Series 3: BI 4.1 Sizing and Virtualization
SAP #BOBJ #BI 4.1 Upgrade Webcast Series 3: BI 4.1 Sizing and Virtualization
 
Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010
 
SharePoint Performance Optimization In 10 Steps for the IT Professional
SharePoint Performance Optimization In 10 Steps for the IT ProfessionalSharePoint Performance Optimization In 10 Steps for the IT Professional
SharePoint Performance Optimization In 10 Steps for the IT Professional
 
Migrate to share point 2013 with avepoint 2.14.13
Migrate to share point 2013 with avepoint 2.14.13Migrate to share point 2013 with avepoint 2.14.13
Migrate to share point 2013 with avepoint 2.14.13
 
Hadoop vs Java Batch Processing JSR 352
Hadoop vs Java Batch Processing JSR 352Hadoop vs Java Batch Processing JSR 352
Hadoop vs Java Batch Processing JSR 352
 
SQLCAT: A Preview to PowerPivot Server Best Practices
SQLCAT: A Preview to PowerPivot Server Best PracticesSQLCAT: A Preview to PowerPivot Server Best Practices
SQLCAT: A Preview to PowerPivot Server Best Practices
 
sitNL 2018 - SAP TechEd BI takeaway / Recap
sitNL 2018 - SAP TechEd BI takeaway / RecapsitNL 2018 - SAP TechEd BI takeaway / Recap
sitNL 2018 - SAP TechEd BI takeaway / Recap
 
SharePoint 2010 – Installation and maintenance – best practices
SharePoint 2010 – Installation and maintenance – best practicesSharePoint 2010 – Installation and maintenance – best practices
SharePoint 2010 – Installation and maintenance – best practices
 
What SQL DBA's need to know about SharePoint
What SQL DBA's need to know about SharePointWhat SQL DBA's need to know about SharePoint
What SQL DBA's need to know about SharePoint
 
SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...
SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...
SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...
 
Horses for Courses: Database Roundtable
Horses for Courses: Database RoundtableHorses for Courses: Database Roundtable
Horses for Courses: Database Roundtable
 
What SQL DBAs need to know about SharePoint-Indianapolis 2013
What SQL DBAs need to know about SharePoint-Indianapolis 2013What SQL DBAs need to know about SharePoint-Indianapolis 2013
What SQL DBAs need to know about SharePoint-Indianapolis 2013
 
SharePoint On-Premises Nirvana
SharePoint On-Premises NirvanaSharePoint On-Premises Nirvana
SharePoint On-Premises Nirvana
 
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software WebcastPreparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Avoiding 10 common SharePoint Administration mistakes

  • 1. Dodge the bullet 10 ways to avoid common mistakes in SharePoint Administration #SPSUK08 Benjamin Athawes www.benjaminathawes.com @benjaminathawes
  • 2. Who am I? − SharePoint server junkie for just over 3 years − Head of IT Infrastructure at eShare Limited in West Berkshire (near Reading) − SharePoint 2010 admin/dev MCTS, MCITP & MOS − SharePoint User Group speaker (#SUGUK) 2
  • 3. The slide my boss made me add… • The only specialist provider of “governance” software • 220 + trusts • Pensions / Health / Charities / Corporates • UK / Holland / Australia / South Africa • Hosted solution based on SharePoint Server and K2 • Data centre located in Newbury, Berkshire
  • 5. Who are you? • IT PRO? • Dev? • Business? • A bit of everything? • Wrong session?
  • 6. Why this session? Similar administration questions keep recurring with each new version of SharePoint... “I’ve made changes in <SQL/IIS/the file “I have 100 Web apps system>, why have I and my farm seems got “an unexpected slow. How do I speed error”? things up?” “I have a 500GB content database and “Why am I getting a I’m having trouble warning in Central upgrading to Administration saying SharePoint <version>, that the Farm Account what can I do?” shouldn’t be a local admin?” 6
  • 7. Why the same old questions? • Sophisticated product • Poor documentation • Success involves collaboration • Growing complexity!
  • 8. Ok, so how do we dodge the bullet?
  • 9. 1. Put SharePoint in your job title − BIG product - not just SharePoint − „One man army‟ probably not realistic − Training
  • 10. 2. Start with an appropriate topology Yup, − Beware of SharePoint‟s another default settings: standalone install  SQL Server Express (R2 =10GB/DB limit)  No User Profile Service! − Plan the install
  • 11. The evil button SQL Server Express Full fat SQL – use this  
  • 12. 3. Understand capacity planning recommendations − Easy to push under the rug − Software boundaries normally involve a trade-off − No magic numbers or a silver bullet (e.g. RBS) − Not always documented e.g. Web application scalability
  • 13. Capacity Planning Example: too many Web apps Web Apps Department Department Public Site A Project A Project B A B Collections Department Department Public Site A Project A Project B A B Site Databases Content Department Department Public Site A Project A Project B A B …n Web apps; up to a recommended maximum of 20/farm
  • 14. Capacity Planning Example: scaling with site collections Web Apps Secure Web Public Web SPCA MySites CTHub App (HTTPS) Sites (HTTP) Collections A B C D E A B C D E A B C D E F G H I J F G H I J SPCA F G H I J CTHub K L M N O K L M N O K L M N O Site P Q . . . P Q . . . P Q . . . Databases Content Secure Web Public Web SPCA MySites CTHub App (HTTPS) Sites (HTTP) …n site collections; recommended max 2000/content DB (!)
  • 15. Common reasons for Web apps… Reason Potential Solution Vanity URLs Host named site collections Extend Web app (2007); multiple providers in 2010 Authentication provider in single Web app SSL Extend Web app Partitioning Multi-tenancy (not trivial to implement) Web.config customisations Try to avoid them! 
  • 16. 4. Utilise SharePoint's provisioning capability − If it‟s not packaged in a solution, don‟t deploy it! − Solutions are: − Scalable − Backed up − Quicker (e.g. branding artefacts on file system)
  • 17. Provisioning example: manual assembly deployment
  • 18. 5. Avoid the default SQL DB growth settings − Default SQL autogrowth settings mean fragmentation  Pre size ldf/mdf files  Autogrow in MB not % − Index maintenance still relevant to SSDs − Mechanical disks – don‟t forget OS fragmentation!
  • 19. 6. Remember that virtualisation isn’t magic sauce − You can‟t get away from normal physical limitations: − SQL IOPS − Hardware failure − NIC throughput − Ensure Non Uniform Memory Access (NUMA) has a direct impact on: − RAM installed in box − Allocation of RAM to VMs
  • 21. The NUMA misnomer? − NUMA = a scalable CPU design for multi core processors (a good thing). − The “rule of thumb” guidance for determining NUMA boundaries: − RAM / logical cores − E.g. 64 GB RAM / [2 * quad core CPU] = 8GB boundary − My guidance: “It depends” on your hardware: check your specific configuration using CoreInfo & PerfMon − Hypervisor agnostic
  • 22. NUMA example A HP DL380 G7 with 64GB RAM and 2 hex core processors Hyper threading enabled In this particular case, there is a 1:1 ratio between CPU sockets and NUMA nodes, meaning that there are 2 NUMA nodes of 32 GB each.
  • 23. 7. Design and test a back up strategy − Align strategy with SLAs − Remember SQL backups don‟t cover everything (farm config) − Document your farm configuration using PowerShell or 3rd party tools e.g. SPDocKit
  • 24. What’s backed up? Configuration Setting 2007 SP2010 farm-only config SP2010 with SPDocKit A/V settings. N Y Y Diagnostic logging settings. N Y Y IRM N Y Y Farm solution store N Y Y Application pool settings, including service accounts (all accounts that run as Web applications, including the crawler N N account and the search account). Y Alternate access mapping settings. N N Y Farm-level search settings. N N Y External service connection settings. N N Y Workflow management settings. N N Y E-mail settings. N Outbound only Y Usage analysis processing settings. N N Y Content deployment settings. N N Y Timer job settings. N N Y Recycle Bin settings and other Web application general N N settings. Y Administrator-deployed form templates. N N Y Default quota templates. N N Y Database names and locations. N N Y Web application names and databases. Be sure to document the content database names associated with each Web N N application. Y Crawler impact rules. N N Y Activated features. N N Y Blocked file types. N N Y Check out SPDocKit at http://tinyurl.com/c6p6lus
  • 25. 8. Test, test and test again “No test farm equals no production farm!” Andrew Woodward − Includes:  Cumulative updates  Service Packs  Topology changes  IIS changes − Every environment is different
  • 26. 9. Utilise PowerShell − STSADM is deprecated − Not just for developers − MS product agnostic − Dozens of uses: removing GUIDs, automating installs, log checking, etc …but don’t forget to test your scripts!
  • 27. 10. Use crowd wisdom − “Many Are Smarter Than the Few” − Use social networking tools to keep up to date, e.g. “RBS is not „the solution to world hunger‟” Spencer Harbar “Cumulative Updates are not Service packs” Todd Klindt “SharePoint‟s farm-only config leaves a lot to be desired” Sean McDonough
  • 28. Summary − It‟s not just SharePoint − Understand the capabilities and supported scenarios − “Default settings” aren‟t always sufficient − Social tools can aid decision making − Plan early to “dodge the bullet” 28
  • 29. Thanks… …to you for listening …to Sean McDonough for reviewing most of the slides

Editor's Notes

  1. Google+ also offers Hangouts - a free video conferencing tool for users. We included Hangouts as we see video being a powerful way to connect users.You choose who to hang out with, up to a maximum of ten people. If you want more exposure you can broadcast your hangout to the web; you can even watch a YouTube video together and share documents.Michael Dell is already using it to talk to his customers, TV presentersin the US are using it to talk more intimately with their audiences, and Will.i.am is using as part of his engagement during concerts. The Dalai Lama is also using Hangouts.You could imagine a time when Landrover runs a competition for 10 enthusiasts to hangout with the engineers behind the car; and the rest can just watch the broadcast
  2. Good afternoon, it’s great to be here as part of Mindshare’s Social Immersion Day. My name is Paul Coffey and I am one of the leads for Google’s social advertising products in the UK.
  3. http://technet.microsoft.com/en-us/library/cc262787.aspx
  4. Default settings:Data: 1MBLogs: 10%“While SSD’s might reduce the IO latency for random read operations, they don’t negate the need to continue to adhere to proper design principals for primary keys, fill factor on indexes, and index maintenance. ”“Paul’s answer to the question was very practical and dealt with the wasted space utilization that excessive index fragmentation can cause in a database that uses a uniqueidentifier column with newid() as the primary key, and given the cost per gigabyte for SSD storage this could be quite significant.”“One thing to consider is that an SSD while faster still has an upper limit to the number of I/O operations per second (IOPS) that it can perform. ”http://www.sqlskills.com/blogs/jonathan/post/Does-Index-Fragmentation-Matter-with-SSDe28099s.aspx
  5. (KB 841057) Content DBs fully normalised for scale / efficiency
  6. (KB 841057) Content DBs fully normalised for scale / efficiency
  7. (KB 841057) Content DBs fully normalised for scale / efficiency
  8. (KB 841057) Content DBs fully normalised for scale / efficiency
  9. RPE = “Brian Alderman” from Best Practices 2011 in London
  10. Get-SPScripts, by Philip Childs