SlideShare ist ein Scribd-Unternehmen logo
1 von 47
Downloaden Sie, um offline zu lesen
HIT308
The Ultimate SharePoint Best
      Practice Session
Lessons Learned from Years of
  SharePoint Deployments

         Michael Noel
    Convergent Computing
    Twitter: @michaelTnoel
Michael Noel
• Technology book author; Over 15 titles translated into 20
  languages worldwide
• Partner at Convergent Computing (www.cco.com) – San
  Francisco Bay Area based Consultants
• Specialties in SharePoint, Exchange, Security, and more…
Session Agenda
         g

•   Farm Architecture
•   Virtualized Farm Architecture
•   High Availability Design
    Hi h A il bilit D i
•   Logical Architecture
•   Hardware and Software
•   SharePoint Installation
•   Kerberos Authentication
Farm Architecture
F    A hit t

Best Practice SharePoint
        Designs
Farm Architecture
All-in-one Server

• All Roles and SQL on one
  server
• Often seen in small farms
• SQL contention with
            t ti      ith
  SharePoint
• Easy to deploy, but not best
  practice
• No ability for test
  environment
      i        t
• NOTE: Do not use SQL
  Express in Production!
Farm Architecture
Dedicated SQL Database Server



• Dedicated SQL Server
• All SharePoint roles
  on single box
• Less Disk IO
• Greater Performance
• Still no test
  environment…
  environment
Farm Architecture
Smallest Highly Available Farm

• 2 Web/Query/Application
  /Central Admin/Inbound
  Email Servers
• 1 Dedicated Index Server
  (With Web role to allow it to
  crawl content)
• 2 SQL Standard Edition
  Cluster Nodes
  (Active/Passive) – Mirror
  also option
• Smallest highly available
  farm
Farm Architecture
Scalability

              Scale up and Scale out
                                 out…
Virtualized Farm
  Architecture

Less Hardware, less
      cost…
      cost
Virtualized Farm Architecture
Easy and Supported


• Microsoft Hyper-V (R2 current version) or
  VMware ESX supported (KB 897615)
• Great Windows Licensing Options (Ent =
  4 licenses, Datacenter = unlimited)
• Allows for multiple farms, more servers
• L
  Less cost, more f il
           t       failover options (Li
                              ti    (Live
  Migration / Vmotion)
• Do not overcommit resources!
Virtualized Farm Architecture
Cost Effective Farm / No HA




  Allows organizations th t wouldn’t normally b able t
  All          i ti    that      ld ’t      ll be bl to
  have a test environment to run one
  Allows for separation of the database role onto a
               p
  dedicated server
  Can be easily scaled out in the future
Virtualized Farm Architecture
Fully Redundant Farm with only Two Servers


High-
Availability
across H t
         Hosts
All
components
virtualized
Uses only
two Windows
Ent Edition
Licenses
Li
Virtualized Farm Architecture
    Best practice, Highly Available and Scalable Farm
Highest
transaction
servers are
physical
Multiple farm
M lti l f
support, with
DBs for all
farms on the
f          h
SQL cluster
Only five
    y
physical
servers total,
      g
but high
performance
Virtualized Farm Architecture
Virtualization Scalability
High A il bili
Hi h Availability
  Architecture

Network Load Balancing
                     g
  and SQL Database
       Mirroring
High Availability Architecture
Network Load Balancing


• H d
  Hardware B
           Based L d B l
               d Load Balancing i B t
                            i is Best
  ●   F5
  ●   Cisco Content Switch
  ●   Citrix Netscaler
• Windows Network Load Balancing
  Supported
  ●   Unicast – Use two NICs
  ●   Multicast – Requires Router Support
                    q               pp
High Availability Architecture
    Network Load Balancing - Sample

●   Web Role Servers
     • sp1.companyabc.com (10.0.0.101) – Web Role Server #1
     • sp2.companyabc.com (10.0.0.102) – Web Role Server #2
●   Clustered VIPs shared between SP1 and SP2 (Create A
    records in DNS)
     • spnlb.companyabc.com (10.0.0.103) - Cluster
     • spca.companyabc.com (10 0 0 104) – SP C t l Ad i
                      b      (10.0.0.104)     Central Admin
     • ssp1.companyabc.com (10.0.0.105) – SSP
     • spsmtp.companyabc.com (10.0.0.106) – Inbound Email
        p    p    p y          (          )
     • home.companyabc.com (10.0.0.107) – Main SP Web App
     • mysite.companyabc.com (10.0.0.108) – My Sites
High Availability Architecture
SQL Database Mirroring


• A il bl i SQL S
  Available in      Server
  2005/2008, both Standard and
  Enterprise Mi
  E t    i Mirroring
                   i
• Keep a full copy of Database on
  another server
• Asynchronous (good for WAN
  scenarios, Enterprise edition only)
  or Synchronous
High Availability Architecture
Database Mirroring – Single Site Option

• Single Site
• Synchronous
  Replication
• Uses a SQL
  Witness Server to
  Failover
  Automatically
  A        i ll
• Mirror all
  SharePoint DBs in
  the Farm
• Use a SQL Alias to
  switch to Mirror
     it h t Mi
  Instance
High Availability Architecture
 Database Mirroring – Cross Site HA Mirroring Option

• T
  Two Sites
       Sit
• 1 ms
  Latencyy
• 1GB
  Bandwidth
• Farm
  Servers in
  each
  location
• Auto
  Failover
  F il
High Availability Architecture
   Database Mirroring – Warm Farm Asynchronous Option

• Two Sites
• Two Farms
  (one warm
  farm)
• Mirror only
  Content DBs
• Failover is
  Manual
• M t Reattach
  Must R tt h
  DBs
• Must re index
        re-index
Logical Architecture

Do it right the first time…
Logical Architecture
Web Application Architecture

• Consider creating multiple Web Apps
• Example:
  ● spca.companyabc.com
  ● ssp1.companyabc.com
  ● mysite.companyabc.com
  ● home companyabc com
    home.companyabc.com
• Flexible and scalable!
Logical Architecture
Distribute by Default

• Distribute content across multiple Site
  Collections
• Distribute Site Collections Across
  Multiple DBs
• M lti l d t b
  Multiple databases = more controlled
                                  t ll d
  DB growth
• Try to keep your Content DBs
  manageable in size (
        g              (50-100GB)  )
Logical Architecture
Sample Logical Architecture
Hardware and
    H d        d
      Software
Determining the right tools
       for the job
Hardware and Software
Disk, Memory, and Processor

• SQL Databases Require large amounts of
  space!
• Allocate Disk Space for Index and Q y
                 p                  Query
  Servers as well
• Index corpus can g
            p      grow to 5%-20% of total size
  of data indexed
• Database and Index Servers require most RAM
  (4GB, 8GB, or more)
• Multi-core processors recommended
Hardware and Software
Windows Server Versions

• Windows Server 2008 R2 (or RTM) highly
  recommended!
• Critical that new servers run x64, required for
                                   , q
  SharePoint 2010
• SharePoint servers are fine with Standard
  edition of Windows, no extra gain for Enterprise
• SQL Servers may require Enterprise edition if
  using SQL Enterprise
Hardware and Software
SQL Server Versions

• SQL Server 2008 Recommended
    Q
• 64 bit also highly recommended (required for
  SharePoint 2010)
• SQL Server 2005 still supported
• SQL 2000 supported for Sharepoint 2007, but
  not for 2010, and not recommended
     t f 2010      d t              d d
• Separate SQL Reporting Services server may
  be required for intensive reporting
• Standard edition of SQL generally fine, except
  for very large environments
         y g
SharePoint
   Installation
Getting the steps right
SharePoint Installation
Service Accounts

• Never use a single service account!
• Create the Following Accounts
  ●   SQL Admin A
           Ad i Account    t
  ●   Installation Account
  ●   SharePoint Farm Admin
      S
  ●   Search Admin
  ●   Default Content Access Account
  ●   Application Pool Identity Accounts
SharePoint Installation
Installation Process



• Choose
  ‘Complete’
  ‘C     l t ’
  Installation
• Do not select
  ‘Stand-alone’ for
   Stand alone
  a Production
  environment!
SharePoint Installation
Installation Process



• Choose Index
  Location during
  Install
• Index location
  can be changed
  later, but more
  difficult
SharePoint Installation
Command-line Installation of SharePoint



• Learn to install from Command-line
• Only way to specify SPCA Database
  Name
• SETUP, PSCONFIG and STSADM
• PSC fi i your f i d!
  PSConfig is         friend!
• Powershell is the future here…
SharePoint Installation
Running the Config Wizard to Install Servers


• Consider PSConfig
• Use Easy to remember port for
  SPCA (i e 8888)
         (i.e.
• Better still, change SPCA to
  443 later
• Use Common Database
  Naming Convention
• Account running wizard needs
  DBCreator and Security Admin
                         y
  rights on SQL Server
• Run the wizard on additional
  servers as necessary
SharePoint Installation
Create a SQL and/or DNS Alias!




                            • Most flexible approach!
                            • spsql abc com = sql1
                              spsql.abc.com
Kerberos
    Authentication
Security, Security, Security
       y         y         y
Kerberos Authentication
Enable for Best practice Security!


• Use Kerberos when creating Web Apps
• Extra steps required, but worth it…
           p    q     ,
Kerberos Authentication
Step 1: Create SPNs for Web Apps

• Create Service Principle Names (SPNs)
• Used for impersonation
Kerberos Authentication
Step 2: Create SPNs for SQL

• Create SPNs for SQL
• Syntax similar to following:
  ●   Setspn.exe
      Setspn exe -A MSSQLSvc/spsql:1433
      COMPANYABCSRV-SQL-DB
  ●   Setspn.exe –A
      MSSQLSvc/spsql.companyabc.com:1433
      COMPANYABCSRV-SQL-DB
• MSSQLSvc = Default instance, if named
                         instance
  instance, specify the name instead
• In this example SRV SQL DB is the SQL Admin
          example, SRV-SQL-DB
  account
Kerberos Authentication
Step 3: Allow App Pool accounts and SP Computers to
Delegate

• Use ADUC
• SharePoint
  Web Server
  Computer
       p
  Accounts
• App Pool
  Identity
  Accounts
  A        t
Kerberos Authentication
 Step 4: Edit Applicationhost.config
• Windows Server 2008 only
• Modify the ApplicationHost.config file
      <windowsAuthentication enabled="true" useKernelMode="true"
                  useAppPoolCredentials="true">
Kerberos Authentication
Step 5: Enable Kerberos on Web App

 • Enable Kerberos on the Web App (if not
   already turned on)
    ●   Go t A li ti Management –
        G to Application M               t
        Authentication Providers
    ●   Choose the appropriate Web Application
    ●   Click on the link for ‘Default’ under Zone
    ●   Change t I t
        Ch       to Integrated Windows Authentication
                            t d Wi d       A th ti ti
        - Kerberos (Negotiate)
 • R ii
   Run iisreset / f
              t /noforce from the command
                         f    th        d
   prompt
Key Takeaways
  y        y

• Highly consider Virtualization for SharePoint
• Create a test farm!
• Consider Database Mirroring and/or NLB for
  SharePoint HA
• Deploy the ‘five server farm’ for full High
      p y                                  g
  Availability
• Plan today for SharePoint 2010 (more on this
  in the next session!)
• Enable Kerberos Authentication
For More Information

• SharePoint Database Mirroring Whitepaper
  (http://tinyurl.com/mirrorsp)
  (htt //ti     l    / i      )
• Database Mirroring Failover Case Study
  (http://tinyurl.com/mirrorspcs)
• Microsoft ‘Virtualizing S
            f ‘           SharePoint Infrastructure’
                                       f           ’
  Whitepaper (http://tinyurl.com/virtualsp)
• SharePoint Log Shipping Whitepaper
  (http://tinyurl.com/logshipsp)
  (htt //ti     l    /l   hi    )
• Microsoft Kerberos Guidance for SP
  (http://tinyurl.com/kerbsp)
Your Feedback is Important

Please fill out a session evaluation form and
  either put them in the basket near the exit
      or drop them off at the conference
                registration desk.

                Thank you!


       Session Code: HIT308
Michael Noel
Twitter: @MichaelTNoel
     www.cco.com

Session Code: HIT308
                              Slide Deck:
  http://www.devconnections.com/updates/LasVegas_Fall09/SharePoint

Weitere ähnliche Inhalte

Was ist angesagt?

Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...
Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...
Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...
Michael Noel
 
KoprowskiT - SQLBITS X - 2am a disaster just began
KoprowskiT - SQLBITS X - 2am a disaster just beganKoprowskiT - SQLBITS X - 2am a disaster just began
KoprowskiT - SQLBITS X - 2am a disaster just began
Tobias Koprowski
 

Was ist angesagt? (20)

The Alfresco ECM 1 Billion Document Benchmark on AWS and Aurora - Benchmark ...
The Alfresco ECM 1 Billion Document Benchmark on AWS and Aurora  - Benchmark ...The Alfresco ECM 1 Billion Document Benchmark on AWS and Aurora  - Benchmark ...
The Alfresco ECM 1 Billion Document Benchmark on AWS and Aurora - Benchmark ...
 
Enterprise PostgreSQL - EDB's answer to conventional Databases
Enterprise PostgreSQL - EDB's answer to conventional DatabasesEnterprise PostgreSQL - EDB's answer to conventional Databases
Enterprise PostgreSQL - EDB's answer to conventional Databases
 
Technical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPASTechnical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPAS
 
Pascal benois performance_troubleshooting-spsbe18
Pascal benois performance_troubleshooting-spsbe18Pascal benois performance_troubleshooting-spsbe18
Pascal benois performance_troubleshooting-spsbe18
 
Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...
Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...
Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...
 
KoprowskiT_Session2_SDNEvent_SourceControlForDBA
KoprowskiT_Session2_SDNEvent_SourceControlForDBAKoprowskiT_Session2_SDNEvent_SourceControlForDBA
KoprowskiT_Session2_SDNEvent_SourceControlForDBA
 
Powering GIS Application with PostgreSQL and Postgres Plus
Powering GIS Application with PostgreSQL and Postgres Plus Powering GIS Application with PostgreSQL and Postgres Plus
Powering GIS Application with PostgreSQL and Postgres Plus
 
KoprowskiT - SQLBITS X - 2am a disaster just began
KoprowskiT - SQLBITS X - 2am a disaster just beganKoprowskiT - SQLBITS X - 2am a disaster just began
KoprowskiT - SQLBITS X - 2am a disaster just began
 
TechBeats #2
TechBeats #2TechBeats #2
TechBeats #2
 
KoprowskiT_SPBizConference_2AMaDisasterJustBegan
KoprowskiT_SPBizConference_2AMaDisasterJustBeganKoprowskiT_SPBizConference_2AMaDisasterJustBegan
KoprowskiT_SPBizConference_2AMaDisasterJustBegan
 
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...
 
Scale your Alfresco Solutions
Scale your Alfresco Solutions Scale your Alfresco Solutions
Scale your Alfresco Solutions
 
SharePoint Saturday San Antonio: SharePoint 2010 Performance
SharePoint Saturday San Antonio: SharePoint 2010 PerformanceSharePoint Saturday San Antonio: SharePoint 2010 Performance
SharePoint Saturday San Antonio: SharePoint 2010 Performance
 
Moving Windows Applications to the Cloud
Moving Windows Applications to the CloudMoving Windows Applications to the Cloud
Moving Windows Applications to the Cloud
 
MySQL 5.7 what's new
MySQL 5.7 what's newMySQL 5.7 what's new
MySQL 5.7 what's new
 
SQL Azure for ITPros
SQL Azure for ITProsSQL Azure for ITPros
SQL Azure for ITPros
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
 
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
 
be the captain of your connections deployment
be the captain of your connections deploymentbe the captain of your connections deployment
be the captain of your connections deployment
 
Tech-Spark: SQL Server on Linux
Tech-Spark: SQL Server on LinuxTech-Spark: SQL Server on Linux
Tech-Spark: SQL Server on Linux
 

Andere mochten auch

HAD04: Building it Right the First Time; Best Practice SharePoint 2010 Infras...
HAD04: Building it Right the First Time; Best Practice SharePoint 2010 Infras...HAD04: Building it Right the First Time; Best Practice SharePoint 2010 Infras...
HAD04: Building it Right the First Time; Best Practice SharePoint 2010 Infras...
Michael Noel
 

Andere mochten auch (7)

European SharePoint Best Practice Conference - April 2011
European SharePoint Best Practice Conference - April 2011European SharePoint Best Practice Conference - April 2011
European SharePoint Best Practice Conference - April 2011
 
SharePoint Usability and Accesibility Best Practices Including 508 Compliance...
SharePoint Usability and Accesibility Best Practices Including 508 Compliance...SharePoint Usability and Accesibility Best Practices Including 508 Compliance...
SharePoint Usability and Accesibility Best Practices Including 508 Compliance...
 
HAD04: Building it Right the First Time; Best Practice SharePoint 2010 Infras...
HAD04: Building it Right the First Time; Best Practice SharePoint 2010 Infras...HAD04: Building it Right the First Time; Best Practice SharePoint 2010 Infras...
HAD04: Building it Right the First Time; Best Practice SharePoint 2010 Infras...
 
Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...
Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...
Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...
 
SharePoint Best Practice and the Cloud
SharePoint Best Practice and the CloudSharePoint Best Practice and the Cloud
SharePoint Best Practice and the Cloud
 
Configuring SharePoint Search for an Optimal Document Management Experience
Configuring SharePoint Search for an Optimal Document Management ExperienceConfiguring SharePoint Search for an Optimal Document Management Experience
Configuring SharePoint Search for an Optimal Document Management Experience
 
Best Practice SharePoint Architecture
Best Practice SharePoint ArchitectureBest Practice SharePoint Architecture
Best Practice SharePoint Architecture
 

Ähnlich wie Sharepoint Deployments

Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012
Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012
Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012
Michael Noel
 
SharePoint 2014: Where to save my data, for devs!
SharePoint 2014: Where to save my data, for devs!SharePoint 2014: Where to save my data, for devs!
SharePoint 2014: Where to save my data, for devs!
Ben Steinhauser
 

Ähnlich wie Sharepoint Deployments (20)

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
 
Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012
Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012
Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012
 
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
 
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...
 
Introduction to SharePoint for SQLserver DBAs
Introduction to SharePoint for SQLserver DBAsIntroduction to SharePoint for SQLserver DBAs
Introduction to SharePoint for SQLserver DBAs
 
A Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
A Real World Guide to Building Highly Available Fault Tolerant SharePoint FarmsA Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
A Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
 
Server 2016 sneak peek
Server 2016 sneak peekServer 2016 sneak peek
Server 2016 sneak peek
 
SharePoint 2014: Where to save my data, for devs!
SharePoint 2014: Where to save my data, for devs!SharePoint 2014: Where to save my data, for devs!
SharePoint 2014: Where to save my data, for devs!
 
SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4
 
Deploying and Managing PowerPivot for SharePoint
Deploying and Managing PowerPivot for SharePointDeploying and Managing PowerPivot for SharePoint
Deploying and Managing PowerPivot for SharePoint
 
Navigating the turbulence on take-off: Setting up SharePoint on Azure IaaS th...
Navigating the turbulence on take-off: Setting up SharePoint on Azure IaaS th...Navigating the turbulence on take-off: Setting up SharePoint on Azure IaaS th...
Navigating the turbulence on take-off: Setting up SharePoint on Azure IaaS th...
 
Navigating the turbulence on takeoff: Setting up SharePoint on Azure IaaS the...
Navigating the turbulence on takeoff: Setting up SharePoint on Azure IaaS the...Navigating the turbulence on takeoff: Setting up SharePoint on Azure IaaS the...
Navigating the turbulence on takeoff: Setting up SharePoint on Azure IaaS the...
 
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
 
Building Real World Application with Azure
Building Real World Application with AzureBuilding Real World Application with Azure
Building Real World Application with Azure
 
Sum209
Sum209Sum209
Sum209
 
OpenStack and Windows
OpenStack and WindowsOpenStack and Windows
OpenStack and Windows
 
Experience sql server on l inux and docker
Experience sql server on l inux and dockerExperience sql server on l inux and docker
Experience sql server on l inux and docker
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!
 
Practical SharePoint 2013 Development Environment
Practical SharePoint 2013  Development EnvironmentPractical SharePoint 2013  Development Environment
Practical SharePoint 2013 Development Environment
 
SharePoint Saturday The Conference 2011 - SP2010 Performance
SharePoint Saturday The Conference 2011 - SP2010 PerformanceSharePoint Saturday The Conference 2011 - SP2010 Performance
SharePoint Saturday The Conference 2011 - SP2010 Performance
 

Mehr von Information Technology

Mehr von Information Technology (20)

Web303
Web303Web303
Web303
 
Sql Server Security Best Practices
Sql Server Security Best PracticesSql Server Security Best Practices
Sql Server Security Best Practices
 
SAN
SANSAN
SAN
 
SAN Review
SAN ReviewSAN Review
SAN Review
 
SQL 2005 Disk IO Performance
SQL 2005 Disk IO PerformanceSQL 2005 Disk IO Performance
SQL 2005 Disk IO Performance
 
RAID Review
RAID ReviewRAID Review
RAID Review
 
Review of SQL
Review of SQLReview of SQL
Review of SQL
 
Sql 2005 high availability
Sql 2005 high availabilitySql 2005 high availability
Sql 2005 high availability
 
IIS 7: The Administrator’s Guide
IIS 7: The Administrator’s GuideIIS 7: The Administrator’s Guide
IIS 7: The Administrator’s Guide
 
MOSS 2007 Deployment Fundamentals -Part2
MOSS 2007 Deployment Fundamentals -Part2MOSS 2007 Deployment Fundamentals -Part2
MOSS 2007 Deployment Fundamentals -Part2
 
MOSS 2007 Deployment Fundamentals -Part1
MOSS 2007 Deployment Fundamentals -Part1MOSS 2007 Deployment Fundamentals -Part1
MOSS 2007 Deployment Fundamentals -Part1
 
Clustering and High Availability
Clustering and High Availability Clustering and High Availability
Clustering and High Availability
 
F5 beyond load balancer (nov 2009)
F5 beyond load balancer (nov 2009)F5 beyond load balancer (nov 2009)
F5 beyond load balancer (nov 2009)
 
WSS 3.0 & SharePoint 2007
WSS 3.0 & SharePoint 2007WSS 3.0 & SharePoint 2007
WSS 3.0 & SharePoint 2007
 
SharePoint Topology
SharePoint Topology SharePoint Topology
SharePoint Topology
 
Microsoft Clustering
Microsoft ClusteringMicrosoft Clustering
Microsoft Clustering
 
Scalable Internet Servers and Load Balancing
Scalable Internet Servers and Load BalancingScalable Internet Servers and Load Balancing
Scalable Internet Servers and Load Balancing
 
Web Hacking
Web HackingWeb Hacking
Web Hacking
 
Migration from ASP to ASP.NET
Migration from ASP to ASP.NETMigration from ASP to ASP.NET
Migration from ASP to ASP.NET
 
Internet Traffic Monitoring and Analysis
Internet Traffic Monitoring and AnalysisInternet Traffic Monitoring and Analysis
Internet Traffic Monitoring and Analysis
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Kürzlich hochgeladen (20)

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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 

Sharepoint Deployments

  • 1. HIT308 The Ultimate SharePoint Best Practice Session Lessons Learned from Years of SharePoint Deployments Michael Noel Convergent Computing Twitter: @michaelTnoel
  • 2. Michael Noel • Technology book author; Over 15 titles translated into 20 languages worldwide • Partner at Convergent Computing (www.cco.com) – San Francisco Bay Area based Consultants • Specialties in SharePoint, Exchange, Security, and more…
  • 3. Session Agenda g • Farm Architecture • Virtualized Farm Architecture • High Availability Design Hi h A il bilit D i • Logical Architecture • Hardware and Software • SharePoint Installation • Kerberos Authentication
  • 4. Farm Architecture F A hit t Best Practice SharePoint Designs
  • 5. Farm Architecture All-in-one Server • All Roles and SQL on one server • Often seen in small farms • SQL contention with t ti ith SharePoint • Easy to deploy, but not best practice • No ability for test environment i t • NOTE: Do not use SQL Express in Production!
  • 6. Farm Architecture Dedicated SQL Database Server • Dedicated SQL Server • All SharePoint roles on single box • Less Disk IO • Greater Performance • Still no test environment… environment
  • 7. Farm Architecture Smallest Highly Available Farm • 2 Web/Query/Application /Central Admin/Inbound Email Servers • 1 Dedicated Index Server (With Web role to allow it to crawl content) • 2 SQL Standard Edition Cluster Nodes (Active/Passive) – Mirror also option • Smallest highly available farm
  • 8. Farm Architecture Scalability Scale up and Scale out out…
  • 9. Virtualized Farm Architecture Less Hardware, less cost… cost
  • 10. Virtualized Farm Architecture Easy and Supported • Microsoft Hyper-V (R2 current version) or VMware ESX supported (KB 897615) • Great Windows Licensing Options (Ent = 4 licenses, Datacenter = unlimited) • Allows for multiple farms, more servers • L Less cost, more f il t failover options (Li ti (Live Migration / Vmotion) • Do not overcommit resources!
  • 11. Virtualized Farm Architecture Cost Effective Farm / No HA Allows organizations th t wouldn’t normally b able t All i ti that ld ’t ll be bl to have a test environment to run one Allows for separation of the database role onto a p dedicated server Can be easily scaled out in the future
  • 12. Virtualized Farm Architecture Fully Redundant Farm with only Two Servers High- Availability across H t Hosts All components virtualized Uses only two Windows Ent Edition Licenses Li
  • 13. Virtualized Farm Architecture Best practice, Highly Available and Scalable Farm Highest transaction servers are physical Multiple farm M lti l f support, with DBs for all farms on the f h SQL cluster Only five y physical servers total, g but high performance
  • 15. High A il bili Hi h Availability Architecture Network Load Balancing g and SQL Database Mirroring
  • 16. High Availability Architecture Network Load Balancing • H d Hardware B Based L d B l d Load Balancing i B t i is Best ● F5 ● Cisco Content Switch ● Citrix Netscaler • Windows Network Load Balancing Supported ● Unicast – Use two NICs ● Multicast – Requires Router Support q pp
  • 17. High Availability Architecture Network Load Balancing - Sample ● Web Role Servers • sp1.companyabc.com (10.0.0.101) – Web Role Server #1 • sp2.companyabc.com (10.0.0.102) – Web Role Server #2 ● Clustered VIPs shared between SP1 and SP2 (Create A records in DNS) • spnlb.companyabc.com (10.0.0.103) - Cluster • spca.companyabc.com (10 0 0 104) – SP C t l Ad i b (10.0.0.104) Central Admin • ssp1.companyabc.com (10.0.0.105) – SSP • spsmtp.companyabc.com (10.0.0.106) – Inbound Email p p p y ( ) • home.companyabc.com (10.0.0.107) – Main SP Web App • mysite.companyabc.com (10.0.0.108) – My Sites
  • 18. High Availability Architecture SQL Database Mirroring • A il bl i SQL S Available in Server 2005/2008, both Standard and Enterprise Mi E t i Mirroring i • Keep a full copy of Database on another server • Asynchronous (good for WAN scenarios, Enterprise edition only) or Synchronous
  • 19. High Availability Architecture Database Mirroring – Single Site Option • Single Site • Synchronous Replication • Uses a SQL Witness Server to Failover Automatically A i ll • Mirror all SharePoint DBs in the Farm • Use a SQL Alias to switch to Mirror it h t Mi Instance
  • 20. High Availability Architecture Database Mirroring – Cross Site HA Mirroring Option • T Two Sites Sit • 1 ms Latencyy • 1GB Bandwidth • Farm Servers in each location • Auto Failover F il
  • 21. High Availability Architecture Database Mirroring – Warm Farm Asynchronous Option • Two Sites • Two Farms (one warm farm) • Mirror only Content DBs • Failover is Manual • M t Reattach Must R tt h DBs • Must re index re-index
  • 22. Logical Architecture Do it right the first time…
  • 23. Logical Architecture Web Application Architecture • Consider creating multiple Web Apps • Example: ● spca.companyabc.com ● ssp1.companyabc.com ● mysite.companyabc.com ● home companyabc com home.companyabc.com • Flexible and scalable!
  • 24. Logical Architecture Distribute by Default • Distribute content across multiple Site Collections • Distribute Site Collections Across Multiple DBs • M lti l d t b Multiple databases = more controlled t ll d DB growth • Try to keep your Content DBs manageable in size ( g (50-100GB) )
  • 26. Hardware and H d d Software Determining the right tools for the job
  • 27. Hardware and Software Disk, Memory, and Processor • SQL Databases Require large amounts of space! • Allocate Disk Space for Index and Q y p Query Servers as well • Index corpus can g p grow to 5%-20% of total size of data indexed • Database and Index Servers require most RAM (4GB, 8GB, or more) • Multi-core processors recommended
  • 28. Hardware and Software Windows Server Versions • Windows Server 2008 R2 (or RTM) highly recommended! • Critical that new servers run x64, required for , q SharePoint 2010 • SharePoint servers are fine with Standard edition of Windows, no extra gain for Enterprise • SQL Servers may require Enterprise edition if using SQL Enterprise
  • 29. Hardware and Software SQL Server Versions • SQL Server 2008 Recommended Q • 64 bit also highly recommended (required for SharePoint 2010) • SQL Server 2005 still supported • SQL 2000 supported for Sharepoint 2007, but not for 2010, and not recommended t f 2010 d t d d • Separate SQL Reporting Services server may be required for intensive reporting • Standard edition of SQL generally fine, except for very large environments y g
  • 30. SharePoint Installation Getting the steps right
  • 31. SharePoint Installation Service Accounts • Never use a single service account! • Create the Following Accounts ● SQL Admin A Ad i Account t ● Installation Account ● SharePoint Farm Admin S ● Search Admin ● Default Content Access Account ● Application Pool Identity Accounts
  • 32. SharePoint Installation Installation Process • Choose ‘Complete’ ‘C l t ’ Installation • Do not select ‘Stand-alone’ for Stand alone a Production environment!
  • 33. SharePoint Installation Installation Process • Choose Index Location during Install • Index location can be changed later, but more difficult
  • 34. SharePoint Installation Command-line Installation of SharePoint • Learn to install from Command-line • Only way to specify SPCA Database Name • SETUP, PSCONFIG and STSADM • PSC fi i your f i d! PSConfig is friend! • Powershell is the future here…
  • 35. SharePoint Installation Running the Config Wizard to Install Servers • Consider PSConfig • Use Easy to remember port for SPCA (i e 8888) (i.e. • Better still, change SPCA to 443 later • Use Common Database Naming Convention • Account running wizard needs DBCreator and Security Admin y rights on SQL Server • Run the wizard on additional servers as necessary
  • 36. SharePoint Installation Create a SQL and/or DNS Alias! • Most flexible approach! • spsql abc com = sql1 spsql.abc.com
  • 37. Kerberos Authentication Security, Security, Security y y y
  • 38. Kerberos Authentication Enable for Best practice Security! • Use Kerberos when creating Web Apps • Extra steps required, but worth it… p q ,
  • 39. Kerberos Authentication Step 1: Create SPNs for Web Apps • Create Service Principle Names (SPNs) • Used for impersonation
  • 40. Kerberos Authentication Step 2: Create SPNs for SQL • Create SPNs for SQL • Syntax similar to following: ● Setspn.exe Setspn exe -A MSSQLSvc/spsql:1433 COMPANYABCSRV-SQL-DB ● Setspn.exe –A MSSQLSvc/spsql.companyabc.com:1433 COMPANYABCSRV-SQL-DB • MSSQLSvc = Default instance, if named instance instance, specify the name instead • In this example SRV SQL DB is the SQL Admin example, SRV-SQL-DB account
  • 41. Kerberos Authentication Step 3: Allow App Pool accounts and SP Computers to Delegate • Use ADUC • SharePoint Web Server Computer p Accounts • App Pool Identity Accounts A t
  • 42. Kerberos Authentication Step 4: Edit Applicationhost.config • Windows Server 2008 only • Modify the ApplicationHost.config file <windowsAuthentication enabled="true" useKernelMode="true" useAppPoolCredentials="true">
  • 43. Kerberos Authentication Step 5: Enable Kerberos on Web App • Enable Kerberos on the Web App (if not already turned on) ● Go t A li ti Management – G to Application M t Authentication Providers ● Choose the appropriate Web Application ● Click on the link for ‘Default’ under Zone ● Change t I t Ch to Integrated Windows Authentication t d Wi d A th ti ti - Kerberos (Negotiate) • R ii Run iisreset / f t /noforce from the command f th d prompt
  • 44. Key Takeaways y y • Highly consider Virtualization for SharePoint • Create a test farm! • Consider Database Mirroring and/or NLB for SharePoint HA • Deploy the ‘five server farm’ for full High p y g Availability • Plan today for SharePoint 2010 (more on this in the next session!) • Enable Kerberos Authentication
  • 45. For More Information • SharePoint Database Mirroring Whitepaper (http://tinyurl.com/mirrorsp) (htt //ti l / i ) • Database Mirroring Failover Case Study (http://tinyurl.com/mirrorspcs) • Microsoft ‘Virtualizing S f ‘ SharePoint Infrastructure’ f ’ Whitepaper (http://tinyurl.com/virtualsp) • SharePoint Log Shipping Whitepaper (http://tinyurl.com/logshipsp) (htt //ti l /l hi ) • Microsoft Kerberos Guidance for SP (http://tinyurl.com/kerbsp)
  • 46. Your Feedback is Important Please fill out a session evaluation form and either put them in the basket near the exit or drop them off at the conference registration desk. Thank you! Session Code: HIT308
  • 47. Michael Noel Twitter: @MichaelTNoel www.cco.com Session Code: HIT308 Slide Deck: http://www.devconnections.com/updates/LasVegas_Fall09/SharePoint