37
A Real World Guide to Building High Availability SharePoint Farms Eric Shupps SharePoint Server MVP

From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Embed Size (px)

Citation preview

Page 1: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

A Real World Guide to Building High AvailabilitySharePoint FarmsEric ShuppsSharePoint Server MVP

Page 2: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Sponsored by:

Visit us on the web at www.binarywave.com

Page 3: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

About Me

@eshupps sharepointcowboywww.sharepointcowboy.-com

slideshare.net/eshupps linkedin.com/in/eshupps

Eric ShuppsSharePoint Server MVP

Page 4: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

• Introduction• Fundamentals•Architecture• Implementation

Agenda

Page 5: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Fundamentals

Page 6: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

What is High Availability?

Elimination of single points of failureFully redundant systemsSeamless continuityAutomated failoverOperational Stability

Page 7: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Why Do We Need High Availability?Risk mitigationComplianceCustomer SatisfactionRevenue ProtectionSafetyPerformanceSecurityPublic Relations

Page 8: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Requirements

InfrastructureDevicesServersBandwidthStorageSoftwareWindows Server 2012/2012 R2Failover ClusteringFile Shares

SQL Server 2012/2014Always On Availability Groups

Page 9: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Considerations

ResourcesCostComplexityLicensingTroubleshootingPatching & Updates

Page 10: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Architecture

Page 11: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Basic (Non-HA) SharePoint 2013 Farm Architecture

WFE

SharePoint Server 2013Front-end Server

SQL Server 2012 SP2 (2014) PowerPivot Add-In

SQL Server 2012 SP2 (2014) Reporting Services Add-In

APP

SharePoint Server 2013Application Server

Excel Services Service Application

SQL Server 2012 SP2 (2014) PowerPivot Service ApplicationSQL Server 2012 SP2 (2014) PowerPivot Add-In

SQL Server 2012 SP2 (2014) Reporting Services Service ApplicationSQL Server 2012 SP2 (2014) Reporting Services Add-In

WAC

Office Web Apps 2013 Server

SQL

SQL Server 2012 SP2+ (2014)

Database EngineAll Databases and Roles

SQL Server Analysis Services for SharePoint (PowerPivot)

WFM

Workflow Manager Server

Page 12: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Basic SharePoint 2013 HA Farm

JUST SharePointIs everything on this diagram ‘highly available’?What about environment?AD DS, AD CS/CA, ISPs, etc.WSFC witness (file share) not clearly shown

Virtual Host A Virtual Host B

SQL Server installed and configured to support SQL AlwaysOn Availability Groups.

WFE01SharePoint 2013Front-end Server

APP01SharePoint 2013

Application Server

SQL01SQL Server 2012 SP1+

All Databases and Roles

WFE02SharePoint 2013Front-end Server

APP02SharePoint 2013

Application Server

SQL02SQL Server 2012 SP1+

All Databases and Roles

F5 BigIPNetwork Load Balancer

WFM01Workflow Manager

Server

WFM03Workflow Manager

Server

WFM02Workflow Manager

Server

wfm.<domain>.com

WSFC01SQLAGL01

WAC01Office Web Apps 2013

Server

WAC02Office Web Apps 2013

Server

wac.<domain>.com

Page 13: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Architecture

Page 14: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Environment

Page 15: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

NetworkFirewallsRoutersLoad BalancersSwitchesVirtual HostsNetwork InterfacesStorage

Page 16: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Storage

Dedicated vs. Shared StorageQuorum TypesNode MajorityNode and File Share MajorityNode and Disk MajorityDisk OnlyWitnessesDiskFile Share

Page 17: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Active Directory

LoginsService AccountsSQL AccountsComputer ObjectsFile sharesCluster permissionsRead all propertiesCreate computer objects

Page 18: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

DNS

ConfigurationLocationAvailabilityReplicationEntriesMachinesClusterListenersPermissions

Page 19: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

SSL

EncryptionCommunication (SSL)Data (TDE)Certificate TypesSANWildcardChallengesCostComplexityConfiguration

Page 20: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Clustering

Windows Server Failover ClusteringRequiredProvides base cluster capabilitiesServer levelSQL Failover Cluster InstanceOptionalInstance levelNo automatic failover w/ Availability Groups

Page 21: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Building a Failover Cluster

DEMO

Page 22: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Service Applications

Page 23: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

SharePoint DatabasesDatabase Name Sync AsyncUser Profile Application

Yes Yes

User Profile Sync Yes NoUser Profile Social Yes YesWord Automation Yes YesManaged Metadata Yes YesTranslation Yes YesBDC Yes YesProject Server Yes YesPowerPivot Yes YesPerformancePoint Yes Yes

Database Name Sync AsyncConfig Yes NoCentral Admin Yes NoContent Yes YesApp Management

Yes Yes

Search Admin Yes NoSearch Analytics Yes NoSearch Crawl Yes NoState Service Yes NoSecure Store Yes YesUsage and Health

Yes* No

https://technet.microsoft.com/en-us/library/jj841106(v=office.15).aspx* Remove prior to running PSCONFIG

Page 24: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Search

Async replication NOT supportedRisk of deltas between on-disk indexes and databases is HIGHSync Replication ChallengesAdministrationSite-level configuration

AnalyticsDatabase sizeCrawl/Re-Indexing time

Page 25: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

User Profiles

Full database replication possible but can be problematicSynchronization is best done “live”OptionsBackup and restoreReprovision

User Profile Service Application

ProfileDB

SyncDB

User Profile Synchronization Service

ActiveDirecto

ryProfile

DB

SyncDB

Forefront Identity Manager

FIM FIM Sync

Page 26: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Distributed Cache

Independent cache with no DB persistenceConfigurable memory allocationMax 16GB per serverMax 32GB per farmDedicated mode recommended for High AvailabilityHA possible in collocated mode with sufficient hardware resources

Cache Dependencies

Feeds

Content Search Web Part

Login Tokens

Access Cache

Security

Trimming

App Tokens

View State

OneNote

Throttling

Page 27: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Request Management

Integrated Dedicated

Page 28: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Access Services

Leverages “Contained Databases” feature of SQL 2012Requires changes to SQL Server protocols, settings and authentication modeHA requires Contained Database AuthenticationAccess DB’s are NOT automatically added to availability groups

Page 29: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Business Intelligence

SSASCan be configured for read-only replicasSSRSRequires .NET 3.5 hotfix KB2654347No automatic failoverPowerPivot Not yet tested for Sync or Async commit operations

Page 30: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Implementation

Page 31: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Availability GroupsGroup of databases organized into PRIMARY (1) and SECONDARY (4 – 2012, 8 – 2014)Automatic data synchronizationSynchronous and Asynchronous modesOptional read-only replicasDatabase-only redundancyListeners (Virtual Network Names)

Page 32: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Aliases

Provide flexibility and abstractionBest practiceHA aliases target AG Listeners NOT servers or instancesUse multiple listeners for scalability

Page 33: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Storage

Windows Server Failover ClusterFile Share QuoromDisk Witness QuoromFailover Cluster InstancesShared storage between cluster membersStorage “owned” by active memberAvailability GroupsDiscrete storage for each replica

Page 34: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Storage

Windows Server Failover ClusterFile Share quorum Disk witness quorumFailover Cluster InstancesShared storage between cluster membersStorage “owned” by active memberAvailability GroupsDiscrete storage for each replica

Page 35: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Performance

SQL overhead ALWAYS impacts performanceEnsure adequate bandwidth for database replicationSecondary infrastructure does not have to match primaryBeware reduced performancePlan for rapid scale-out Async faster than syncPossible data loss

Page 36: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Implementing Availability Groups

DEMO

Page 37: From Zero to Hero: A Real World Guide to Building High Availability SharePoint Farms

Sponsored by:

Visit us on the web at www.binarywave.com