What Every MCT Needs to Know about Clustering and High Availability  Rodney R. Fournier Microsoft MVP - Windows Server - C...
Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </l...
Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </l...
Terms you need to know <ul><ul><li>Active/Passive vs. Active/Active vs. Instance </li></ul></ul><ul><ul><li>Failover & Fai...
Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </l...
Four Types of Clustering <ul><li>High Performance Computing </li></ul><ul><li>Component Load Balancing </li></ul><ul><li>N...
High Performance Computing (HPC) <ul><li>Super Computing </li></ul><ul><li>Also called HPC Clusters or Supercluster </li><...
Component Load Balancing (CLB) <ul><li>Component Object Model (COM+) components load balancing </li></ul><ul><li>Calls to ...
Network Load Balancing (NLB) <ul><li>Up to 32 nodes </li></ul><ul><li>Layers 2 and 3 of the OSI model </li></ul><ul><li>Ca...
Server Clustering <ul><li>WINS </li></ul><ul><li>DHCP </li></ul><ul><li>Exchange Server </li></ul><ul><li>SQL Server </li>...
Agenda <ul><li>Terms you need to know </li></ul><ul><li>Types of Clustering </li></ul><ul><li>What is Clustering? </li></u...
Shared Nothing Model Network Heartbeat External Storage Array Node A Node B Public Public <ul><li>“ Shared Nothing” </li><...
Basics <ul><li>Quorum = Clustering </li></ul><ul><ul><li>Stores most current configuration data in quorum recovery logs an...
Server Cluster Components (Windows-based) <ul><li>Virtual server </li></ul><ul><ul><li>From client/application perspective...
Hardware Considerations <ul><li>Buy systems from the Windows Server Catalog: Cluster Solution – Hardware Compatibility Lis...
Shared Disk Configuration <ul><li>Instance-to-disk ratio:  Two resources cannot share a physical disk  </li></ul><ul><li>B...
Shared Disk Configuration <ul><li>Be sure all disks are dependencies of the SQL Server/Exchange resource </li></ul><ul><li...
<ul><li>Network-attached storage (NAS) </li></ul><ul><ul><li>Not supported for clusters </li></ul></ul><ul><li>Storage are...
Software Considerations <ul><li>Exchange/SQL Server 2000 Enterprise Edition </li></ul><ul><li>Operating systems: </li></ul...
Network Configurations <ul><li>Cluster nodes with Windows domains, DNS,  and WINS </li></ul><ul><ul><li>You may still need...
Network Configuration Server Cluster Public Network Shared Disk Array Node A Node B Heartbeat
Processor/Memory  Configuration <ul><li>Configure each cluster node with processing power sufficient to handle the load fo...
Failure External Storage Array Node A Node B X Network Heartbeat <ul><li>“ Shared Nothing” </li></ul><ul><ul><ul><li>For m...
So Why Cluster? <ul><ul><li>Provide High-Availability </li></ul></ul><ul><ul><ul><li>Failover mitigates outage when hardwa...
What Don’t You Get? <ul><li>Does not protect against: </li></ul><ul><ul><li>Loss of or damage to shared storage </li></ul>...
Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </l...
Overview Of Exchange Clustering <ul><li>Exchange Virtual Server (EVS) </li></ul><ul><ul><li>Physical Disk resource: SCSI, ...
Clustering Exchange Client PCs Node A Node B Disk cabinet A Disk cabinet B Heartbeat EVS Passive Node Failure Occurs! SCSI...
Overview Of Exchange Clustering 7+1 Active/Passive 2+0 Active/Active – Not Recommended 1+1 Active/Passive
Requirements For Clustering Exchange 2003 <ul><li>Windows Server 2003 </li></ul><ul><ul><li>Enterprise Edition and Datacen...
<ul><li>Exchange Cluster Models </li></ul><ul><ul><li>Active/Passive is the  strongly preferred   model </li></ul></ul><ul...
<ul><li>Active/Active </li></ul><ul><ul><li>System Attendant </li></ul></ul><ul><ul><li>Information Store </li></ul></ul><...
<ul><li>NOT Supported </li></ul><ul><ul><li>Active Directory Connector (ADC) </li></ul></ul><ul><ul><li>Exchange Event Ser...
<ul><li>Cluster certified hardware only </li></ul><ul><ul><li>Windows Server Catalog – Cluster or Geographic Cluster </li>...
<ul><li>Design storage </li></ul><ul><ul><li>Four storage group maximum on node </li></ul></ul><ul><ul><li>Shared disks mu...
Building An Exchange Cluster <ul><li>Design network </li></ul><ul><ul><li>Use multiple networks with  dedicated private ne...
Building An Exchange Cluster <ul><li>Step 1 - Prepare Hardware </li></ul><ul><ul><li>Apply latest system BIOS </li></ul></...
Building An Exchange Cluster <ul><li>Step 2 – Install operating system and other prerequisites </li></ul><ul><ul><li>Insta...
Building An Exchange Cluster <ul><li>Step 3 – Prepare Nodes for Cluster Service </li></ul><ul><ul><li>Disable unnecessary ...
Building An Exchange Cluster <ul><li>Step 4 – Install Cluster Service on each node. </li></ul><ul><ul><li>Move TEMP/TMP fo...
Building An Exchange Cluster <ul><li>Step 7 – Install Exchange 2003 Service Packs and Updates </li></ul><ul><ul><li>Always...
Building An Exchange Cluster <ul><li>Step 9 – (Optional) Repeat Step 8 if creating additional EVS’ </li></ul><ul><li>Step ...
Building An Exchange Cluster <ul><li>Prior to Putting into Production </li></ul><ul><ul><li>Test failover policies </li></...
Building An Exchange Cluster <ul><li>Additional Best Practices </li></ul><ul><ul><li>Do not install applications into the ...
Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </l...
SQL Server Virtual Servers <ul><li>Virtual servers:  Instances of clustered  SQL Server servers </li></ul><ul><ul><li>From...
SQL Server Cluster Types <ul><li>Single-Instance Cluster </li></ul><ul><ul><li>Only one SQL Server virtual server running;...
The Failover Process <ul><li>Operating-system checks </li></ul><ul><ul><li>Heartbeat checks availability of nodes and virt...
Illustration Of Failover Client PCs Node A Node B Shared Disk Array Heartbeat SQL Server SQL Server
<ul><li>Application can keep running;  It doesn’t have to be aware of a new IP address or server name;  Only virtual serve...
Enhancements To Failover Clustering In SQL Server <ul><li>SQL Server Setup installs and uninstalls a cluster </li></ul><ul...
Enhancements To Failover Clustering (Continued) <ul><li>All nodes have local copies of SQL Server tools and executables </...
Building A SQL 2000 Cluster <ul><li>Step 1 - Prepare Hardware </li></ul><ul><ul><li>Apply latest system BIOS </li></ul></u...
Building A SQL 2000 Cluster <ul><li>Step 2 – Install OS and Pre-Reqs </li></ul><ul><ul><li>Install Windows Server 2003 </l...
Building A SQL 2000 Cluster <ul><li>Step 3 – Prepare Nodes for Cluster Service </li></ul><ul><ul><li>Disable unnecessary s...
Building A SQL 2000 Cluster <ul><li>Step 4 – Install Cluster Service on each node. </li></ul><ul><li>Step 5 – Install Netw...
Building A SQL 2000 Cluster <ul><li>Step 7 – Install SQL 2000 Service Pack 4 and Updates </li></ul><ul><ul><li>Always upda...
Building A SQL 2000 Cluster <ul><li>Best Practices </li></ul><ul><ul><li>Do not install applications into the default Clus...
Failover Clustering  SQL Server 2005 <ul><li>Further refined in SQL Server 2005 </li></ul><ul><li>More nodes </li></ul><ul...
Database Mirroring New for SQL Server 2005 <ul><li>Instant   Standby </li></ul><ul><li>Conceptually a fault-tolerant serve...
SQL 2005 Failover Solutions At A Glance <ul><li>Both Provide </li></ul><ul><ul><li>Automatic detection and failover </li><...
Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </l...
MSDTC Best Practices <ul><li>Install Network DTC with Windows  http://support.microsoft.com/kb/817064 </li></ul><ul><li>In...
Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </l...
Microsoft Windows Server -Clustering MVP <ul><li>www.nw-america.com  – Clustering </li></ul><ul><li>msmvps.com/clustering ...
Resources <ul><li>Clustering newsgroup support – msnews.microsoft.com </li></ul><ul><ul><li>Microsoft.public.exchange.clus...
Resources <ul><li>SQL Server High Availability resources  http://www.microsoft.com/sql/techinfo/administration/2000/availa...
Resources <ul><li>Exchange Server 2003 planning guide: http://www.microsoft.com/technet/prodtechnol/exchange/Exchange2003/...
Resources <ul><li>Learn more about Clustering at TechEd </li></ul><ul><ul><li>Hands On Labs </li></ul></ul><ul><ul><ul><li...
Community Resources <ul><li>Attend a free chat or web cast </li></ul><ul><li>http://www.microsoft.com/communities/chats/de...
Where To Learn More <ul><li>Other Tech Ed Sessions: </li></ul><ul><ul><li>BAP200  Microsoft Business Solutions-Great Plain...
Where To Learn More <ul><li>Other Tech Ed Sessions: </li></ul><ul><ul><li>MSG360  Microsoft IT: Exchange Best Practices fr...
Your Feedback is Important! Please Fill Out a Survey for This Session on CommNet
© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes n...
Upcoming SlideShare
Loading in …5
×

Clustering and High Availability

4,178 views

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,178
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
189
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 05/13/10 21:37 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • Clustering and High Availability

    1. 2. What Every MCT Needs to Know about Clustering and High Availability Rodney R. Fournier Microsoft MVP - Windows Server - Clustering Net Working America, Inc.
    2. 3. Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </li></ul><ul><li>Overview of Exchange Clustering </li></ul><ul><li>Overview of SQL Server Failover Clustering </li></ul><ul><li>MSDTC </li></ul><ul><li>Resources </li></ul>
    3. 4. Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </li></ul><ul><li>Overview of Exchange Clustering </li></ul><ul><li>Overview of SQL Server Failover Clustering </li></ul><ul><li>MSDTC </li></ul><ul><li>Resources </li></ul>
    4. 5. Terms you need to know <ul><ul><li>Active/Passive vs. Active/Active vs. Instance </li></ul></ul><ul><ul><li>Failover & Failback </li></ul></ul><ul><ul><li>Heartbeat </li></ul></ul><ul><ul><li>Quorum vs. Majority Node Set </li></ul></ul><ul><ul><li>Shared Storage </li></ul></ul><ul><ul><li>Resources vs. Resource Groups </li></ul></ul><ul><ul><li>High-availability vs. Fault Tolerance </li></ul></ul><ul><ul><li>Scalability vs. Availability </li></ul></ul><ul><ul><li>Mean Time To Failure </li></ul></ul><ul><ul><li>Mean Time To Recover </li></ul></ul><ul><ul><li>Node, Virtual Server, IP, Name, etc. </li></ul></ul><ul><ul><li>Cluster aware </li></ul></ul>
    5. 6. Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </li></ul><ul><li>Overview of Exchange Clustering </li></ul><ul><li>Overview of SQL Server Failover Clustering </li></ul><ul><li>MSDTC </li></ul><ul><li>Resources </li></ul>
    6. 7. Four Types of Clustering <ul><li>High Performance Computing </li></ul><ul><li>Component Load Balancing </li></ul><ul><li>Network Load Balancing </li></ul><ul><li>Server Clustering </li></ul>
    7. 8. High Performance Computing (HPC) <ul><li>Super Computing </li></ul><ul><li>Also called HPC Clusters or Supercluster </li></ul><ul><li>As many as 256 nodes </li></ul><ul><li>Strong competition for UNIX/Linux </li></ul><ul><li>http://www.microsoft.com/windowsserver2003/hpc/default.mspx </li></ul><ul><li>Special applications </li></ul>
    8. 9. Component Load Balancing (CLB) <ul><li>Component Object Model (COM+) components load balancing </li></ul><ul><li>Calls to activate COM+ components are load balanced to different servers within the COM+ cluster </li></ul><ul><li>http://www.microsoft.com/applicationcenter/techinfo/deployment/2000/AppCenterCLBTechOver.doc </li></ul><ul><li>Application Center 2000 </li></ul>
    9. 10. Network Load Balancing (NLB) <ul><li>Up to 32 nodes </li></ul><ul><li>Layers 2 and 3 of the OSI model </li></ul><ul><li>Can provide Scalability </li></ul><ul><li>Provides Availability </li></ul><ul><li>Supported on version of Windows Server 2003 </li></ul><ul><li>http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/clustering/nlbbp.mspx </li></ul><ul><li>IIS, SharePoint Portal Server, VPN Remote Access, ISA, Terminal Server </li></ul>
    10. 11. Server Clustering <ul><li>WINS </li></ul><ul><li>DHCP </li></ul><ul><li>Exchange Server </li></ul><ul><li>SQL Server </li></ul><ul><li>File Shares </li></ul><ul><li>Printers </li></ul><ul><li>Message Queuing </li></ul><ul><li>Distributed Transaction Coordinator </li></ul><ul><li>Generic Service or Script </li></ul><ul><li>Volume Shadow Copy Service Task </li></ul><ul><li>Microsoft Search Service </li></ul>
    11. 12. Agenda <ul><li>Terms you need to know </li></ul><ul><li>Types of Clustering </li></ul><ul><li>What is Clustering? </li></ul><ul><li>Overview of Exchange Clustering </li></ul><ul><li>Overview of SQL Server Failover Clustering </li></ul><ul><li>MSDTC </li></ul><ul><li>Resources </li></ul>
    12. 13. Shared Nothing Model Network Heartbeat External Storage Array Node A Node B Public Public <ul><li>“ Shared Nothing” </li></ul><ul><ul><ul><li>For more information, see 293289 </li></ul></ul></ul>
    13. 14. Basics <ul><li>Quorum = Clustering </li></ul><ul><ul><li>Stores most current configuration data in quorum recovery logs and registry checkpoints </li></ul></ul><ul><ul><li>Maintains resource checkpoints </li></ul></ul><ul><ul><li>Provides persistent physical storage </li></ul></ul><ul><li>Recovery Logs used to </li></ul><ul><ul><li>Enable any node to form a cluster </li></ul></ul><ul><ul><li>Enable nodes to maintain a cluster </li></ul></ul><ul><ul><li>Guarantee that a single cluster is formed </li></ul></ul><ul><li>Cluster.Log file </li></ul><ul><ul><li>Logs cluster activity; great for troubleshooting </li></ul></ul>
    14. 15. Server Cluster Components (Windows-based) <ul><li>Virtual server </li></ul><ul><ul><li>From client/application perspective, the server names or IP addresses used for access </li></ul></ul><ul><li>Hardware components of server clusters: </li></ul><ul><ul><li>Cluster nodes </li></ul></ul><ul><ul><li>Internal heartbeat </li></ul></ul><ul><ul><li>External networking </li></ul></ul><ul><ul><li>Shared cluster disk array: </li></ul></ul><ul><ul><ul><li>Quorum disk </li></ul></ul></ul><ul><ul><ul><li>Data disks </li></ul></ul></ul>Server Cluster Public Network Shared Disk Array Node A Node B Heartbeat
    15. 16. Hardware Considerations <ul><li>Buy systems from the Windows Server Catalog: Cluster Solution – Hardware Compatibility List (HCL) </li></ul><ul><ul><li>http://www.microsoft.com/windows/catalog/server/default.aspx?xslt=categoryproduct&subid=22&pgn=8b712458-b91c-4a7d-8695-23e9cd3ae95b </li></ul></ul><ul><ul><li>Entire systems, not individual components </li></ul></ul><ul><li>Ask your preferred vendor for help </li></ul><ul><ul><li>Get guarantees! </li></ul></ul><ul><ul><li>Buy a support agreement that matches your level of availability </li></ul></ul><ul><ul><li>Remember a PSS contract, too! </li></ul></ul><ul><li>Availability requirements, budget, 8 th & 9 th layer </li></ul>
    16. 17. Shared Disk Configuration <ul><li>Instance-to-disk ratio: Two resources cannot share a physical disk </li></ul><ul><li>Basic disks only; mount points and dynamic disks are not supported </li></ul><ul><li>File compression and encryption are not supported </li></ul><ul><li>Use Fibre Channel if you can; use SCSI if cost is a factor or iSCSI </li></ul><ul><li>Use hardware-based RAID only; Software-based RAID is not supported </li></ul><ul><li>Each RAID controller is different </li></ul><ul><ul><li>Turn writeback caching off if controller in server nodes </li></ul></ul><ul><li>… continued </li></ul>
    17. 18. Shared Disk Configuration <ul><li>Be sure all disks are dependencies of the SQL Server/Exchange resource </li></ul><ul><li>Disk is single point of failure. Store spare drives and have a secondary form of high availability </li></ul><ul><li>Data </li></ul><ul><ul><li>Recommended: RAID 10 array of mirrored sets that are then striped </li></ul></ul><ul><ul><li>RAID 5 okay </li></ul></ul><ul><li>Logs </li></ul><ul><ul><li>RAID 1 or possibly mirrored sets that are then striped; not RAID 5 </li></ul></ul>
    18. 19. <ul><li>Network-attached storage (NAS) </li></ul><ul><ul><li>Not supported for clusters </li></ul></ul><ul><li>Storage area networks (SANs) </li></ul><ul><ul><li>Only those on the HCL Cluster list or the Cluster/Multi-Cluster Device list can be used </li></ul></ul><ul><ul><li>Get verification that it is set up properly Setup is usually done by the vendor </li></ul></ul><ul><ul><li>Do not accept the default configuration—it will probably be for a file system </li></ul></ul><ul><li>iSCSI is now supported with 2003 SP1 </li></ul>Shared Disk Configuration
    19. 20. Software Considerations <ul><li>Exchange/SQL Server 2000 Enterprise Edition </li></ul><ul><li>Operating systems: </li></ul><ul><ul><li>Windows Server 2003 Enterprise Edition </li></ul></ul><ul><ul><li>Windows Server 2003 Datacenter Edition </li></ul></ul>
    20. 21. Network Configurations <ul><li>Cluster nodes with Windows domains, DNS, and WINS </li></ul><ul><ul><li>You may still need WINS for NetBIOS resolution </li></ul></ul><ul><li>Nodes and virtual server must be able to access the domain </li></ul><ul><ul><li>All nodes have to be in the same domain </li></ul></ul><ul><li>Network Card Settings </li></ul><ul><ul><li>Do not set NICs to Autodetect </li></ul></ul><ul><ul><li>You need at least 4 static IP addresses: 1 for each node, 1 for the server cluster, 1 for Clustered Service/Application </li></ul></ul><ul><ul><li>Recommend 6 (additional dedicated heartbeat NICs) </li></ul></ul><ul><li>Multiple IP Addresses </li></ul><ul><ul><li>Use separate subnets for IP addresses </li></ul></ul><ul><li>Bandwidth </li></ul>
    21. 22. Network Configuration Server Cluster Public Network Shared Disk Array Node A Node B Heartbeat
    22. 23. Processor/Memory Configuration <ul><li>Configure each cluster node with processing power sufficient to handle the load for any process that may run on it </li></ul><ul><li>Set Processor Affinity to N–1 if necessary </li></ul><ul><li>Test your application before putting it into production </li></ul><ul><li>Monitor processor usage. Use System Monitor </li></ul><ul><li>Memory </li></ul><ul><ul><li>Single-instance: No issues unless other services or applications are running </li></ul></ul><ul><ul><li>Multiple-instance: Be sure that one instance will not diminish the resources of other processes or instances in the event of a failover </li></ul></ul>
    23. 24. Failure External Storage Array Node A Node B X Network Heartbeat <ul><li>“ Shared Nothing” </li></ul><ul><ul><ul><li>For more information, see 293289 </li></ul></ul></ul>Public Public
    24. 25. So Why Cluster? <ul><ul><li>Provide High-Availability </li></ul></ul><ul><ul><ul><li>Failover mitigates outage when hardware failure occurs </li></ul></ul></ul><ul><ul><ul><li>Strengthened by fault tolerant design </li></ul></ul></ul><ul><ul><ul><li>Measured in 9s </li></ul></ul></ul><ul><ul><li>Managed maintenance/upgrades </li></ul></ul><ul><ul><ul><li>Rolling Upgrades </li></ul></ul></ul>Term Nines Downtime per Year Nirvana 100.00 0 seconds 5 Nines 99.999 5 minutes 4 Nines 99.99 52 minutes 3 Nines 99.9 8.7 hours 2 Nines or Fired 99 3.7 days
    25. 26. What Don’t You Get? <ul><li>Does not protect against: </li></ul><ul><ul><li>Loss of or damage to shared storage </li></ul></ul><ul><ul><li>Network failures </li></ul></ul><ul><ul><li>Application failures or database corruption </li></ul></ul><ul><ul><li>Disasters </li></ul></ul><ul><ul><li>Human errors </li></ul></ul><ul><li>Does not load balance mailboxes </li></ul><ul><li>Cannot move running applications, and shared state is lost! </li></ul>
    26. 27. Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </li></ul><ul><li>Overview of Exchange Clustering </li></ul><ul><li>Overview of SQL Server Failover Clustering </li></ul><ul><li>MSDTC </li></ul><ul><li>Resources </li></ul>
    27. 28. Overview Of Exchange Clustering <ul><li>Exchange Virtual Server (EVS) </li></ul><ul><ul><li>Physical Disk resource: SCSI, Fibre Channel (FC), or Internet SCSI (iSCSI) </li></ul></ul><ul><ul><li>IP Address resource </li></ul></ul><ul><ul><li>Network Name resource </li></ul></ul><ul><ul><li>System Attendant resource and resources created by System Attendant </li></ul></ul><ul><ul><li>Resources created by an administrator (for example, protocol virtual servers) </li></ul></ul>
    28. 29. Clustering Exchange Client PCs Node A Node B Disk cabinet A Disk cabinet B Heartbeat EVS Passive Node Failure Occurs! SCSI Reserve Broken EVS fails over and is available to clients EVS New Reservation Established
    29. 30. Overview Of Exchange Clustering 7+1 Active/Passive 2+0 Active/Active – Not Recommended 1+1 Active/Passive
    30. 31. Requirements For Clustering Exchange 2003 <ul><li>Windows Server 2003 </li></ul><ul><ul><li>Enterprise Edition and Datacenter Edition </li></ul></ul><ul><ul><ul><li>2-node Active/Active </li></ul></ul></ul><ul><ul><ul><li>Up to 8-node Active/Passive </li></ul></ul></ul>
    31. 32. <ul><li>Exchange Cluster Models </li></ul><ul><ul><li>Active/Passive is the strongly preferred model </li></ul></ul><ul><ul><ul><li>Fewer EVS’ than nodes </li></ul></ul></ul><ul><ul><ul><li>Must use if more than two nodes </li></ul></ul></ul><ul><ul><li>Active/Active is the strongly discouraged model </li></ul></ul><ul><ul><ul><li>Maximum of two nodes and maximum of two EVS’ </li></ul></ul></ul><ul><ul><ul><li>Maximum one RSG per cluster ( 824126 ) </li></ul></ul></ul><ul><ul><ul><li>Limits number of concurrent MAPI users per node to 1,900 </li></ul></ul></ul><ul><ul><ul><li>Limits average CPU utilization on each node to 40% </li></ul></ul></ul><ul><ul><ul><li>Two instances of store running in one Store.exe process; not enough contiguous virtual memory to bring resource online </li></ul></ul></ul><ul><li>Exchange Virtual Server Limits </li></ul><ul><ul><li>With two nodes, you can have up to two EVS’ </li></ul></ul><ul><ul><li>With three or more nodes you can have n-1 where n = number of nodes in cluster </li></ul></ul>Requirements For Clustering Exchange 2003
    32. 33. <ul><li>Active/Active </li></ul><ul><ul><li>System Attendant </li></ul></ul><ul><ul><li>Information Store </li></ul></ul><ul><ul><li>POP3, IMAP4, SMTP, HTTP </li></ul></ul><ul><ul><li>Microsoft Search (full-text indexing) </li></ul></ul><ul><ul><li>SMTP and routing group connectors </li></ul></ul><ul><li>Active/Passive </li></ul><ul><ul><li>Message Transfer Agent </li></ul></ul>Support For Clustering Exchange 2003
    33. 34. <ul><li>NOT Supported </li></ul><ul><ul><li>Active Directory Connector (ADC) </li></ul></ul><ul><ul><li>Exchange Event Service </li></ul></ul><ul><ul><li>Foreign Mail System Connectors </li></ul></ul><ul><ul><li>Network News Transport Protocol (NNTP) </li></ul></ul><ul><ul><li>Site Replication Service (SRS) </li></ul></ul>Requirements For Clustering Exchange 2003
    34. 35. <ul><li>Cluster certified hardware only </li></ul><ul><ul><li>Windows Server Catalog – Cluster or Geographic Cluster </li></ul></ul><ul><ul><ul><li>http://www.microsoft.com/windows/catalog/server </li></ul></ul></ul><ul><ul><ul><li>SCSI, FC or iSCSI external storage </li></ul></ul></ul><ul><ul><ul><li>Identical hardware for all nodes </li></ul></ul></ul><ul><ul><li>Microsoft support for Exchange failover clusters ( 810987 ) OS – 32-bit only </li></ul></ul><ul><ul><li>Windows Server 2003 Enterprise Edition </li></ul></ul><ul><ul><li>Windows Server 2003 Datacenter Edition </li></ul></ul><ul><ul><ul><li>Microsoft Distributed Transaction Coordinator (MSDTC) installed. </li></ul></ul></ul><ul><li>Exchange Server 2003 Enterprise Edition </li></ul>Requirements For Clustering Exchange 2003
    35. 36. <ul><li>Design storage </li></ul><ul><ul><li>Four storage group maximum on node </li></ul></ul><ul><ul><li>Shared disks must be NTFS/BASIC ( 237853 ) </li></ul></ul><ul><ul><li>Use Diskpart to align sectors at storage level </li></ul></ul><ul><ul><li>Use separate disk resources for logs/databases in EVS </li></ul></ul><ul><ul><li>Use separate resource group for quorum </li></ul></ul><ul><ul><li>Volume mount points supported on Windows 2003 ( 318458 ) </li></ul></ul><ul><ul><li>Some iSCSI ( 839686 ) and NAS ( 839687 ) devices are now supported for use with Exchange and Exchange clusters </li></ul></ul><ul><ul><ul><li>You cannot use NAS for quorum resource ( cluster FAQ ) </li></ul></ul></ul><ul><ul><li>Additional disk resources need to be added as dependency </li></ul></ul>Building An Exchange Cluster
    36. 37. Building An Exchange Cluster <ul><li>Design network </li></ul><ul><ul><li>Use multiple networks with dedicated private networks ( 258750 ) </li></ul></ul><ul><ul><li>Do not use teaming or DHCP ( 254101 ) </li></ul></ul><ul><ul><li>Need an IP address and Network Name resource for </li></ul></ul><ul><ul><ul><li>Each physical node </li></ul></ul></ul><ul><ul><ul><li>The cluster resource group </li></ul></ul></ul><ul><ul><ul><li>Each Exchange Virtual Server </li></ul></ul></ul><ul><ul><li>Use consistent naming standards </li></ul></ul>
    37. 38. Building An Exchange Cluster <ul><li>Step 1 - Prepare Hardware </li></ul><ul><ul><li>Apply latest system BIOS </li></ul></ul><ul><ul><li>Apply latest device firmware </li></ul></ul><ul><ul><li>Gather latest software drivers </li></ul></ul><ul><ul><li>Disable unnecessary hardware </li></ul></ul><ul><ul><li>Follow your hardware manufacturer recommendations </li></ul></ul><ul><ul><li>to ensure you are using only drivers or firmware that </li></ul></ul><ul><ul><li>have been tested for clusters </li></ul></ul>
    38. 39. Building An Exchange Cluster <ul><li>Step 2 – Install operating system and other prerequisites </li></ul><ul><ul><li>Install operating system (Windows Server 2003 preferred) </li></ul></ul><ul><ul><ul><li>SMTP, W3SVC and NNTP services </li></ul></ul></ul><ul><ul><li>Add nodes to domain as member servers </li></ul></ul><ul><ul><ul><li>Domain controllers are not supported for Exchange cluster nodes ( 810986 ) </li></ul></ul></ul><ul><ul><li>Windows Support Tools </li></ul></ul><ul><ul><li>Windows Update / Security hotfixes </li></ul></ul><ul><ul><li>If 1 GB or more of memory, tune with /3GB and /USERVA=3030 in Boot.ini </li></ul></ul>
    39. 40. Building An Exchange Cluster <ul><li>Step 3 – Prepare Nodes for Cluster Service </li></ul><ul><ul><li>Disable unnecessary services </li></ul></ul><ul><ul><li>Configure Networks </li></ul></ul><ul><ul><ul><li>Rename connections: Private Network and Public Network </li></ul></ul></ul><ul><ul><ul><li>Disable NetBIOS and DNS on private (heartbeat) interface </li></ul></ul></ul><ul><ul><ul><li>Disable Media Sense on NICs – Hard-code ( 258750 ) </li></ul></ul></ul><ul><ul><ul><li>Use 10MBs/Half-Duplex if not sure what speed to use </li></ul></ul></ul><ul><ul><ul><li>Give private network highest binding order </li></ul></ul></ul><ul><ul><ul><li>Unbind MS Client and File and Print on private network and bind IP and Network Monitor only </li></ul></ul></ul><ul><ul><li>Create/Select cluster service account </li></ul></ul><ul><ul><ul><li>Domain account w/local Administrator rights on each node </li></ul></ul></ul><ul><ul><ul><ul><li>Does NOT need Exchange Full Admin role </li></ul></ul></ul></ul><ul><ul><li>Create Quorum partition on shared disk </li></ul></ul><ul><ul><ul><li>50MB min; 500MB-1GB recommended </li></ul></ul></ul><ul><ul><li>Create and format additional disks/arrays </li></ul></ul>
    40. 41. Building An Exchange Cluster <ul><li>Step 4 – Install Cluster Service on each node. </li></ul><ul><ul><li>Move TEMP/TMP folder off %Systemroot% </li></ul></ul><ul><ul><li>Run Cluster Diagnostics and Verification Tool </li></ul></ul><ul><li>Step 5 – Install Network DTC on each node (MSKB 817064, 301600) </li></ul><ul><li>Step 6 – Install Exchange 2003 </li></ul><ul><ul><li>Unattended setup not supported </li></ul></ul><ul><ul><li>Binaries installed locally in same location on each node </li></ul></ul><ul><ul><li>Install one node at a time and reboot each node when finished </li></ul></ul>
    41. 42. Building An Exchange Cluster <ul><li>Step 7 – Install Exchange 2003 Service Packs and Updates </li></ul><ul><ul><li>Always update one node at a time, then the EVS via Cluster Administrator (for SP1) 867624 </li></ul></ul><ul><li>Step 8 – Create Exchange Virtual Server </li></ul><ul><ul><li>Create Resource Group </li></ul></ul><ul><ul><ul><li>Disk Resource </li></ul></ul></ul><ul><ul><ul><li>IP Address Resource </li></ul></ul></ul><ul><ul><ul><li>Network Name Resource </li></ul></ul></ul><ul><ul><ul><li>Exchange System Attendant Resource </li></ul></ul></ul>
    42. 43. Building An Exchange Cluster <ul><li>Step 9 – (Optional) Repeat Step 8 if creating additional EVS’ </li></ul><ul><li>Step 10 – Configure EVS resources </li></ul><ul><ul><li>Increase pending time-out on Active/Active clusters </li></ul></ul><ul><ul><li>Configure Restart and Affect the Group settings </li></ul></ul><ul><ul><ul><li>Configure Information Store and System Attendant resources for 1 restart </li></ul></ul></ul><ul><li>Step 11 – Bring resources online </li></ul><ul><li>Step 12 – Configure failover and failback ( 197047 ) </li></ul>
    43. 44. Building An Exchange Cluster <ul><li>Prior to Putting into Production </li></ul><ul><ul><li>Test failover policies </li></ul></ul><ul><ul><li>Test hardware (simulate failures) </li></ul></ul><ul><ul><li>Exchange Server Load Simulator 2003 (LoadSim) </li></ul></ul><ul><ul><ul><li>Test under heavy network, disk I/O, and services loads </li></ul></ul></ul><ul><ul><ul><li>Test under large number of simultaneous logon attempts </li></ul></ul></ul><ul><ul><ul><li>Clean up after LoadSim </li></ul></ul></ul><ul><ul><ul><ul><li>Manually remove everything or flatten cluster and rebuild </li></ul></ul></ul></ul><ul><ul><li>Exchange Server 2003 Jetstress 2004 Tool Microsoft Exchange Server Best Practices Analyzer Tool http://www.microsoft.com/exchange/exbpa </li></ul></ul>
    44. 45. Building An Exchange Cluster <ul><li>Additional Best Practices </li></ul><ul><ul><li>Do not install applications into the default Cluster Group </li></ul></ul><ul><ul><li>Do not delete or rename the default Cluster Group or remove any resources from that resource group </li></ul></ul><ul><ul><li>Do not use APM/ACPI power-saving features </li></ul></ul><ul><ul><li>Do not set the Cluster service account to be a member of the domain administrator group </li></ul></ul><ul><ul><li>Turn off cluster event log replication if auditing is enabled and security logging is heavy, or if you do not want event log entries to be replicated ( 224969 ) </li></ul></ul>
    45. 46. Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </li></ul><ul><li>Overview of Exchange Clustering </li></ul><ul><li>Overview of SQL Server Failover Clustering </li></ul><ul><li>MSDTC </li></ul><ul><li>Resources </li></ul>
    46. 47. SQL Server Virtual Servers <ul><li>Virtual servers: Instances of clustered SQL Server servers </li></ul><ul><ul><li>From client/application perspective, the server names or IP addresses used for access </li></ul></ul><ul><li>Cluster resources configured during install of a virtual server: </li></ul><ul><ul><li>SQL Server IP Address </li></ul></ul><ul><ul><li>SQL Server Network Name </li></ul></ul><ul><ul><li>SQL Server (clustered instance of the SQL Server 2000 service) </li></ul></ul><ul><ul><li>SQL Server Agent </li></ul></ul><ul><ul><li>SQL Server Fulltext </li></ul></ul><ul><ul><li>SQL Server virtual server administrator account </li></ul></ul>
    47. 48. SQL Server Cluster Types <ul><li>Single-Instance Cluster </li></ul><ul><ul><li>Only one SQL Server virtual server running; Can be a default or named instance </li></ul></ul><ul><ul><li>Replaces term active/passive </li></ul></ul><ul><li>Multiple-Instance Cluster </li></ul><ul><ul><li>Up to 16 SQL Server virtual servers are supported per server cluster: </li></ul></ul><ul><ul><ul><li>1 default instance + up to 15 named instances OR </li></ul></ul></ul><ul><ul><ul><li>Up to 16 named instances only </li></ul></ul></ul><ul><ul><li>Replaces term active/active </li></ul></ul>
    48. 49. The Failover Process <ul><li>Operating-system checks </li></ul><ul><ul><li>Heartbeat checks availability of nodes and virtual server </li></ul></ul><ul><li>SQL Server checks </li></ul><ul><ul><li>LooksAlive check runs every five seconds </li></ul></ul><ul><ul><li>IsAlive check runs SELECT @@SERVERNAME query </li></ul></ul><ul><li>Failover to another node </li></ul><ul><ul><li>Windows Clustering attempts restart on same node or fails over to another node </li></ul></ul><ul><ul><li>SQL Server service starts </li></ul></ul><ul><ul><li>Brings master online </li></ul></ul><ul><ul><li>Database recovery proceeds </li></ul></ul><ul><ul><li>End users and applications must reconnect </li></ul></ul>
    49. 50. Illustration Of Failover Client PCs Node A Node B Shared Disk Array Heartbeat SQL Server SQL Server
    50. 51. <ul><li>Application can keep running; It doesn’t have to be aware of a new IP address or server name; Only virtual server fails over </li></ul><ul><li>Failover is nearly transparent, except… </li></ul><ul><ul><li>SQL goes through a stop/restart and connections are dropped </li></ul></ul><ul><ul><li>Completed transactions in log are rolled forward; Incomplete transactions will be rolled back </li></ul></ul><ul><li>Plan for and manage failover: </li></ul><ul><ul><li>Handle a failover gracefully in code, or have retry logic </li></ul></ul><ul><ul><li>Consider using middleware (MTS/MSMQ/BizTalk) for transactions </li></ul></ul><ul><ul><li>Use the Clustering API to code cluster-aware applications </li></ul></ul><ul><ul><li>Non-cluster-aware applications/services may have to be Generic Application or Service resources </li></ul></ul><ul><ul><li>Consider the network timeout value </li></ul></ul>Failover From A Client/Application Perspective
    51. 52. Enhancements To Failover Clustering In SQL Server <ul><li>SQL Server Setup installs and uninstalls a cluster </li></ul><ul><ul><li>SQL Server failover clustering is a permanent option; No unclustering is possible; To remove, you must uninstall </li></ul></ul><ul><li>Service packs are applied directly to virtual servers </li></ul><ul><li>SQL Server supports multiple instances and multiple network addresses </li></ul><ul><li>Extensive support for recovering from a failure of a server node in the cluster, including a one-node cluster </li></ul><ul><li>Number of nodes …continued </li></ul>
    52. 53. Enhancements To Failover Clustering (Continued) <ul><li>All nodes have local copies of SQL Server tools and executables </li></ul><ul><li>SQL Server failover clustering supports Microsoft Search service </li></ul><ul><li>Rerunning the Setup program updates failover clustering configurations </li></ul><ul><li>SQL Server Service Manager or SQL Server Enterprise Manager now start and stop SQL Server services </li></ul><ul><ul><li>No longer have to use Cluster Administrator to perform this task </li></ul></ul>
    53. 54. Building A SQL 2000 Cluster <ul><li>Step 1 - Prepare Hardware </li></ul><ul><ul><li>Apply latest system BIOS </li></ul></ul><ul><ul><li>Apply latest device firmware </li></ul></ul><ul><ul><li>Gather latest software drivers </li></ul></ul><ul><ul><li>Disable unnecessary hardware </li></ul></ul>
    54. 55. Building A SQL 2000 Cluster <ul><li>Step 2 – Install OS and Pre-Reqs </li></ul><ul><ul><li>Install Windows Server 2003 </li></ul></ul><ul><ul><li>Add Nodes to Domain as member servers </li></ul></ul><ul><ul><ul><li>DCs are not recommended on clustered nodes </li></ul></ul></ul><ul><ul><li>Windows Update / Security Hotfixes </li></ul></ul><ul><ul><li>Administration Tools – ADMINPAK.MSI </li></ul></ul><ul><ul><li>Windows Support Tools </li></ul></ul><ul><ul><li>Resource Kit Tools </li></ul></ul>
    55. 56. Building A SQL 2000 Cluster <ul><li>Step 3 – Prepare Nodes for Cluster Service </li></ul><ul><ul><li>Disable unnecessary services </li></ul></ul><ul><ul><li>Configure Networks </li></ul></ul><ul><ul><ul><li>Rename connections: Private Network and Public Network </li></ul></ul></ul><ul><ul><ul><li>Disable NetBIOS and DNS on private (heartbeat) interface </li></ul></ul></ul><ul><ul><ul><li>Disable Media Sense on NICs – Hard-code (MSKB 258750) </li></ul></ul></ul><ul><ul><ul><li>Use 10MBs/Half-Duplex if not sure what speed to use </li></ul></ul></ul><ul><ul><ul><li>Give private network highest binding order </li></ul></ul></ul><ul><ul><li>Create/Select cluster service account </li></ul></ul><ul><ul><ul><li>Domain account w/local Administrator rights on each node </li></ul></ul></ul><ul><ul><li>Create Quorum partition on shared disk </li></ul></ul><ul><ul><ul><li>50MB min; 500MB-1GB recommended </li></ul></ul></ul><ul><ul><li>Create and format additional disks/arrays </li></ul></ul>
    56. 57. Building A SQL 2000 Cluster <ul><li>Step 4 – Install Cluster Service on each node. </li></ul><ul><li>Step 5 – Install Network DTC on each node (MSKB 817064, 301600) </li></ul><ul><li>Step 6 – Install SQL 2000 Virtual Instance </li></ul><ul><ul><li>Binaries installed locally in same location on each node </li></ul></ul><ul><ul><li>Installs all nodes at the same time! </li></ul></ul>
    57. 58. Building A SQL 2000 Cluster <ul><li>Step 7 – Install SQL 2000 Service Pack 4 and Updates </li></ul><ul><ul><li>Always update all nodes </li></ul></ul><ul><li>Step 8 – (Optional) Repeat Step 6 if using Multiple Instance model </li></ul><ul><li>Step 9 – Bring Resources Online </li></ul>
    58. 59. Building A SQL 2000 Cluster <ul><li>Best Practices </li></ul><ul><ul><li>Do not install applications into the default Cluster Group </li></ul></ul><ul><ul><li>Do not delete or rename the default Cluster Group or remove any resources from that resource group </li></ul></ul><ul><ul><li>Do not use APM/ACPI power-saving features </li></ul></ul><ul><ul><li>Give the Cluster service account full rights to administer computer objects if Kerberos authentication is enabled for virtual servers </li></ul></ul><ul><ul><li>Do not set the Cluster service account to be a member of the domain administrator group </li></ul></ul>
    59. 60. Failover Clustering SQL Server 2005 <ul><li>Further refined in SQL Server 2005 </li></ul><ul><li>More nodes </li></ul><ul><ul><li>Match operating system limits </li></ul></ul><ul><li>Unattended setup </li></ul><ul><li>Support for mounted volumes (Mount Points) </li></ul><ul><li>All SQL Server services participate </li></ul><ul><ul><li>Database Engine, SQL Server Agent, Analysis Services, Full-Text Search, etc. </li></ul></ul>Failover Cluster
    60. 61. Database Mirroring New for SQL Server 2005 <ul><li>Instant Standby </li></ul><ul><li>Conceptually a fault-tolerant server </li></ul><ul><ul><li>Building block for complex topologies </li></ul></ul><ul><li>Database Failover </li></ul><ul><ul><li>Very Fast … less than three seconds </li></ul></ul><ul><ul><li>Zero data loss </li></ul></ul><ul><li>Automatic or manual failover </li></ul><ul><ul><li>Automatic re-sync after failover </li></ul></ul><ul><li>Automatic, transparent client redirect </li></ul>Database Mirroring
    61. 62. SQL 2005 Failover Solutions At A Glance <ul><li>Both Provide </li></ul><ul><ul><li>Automatic detection and failover </li></ul></ul><ul><ul><li>Manual failover </li></ul></ul><ul><ul><li>Transparent client connect </li></ul></ul><ul><ul><li>Zero work loss </li></ul></ul><ul><ul><li>Database Views mitigate DBA or application error </li></ul></ul><ul><li>Database Mirroring </li></ul><ul><ul><li>Database scope </li></ul></ul><ul><ul><li>Standard servers </li></ul></ul><ul><ul><li>Fastest failover </li></ul></ul><ul><ul><li>Limited reporting on standby </li></ul></ul><ul><ul><li>Duplicate copy of database </li></ul></ul><ul><li>Failover Clustering </li></ul><ul><ul><li>System scope </li></ul></ul><ul><ul><li>Certified hardware </li></ul></ul><ul><ul><li>Fast failover </li></ul></ul><ul><ul><li>No reporting on standby </li></ul></ul><ul><ul><li>Single copy of database </li></ul></ul>
    62. 63. Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </li></ul><ul><li>Overview of Exchange Clustering </li></ul><ul><li>Overview of SQL Server Failover Clustering </li></ul><ul><li>MSDTC </li></ul><ul><li>Resources </li></ul>
    63. 64. MSDTC Best Practices <ul><li>Install Network DTC with Windows http://support.microsoft.com/kb/817064 </li></ul><ul><li>Install Clustering </li></ul><ul><li>Create MSDTC Resource within the cluster http://support.microsoft.com/default.aspx?scid=kb;en-us;301600 </li></ul><ul><li>Exchange – requires MSDTC for installation and service packs – put into Cluster Group </li></ul><ul><li>SQL – only required if an application uses it – Dedicated IP, Network Name, Group </li></ul>
    64. 65. Agenda <ul><li>Terms you need to know </li></ul><ul><li>Four Types of Clustering </li></ul><ul><li>What is Clustering? </li></ul><ul><li>Overview of Exchange Clustering </li></ul><ul><li>Overview of SQL Server Failover Clustering </li></ul><ul><li>MSDTC </li></ul><ul><li>Resources </li></ul>
    65. 66. Microsoft Windows Server -Clustering MVP <ul><li>www.nw-america.com – Clustering </li></ul><ul><li>msmvps.com/clustering - Blog </li></ul><ul><li>https://mvp.support.microsoft.com/profile=EDD23402-0C81-4968-916C-09D62BBD77F5 – MVP Profile </li></ul>
    66. 67. Resources <ul><li>Clustering newsgroup support – msnews.microsoft.com </li></ul><ul><ul><li>Microsoft.public.exchange.clustering </li></ul></ul><ul><ul><li>Microsoft.public.sqlserver.clustering </li></ul></ul><ul><ul><li>Microsoft.public.windows.server.clustering </li></ul></ul><ul><li>Welcome to the Clustering Technologies Community http://www.microsoft.com/windowsserver2003/community/centers/clustering/default.mspx </li></ul><ul><li>Server Clusters: Network Configuration Best Practices for Windows 2000 and Windows Server 2003 http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/clustering/clstntbp.mspx </li></ul>
    67. 68. Resources <ul><li>SQL Server High Availability resources http://www.microsoft.com/sql/techinfo/administration/2000/availability.asp </li></ul><ul><li>Visit the SQL Server Web site: www.microsoft.com/sql </li></ul><ul><li>SQL Server 2000 Failover Clustering http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/failclus.mspx </li></ul>
    68. 69. Resources <ul><li>Exchange Server 2003 planning guide: http://www.microsoft.com/technet/prodtechnol/exchange/Exchange2003/proddocs/library/MessSyst.asp </li></ul><ul><li>Exchange Server 2003 Deployment Guide: http://www.microsoft.com/technet/prodtechnol/exchange/Exchange2003/proddocs/library/DepGuide.asp </li></ul><ul><li>Exchange Server 2003 Technical Documentation Library: http://www.microsoft.com/exchange/library/ </li></ul>
    69. 70. Resources <ul><li>Learn more about Clustering at TechEd </li></ul><ul><ul><li>Hands On Labs </li></ul></ul><ul><ul><ul><li>MGT12  Microsoft System Center Data Protection Manager </li></ul></ul></ul><ul><ul><ul><li>SVR15  Clustering with Virtual Server 2005 </li></ul></ul></ul><ul><ul><li>Cabana Talks </li></ul></ul><ul><ul><li>Find me and buy me a drink  </li></ul></ul>
    70. 71. Community Resources <ul><li>Attend a free chat or web cast </li></ul><ul><li>http://www.microsoft.com/communities/chats/default.mspx </li></ul><ul><li>http://www.microsoft.com/usa/webcasts/default.asp </li></ul><ul><li>List of newsgroups </li></ul><ul><li>http://communities2.microsoft.com/ </li></ul><ul><li> communities/newsgroups/en-us/default.aspx </li></ul><ul><li>MS Community Sites </li></ul><ul><li>http://www.microsoft.com/communities/default.mspx </li></ul><ul><li>Locate Local User Groups </li></ul><ul><li>http://www.microsoft.com/communities/usergroups/default.mspx </li></ul><ul><li>Community sites </li></ul><ul><li>http://www.microsoft.com/communities/related/default.mspx </li></ul>
    71. 72. Where To Learn More <ul><li>Other Tech Ed Sessions: </li></ul><ul><ul><li>BAP200  Microsoft Business Solutions-Great Plains: Maximizing Your Hardware and Network Infrastructure </li></ul></ul><ul><ul><li>CSI448  Optimizing Scalability, Performance and Availability with Systems Built on the .NET Framework </li></ul></ul><ul><ul><li>DBA308  Ensuring Business Continuance with SQL Server 2005 Data Availability Solutions </li></ul></ul><ul><ul><li>MGT315  Update Management and Desktop Deployment at Microsoft </li></ul></ul><ul><ul><li>MSG300  Exchange 2003 Architecture Best Practices </li></ul></ul>
    72. 73. Where To Learn More <ul><li>Other Tech Ed Sessions: </li></ul><ul><ul><li>MSG360  Microsoft IT: Exchange Best Practices from Microsoft IT </li></ul></ul><ul><ul><li>MSG383  Exchange Server 2003 Cluster Best Practices </li></ul></ul><ul><ul><li>PRT375  SharePoint Products and Technologies: Performance and Capacity Planning Best Practices and Lessons Learned </li></ul></ul><ul><ul><li>SVR308  Introducing Windows Server 2003, Compute Cluster Edition </li></ul></ul>
    73. 74. Your Feedback is Important! Please Fill Out a Survey for This Session on CommNet
    74. 75. © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

    ×