Win2k8 cluster kaliyan

1,015 views

Published on

Windows Server 2008 HA

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,015
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
54
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Win2k8 cluster kaliyan

  1. 1. Windows Server 2008 R2 Failover Clustering and Network Load Balancing October 25th 2009
  2. 2. Agenda Introduction to Clustering What is cluster Why use cluster Cluster common terminology What is High Availability Hardware / Software Requirements Cluster Validations / Cluster Creations. Introduction to WNLB Overview of Network Load Balancing Clusters Configuring a Network Load Balancing Cluster Maintaining a Network Load Balancing Cluster3
  3. 3. What Are Clusters? A cluster is a group of computers and storage devices that work together and that you can access as a single system The individual computers in a cluster act together to provide: • Distribution of processing load • Automatic recovery from failure of one or more components in the cluster4
  4. 4. Discussion: Why Use Clusters? Can you realize a return on investment when you deploy an expensive cluster? What issues might you encounter when network services are not available? Which services would you make highly available?5
  5. 5. Clustering TerminologyTerm DescriptionNode A server that participates in a clusterResource A device or service hosted on a cluster and accessed directly or indirectly by the application or end userFailover An highly available clustering type withclustering resources owned by a single server at a timeLoad balancing A clustering type that distributes processing across a number of nodesFault tolerant A key component of clusters that withstands problems in hardware or software while continuing to operatePlanned The amount of time an application is unavailabledowntime due to an update or other maintenanceUnplanned The critical amount of time an application isdowntime unavailable due to a component failure
  6. 6. What is High Availability? The world is now a 24/7 global marketplace Systems must be online or customers are lost Goal of high availability (HA) is to keep systems, applications, services, email, databases, f iles & printers readily available Every business now has high availability needs Uptime Percentage Maximum downtime per year 99.999 5 minutes 99.99 52 minutes 99.9 8.7 hours 99 3.7 days7
  7. 7. Why is HA Important? Server downtime is unavoidable Keep your business running and competitive Servers may go offline due to Maintenance Upgrade Software or Hardware Update Hot Fix, Security Patch Accident Power Outage Disasters Start planning now!8
  8. 8. Introduction to Failover Clustering Introduction to Clustering What is cluster Why use cluster Cluster common terminology What is High Availability Hardware / Software Requirements Cluster Validations / Cluster Creations. Introduction to WNLB Overview of Network Load Balancing Clusters Configuring a Network Load Balancing Cluster Maintaining a Network Load Balancing Cluster9
  9. 9. Failover Clustering 2+ machines (nodes) Redundancy everywhere Storage, NICs, HBAs, MPIO, etc. “Shared” storage accessible by all nodes 1 node will host a HA application Application writes data to storage10
  10. 10. Failover Clustering Nodes monitor health of other nodes If that node fails, health monitoring will cause a “failover” of the resource Another node starts the application and reads the last saved information from the storage Clients experience a slight interruption in service11
  11. 11. What is a Failover Cluster? Public HA Roles Shared Storage12
  12. 12. Terminology Changes Beta 1997 2000 2003 2008 R213
  13. 13. Software Requirements Clustering comes as an in-box feature on: Windows Server 2008 & R2 Datacenter Windows Server 2008 & R2 Enterprise Windows Server 2008 & R2 for IA-64 Microsoft Hyper-V Server 2008 R2 Windows Unified Data Storage Server Enterprise Architecture: x64: up to 16 nodes x86: up to 8 nodes IA64: up to 8 nodes14
  14. 14. Building Your Cluster 2 or more computers (nodes) 2 NICs + dedicated storage adapter 3rd NIC for iSCSI HBA 3 Networks Public Private (heartbeat) HA Roles Storage / iSCSI Shared Storage OS, Service or Application15
  15. 15. Mix And Match Hardware You can use any hardware configuration if It passes Validate Each component has a “Certified for Windows Server 2008” logo Servers, Storage, HBAs, MPIO, DSMs, etc… It’s that simple! Connect your Windows Server 2008 logo’d hardware Pass every test in Validate It is now supported! If you make a change, just re-run Validate Details: http://go.microsoft.com/fwlink/?LinkID=11994916
  16. 16. Clustering Storage Windows Server 2008/R2 Supported Shared Bus Types: Fibre Channel iSCSI SAS • SCSI-3 SPC-3 compliant SCSI Commands • Persistent Reservations (PRs) • Parallel-SCSI deprecated in 2008 • Multipath IO (MPIO) recommended • Basic GPT and MBR disks supported17
  17. 17. Networking Key clustering component Public network – clients Private network – cluster communication Storage network – nodes access “shared” storage Multiple networks for added redundancy Integrated with new TCP/IP Stack Full IPv6 Support DHCP Support for IPv4 and IPv6 Resources Nodes can reside in different subnets18
  18. 18. Introduction to Failover Clustering Introduction to Clustering What is cluster Why use cluster Cluster common terminology What is High Availability Hardware / Software Requirements Cluster Validations / Cluster Creations. Introduction to WNLB Overview of Network Load Balancing Clusters Configuring a Network Load Balancing Cluster Maintaining a Network Load Balancing Cluster19
  19. 19. Validating a Cluster For Microsoft support, cluster must pass the built-in Validate a Cluster Configuration (Validate) test Run during configuration and/or after deployment Best practices analyzed if run on configured cluster Series of end-to-end tests on all cluster components Configuration info for support and documentation Networking issues Troubleshoot in-production clusters More information http://go.microsoft.com/fwlink/?LinkID=11994920
  20. 20. Validate Inventories OS Binary • Same OS version which supports clustering • Same Hotfix and Service Pack level Consistency • CPU architecture Architecture • Memory information • Domain membership and role Configuration • Analysis of unsigned drivers • PnP device inventory Devices • HBAs and NICs21
  21. 21. Validate Verifies • Inter-node communication Infrastructure • SCSI compatibility with Persistent Reservations • Multiple NIC’s per server Hardware • Shared disks accessible from all machines and uniquely identifiable • Each NIC has different IP address on a dissimilar Software subnet • Network and Disk I/O latencies Functionality • Failover simulation22
  22. 22. WS03 – Cluster Creation24
  23. 23. WS08 & R2 – Cluster Creation25
  24. 24. Windows Network Load Balancing (WNLB) Overview of Network Load Balancing Clusters Configuring a Network Load Balancing Cluster Maintaining a Network Load Balancing Cluster27
  25. 25. What Is Network Load Balancing (NLB)? NLB: • Enables high availability and scalability for Internet server-based applications • Enables clients to access two or more servers using a single IP address • Requires all servers in the NLB cluster to be running the same server applications with the same configuration28
  26. 26. How NLB Works When using NLB: • All servers in an NLB cluster are accessible by using a single (virtual) IP address • Client requests are distributed across available servers in the NLB cluster based on a common algorithm • All servers monitor each other through heartbeat messages • If a server fails to send heartbeat messages for 5 seconds, the other servers automatically converge and redistribute the client connections across the available servers29
  27. 27. How Network Load Balancing Clusters Work NLB Web server cluster NLB host + IIS server LAN (Ethernet) NLB host + IIS server Clients NLB host + IIS server30
  28. 28. Using Failover Clusters with Network Load Balancing Clients Failover cluster database server NLB Web servers31
  29. 29. Microsoft® Windows Server® 2008 NLB Features • Network connectivity with support for: - IPv6 - Network Driver Interface Specification (NDIS) 6.0 - Multiple dedicated IP addresses per node • Support for up to 32 computers per cluster • Denial of service attack and timer starvation protection • Support for rolling upgrades from Windows Server 2003 • Network Load Balancing Manager32
  30. 30. NLB Deployment Requirements To deploy network load balancing:  Configure one or more network cards on all servers in the cluster  Configure DNS to resolve the shared IP address  Install and configure the same applications on all hosts in the cluster  Deploy servers with similar hardware or plan for variations in load balancing  Install the Network Load Balancing feature33
  31. 31. Considerations for Configuring NLB Clusters and Hosts When configuring an NLB cluster, you should consider whether: • Each server will host the same number of client connections • The client will connect to the same server for all connections • The cluster will operate the same way for all applications • Your network switches support unicast or multicast operations35
  32. 32. Comparing Unicast and MulticastNLB Cluster Operation ModesThe cluster operation mode is used to ensure that all cluster hosts receive allincoming client requests sent to the virtual IP address assigned to the cluster Method Description • All cluster hosts share an identical unicast media access control (MAC) address Unicast • The outgoing MAC address is modified, based on the cluster host’s priority setting, to prevent switches from discovering that all cluster hosts have the same MAC address • Each cluster host retains the original adapter MAC address Multicast • The adapter is assigned a multicast MAC address, which is shared by all cluster hosts
  33. 33. Options for Configuring HostParameters Parameter Description Priority • Specifies a unique ID for each host • Used to assign one server to handle all network traffic not covered by a port rule IP address • Must be unique in the cluster Subnet mask • Must be the same for all hosts Initial host state • Specifies whether NLB will start and whether the host will immediately join the cluster
  34. 34. What Are Port Rules? Port rules are policies that define how to direct client requests to cluster hosts A default port rule applies to all protocols Port rules define: • The cluster IP address where the port rule is applied • Port range and protocol (TCP, UDP, or both) • Filtering for multiple hosts with affinity or single host • Load weight • The option to disable a port range38
  35. 35. What Is Affinity? Affinity is a configuration option that you use to distribute incoming client connections Affinity options include: • None: Allows multiple connections from the same client IP address to be handled by different cluster hosts • Single: Specifies that NLB direct multiple requests from the same client IP address to the same cluster host • Network: Specifies that NLB directs multiple requests from the same IPv4 Class C or IPv6 network address range to the same cluster host39
  36. 36. Resources Cluster Team Blog: http://blogs.msdn.com/clustering/ Cluster Information Portal: http://www.microsoft.com/windowsserver2008/en/us/clustering-home.aspx Clustering Technical Resources: http://www.microsoft.com/windowsserver2008/en/us/clustering-resources.aspx Clustering Forum (2008): http://forums.technet.microsoft.com/en- US/winserverClustering/threads/ Clustering Forum (2008 R2): http://social.technet.microsoft.com/Forums/en- US/windowsserver2008r2highavailability/threads/ Clustering Newsgroup: https://www.microsoft.com/technet/community/newsgroups/dgbrowser/en- us/default.mspx?dg=microsoft.public.windows.server.clustering Failover Clustering Deployment Guide: http://technet.microsoft.com/en- us/library/dd197477.aspx TechNet: Configure a Service or Application for High Availability: http://technet.microsoft.com/en-us/library/cc732478.aspx TechNet: Installing a Failover Cluster: http://technet.microsoft.com/en- us/library/cc772178.aspx TechNet: Creating a Failover Cluster: http://technet.microsoft.com/en- us/library/cc755009.aspx Webcast: TechNet Webcast: Build High-Availability Infrastructures with Windows Server 2008 Failover Clustering40
  37. 37. 41
  38. 38. 42
  39. 39. http://tinyurl.com/STEP140

×