SlideShare a Scribd company logo
1 of 26
SSRS Disaster Recovery
PASS DW|BI Webinar
Ayad Shammout (@aashammout) and Denny Lee (@dennylee)
Hosted by Julie Koesmarno (@mssqlgirl)
Agenda
• Review of Scale Out Architectures
• It’s all about the Catalog
• SSRS Disaster Recovery Infrastructure
• Optimizing the Catalog with SQL Server 2012 Always On
RSDB
Clients
Flat Files,
OLE DB,
ODBC
SQL, AS,
DB2, Oracle,
Teradata, etc.
RS Server
NLB
Clients
Clients
Reporting Services Architecture
Typical One-Box Deployment
Report Server
ReportCatalog
DataSources(toreportagainst)
RSDB
Clients
Flat Files,
OLE DB,
ODBC
SQL, AS,
DB2, Oracle,
Teradata, etc.
RS Server
NLB
Clients
Clients
Reporting Services Architecture
Remote Report Catalog = Higher Availability
Report Server
ReportCatalog
DataSources(toreportagainst)
RSDB
Clients
Flat Files,
OLE DB,
ODBC
SQL, AS,
DB2, Oracle,
Teradata, etc.
RS Server
RS Server
RS Server
NLB
Clients
Clients
Reporting Services Architecture
Scale Out and High Availability Infrastructure
ReportingScaleOutDeployment
Report Server Cluster
ReportCatalog
DataSources(toreportagainst)
Report Catalog
Architecture
Report Server Catalog (RSDB)
Stores all report metadata including report definitions,
report / history snapshots, scheduling, etc.
Report Server TempDB
Stores temporary snapshots while running reports
 These databases can be a bottleneck
 Optimize by applying standard SQL DB techniques
 Catalog has a lot of I/O and transactions
– RS2005: Many inserts to ChunkData, SnapshotData, and SessionData tables
– RS2008: Many inserts Segment; takes majority of transactions of RSTempDB
RSDB
ReportCatalog
Report Catalog
Best Practices > Use a dedicated server
• Same server as SSRS Server
• Great for small environments
• In enterprise environments, too much resource contention
• Same server as data source database
• SQL resource contention (TempDB, plan cache, memory buffer pool) between
data source and RS catalogs
• As load increases need to monitor CPU, I/O, network resources, and buffer
pool
• Reduce resource contention by having a dedicated RS catalog server you can tune.
• Apply high availability and disaster recovery procedures (e.g. clustering, mirroring,
log shipping) to protect the RSDB
Report Catalog
Best Practices > High Performance Disk
• Check out Predeployment I/O Best Practices
• Have more smaller size disks with faster rotation speeds (e.g. 15K RPM) vs. fewer larger disks with
slower rotations
• Maximize/balance I/O across ALL available spindles
• Separate disks between RSDB and RSTempDB
• RSDB a lot of small transactions (report metadata)
• RSTempDB has more (not as many) larger transactions
• Pre-grow your databases
• Stripe dB files to number of cores (0.25 – 1.0)
• Minimize allocation contention
• Easier to rebalance database when new LUNs are available
• Use RAID 10, not RAID 5
Report Catalog
Best Practices > Operations Best Practices
• Data in RSTempDB is highly volatile
• Report lifetime policy of data = SessionTimeout value (10min)
• CleanupCycleMinutes guides background cleanup thread
• Once session timeout reached, cleanup temporary snapshot from tempDB
• This is done every CleanupCycleMinutes
• Data is RSDB is long lived; should be backed up
• Backing Up and Restore Databases in SQL Server
• Optimizing Backup and Restore Performance in SQL Server
• Backing Up and Restore Encryption Keys
• Maintain your RS catalogs
• Remember, these are SQL databses
• E.g. Re-indexing catalog tables or updating stats may improve query performance
Report Catalog
Best Practices > Report Catalog Sizing
• RSDB database size
• Varies by number of reports published and number of history snapshots
• General rule of thumb:
• Moderate size report definition takes 100-200KB of disk space
• This is larger than the actual RDL as SSRS persists both RDL and compiled binary
• Assume 5:1 compression ratio (e.g. 10MB of data, snapshot is 2MB in size)
• RSTempDB database size
• Varies by number of users whom are concurrently using the Report Servers
• Each live report execution generates report snapshot persisted in the RSTempDB
• General rule of thumb:
• 10-20% concurrency of user base, e.g. 1000 users, then max 200 concurrent users.
• If most users are accessing 10MB reports, then you will need 400MB of storage
• 200 users x 10MB reports / 5:1 compression ratio= 400MB
• Want to calculate for the maximum number of concurrent users
Scale Out ≠ Disaster Recovery
Disaster Recovery Environment
Overall Infrastructure
RSDB
Content Switch
RSDB
RSDB
Primary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
Failover Cluster
Bostonsql4
Montréalsql4
Disaster Recovery Site
- Closely duplicates primary
- Separate Geographic location
- Non-critical can utilize fewer
resources
- But Mission Critical ssytems
shoul dhave 1:1 duplication
Primary Data Center
- SSRS servers
- Separate Report
Catalog
- With own Failover
cluster
Disaster Recovery Environment
Network Configuration
RSDB
Content Switch
RSDB
RSDB
Primary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
Failover Cluster
Bostonsql4
Montréalsql4
Network Config
- Ensure network
connectivity for clients
- Use content switch to
load balance and redirect
traffic
- Direct fiber between PDC
and DR to minimize
latencies
Disaster Recovery Environment
Database Configuration
RSDB
Content Switch
RSDB
RSDB
Primary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
Failover Cluster
Bostonsql4
Montréalsql4
Database Config
- Bostonsql4 is primary
RSDB instance w/
active/passive cluster in
PDC
- Content switch points to
sql4 alias
- Mirrored Montréalsql4
on DR site
Disaster Recovery Environment
Database Configuration: Active / Active vs. Active / Passive
Content Switch
RSDB
Primary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
Montréalsql4
RSDB
RSDB
Failover Cluster
Bostonsql4
Advantages of Active/Passive Failover Cluster
- Allows other Active database instances to be
located on Passive node
- Works well if passive node is not over-utilized
Not good if passive node has a lot of traffic,
concurrent users, etc. Then should go with
Active/Active cluster
Disaster Recovery Environment
Database Configuration: Asynchronous Mirroring
Content Switch
RSDB
Primary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
Montréalsql4
RSDB
RSDB
Failover Cluster
Bostonsql4
Async Mirroring
All RS Operations must connect to RSDB
for its metadata
Async Mirroring has minimal to no
impact on response time performance
OK to be async as report metadata is not
frequently updated
Disaster Recovery Environment
Database Configuration > Initializing Database Mirror
A relatively easy way to initialize a database mirroring setup is to:
1. Make full and transaction log backups of the Reporting Services
databases on the principal server.
2. Copy the backups over to the disaster recovery site, restoring each
Reporting Services database in no-recovery mode.
3. Set up the failover partner on the mirror (that is, the DR site) before
you set up the failover partner on the principal server.
Failover Scenarios
• Primary Data Center Reporting Servers go offline
• Primary Data Center RSDB Active server goes offline
• Primary Data Center RSDB cluster goes offline
• Primary Data Center Outage
Failover Scenario
Primary Data Center Reporting Servers go offline
RSDB
Content Switch
RSDB
RSDB
Primary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
Failover Cluster
Bostonsql4
Montréalsql4
Automatic Failover
Failover Scenario
Primary Data Center RSDB Active server goes offline
RSDB
Content Switch
RSDB
RSDB
Primary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
Failover Cluster
Bostonsql4
Montréalsql4
Automatic Failover
Failover Scenario
Primary Data Center RSDB Active server goes offline
RSDB
Content Switch
RSDB
RSDB
Primary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
Failover Cluster
Bostonsql4
Montréalsql4
Manual Failover
Failover Scenario
Primary Data Center Outage
RSDB
Content Switch
RSDB
RSDB
Primary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
Failover Cluster
Bostonsql4
Montréalsql4
Content Switch suspends
primary IP addresses and
activates DR site IP address so
all connections are redirected
to DR site
Failover Scenario
Primary Data Center Outage: Planned Outage
RSDB
Content Switch
RSDB
RSDB
Primary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
Failover Cluster
Bostonsql4
Montréalsql4
Manually execute script to
manually switch to partner
database.
Failover Scenario
Primary Data Center Outage: Unplanned Outage
RSDB
Content Switch
RSDB
RSDB
Primary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
Failover Cluster
Bostonsql4
Montréalsql4
Manually failover script to
force service to switch with
possible data loss
Disaster Recovery Environment
Database Configuration: Always On
Content SwitchPrimary Data Center
SSRSSSRS
Content Switch
SSRS SSRS SSRS
SSRS - Always On Availability Group
RSDB
SecondaryReplica
RSDB
PrimaryReplica
AG Listener VNN
Q&A
Hope you enjoyed the session!

More Related Content

What's hot

Rigorous and Multi-tenant HBase Performance Measurement
Rigorous and Multi-tenant HBase Performance MeasurementRigorous and Multi-tenant HBase Performance Measurement
Rigorous and Multi-tenant HBase Performance Measurement
DataWorks Summit
 
HBase and HDFS: Understanding FileSystem Usage in HBase
HBase and HDFS: Understanding FileSystem Usage in HBaseHBase and HDFS: Understanding FileSystem Usage in HBase
HBase and HDFS: Understanding FileSystem Usage in HBase
enissoz
 
Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )
varasteh65
 
Tungsten University: Configure & Provision Tungsten Clusters
Tungsten University: Configure & Provision Tungsten ClustersTungsten University: Configure & Provision Tungsten Clusters
Tungsten University: Configure & Provision Tungsten Clusters
Continuent
 

What's hot (20)

Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HAGalera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
 
Rigorous and Multi-tenant HBase Performance Measurement
Rigorous and Multi-tenant HBase Performance MeasurementRigorous and Multi-tenant HBase Performance Measurement
Rigorous and Multi-tenant HBase Performance Measurement
 
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
 
Scylla Summit 2016: Scylla at Samsung SDS
Scylla Summit 2016: Scylla at Samsung SDSScylla Summit 2016: Scylla at Samsung SDS
Scylla Summit 2016: Scylla at Samsung SDS
 
How to size up an Apache Cassandra cluster (Training)
How to size up an Apache Cassandra cluster (Training)How to size up an Apache Cassandra cluster (Training)
How to size up an Apache Cassandra cluster (Training)
 
HBaseCon 2012 | HBase, the Use Case in eBay Cassini
HBaseCon 2012 | HBase, the Use Case in eBay Cassini HBaseCon 2012 | HBase, the Use Case in eBay Cassini
HBaseCon 2012 | HBase, the Use Case in eBay Cassini
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
 
Global Data Replication with Galera for Ansell Guardian®
Global Data Replication with Galera for Ansell Guardian®Global Data Replication with Galera for Ansell Guardian®
Global Data Replication with Galera for Ansell Guardian®
 
HBase and HDFS: Understanding FileSystem Usage in HBase
HBase and HDFS: Understanding FileSystem Usage in HBaseHBase and HDFS: Understanding FileSystem Usage in HBase
HBase and HDFS: Understanding FileSystem Usage in HBase
 
SQLIO - measuring storage performance
SQLIO - measuring storage performanceSQLIO - measuring storage performance
SQLIO - measuring storage performance
 
Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )
 
Scaling Cloud-Scale Translytics Workloads with Omid and Phoenix
Scaling Cloud-Scale Translytics Workloads with Omid and PhoenixScaling Cloud-Scale Translytics Workloads with Omid and Phoenix
Scaling Cloud-Scale Translytics Workloads with Omid and Phoenix
 
MariaDB Performance Tuning and Optimization
MariaDB Performance Tuning and OptimizationMariaDB Performance Tuning and Optimization
MariaDB Performance Tuning and Optimization
 
HBaseCon 2015: HBase at Scale in an Online and High-Demand Environment
HBaseCon 2015: HBase at Scale in an Online and  High-Demand EnvironmentHBaseCon 2015: HBase at Scale in an Online and  High-Demand Environment
HBaseCon 2015: HBase at Scale in an Online and High-Demand Environment
 
Geographically Distributed Multi-Master MySQL Clusters
Geographically Distributed Multi-Master MySQL ClustersGeographically Distributed Multi-Master MySQL Clusters
Geographically Distributed Multi-Master MySQL Clusters
 
Hadoop Meetup Jan 2019 - Overview of Ozone
Hadoop Meetup Jan 2019 - Overview of OzoneHadoop Meetup Jan 2019 - Overview of Ozone
Hadoop Meetup Jan 2019 - Overview of Ozone
 
MariaDB ColumnStore
MariaDB ColumnStoreMariaDB ColumnStore
MariaDB ColumnStore
 
Floating on a RAFT: HBase Durability with Apache Ratis
Floating on a RAFT: HBase Durability with Apache RatisFloating on a RAFT: HBase Durability with Apache Ratis
Floating on a RAFT: HBase Durability with Apache Ratis
 
HBaseCon 2012 | HBase and HDFS: Past, Present, Future - Todd Lipcon, Cloudera
HBaseCon 2012 | HBase and HDFS: Past, Present, Future - Todd Lipcon, ClouderaHBaseCon 2012 | HBase and HDFS: Past, Present, Future - Todd Lipcon, Cloudera
HBaseCon 2012 | HBase and HDFS: Past, Present, Future - Todd Lipcon, Cloudera
 
Tungsten University: Configure & Provision Tungsten Clusters
Tungsten University: Configure & Provision Tungsten ClustersTungsten University: Configure & Provision Tungsten Clusters
Tungsten University: Configure & Provision Tungsten Clusters
 

Similar to SQL Server Reporting Services Disaster Recovery webinar

Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
LarryZaman
 
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
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016
Dipesh Singh
 
Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]
shuwutong
 

Similar to SQL Server Reporting Services Disaster Recovery webinar (20)

SQL Server Reporting Services Disaster Recovery Webinar
SQL Server Reporting Services Disaster Recovery WebinarSQL Server Reporting Services Disaster Recovery Webinar
SQL Server Reporting Services Disaster Recovery Webinar
 
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
 
Getting Started with Managed Database Services on AWS - September 2016 Webina...
Getting Started with Managed Database Services on AWS - September 2016 Webina...Getting Started with Managed Database Services on AWS - September 2016 Webina...
Getting Started with Managed Database Services on AWS - September 2016 Webina...
 
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
 
Selecting the Right AWS Database Solution - AWS 2017 Online Tech Talks
Selecting the Right AWS Database Solution - AWS 2017 Online Tech TalksSelecting the Right AWS Database Solution - AWS 2017 Online Tech Talks
Selecting the Right AWS Database Solution - AWS 2017 Online Tech Talks
 
Bases de datos en la nube con AWS
Bases de datos en la nube con AWSBases de datos en la nube con AWS
Bases de datos en la nube con AWS
 
[よくわかるAmazon Redshift]Amazon Redshift最新情報と導入事例のご紹介
[よくわかるAmazon Redshift]Amazon Redshift最新情報と導入事例のご紹介[よくわかるAmazon Redshift]Amazon Redshift最新情報と導入事例のご紹介
[よくわかるAmazon Redshift]Amazon Redshift最新情報と導入事例のご紹介
 
AWS June Webinar Series - Getting Started: Amazon Redshift
AWS June Webinar Series - Getting Started: Amazon RedshiftAWS June Webinar Series - Getting Started: Amazon Redshift
AWS June Webinar Series - Getting Started: Amazon Redshift
 
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
 
Redshift overview
Redshift overviewRedshift overview
Redshift overview
 
Maximizing performance via tuning and optimization
Maximizing performance via tuning and optimizationMaximizing performance via tuning and optimization
Maximizing performance via tuning and optimization
 
Maximizing performance via tuning and optimization
Maximizing performance via tuning and optimizationMaximizing performance via tuning and optimization
Maximizing performance via tuning and optimization
 
Uses and Best Practices for Amazon Redshift
Uses and Best Practices for Amazon RedshiftUses and Best Practices for Amazon Redshift
Uses and Best Practices for Amazon Redshift
 
Building Your Data Warehouse with Amazon Redshift
Building Your Data Warehouse with Amazon RedshiftBuilding Your Data Warehouse with Amazon Redshift
Building Your Data Warehouse with Amazon Redshift
 
Leveraging Amazon Redshift for your Data Warehouse
Leveraging Amazon Redshift for your Data WarehouseLeveraging Amazon Redshift for your Data Warehouse
Leveraging Amazon Redshift for your Data Warehouse
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016
 
Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]
 
Introduction to ClustrixDB
Introduction to ClustrixDBIntroduction to ClustrixDB
Introduction to ClustrixDB
 
Scaling RDBMS on AWS- ClustrixDB @AWS Meetup 20160711
Scaling RDBMS on AWS- ClustrixDB @AWS Meetup 20160711Scaling RDBMS on AWS- ClustrixDB @AWS Meetup 20160711
Scaling RDBMS on AWS- ClustrixDB @AWS Meetup 20160711
 
Deep Dive on MySQL Databases on AWS - AWS Online Tech Talks
Deep Dive on MySQL Databases on AWS - AWS Online Tech TalksDeep Dive on MySQL Databases on AWS - AWS Online Tech Talks
Deep Dive on MySQL Databases on AWS - AWS Online Tech Talks
 

More from Denny Lee

More from Denny Lee (20)

Azure Cosmos DB: Globally Distributed Multi-Model Database Service
Azure Cosmos DB: Globally Distributed Multi-Model Database ServiceAzure Cosmos DB: Globally Distributed Multi-Model Database Service
Azure Cosmos DB: Globally Distributed Multi-Model Database Service
 
Spark to DocumentDB connector
Spark to DocumentDB connectorSpark to DocumentDB connector
Spark to DocumentDB connector
 
Introduction to Azure DocumentDB
Introduction to Azure DocumentDBIntroduction to Azure DocumentDB
Introduction to Azure DocumentDB
 
SQL Server Integration Services Best Practices
SQL Server Integration Services Best PracticesSQL Server Integration Services Best Practices
SQL Server Integration Services Best Practices
 
SQL Server Reporting Services: IT Best Practices
SQL Server Reporting Services: IT Best PracticesSQL Server Reporting Services: IT Best Practices
SQL Server Reporting Services: IT Best Practices
 
Introduction to Microsoft's Big Data Platform and Hadoop Primer
Introduction to Microsoft's Big Data Platform and Hadoop PrimerIntroduction to Microsoft's Big Data Platform and Hadoop Primer
Introduction to Microsoft's Big Data Platform and Hadoop Primer
 
Differential Privacy Case Studies (CMU-MSR Mindswap on Privacy 2007)
Differential Privacy Case Studies (CMU-MSR Mindswap on Privacy 2007)Differential Privacy Case Studies (CMU-MSR Mindswap on Privacy 2007)
Differential Privacy Case Studies (CMU-MSR Mindswap on Privacy 2007)
 
Yahoo!, Big Data, and Microsoft BI: Bigger and Better Together
Yahoo!, Big Data, and Microsoft BI: Bigger and Better TogetherYahoo!, Big Data, and Microsoft BI: Bigger and Better Together
Yahoo!, Big Data, and Microsoft BI: Bigger and Better Together
 
Designing, Building, and Maintaining Large Cubes using Lessons Learned
Designing, Building, and Maintaining Large Cubes using Lessons LearnedDesigning, Building, and Maintaining Large Cubes using Lessons Learned
Designing, Building, and Maintaining Large Cubes using Lessons Learned
 
SQLCAT - Data and Admin Security
SQLCAT - Data and Admin SecuritySQLCAT - Data and Admin Security
SQLCAT - Data and Admin Security
 
SQLCAT: Addressing Security and Compliance Issues with SQL Server 2008
SQLCAT: Addressing Security and Compliance Issues with SQL Server 2008SQLCAT: Addressing Security and Compliance Issues with SQL Server 2008
SQLCAT: Addressing Security and Compliance Issues with SQL Server 2008
 
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
 
Deploying and Managing PowerPivot for SharePoint
Deploying and Managing PowerPivot for SharePointDeploying and Managing PowerPivot for SharePoint
Deploying and Managing PowerPivot for SharePoint
 
SQLCAT: Tier-1 BI in the World of Big Data
SQLCAT: Tier-1 BI in the World of Big DataSQLCAT: Tier-1 BI in the World of Big Data
SQLCAT: Tier-1 BI in the World of Big Data
 
Big Data, Bigger Brains
Big Data, Bigger BrainsBig Data, Bigger Brains
Big Data, Bigger Brains
 
Jump Start into Apache Spark (Seattle Spark Meetup)
Jump Start into Apache Spark (Seattle Spark Meetup)Jump Start into Apache Spark (Seattle Spark Meetup)
Jump Start into Apache Spark (Seattle Spark Meetup)
 
How Concur uses Big Data to get you to Tableau Conference On Time
How Concur uses Big Data to get you to Tableau Conference On TimeHow Concur uses Big Data to get you to Tableau Conference On Time
How Concur uses Big Data to get you to Tableau Conference On Time
 
Ensuring compliance of patient data with big data and bi [bdii 301-m] - (4078)
Ensuring compliance of patient data with big data and bi [bdii 301-m] - (4078)Ensuring compliance of patient data with big data and bi [bdii 301-m] - (4078)
Ensuring compliance of patient data with big data and bi [bdii 301-m] - (4078)
 
Yahoo! TAO Case Study Excerpt
Yahoo! TAO Case Study ExcerptYahoo! TAO Case Study Excerpt
Yahoo! TAO Case Study Excerpt
 
SQL Server Reporting Services: IT Best Practices
SQL Server Reporting Services: IT Best PracticesSQL Server Reporting Services: IT Best Practices
SQL Server Reporting Services: IT Best Practices
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

SQL Server Reporting Services Disaster Recovery webinar

  • 1. SSRS Disaster Recovery PASS DW|BI Webinar Ayad Shammout (@aashammout) and Denny Lee (@dennylee) Hosted by Julie Koesmarno (@mssqlgirl)
  • 2. Agenda • Review of Scale Out Architectures • It’s all about the Catalog • SSRS Disaster Recovery Infrastructure • Optimizing the Catalog with SQL Server 2012 Always On
  • 3. RSDB Clients Flat Files, OLE DB, ODBC SQL, AS, DB2, Oracle, Teradata, etc. RS Server NLB Clients Clients Reporting Services Architecture Typical One-Box Deployment Report Server ReportCatalog DataSources(toreportagainst)
  • 4. RSDB Clients Flat Files, OLE DB, ODBC SQL, AS, DB2, Oracle, Teradata, etc. RS Server NLB Clients Clients Reporting Services Architecture Remote Report Catalog = Higher Availability Report Server ReportCatalog DataSources(toreportagainst)
  • 5. RSDB Clients Flat Files, OLE DB, ODBC SQL, AS, DB2, Oracle, Teradata, etc. RS Server RS Server RS Server NLB Clients Clients Reporting Services Architecture Scale Out and High Availability Infrastructure ReportingScaleOutDeployment Report Server Cluster ReportCatalog DataSources(toreportagainst)
  • 6. Report Catalog Architecture Report Server Catalog (RSDB) Stores all report metadata including report definitions, report / history snapshots, scheduling, etc. Report Server TempDB Stores temporary snapshots while running reports  These databases can be a bottleneck  Optimize by applying standard SQL DB techniques  Catalog has a lot of I/O and transactions – RS2005: Many inserts to ChunkData, SnapshotData, and SessionData tables – RS2008: Many inserts Segment; takes majority of transactions of RSTempDB RSDB ReportCatalog
  • 7. Report Catalog Best Practices > Use a dedicated server • Same server as SSRS Server • Great for small environments • In enterprise environments, too much resource contention • Same server as data source database • SQL resource contention (TempDB, plan cache, memory buffer pool) between data source and RS catalogs • As load increases need to monitor CPU, I/O, network resources, and buffer pool • Reduce resource contention by having a dedicated RS catalog server you can tune. • Apply high availability and disaster recovery procedures (e.g. clustering, mirroring, log shipping) to protect the RSDB
  • 8. Report Catalog Best Practices > High Performance Disk • Check out Predeployment I/O Best Practices • Have more smaller size disks with faster rotation speeds (e.g. 15K RPM) vs. fewer larger disks with slower rotations • Maximize/balance I/O across ALL available spindles • Separate disks between RSDB and RSTempDB • RSDB a lot of small transactions (report metadata) • RSTempDB has more (not as many) larger transactions • Pre-grow your databases • Stripe dB files to number of cores (0.25 – 1.0) • Minimize allocation contention • Easier to rebalance database when new LUNs are available • Use RAID 10, not RAID 5
  • 9. Report Catalog Best Practices > Operations Best Practices • Data in RSTempDB is highly volatile • Report lifetime policy of data = SessionTimeout value (10min) • CleanupCycleMinutes guides background cleanup thread • Once session timeout reached, cleanup temporary snapshot from tempDB • This is done every CleanupCycleMinutes • Data is RSDB is long lived; should be backed up • Backing Up and Restore Databases in SQL Server • Optimizing Backup and Restore Performance in SQL Server • Backing Up and Restore Encryption Keys • Maintain your RS catalogs • Remember, these are SQL databses • E.g. Re-indexing catalog tables or updating stats may improve query performance
  • 10. Report Catalog Best Practices > Report Catalog Sizing • RSDB database size • Varies by number of reports published and number of history snapshots • General rule of thumb: • Moderate size report definition takes 100-200KB of disk space • This is larger than the actual RDL as SSRS persists both RDL and compiled binary • Assume 5:1 compression ratio (e.g. 10MB of data, snapshot is 2MB in size) • RSTempDB database size • Varies by number of users whom are concurrently using the Report Servers • Each live report execution generates report snapshot persisted in the RSTempDB • General rule of thumb: • 10-20% concurrency of user base, e.g. 1000 users, then max 200 concurrent users. • If most users are accessing 10MB reports, then you will need 400MB of storage • 200 users x 10MB reports / 5:1 compression ratio= 400MB • Want to calculate for the maximum number of concurrent users
  • 11. Scale Out ≠ Disaster Recovery
  • 12. Disaster Recovery Environment Overall Infrastructure RSDB Content Switch RSDB RSDB Primary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS Failover Cluster Bostonsql4 Montréalsql4 Disaster Recovery Site - Closely duplicates primary - Separate Geographic location - Non-critical can utilize fewer resources - But Mission Critical ssytems shoul dhave 1:1 duplication Primary Data Center - SSRS servers - Separate Report Catalog - With own Failover cluster
  • 13. Disaster Recovery Environment Network Configuration RSDB Content Switch RSDB RSDB Primary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS Failover Cluster Bostonsql4 Montréalsql4 Network Config - Ensure network connectivity for clients - Use content switch to load balance and redirect traffic - Direct fiber between PDC and DR to minimize latencies
  • 14. Disaster Recovery Environment Database Configuration RSDB Content Switch RSDB RSDB Primary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS Failover Cluster Bostonsql4 Montréalsql4 Database Config - Bostonsql4 is primary RSDB instance w/ active/passive cluster in PDC - Content switch points to sql4 alias - Mirrored Montréalsql4 on DR site
  • 15. Disaster Recovery Environment Database Configuration: Active / Active vs. Active / Passive Content Switch RSDB Primary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS Montréalsql4 RSDB RSDB Failover Cluster Bostonsql4 Advantages of Active/Passive Failover Cluster - Allows other Active database instances to be located on Passive node - Works well if passive node is not over-utilized Not good if passive node has a lot of traffic, concurrent users, etc. Then should go with Active/Active cluster
  • 16. Disaster Recovery Environment Database Configuration: Asynchronous Mirroring Content Switch RSDB Primary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS Montréalsql4 RSDB RSDB Failover Cluster Bostonsql4 Async Mirroring All RS Operations must connect to RSDB for its metadata Async Mirroring has minimal to no impact on response time performance OK to be async as report metadata is not frequently updated
  • 17. Disaster Recovery Environment Database Configuration > Initializing Database Mirror A relatively easy way to initialize a database mirroring setup is to: 1. Make full and transaction log backups of the Reporting Services databases on the principal server. 2. Copy the backups over to the disaster recovery site, restoring each Reporting Services database in no-recovery mode. 3. Set up the failover partner on the mirror (that is, the DR site) before you set up the failover partner on the principal server.
  • 18. Failover Scenarios • Primary Data Center Reporting Servers go offline • Primary Data Center RSDB Active server goes offline • Primary Data Center RSDB cluster goes offline • Primary Data Center Outage
  • 19. Failover Scenario Primary Data Center Reporting Servers go offline RSDB Content Switch RSDB RSDB Primary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS Failover Cluster Bostonsql4 Montréalsql4 Automatic Failover
  • 20. Failover Scenario Primary Data Center RSDB Active server goes offline RSDB Content Switch RSDB RSDB Primary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS Failover Cluster Bostonsql4 Montréalsql4 Automatic Failover
  • 21. Failover Scenario Primary Data Center RSDB Active server goes offline RSDB Content Switch RSDB RSDB Primary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS Failover Cluster Bostonsql4 Montréalsql4 Manual Failover
  • 22. Failover Scenario Primary Data Center Outage RSDB Content Switch RSDB RSDB Primary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS Failover Cluster Bostonsql4 Montréalsql4 Content Switch suspends primary IP addresses and activates DR site IP address so all connections are redirected to DR site
  • 23. Failover Scenario Primary Data Center Outage: Planned Outage RSDB Content Switch RSDB RSDB Primary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS Failover Cluster Bostonsql4 Montréalsql4 Manually execute script to manually switch to partner database.
  • 24. Failover Scenario Primary Data Center Outage: Unplanned Outage RSDB Content Switch RSDB RSDB Primary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS Failover Cluster Bostonsql4 Montréalsql4 Manually failover script to force service to switch with possible data loss
  • 25. Disaster Recovery Environment Database Configuration: Always On Content SwitchPrimary Data Center SSRSSSRS Content Switch SSRS SSRS SSRS SSRS - Always On Availability Group RSDB SecondaryReplica RSDB PrimaryReplica AG Listener VNN
  • 26. Q&A Hope you enjoyed the session!

Editor's Notes

  1. To ensure connectivity from the clients to the primary data center and the disaster recovery site, a common technique is to use a content switch to load-balance traffic within the individual sites as well as between the global sites. In the case of CareGroup Healthcare, a Cisco GSS is used as the content switch. As well, there is direct fiber network connectivity between the primary data center and the disaster recovery site to ensure minimal latencies for any communication between the two centers. If the primary site goes down for any reason, the content switch transparently redirects all client traffic to the disaster recovery set of Reporting Services servers. If the content switch is unavailable, the IP address can be changed at the DNS level. This latter change is a manual switch with a slightly longer network outage, which is due to the DNS cache clearing the old IP address and pointing to the new one.
  2. Initializing Database Mirror A relatively easy way to initialize a database mirroring setup is to: 1) Make full and transaction log backups of the Reporting Services databases on the principal server. 2) Copy the backups over to the disaster recovery site, restoring each Reporting Services database in no-recovery mode. 3) Set up the failover partner on the mirror (that is, the DR site) before you set up the failover partner on the principal server.
  3. Initializing Database Mirror A relatively easy way to initialize a database mirroring setup is to: 1) Make full and transaction log backups of the Reporting Services databases on the principal server. 2) Copy the backups over to the disaster recovery site, restoring each Reporting Services database in no-recovery mode. 3) Set up the failover partner on the mirror (that is, the DR site) before you set up the failover partner on the principal server.