Enhancing Scalability and Availability of the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada

Slides:



Advertisements
Similar presentations
Vineet Rao Lead Program Manager Microsoft Corporation SESSION CODE: DAT207.
Advertisements

Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
1 Disk Based Disaster Recovery & Data Replication Solutions Gavin Cole Storage Consultant SEE.
SQL Server Replication
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
1 © Copyright 2010 EMC Corporation. All rights reserved. EMC RecoverPoint/Cluster Enabler for Microsoft Failover Cluster.
Keith Burns Microsoft UK Mission Critical Database.
Virtual techdays INDIA │ September 2011 High Availability - A Story from Past to Future Balmukund Lakhani │ Technical Lead – SQL Support, Microsoft.
1© Copyright 2011 EMC Corporation. All rights reserved. EMC RECOVERPOINT/ CLUSTER ENABLER FOR MICROSOFT FAILOVER CLUSTER.
SQL Server High Availability
Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.
National Manager Database Services
Microsoft Load Balancing and Clustering. Outline Introduction Load balancing Clustering.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Elad Hayun Agenda What's New in Hyper-V 2012 Storage Improvements Networking Improvements VM Mobility Improvements.
Proven Techniques for Maximizing Availability Maximum Availability Architecture Lawrence To, Shari Yamaguchi High Availability Systems Group Systems Technologies.
High Availability & Oracle RAC 18 Aug 2005 John Sheaffer Platform Solution Specialist
Building Highly Available Systems with SQL Server™ 2005 Vineet Gupta Evangelist – Data and Integration Microsoft Corp.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Implementing Database Snapshot & Database Mirroring in SQL Server 2005 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft.
High-Availability Methods Lesson 25. Skills Matrix.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Technology Overview. Agenda What’s New and Better in Windows Server 2003? Why Upgrade to Windows Server 2003 ?  From Windows NT 4.0  From Windows 2000.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
MODIFY THIS SLIDE FOR ACTUAL PRESENTER, DELETE THIS BAR AFTER MODIFICATION.
DATABASE MIRRORING  Mirroring is mainly implemented for increasing the database availability.  Is configured on a Database level.  Mainly involves two.
1 Microsoft Exchange 2000 Server Maintenance and Troubleshooting System Maintenance and Monitoring Database Operation and Maintenance Backup, Restore,
Rajib Kundu Agenda Definitions Failover Cluster Database Snapshots Log shipping Database Mirroring.
Module 10: Maintaining High-Availability. Overview Introduction to Availability Increasing Availability Using Failover Clustering Standby Servers and.
Overview of high availability in Microsoft SQL Server Szymon Wójcik.
Module 13 Implementing Business Continuity. Module Overview Protecting and Recovering Content Working with Backup and Restore for Disaster Recovery Implementing.
7. Replication & HA Objectives –Understand Replication and HA Contents –Standby server –Failover clustering –Virtual server –Cluster –Replication Practicals.
OSIsoft High Availability PI Replication
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
High Availability in DB2 Nishant Sinha
Oracle DBAs Deploying Highly Available SQL Server Systems
Ashish Prabhu Douglas Utzig High Availability Systems Group Server Technologies Oracle Corporation.
1 | SharePoint Saturday Calgary – 31 MAY 2014 About Me.
Managing and Monitoring the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada
Alwayson Availability Groups
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
Data Disaster Recovery Planning Greg Fibiger 1/7/2016.
Your Data Any Place, Any Time Always On Technologies.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Narasimha Reddy Gopu Jisha J. Agenda Introduction to AlwaysOn * AlwaysOn Availability Groups (AG) & Listener * AlwaysOn Failover * AlwaysOn Active Secondaries.
What HADR Option(s) Are Right For You?. Where’s The AlwaysOn?
SQL Server High Availability Introduction to SQL Server high availability solutions.
WINDOWS AZURE AND THE HYBRID CLOUD. Hybrid Concepts and Cloud Services.
OSIsoft High Availability PI Replication Colin Breck, PI Server Team Dave Oda, PI SDK Team.
Oracle Standby Implementation Tantra Invedy. Standby Database Introduction Fail over Solution Disaster Recovery Solution if remote Ease of implementation.
Calgary Oracle User Group
Microsoft Connect /23/ :39 PM
Oracle Database High Availability
Backups for Azure SQL Databases and SQL Server instances running on Azure Virtual Machines Session on backup to Azure feature (manual and managed) in SQL.
Sponsors.
ALWAYSON AVAILABILITY GROUPS
Navigating the options for Data Redundancy
Disaster Recovery Where to Begin
Maximum Availability Architecture Enterprise Technology Centre.
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Oracle Database High Availability
Required 9s and data protection: introduction to sql server 2012 alwayson, new high availability solution Santosh Balasubramanian Senior Program Manager.
SQL Server High Availability Amit Vaid.
Your Data Any Place, Any Time
High Availability/Disaster Recovery Solution
Designing a Highly Available SQL Server Infrastructure
Windows Azure Hybrid Architectures and Patterns
Designing Database Solutions for SQL Server
Presentation transcript:

Enhancing Scalability and Availability of the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada

DeveloperDeveloper IT Professional Building a Strong Data Foundation to Your Application Developing Web Applications on the Microsoft Application Platform Managing and Monitoring the Microsoft Application Platform Enhancing Scalability and Availability of the Microsoft Application Platform Building, Deploying and Maintaining the Application Designing Architecture Where Are We Now?

Agenda Application Infrastructure The Web Tier (IIS 6) The Middle Tier (BizTalk Server 2006) The Data Tier (SQL Server 2005)

Microsoft Application Platform Stack

Application Infrastructure

Availability and Scalability Availability “It’s there when I want it” Scalability “It performs the same with 1000 users as with 100 users”

The Web Tier Content and Configuration Management IIS Configuration Replication Content Storage Options Content Replication

IIS Configuration Replication

Local Content Storage

Remote Content Storage

Content Replication DFS Replication NAS Storage2 Cluster1 Cluster2 NAS Storage1

Demonstration  Using IISCnfg.vbs for Configuration Replication  Xcopy Deployment of Contoso Store Content

The Web Tier Dealing with Web Traffic Scalability and Availability DNS Round Robin 3rd Party Load Balancers Windows Server 2003 Network Load Balancing

Demonstration  Set-up Network Load Balancing on Front-End Web Servers

ASP.NET 2.0 Considerations View state Forms authentication Webresource.axd Machine key common value Caching ASP.NET Session State Cannot use default InProc

The Middle Tier BizTalk Server 2006 functionality can be distributed across several machines Hosts are running process on a machine Hosts can be factored across BizTalk server machines Hosts can be clustered NLB can also be used to scale some adapters Also need to consider BizTalk databases

The Data Tier Key element in the application architecture Used by web application to store and retrieve data May also be used to store session state info Used by BizTalk Server 2006 for all operations Data tier must be available and perform well

SQL Server Always On Technologies Technologies supporting mission critical applications that demand the highest level of availability Increased availability during planned downtime Application, OS, hardware upgrade, maintenance & operations Protection & fast recovery from unplanned downtime Human and system errors, data corruption, natural disasters Available today in SQL Server 2005 Enterprise Edition

SQL Server 2005 Always On Solutions High Availability Requirement Solution System AdministrationOnline management Recovery from application or user errors Logical recovery Site disaster protectionDatabase or storage mirroring Database workload scale out with redundancy Replication

Online Management Downtime Scenarios Downtime Scenarios – Applying a patch or upgrade – Moving a table as part of system maintenance – Deploying a new version of an application – Recovering from a corrupted data file Always On Solutions Always On Solutions – Rolling Upgrades and Hotfixes utilizing Database Mirroring, Log Shipping, or Replication – Online alter table, index create, index rebuild – Online granular restore EnterpriseEdition EnterpriseEdition

Recovery from User or Application Errors Downtime Scenarios Downtime Scenarios – A table is accidentally dropped – An application makes incorrect updates to data – A user possibly made unauthorized changes to data Always On Solutions Always On Solutions – View point in time snapshots of the system Take database snapshots at intervals Take database snapshots at intervals Log ship to another site using restore delay/standby options Log ship to another site using restore delay/standby options Log marks taken at key points in time Log marks taken at key points in time Compare table to older version using tablediff utility Compare table to older version using tablediff utility – Track history of DML statements Use SQL Trace or customized replication Use SQL Trace or customized replication

Local Protection - Microsoft Clustering Local server hardware redundancy Using a shared disk subsystem Entire instance virtualized and fails over as a unit Can include other non-SQL Server resources Clustering can also be combined with Database Mirroring, Log Shipping, or Replication

Site Disaster Protection Downtime Scenarios Earthquake, fire, or flood causes datacenter outage Always On Solutions Database Mirroring to a secondary site Optimized solution - allows very fast failover times to the secondary site Optionally add log shipping for additional site protection Cannot be used for BizTalk Server 2006 databases Third party geo-clustering solutions for data center storage level redundancy Find SQL Server Always On reviewed solutions at the Microsoft Always On website:

Principal Witness Data Log Mirror Client 1. Commit 2. Write to Log 2. Transfer to mirror 6. Acknowledgement 7. Acknowledgement 4. Write to Log 5. Log written Data Log 3. Log written Synchronous Database Mirroring

Database Mirroring Instance Setup Step 1: Restore database copy to mirror site with norecovery option Step 2: Configure communication endpoints Step 3: Set the data protection level and Start Mirroring

Database Mirroring Client Setup 1.Add the failover partner property to the connection string OLE DB IDBInitialize::Initialize and DBPROP_INIT_PROVIDERSTRING uses “…;FailoverPartner=serverName;…” OLE DB IDataInitialize::GetDataSource and pwszInitializationString parameter use “…;Failover Partner=serverName;…” ODBC “…;Failover_Partner=serverName;…” ADO and ADO.Net “…;Failover Partner=serverName;…” JDBC SQL Server 2005 Driver 1.1 “…;failoverPartner=servername;…” 2.Specify the default database in the connection string Don’t rely on “use mydb” in your application logic 3.Ensure you have re-connect logic. The client does not automatically re-connect, it re-directs

Demonstration  Configuring synchronous database mirroring  Configuring the application for database mirroring and failover

Database Scale Out with Redundancy Scenario Real time reporting on one or more secondary servers that can also be used for disaster recovery Tier of identical databases for scaling out applications which are partitioned by site Solutions Transactional Replication Peer to Peer Replication Enterprise Edition

Database Scale Out with Redundancy Mississauga Transactional Replication Reporting + Redundancy Peer to Peer Replication Scale Out * + Redundancy Toronto Vancouver Halifax Calgary England *Application data modifications must be partitioned by site to prevent conflicts

1.Restore the initial database to all servers in the topology 2.Configure a Distributor on each server 3.Choose a server and create a Transactional publication –After creating, enable “Allow P2P subscriptions” 4.Configure the topology with the P2P wizard P2P Scale Out Instance Setup

Demonstration  Configuring Peer to Peer Replication

Putting it all together… Database Mirroring Hot Standby Warm Standby Logical Recovery Standby Log Shipping With Restore Delay Production Database Replication Database Scale Out For Queries Clustering Database Mirroring Primary disaster site for databases Log Shipping Additional disaster sites for databases Logical Recovery Replication Database reporting and read scale out with redundancy Clustering Local server redundancy

Session Summary Web Tier Configuration and content replication Network Load Balancing Middle Tier Clustering Data Tier Most important to protect and have perform well Leverage SQL Server Always On technologies

resources

DeveloperDeveloper IT Professional Building a Strong Data Foundation to Your Application Developing Web Applications on the Microsoft Application Platform Managing and Monitoring the Microsoft Application Platform Enhancing Scalability and Availability of the Microsoft Application Platform Building, Deploying and Maintaining the Application Designing Architecture What’s Next?

Thanks! Please Fill Out Your Evaluations!