Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

SharePoint 2010 High Availability - TechEd Brasil 2010


Published on

  • SharePoint Server Recovery software to instantly recovery of SharePoit database without any problem. The software supported by all versions of MS SharePoint Server and compatible with all versions of MS SQL Server.
    Versions Supported:
    MS SharePoint Server 2007, 2010 and 2013
    MS SQL Server 2000, 2005, 2008, 2008 r2, 2012
    Operating System : Windows 8, 7, Vista, XP, 2003 Server, and 2000

    More information visit
    Are you sure you want to  Yes  No
    Your message goes here
  • Great slides Michael thanks for sharing
    Are you sure you want to  Yes  No
    Your message goes here

SharePoint 2010 High Availability - TechEd Brasil 2010

  1. 1. SETEMBRO, 2010 | SÃO PAULO<br />
  2. 2. CÓDIGO DA SESSÃO:OSP307<br />Soluções para alta disponibilidade e Disaster Recovery no SharePoint 2010<br />Michael Noel<br />Partner<br />Convergent Computing<br />
  3. 3. Michael Noel<br /><ul><li>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 .
  4. 4. Partner at Convergent Computing ( / +1(510)444-5700) – San Francisco, USA Bay Area based Infrastructure/Security specialists for SharePoint, AD, Exchange, Security</li></li></ul><li>What we will cover<br />SharePoint 2010 Structure and which components can be made redundant / highly available<br />Recap and comparison with SharePoint 2007 High Availability<br />Sample Architecture of Redundant/Highly Available Deployments<br />Smallest redundant/highly available farm<br />Mid-sized farms<br />Large farms<br />Virtualization farm architecture<br />SQL Mirroring of Content Databases<br />Synchronous Mirroring in Single Site Model<br />Synchronous Mirroring in Highly Connected DR Site Model<br />Asynchronous Mirroring in DR Site Model<br />Backup/Restore Tips, including info on DPM 2010 Snapshot-based backup for SharePoint<br />
  5. 5. SharePoint 2010 Component Redundancy<br />
  6. 6. SharePoint 2010 Component Redundancy<br />Each SharePoint 2010 server type has different redundancy/availability concerns.<br />Web Server<br />Search Service Application Role<br />Other Service Application Roles<br />Database Server<br />
  7. 7. SharePoint 2010 Component RedundancyWeb Servers<br />Redundancy/HA can be achieved by adding multiple web servers to farm<br />Network Load Balancing can then be configured between the servers<br />Software NLB (Windows NLB) is possible, Hardware NLB (F5, CSS, NetScaler) is preferable<br />Be sure to enable ‘stickiness’ or your users will be prompted to authenticate multiple times and may have functionality break!<br />
  8. 8. SharePoint Component Redundancy‘Search Service Application Role<br />Replaces both Index and Query Roles from 2007 into one Role<br />Processes query results for Web servers<br />Holds the index, either in entirety or a partial copy when using ‘index partitions’<br />Runs the query processor, which merges search results from multiple index partitions, performs security trimming, and other search tasks.<br />Adding multiple Query servers creates redundancy<br />Each Query Server requires a large drive set for the Index partitions. Be sure to set aside enough space! The index size may be from 5% to 30% of the size of the content being indexed. Don’t forget external content sources!<br />
  9. 9. SharePoint Component RedundancyQuery Servers: Index Partitions<br />Portion of the entire Index<br />Can be spread across multiple query servers<br />Multiple index partitions = faster search queries<br />Query mirrors (second copy of an index partition) can be deployed across query servers for redundancy.<br />
  10. 10. SharePoint Component RedundancyCrawl Servers<br />Runs the Crawl component, which creates index partitions and propagates them to query servers<br />Typically used to house the Search Administration component<br />Multiple crawl servers provide High Availability for the crawl architecture<br />Crawl database(s) and Property Database(s) utilized for crawl information and history, and properties for crawled data<br />Multiple crawlers can be associated with each crawl database<br />Can be run on a server with Web role or Query role<br />
  11. 11. SharePoint Component RedundancyDatabase Role<br />Shared Storage Clustering (MSCS) can be used for local server High Availability<br />Mirroring of Content Databases to remote SQL instance is supported (and recommended) More on this…<br />SQL Server 2005/2008 Standard Edition supports two-node Cluster and synchronous mirroring.<br />SQL Server 2005/2008 Enterprise Edition supports more than two-nodes, asynchronous mirroring, and Transparent Data Encryption (SQL 2008 only)<br />SQL Server must be x64 for SharePoint 2010 <br />
  12. 12. SharePoint Component RedundancyRedundancy/HA of Database Server Instance<br />Use SQL Client Aliases for Config DB Server (i.e.<br />Use a second SQL Client Alias for Content DBs (i.e.<br />Loss of SQL Server can be mitigated by simply pointing the alias to a new SQL instance.<br />SQL Server Client tools (Legacy 32bit tools) must be installed on the Web servers to create the aliases<br />
  13. 13. SQL Aliasfor SharePoint<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 />
  14. 14. SharePoint Component RedundancyNotes on SharePoint 2007 Redundancy<br />SharePoint 2007 could only have one index per Shared Services Provider (SSP); now 2010 can have multiple redundant, and scalable index partitions and crawlers<br />SSP Concept gone in favor of Services Architecture<br />Query role in 2007 could not be on same server as Index Server if you needed high availability; this is no longer the case in 2010<br />Database considerations generally the same, although 2010 has significantly more DBs from the start<br />
  15. 15. Highly Available and Redundant 2010 Farm Architecture<br />Examining Several HA and DR Designs for SharePoint 2010 Farms<br />
  16. 16. Farm ArchitectureAll-in-One Farm (No Redundancy)<br />All SharePoint roles and SQL Server on the same box<br />For very small environment without a lot of load<br />SQL contention with SharePoint<br />Easy to deploy, but highest potential for contention<br />
  17. 17. Farm ArchitectureDedicated SQL Database Server (Better Performance / No HA)<br />Dedicated SQL Server<br />All SharePoint roles on single box<br />Disk IO contention lessened by moving SQL off SP Server<br />Greater performance can be gained by breaking SharePoint roles onto separate servers<br />
  18. 18. Farm ArchitectureSmallest Highly-Available Farm<br />2 Web/Query/Crawl Servers<br />2 Database Servers (Clustered or Mirrored)<br />2 Query components for each index partition<br />2 Crawlers for the Crawl DB, one on each server<br />Search Admin Service on one server<br />
  19. 19. Farm ArchitectureMedium Sized Farm<br />2 Web/Query Servers<br />2 Crawl Servers<br />2 Database Servers (Clustered or Mirrored)<br />2 Query components for each index partition<br />2 Crawlers for the Crawl DB, one on each Crawl server<br />Search Admin Service on one Crawl server<br />
  20. 20. Farm ArchitectureLarge Farm<br />Multiple Dedicated Web 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 />
  21. 21. SharePoint 2010 Virtualized Farm Architecture<br />
  22. 22. 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
  23. 23. Allows for separation of the database role onto a dedicated server
  24. 24. 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
  25. 25. All components Virtualized
  26. 26. 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
  27. 27. Multiple farm support, with DBs for all farms on the SQL cluster</li></li></ul><li>Virtualized Farm ArchitectureLarge Virtual Farms<br />
  28. 28. Content Database and Site Collection DR and ScalabilityDistribute by Default<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 />
  29. 29. Sample SP Logical Architecture<br />
  30. 30. Database Mirroring<br />Using SQL 2005/2008 Mirroring for SharePoint Content Databases<br />
  31. 31. SQL Database MirroringHA Solutions using Mirrored Copies of SharePoint Databases<br />New in SQL 2005, available in both Standard and Enterprise editions, improved in SQL 2008<br />Works by keeping a mirror copy of a database or databases on two servers<br />Can be used locally, or the mirror can be remote<br />Can be set to use a two-phase commit process to ensure integrity of data across both servers<br />Can be combined with traditional shared storage clustering to further improve redundancy<br />
  32. 32. SQL Database MirroringSQL Mirroring Modes<br />High Performance (Enterprise Edition only)<br />Asynchronous Mirroring<br />Safety level = OFF<br />Failure of principal server may result in data loss<br />High Availability<br />Synchronous Mirroring<br />Safety level = ON<br />Dual-commit process ensures no data loss<br />Third witness server required<br />High Protection<br />Synchronous Mirroring<br />Safety level = ON<br />Manual failover, no witness server<br />
  33. 33. SQL Database MirroringSQL Mirroring Options<br />Recovery level of databases must be set to FULL<br />SQL System databases cannot be mirrored<br />Synchronous (safety level is FULL) can result in slowness or performance issues if WAN gets congested<br />For Performance reasons, max of 50 SharePoint Databases mirrored per Principal/Mirror Pair is Recommended.<br />Requires unique instances on both principal server and mirror server<br />Backup and Restore database from principal server to mirror server before establishing initial sych.<br />
  34. 34. SQL Database MirroringSQL Mirroring Options<br />Mirroring across farms is only supported on Content Databases (Synchronous of all DBs within a farm is OK)<br />Failover of a Content Database from one instance to another has to be performed through the SharePoint Central Admin tool, PowerShell, STSADM, or with a SQL Client Alias<br />Prerequisite checklist:<br />SQL Services running with identical service accounts on both instances<br />Backup of content databases must be done in ‘NORECOVERY’ mode<br />A full backup and a logs backup must be performed<br />Encryption on endpoints is enabled by default, can be disabled by typing ALTER ENDPOINT Mirroring DISABLED (Mirroring is the name of the endpoint created, must be performed on both sides.<br />
  35. 35. SQL Mirroring DesignsVarious SharePoint Mirrored DB Options<br />Single Site HA Mirrored Farm<br />Synchronous Replication<br />All Servers in one Physical Location<br />Cross Site Mirrored HA Farm<br />Synchronous Replication<br />Servers split across highly connected physical sites<br />Two Farm / Mirrored Content DBs<br />Asynchronous Replication<br />Content Databases Mirrored Only<br />Manual Failover Process<br />
  36. 36. 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 />
  37. 37. 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 />
  38. 38. 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 />More details…<br />
  39. 39. Two Farm / Mirrored Content DBs Failover Options<br />In the event of a failure<br />Witness server can automatically fail content databases to DR farm SQL server<br />Script can be written to attach content databases to farm, this can be automated<br />stsadm -o addcontentdb -url “" -databasename "yourdbname" -databaseserver “YourDBserverinDR“<br />Script should include dnscmd command line utility to delete DNS records for SharePoint and for SSP, then recreate them (with a small TTL) to point to DR location<br />dnscmddnsservername /recorddelete spwebappname A /f<br />dnscmddnsservername /recordadd spwebappname 10 A<br />Script can also include final command to initiate a re-index of the content (since it is new to the DR farm)<br />
  40. 40. Two Farm / Mirrored Content DBs Advantages and Key Notes<br />‘Traditional’ failover has various ill effects on Search and other services.<br />Key things to note about this model:<br />It is extremely import to keep farm servers in both main and DR locations at same patch level, same solutions installed, and configuration within SharePoint Central Admin the same! A good change control process can help here.<br />Create your DNS records with a low TTL (i.e. 10 seconds) in advance. You can’t do this from the GUI, you need to use DNSCMD. This forces clients to refresh their local cache.<br />Mirrored DBs can be set to read-only statusand Indexed on Failover farm.<br />Immediately following failover, Search capability will be down until the re-indexing is finished, unless read-only DBs have been indexed <br />Failing back to the old farm (main) involves a reversal of the process, making it a mirror, then failing over and re-indexing.<br />
  41. 41. Data Redundancy<br />
  42. 42. Backup and Restore Guide for SharePoint<br />Backup SQL Databases (SQL Maintenance Plan or Third-party agent.)<br />Backup OS, System State, and 12-Hive on Front-ends (not needed to backup often)<br />Perform catastrophic backup using Central Admin or PowerShell<br />Do individual site backups using Central Admin or PowerShell<br />Backup IIS metaverse using iisback.vbs<br />Look at third party backup solutions (AvePoint, Commvault, Quest, Symantec, Metalogix, etc…)<br />Consider System Center Data Protection Manager (DPM) 2010 for SharePoint aware backup/restore and item-level recovery<br />
  43. 43. Microsoft System Center Data Protection Manager (DPM 2010) for SharePoint<br />
  44. 44. Features of DPM for SharePoint<br />Item-level recovery of Documents and List Data<br />VSS Snapshot Integration, can snapshot SQL Databases every 15 minutes<br />Backup to Disk (near-term), Backup to Tape (long-term) – Direct integration<br />Not only SharePoint, but File Data, Exchange, SQL, and Bare-metal recovery (Using SRT)<br />
  45. 45. Summary<br />Highly consider Database Mirroring to improve DR capabilities<br />Look at the Mirrored Farm Models for failover<br />Consider a third-party product for improved DR and HA solutions<br />At a minimum, make the SharePoint front-end roles redundant, especially web and query.<br />Mirroring and clustering don’t require expensive software, can use standard edition of SQL/Windows<br />SharePoint Backup and Restore can be greatly enhanced and simplified with DPM 2010<br />
  46. 46. For More Information<br />SharePoint 2010 Unleashed and SharePoint 2007 Unleashed (SAMS Publishing) (<br />Microsoft SQL Mirroring for SharePoint 2007 Whitepaper ( <br />Microsoft SQL Mirroring for SharePoint 2007 Case Study (<br />Microsoft Virtualizing SharePoint 2007 Whitepaper ( <br />Microsoft SharePoint 2010 Search Architecture Diagrams ( <br />
  47. 47. Dúvidas?<br />Michael Noel<br />Twitter: @MichaelTNoel<br /><br />Por favor preencha a avaliação<br />
  48. 48. © 2008 Microsoft Corporation.Todos os direitos reservados.Microsoft, Windows, Windows Vista e outros nomes de produtos são ou podem ser marcas registradas e/ou marcas comerciais nos EUA e/ou outros países.<br />Este documento é meramente informativo e representa a visão atual da Microsoft Corporation a partir da data desta apresentação.Como a Microsoft deve atender a condições de mercado em constante alteração, este documento não deve ser interpretado como um compromisso por parte da Microsoft, e a Microsoft não pode garantir a precisão de qualquer informação fornecida após a data desta apresentação.A MICROSOFT NÃO DÁ QUALQUER GARANTIA, SEJA ELA EXPRESSA, IMPLÍCITA OU ESTATUTÁRIA, REFERENTE ÀS INFORMAÇÕES DESTA APRESENTAÇÃO.<br />