1 / 36

Enhancing Scalability and Availability of the Microsoft Application Platform

Enhancing Scalability and Availability of the Microsoft Application Platform. Damir Bersinic Ruth Morton IT Pro Advisor IT Pro Advisor Microsoft Canada Microsoft Canada http://blogs.technet.com/canitpro http://blogs.technet.com/cdnitmanagers.

keira
Download Presentation

Enhancing Scalability and Availability of the Microsoft Application Platform

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Enhancing Scalability and Availability of the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor IT Pro Advisor Microsoft Canada Microsoft Canada http://blogs.technet.com/canitprohttp://blogs.technet.com/cdnitmanagers

  2. Where Are We Now? Developer IT Professional

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

  4. Microsoft Application Platform Stack

  5. Application Infrastructure

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

  7. The Web Tier • Content and Configuration Management • IIS Configuration Replication • Content Storage Options • Content Replication

  8. IIS Configuration Replication

  9. Local Content Storage

  10. Remote Content Storage

  11. Content Replication NAS Storage1 Cluster1 DFS Replication NAS Storage2 Cluster2

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

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

  14. Demonstration • Set-up Network Load Balancing on Front-End Web Servers

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

  16. 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

  17. 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

  18. 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

  19. SQL Server 2005 Always On Solutions

  20. Online Management 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 Rolling Upgrades and Hotfixes utilizing Database Mirroring, Log Shipping, or Replication Online alter table, index create, index rebuild Online granular restore Enterprise Edition Enterprise Edition

  21. Recovery from User or Application Errors 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 View point in time snapshots of the system Take database snapshots at intervals Log ship to another site using restore delay/standby options Log marks taken at key points in time Compare table to older version using tablediff utility Track history of DML statements Use SQL Trace or customized replication

  22. 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

  23. 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: www.microsoft.com/SQL/AlwaysOn

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

  25. Database Mirroring Client Setup • 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;…” • Specify the default database in the connection string • Don’t rely on “use mydb” in your application logic • Ensure you have re-connect logic. • The client does not automatically re-connect, it re-directs

  26. Demonstration • Configuring synchronous database mirroring • Configuring the application for database mirroring and failover

  27. 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

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

  29. Demonstration • Configuring Peer to Peer Replication

  30. Putting it all together… Database Scale Out For Queries • 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 Replication Database Mirroring Hot Standby Clustering Production Database Log Shipping Warm Standby Log Shipping With Restore Delay Logical Recovery Standby

  31. 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

  32. What’s Next? Developer IT Professional

  33. Thanks! Please Fill Out Your Evaluations!

More Related