SQL Server Reporting Services: IT Best Practices

20,094 views

Published on

SQL Server Reporting Services: IT Best Practices from BI Conference 2008 by Lukasz Pawlowski and Denny Lee

  • Be the first to comment

SQL Server Reporting Services: IT Best Practices

  1. 1. DBP210Lukasz Pawlowski, Denny LeeMicrosoft Corporation
  2. 2. • Learn how to ensure a predictable Reporting Services deployment in your environment• Learn about the following as relates to Reporting Services • Backup/restore • Security/authorization • Scale/performance/high availability • Upgrade• Approach: • Provide the technical knowledge needed to make sound decisions • Provide lessons learned from Real Customers
  3. 3. • Reporting Services 101• Backup/Restore• Security• Monitoring and Planning• Deployment Topology• Upgrade• Tribal Knowledge
  4. 4. SharePoint Report SSMS Viewer Report Viewer Web Part Web Service Proxy Data Sources Web Services & URL Access Security Services Report Server Report EngineOutput Formats Data Processing Security Delivery Targets (E-mail, SharePoint, Custom) Rendering Scheduling & Delivery Custom Custom Report Item RDCEVisualization Customized RDL SQL Server Catalog
  5. 5. How Report Publishing & Management WorksClient Application Report Server Report Catalog Publishing CreateReport RDL RDL RDL Compiled Compiled Definition Definition Managed Managed Properties Properties
  6. 6. How Report Execution WorksClient Application Report Server Report Catalog RSDB Report RDL Metadata Compiled Definition Managed Properties
  7. 7. How Report Execution WorksClient Application Report Server Report Catalog “Get & Run Report” RSDB Report Compiled Metadata Definition Session Word/Excel/ HTML/PDF Execution Snapshot RSTempDB Report Data Session Report Data
  8. 8. How Configuration Works WMI Report Server Report Catalog Setup SSRS WMI Provider SSRSConfiguration Manager Config Files IIS/HTTP.SYS
  9. 9. How Secrets Management WorksClient Application Report Server Report Catalog Symmetric Key (SK) RSDB PubK1(SK)UserNamePassword SecretConnection String SK(Secret) Service Credentials (C1) Public Key, Private Key (PubK1) (PriK1)
  10. 10. Importance Items to BackupCritical • Report Server Databases • Symmetric Key • SharePoint Databases • Custom ExtensionsImportant • Configuration Files • RSTempDB • IIS Settings for RS 2005Nice to Have • RDLs • SSL Certificates Standard backup/restore SQL database techniques Don’t forget to backup your SharePoint databases as well!
  11. 11. Rsreportserver.config Rssvrpolicy.configRswebapplication.config Rsmgrpolicy.configReportingservicesservice.exe.config Machine.configWeb.config (for RS & RM)
  12. 12. Data and Data Sources
  13. 13. Network Security http://support.microsoft.com/kb/871179 http://support.microsoft.com/kb/896861 blog post
  14. 14. Authentication, Authorization, & Credentials
  15. 15. Auditing and Repudiation
  16. 16. Configuration & Maintenance RS Scripter
  17. 17. Using Visual Studio 2005 to Perform Load Testing on a SQL Server 2005Reporting Services Report Server
  18. 18. Monitoring Report Server Performance MSRS 2008 Web Service MSRS 2008 Windows Service ReportServer:Service SharePoint Integrated Mode
  19. 19. Execution Log Reporting Server Management Report Samples
  20. 20. Considerations Using Visual Studio 2005 to Perform Load Testing on a SQL Server 2005 Reporting Services Report Server
  21. 21. One Box Deployment Report ServerClients RS Server Report Catalog Reporting Data Flat Files, OLE DB, ODBCClients RSDB SQL, AS, DB2, Oracle, Teradata, etc.Clients
  22. 22. Remote Report Catalog = Higher Scalability Report Server SSRSClients RS Server Report Catalog Reporting Data Flat Files, OLE DB, ODBCClients RSDB SQL, AS, DB2, Oracle, Teradata, etc.Clients
  23. 23. Scale-Out & High Availability Architecture Report Server SSRS Scale Out DeploymentClients RS Server 1 Report Catalog Reporting Data Flat Files, OLE DB, RSDB ODBC NLBClients RS Server 2 RSDB SQL, AS, DB2, Oracle, Teradata, etc.Clients RS Server N
  24. 24. Custom Application Tiered Architecture Report Server SSRS Scale Out DeploymentClients Custom Application Farm RS Server RS Server 1 Report Catalog Reporting Data App Flat Files, OLE DB, ODBC NLB NLBClients RS Server App RS Server 2 RSDB SQL, AS, DB2, Oracle, Teradata, etc.Clients RS Server App RS Server N
  25. 25. Disaster Recovery Content Switch SSRS SSRS RSDB RSDB RSDB
  26. 26. Scale, High Availability, and Disaster Recovery Scaling Up Reporting Services 2008 vs. Reporting Services 2005: Lessons Learned Scale-out Report Servers to include a DR site Stop/disable the Report Server services to prevent them doing work Mirror/Log Ship Report Catalog data to the DR site Will need to manually fail over to this database server Database Mirroring and Log Shipping Working Together
  27. 27. SharePoint Integrated Mode Features Supported by Reporting Services in SharePoint Integrated Mode SQL Server Reporting Services integration with SharePoint Products and Technologies Configuring Reporting Services
  28. 28. SharePoint Integrated Mode Report Server ShaerePoint FarmClients Report Catalog Reporting Data SSRS Flat Files, OLE DB, NLB NLB ODBC RS Server WFE RS ServerClients RSDB SQL, AS, DB2, Oracle, Teradata, etc.Clients SharePoint Content & Configuration RSDB WSS DBs
  29. 29. Extranet or Internet Deployment Custom Application• Firewalls throughout environmentto protect data• Point of entry: custom application• Point of entry: enforce accessrights•Internet users can query read-onlydata replicated and cleansed fromoriginal data source• Good reference: Planning forExtranet or Internet Deployment
  30. 30. Upgrading a Reporting Server DatabaseConsiderations for Upgrading Reporting Services
  31. 31. Tips for Saving You Time
  32. 32. Overview
  33. 33. http://www.codeplex.com/ http://blogs.msdn.com/sqlrsteamblog/ http://blogs.msdn.com/lukaszp/www.sqlcat.com http://msdn.microsoft.com/en-us/library/bb545450.aspx http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=82&SiteID =1 http://connect.microsoft.com/ http://www.microsoft.com/sql/technologies/reporting/whitepapers.mspx
  34. 34. http://www.codeplex.com/MSFTRSProdSamples
  35. 35. http://blogs.msdn.com/lukaszp/archive/2007/08/01/monitoring-subcription-status-new-reports.aspx trigger a subscription

×