Tri State SharePoint
SharePoint and SQL 12 – Tricks and Traps
James Tramel

December 11, 2012
1118 West Main Street
Richmond, Virginia 23220
804.355.0511

©2012 CapTech Ventures


www.captechconsulting.com
Agenda

 Intro

 SP Performance with 2012

 BI in 2010/2013

 Always On

 Always Not

 Benefits

©2012 CapTech Ventures, Inc. All rights reserved.
Performance Enhacements

            Summary
              • Perf, BI, DR (Cloud)

            Major Updates
              • Database Engine, Analysis Services, Integration Services, Data Quality
                Services, Replication, Reporting Services, Master Data Services
            Database Engine
              • File Tables / File Stream – integrate storage and management components over
                metadata
              • Search
              • Spatial features

            Scalability and Performance Enhancements
              • Column store Indexes
              • Partition Support Increased
              • Performance (reduced I/O and just faster)




©2012 CapTech Ventures, Inc. All rights reserved.                                              Page 3
Business Intelligence Enhancements


             Reporting Services
             • SSRS
             • Report Server
             • Power View

             Analysis Services
             • Power Pivot
             • Tabular and Multidimensional updates


©2012 CapTech Ventures, Inc. All rights reserved.     Page 4
BI Demo




©2012 CapTech Ventures, Inc. All rights reserved.   Page 5
Disaster Recovery and Availability - Quiz


                              Clustering            Mirroring


                                                      Load
                             Availability
                                                    Balancing

                               Disaster
                                                    Failover
                               Recovery


©2012 CapTech Ventures, Inc. All rights reserved.               Page 6
Failover Clustering and Always On Availability Groups




©2012 CapTech Ventures, Inc. All rights reserved.       Page 7
Clustering and Replicas - Intro




                                                    Primary      Secondary    Resulting
                                                    Setting      Setting      Setting
                                                    Synchronous Synchronous Synchronous
                                                    Synchronous Asynchronous Asynchronous
                                                    Asynchronous Synchronous Asynchronous
                                                    Asynchronous Asynchronous Asynchronous
©2012 CapTech Ventures, Inc. All rights reserved.                                            Page 8
Definitions


                            • Primary

                            • Secondary

                            • Availability Group

                            • Primary Replica

                            • Secondary Replica

                            • Availability Replica




©2012 CapTech Ventures, Inc. All rights reserved.    Page 9
Requirements

                      Be a user database.
                      Be a read/write database.
                      Be a multi-user database.
                      Not use AUTO_CLOSE.
                      Use the full recovery mode.
                      Possess a full database backup.
                      Reside on the SQL Server instance
                      where you are creating the availability
                      group and be accessible.
                      Not belong to another availability
                      group.
                      Not be configured for database
                      mirroring

©2012 CapTech Ventures, Inc. All rights reserved.               Page 10
Topology – So how about a Stretched Farm?




©2012 CapTech Ventures, Inc. All rights reserved.   Page 11
Stretched farm - Don’t do it




©2012 CapTech Ventures, Inc. All rights reserved.   Page 12
Demo




©2012 CapTech Ventures, Inc. All rights reserved.   Page 13
References

•    Technet
     http://technet.microsoft.com/en-us/sqlserver/ff898410.aspx
     http://technet.microsoft.com/en-us/magazine/hh528474.aspx
     http://blogs.technet.com/b/wbaer/archive/2011/10/12/


•    MSDN

•      Mike Hacker, Mark Kromer, Mike Wilmot, Juergen Thomas
       http://msdn.microsoft.com/en-us/sqlserver/aa336270.aspx
       http://msdn.microsoft.com/en-us/library/ff929171.aspx
       http://msdn.microsoft.com/en-us/library/ff929171.aspx
       http://msdn.microsoft.com/library/hh781257.aspx
       http://msdn.microsoft.com/en-us/library/jj215886


•    MS Virtual Labs, Cloudshare


•    SQL Server 2012 AlwaysOn: Multisite Failover Cluster Instance, Mike Weiner, Sanjay Mishra, Min He. SQL CAT .
     http://sqlcat.com/sqlcat/b/msdnmirror/archive/2011/12/22/sql-server-2012-alwayson-high-availability-and-disaster-recovery-design-
     patterns.aspx




©2012 CapTech Ventures, Inc. All rights reserved.                                                                             Page 14

Sharepoint and SQL Server 2012

  • 1.
    Tri State SharePoint SharePointand SQL 12 – Tricks and Traps James Tramel December 11, 2012 1118 West Main Street Richmond, Virginia 23220 804.355.0511 ©2012 CapTech Ventures www.captechconsulting.com
  • 2.
    Agenda Intro SPPerformance with 2012 BI in 2010/2013 Always On Always Not Benefits ©2012 CapTech Ventures, Inc. All rights reserved.
  • 3.
    Performance Enhacements Summary • Perf, BI, DR (Cloud) Major Updates • Database Engine, Analysis Services, Integration Services, Data Quality Services, Replication, Reporting Services, Master Data Services Database Engine • File Tables / File Stream – integrate storage and management components over metadata • Search • Spatial features Scalability and Performance Enhancements • Column store Indexes • Partition Support Increased • Performance (reduced I/O and just faster) ©2012 CapTech Ventures, Inc. All rights reserved. Page 3
  • 4.
    Business Intelligence Enhancements Reporting Services • SSRS • Report Server • Power View Analysis Services • Power Pivot • Tabular and Multidimensional updates ©2012 CapTech Ventures, Inc. All rights reserved. Page 4
  • 5.
    BI Demo ©2012 CapTechVentures, Inc. All rights reserved. Page 5
  • 6.
    Disaster Recovery andAvailability - Quiz Clustering Mirroring Load Availability Balancing Disaster Failover Recovery ©2012 CapTech Ventures, Inc. All rights reserved. Page 6
  • 7.
    Failover Clustering andAlways On Availability Groups ©2012 CapTech Ventures, Inc. All rights reserved. Page 7
  • 8.
    Clustering and Replicas- Intro Primary Secondary Resulting Setting Setting Setting Synchronous Synchronous Synchronous Synchronous Asynchronous Asynchronous Asynchronous Synchronous Asynchronous Asynchronous Asynchronous Asynchronous ©2012 CapTech Ventures, Inc. All rights reserved. Page 8
  • 9.
    Definitions • Primary • Secondary • Availability Group • Primary Replica • Secondary Replica • Availability Replica ©2012 CapTech Ventures, Inc. All rights reserved. Page 9
  • 10.
    Requirements Be a user database. Be a read/write database. Be a multi-user database. Not use AUTO_CLOSE. Use the full recovery mode. Possess a full database backup. Reside on the SQL Server instance where you are creating the availability group and be accessible. Not belong to another availability group. Not be configured for database mirroring ©2012 CapTech Ventures, Inc. All rights reserved. Page 10
  • 11.
    Topology – Sohow about a Stretched Farm? ©2012 CapTech Ventures, Inc. All rights reserved. Page 11
  • 12.
    Stretched farm -Don’t do it ©2012 CapTech Ventures, Inc. All rights reserved. Page 12
  • 13.
    Demo ©2012 CapTech Ventures,Inc. All rights reserved. Page 13
  • 14.
    References • Technet http://technet.microsoft.com/en-us/sqlserver/ff898410.aspx http://technet.microsoft.com/en-us/magazine/hh528474.aspx http://blogs.technet.com/b/wbaer/archive/2011/10/12/ • MSDN • Mike Hacker, Mark Kromer, Mike Wilmot, Juergen Thomas http://msdn.microsoft.com/en-us/sqlserver/aa336270.aspx http://msdn.microsoft.com/en-us/library/ff929171.aspx http://msdn.microsoft.com/en-us/library/ff929171.aspx http://msdn.microsoft.com/library/hh781257.aspx http://msdn.microsoft.com/en-us/library/jj215886 • MS Virtual Labs, Cloudshare • SQL Server 2012 AlwaysOn: Multisite Failover Cluster Instance, Mike Weiner, Sanjay Mishra, Min He. SQL CAT . http://sqlcat.com/sqlcat/b/msdnmirror/archive/2011/12/22/sql-server-2012-alwayson-high-availability-and-disaster-recovery-design- patterns.aspx ©2012 CapTech Ventures, Inc. All rights reserved. Page 14

Editor's Notes

  • #3 DC Native, Tech anachronismJava, .net (web)FIM, UAG, ExchangeSitecore, MobileStatistics, Heuristics
  • #4 http://msdn.microsoft.com/en-us/library/ms143393.aspx – Supported Versions
  • #6 Power Viewsemantic model - way of explaining relationship between doing different kinds of reporting in a meaningful way. Explain, rather than syntax. Diff mutlidimensional, and tabular report, how you use analysis server
  • #7 Clustering: set of loosely connected computer that work together so that in many respects they can be viewed as a single systemMirroring: a mirror is an exact copy of a data set. Multiple source of the same informationLoad Balancing: a computer networking method to distribute workload across multiple nodesAvailability: The degree to which a system, subsystem, or equipment is in a specified operable and committable state Disaster Recovery: is the process, policies and procedures that are related to preparing for recovery or continuation of technology infrastructure which are vital to an organization Failover: is automatic switching to a redundant or standby
  • #8 2008 R2 – single database – bad when have SharePointMirroring gave redundant copy so had a point of failure – the SANRemote data center require log shippingSaves servers, need disksRedundant copies – up to 4 – sync and async
  • #9 Sync = commit, more expensive, but always in syncAysnc – will commit / eventually get there, but one site could be out of date.http://blogs.msdn.com/b/saponsqlserver/archive/2012/02/07/sql-server-2012-alwayson-what-is-it.aspxhttp://msdn.microsoft.com/en-us/library/ff877931.aspxThis is an basicallyCluster-Aware Updating (CAU), which is a feature for failover clusters in Windows Server 2012 that automates the updating process on clustered servers while maintaining high availability
  • #10 Primary: active instance which handles the primary workload – read/writeSecondary:Are the instances which receive the transaction log records – read onlyAvailability group: Is the logical frame around one or more database and represents the unit of failoverPrimary replica – makes logsSecondary replica – receives logsAvailability replica – availability group hosted by sql server – has a singly primary replica, and 1-4 secondary replicas
  • #11 Primary: active instance which handles the primary workload – read/writeSecondary:Are the instances which receive the transaction log records – read onlyAvailability group: Is the logical frame around one or more database and represents the unit of failoverPrimary replica – makes logsSecondary replica – receives logsAvailability replica – availability group hosted by sql server – has a singly primary replica, and 1-4 secondary replicas
  • #12 Stretched vs failover
  • #13 Speed of light – 1/ms about 200 miles in a vacum.Async somewhere else, and read/write issuesNot supported in 2013
  • #14 For AOExplain domain, hardware, software, firewallExplain WFSC – checks and create – go over this pieceLook at nodes in WFSCLook at Mgmt studio – show node – say must be configured in configmgr on each serverCreate Availability groupCreate listenerShow Dashboard by right click alwy on HA – start failover wizard