+ All Categories
Home > Documents > Enhancing Scalability and Availability of the Microsoft Application Platform

Enhancing Scalability and Availability of the Microsoft Application Platform

Date post: 06-Jan-2016
Category:
Upload: keira
View: 38 times
Download: 0 times
Share this document with a friend
Description:
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. - PowerPoint PPT Presentation
Popular Tags:
36
Transcript
Page 1: Enhancing Scalability and Availability of the Microsoft Application Platform
Page 2: Enhancing Scalability and Availability of the Microsoft Application Platform

Enhancing Scalability and Availability of the Microsoft Application Platform

Damir Bersinic Ruth MortonIT Pro Advisor IT Pro AdvisorMicrosoft Canada Microsoft Canadahttp://blogs.technet.com/canitpro http://blogs.technet.com/cdnitmanagers

Page 3: Enhancing Scalability and Availability of the Microsoft Application Platform

Developer IT Professional

Where Are We Now?

Page 4: Enhancing Scalability and Availability of the Microsoft Application Platform

Agenda

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

Page 5: Enhancing Scalability and Availability of the Microsoft Application Platform

Microsoft Application Platform Stack

Page 6: Enhancing Scalability and Availability of the Microsoft Application Platform

Application Infrastructure

Page 7: Enhancing Scalability and Availability of the Microsoft Application Platform

Availability and Scalability

Availability

“It’s there when I want it”Scalability

“It performs the same with 1000 users as with 100 users”

Page 8: Enhancing Scalability and Availability of the Microsoft Application Platform

The Web Tier

Content and Configuration ManagementIIS Configuration ReplicationContent Storage OptionsContent Replication

Page 9: Enhancing Scalability and Availability of the Microsoft Application Platform

IIS Configuration Replication

Page 10: Enhancing Scalability and Availability of the Microsoft Application Platform

Local Content Storage

Web andContent

Web andContent

Web andContent

Web andContent

Web andContent

` Firewall(s)

Internet

Load Balancer(s)

Page 11: Enhancing Scalability and Availability of the Microsoft Application Platform

Remote Content Storage`

Firewall(s)

Internet

Load Balancer(s)

Content Server(s)

Page 12: Enhancing Scalability and Availability of the Microsoft Application Platform

Content Replication

DFSReplication

NAS Storage2

Cluster1

Cluster2

NAS Storage1

Page 13: Enhancing Scalability and Availability of the Microsoft Application Platform

DemonstrationUsing IISCnfg.vbs for Configuration ReplicationXcopy Deployment of Contoso Store Content

Page 14: Enhancing Scalability and Availability of the Microsoft Application Platform

The Web Tier

Dealing with Web Traffic Scalability and AvailabilityDNS Round Robin3rd Party Load BalancersWindows Server 2003 Network Load Balancing

Page 15: Enhancing Scalability and Availability of the Microsoft Application Platform

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

Page 16: Enhancing Scalability and Availability of the Microsoft Application Platform

ASP.NET 2.0 Considerations

ASP.NET 2.0 ConsiderationsView stateForms authenticationWebresource.axdMachine key common valueCaching

ASP.NET Session StateCannot use default InProc

Page 17: Enhancing Scalability and Availability of the Microsoft Application Platform

The Middle Tier

BizTalk Server 2006 functionality can be distributed across several machines

Hosts are running process on a machineHosts can be factored across BizTalk server machinesHosts can be clusteredNLB can also be used to scale some adaptersAlso need to consider BizTalk databases

Page 18: Enhancing Scalability and Availability of the Microsoft Application Platform

The Data Tier

Key element in the application architectureUsed 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

Page 19: Enhancing Scalability and Availability of the Microsoft Application Platform

SQL Server Always On Technologies

Technologies supporting mission critical applications that demand the highest level of availability

Increased availability during planned downtimeApplication, OS, hardware upgrade, maintenance & operations

Protection & fast recovery from unplanned downtimeHuman and system errors, data corruption, natural disasters

Available today in SQL Server 2005 Enterprise Edition

Page 20: Enhancing Scalability and Availability of the Microsoft Application Platform

SQL Server 2005 Always On Solutions

High Availability Requirement

Solution

System Administration Online management

Recovery from application or user errors

Logical recovery

Site disaster protection Database or storage mirroring

Database workload scale out with redundancy

Replication

Page 21: Enhancing Scalability and Availability of the Microsoft Application Platform

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

EnterpriseEdition

EnterpriseEdition

Page 22: Enhancing Scalability and Availability of the Microsoft Application Platform

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

Page 23: Enhancing Scalability and Availability of the Microsoft Application Platform

Local Protection - Microsoft Clustering

Local server hardware redundancy Using a shared disk subsystemEntire instance virtualized and fails over as a unitCan include other non-SQL Server resourcesClustering can also be combined with Database Mirroring, Log Shipping, or Replication

Page 24: Enhancing Scalability and Availability of the Microsoft Application Platform

Site Disaster Protection

Downtime ScenariosEarthquake, fire, or flood causes datacenter outage

Always On SolutionsDatabase Mirroring to a secondary site

Optimized solution - allows very fast failover times to the secondary siteOptionally add log shipping for additional site protectionCannot 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

Page 25: Enhancing Scalability and Availability of the Microsoft Application Platform

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

Page 26: Enhancing Scalability and Availability of the Microsoft Application Platform

Database Mirroring Client Setup

1. Add the failover partner property to the connection stringOLE 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 stringDon’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

Page 27: Enhancing Scalability and Availability of the Microsoft Application Platform

DemonstrationConfiguring synchronous database mirroringConfiguring the application for database mirroring and failover

Page 28: Enhancing Scalability and Availability of the Microsoft Application Platform

Database Scale Out with Redundancy

ScenarioReal time reporting on one or more secondary servers that can also be used for disaster recoveryTier of identical databases for scaling out applications which are partitioned by site

SolutionsTransactional Replication Peer to Peer Replication

EnterpriseEdition

Page 29: Enhancing Scalability and Availability of the Microsoft Application Platform

Database Scale Out with Redundancy

Mississauga

Transactional ReplicationReporting + Redundancy

Peer to Peer ReplicationScale Out* + Redundancy

Toronto

Toronto

VancouverHalifax

Calgary

England

*Application data modifications must be partitioned by site to prevent conflicts

Page 30: Enhancing Scalability and Availability of the Microsoft Application Platform

DemonstrationConfiguring Peer to Peer Replication

Page 31: Enhancing Scalability and Availability of the Microsoft Application Platform

Putting it all together…

Database Mirroring

Hot Standby

Warm Standby

Logical RecoveryStandby

Log Shipping

Log Shipping With Restore Delay

ProductionDatabase

Replication

DatabaseScale Out

For Queries

Clustering

Database MirroringPrimary disaster site for databases

Log ShippingAdditional disaster sites for databasesLogical Recovery

ReplicationDatabase reporting and read scale out with redundancy

ClusteringLocal server redundancy

Page 32: Enhancing Scalability and Availability of the Microsoft Application Platform

Session Summary

Web Tier Configuration and content replicationNetwork Load Balancing

Middle TierClustering

Data TierMost important to protect and have perform wellLeverage SQL Server Always On technologies

Page 33: Enhancing Scalability and Availability of the Microsoft Application Platform

resourceswww.microsoft.ca/technet/unify/resources

Page 34: Enhancing Scalability and Availability of the Microsoft Application Platform

Developer IT Professional

What’s Next?

Page 35: Enhancing Scalability and Availability of the Microsoft Application Platform

Thanks! Please Fill Out Your Evaluations!

Page 36: Enhancing Scalability and Availability of the Microsoft Application Platform

Recommended