Dr. Zahid Anwar. Simplified Architecture of Linux Cluster Simplified Architecture of a Single Computer Simplified architecture of an enterprise cluster.

Slides:



Advertisements
Similar presentations
INTRODUCTION TO COMPUTER NETWORKS Zeeshan Abbas. Introduction to Computer Networks INTRODUCTION TO COMPUTER NETWORKS.
Advertisements

Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Sybex – Network+ Study Guide Network Fundamentals 1.
Dinker Batra CLUSTERING Categories of Clusters. Dinker Batra Introduction A computer cluster is a group of linked computers, working together closely.
NETWORK LOAD BALANCING NLB.  Network Load Balancing (NLB) is a Clustering Technology.  Windows Based. (windows server).  To scale performance, Network.
Module 8: Concepts of a Network Load Balancing Cluster
1 Internet Networking Spring 2004 Tutorial 13 LSNAT - Load Sharing NAT (RFC 2391)
Layer 7- Application Layer
Lesson 11-Virtual Private Networks. Overview Define Virtual Private Networks (VPNs). Deploy User VPNs. Deploy Site VPNs. Understand standard VPN techniques.
SERVER LOAD BALANCING Presented By : Priya Palanivelu.
CS526 Dr.Chow1 HIGH AVAILABILITY LINUX VIRTUAL SERVER By P. Jaya Sunderam and Ankur Deshmukh.
EEC-484/584 Computer Networks Lecture 2 Wenbing Zhao
Lesson 1: Configuring Network Load Balancing
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #12 LSNAT - Load Sharing NAT (RFC 2391)
Core 3: Communication Systems. On any network there are two types of computers present – servers and clients. By definition Client-Server architecture.
(part 3).  Switches, also known as switching hubs, have become an increasingly important part of our networking today, because when working with hubs,
Copyright © 2002 Wensong Zhang. Page 1 Free Software Symposium 2002 Linux Virtual Server: Linux Server Clusters for Scalable Network Services Wensong Zhang.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 8: Network Load Balancing (NLB)
By Mohammad Alsawwaf Supervised By Dr. Lee NETWORK LOAD BALANCING NLB.
10/02/2004ELFms meeting1 Linux Virtual Server Miroslav Siket FIO-FS.
NETWORKS – NETWORK FUNDAMENTALS. How do computers connect to each other? Wired vs. Wireless Network cards Special device on computer that lets the computer.
Introduction to Networking. Key Terms packet  envelope of data sent between computers server  provides services to the network client  requests actions.
IP Addressing and Network Software. IP Addressing  A computer somewhere in the world needs to communicate with another computer somewhere else in the.
Module 4 - Networking MIS5122: Enterprise Architecture for the IT Auditor.
Chapter 4: Managing LAN Traffic
Networking and the Internet © 2007 Pearson Addison-Wesley. All rights reserved.
Virtual LAN Design Switches also have enabled the creation of Virtual LANs (VLANs). VLANs provide greater opportunities to manage the flow of traffic on.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Introduction to Networking. Key Terms packet  envelope of data sent between computers server  provides services to the network client  requests actions.
Common Devices Used In Computer Networks
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Connecting to the Network Networking for Home and Small Businesses.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
Submitted by: Shailendra Kumar Sharma 06EYTCS049.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Connecting to the Network Networking for Home and Small Businesses – Chapter.
Module 3: Designing IP Addressing. Module Overview Designing an IPv4 Addressing Scheme Designing DHCP Implementation Designing DHCP Configuration Options.
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
Clustering and Load Balancing. Outline Introduction Linux Virtual Server Microsoft load balancing solution.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Connecting to the Network Networking for Home and Small Businesses.
First, by sending smaller individual pieces from source to destination, many different conversations can be interleaved on the network. The process.
 High-Availability Cluster with Linux-HA Matt Varnell Cameron Adkins Jeremy Landes.
 Load balancing is the process of distributing a workload evenly throughout a group or cluster of computers to maximize throughput.  This means that.
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 12: Planning and Implementing Server Availability and Scalability.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Connecting to the Network Introduction to Networking Concepts.
Ethernet. Ethernet  Ethernet is the standard communications protocol embedded in software and hardware devices, intended for building a local area network.
Computer Networks part II 1. Network Types Defined Local area networks Metropolitan area networks Wide area networks 2.
Clustering Servers Chapter Seven. Exam Objectives in this Chapter:  Plan services for high availability Plan a high availability solution that uses clustering.
© 2002 Global Knowledge Network, Inc. All rights reserved. Windows Server 2003 MCSA and MCSE Upgrade Clustering Servers.
WEEK 11 – TOPOLOGIES, TCP/IP, SHARING & SECURITY IT1001- Personal Computer Hardware System & Operations.
Data Communications and Networks Chapter 9 – Distributed Systems ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
Computer Network Architecture Lecture 3: Network Connectivity Devices.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 9: Dynamic Host Configuration Protocol (DHCP)
Activity 1 5 minutes to discuss and feedback on the following:
Computer Network Architecture Lecture 2: Fundamental of Network.
Computer Networks.  Which is the best definition of a circuit switched network?  An electric circuit where the connections get switched based on who.
An Introduction to Local Area Networks An Overview of Peer-to-Peer and Server-Based Models.
INTRODUCTION TO COMPUTER NETWORKS BY: SAIKUMAR III MSCS, Nalanda College.
Network - definition A network is defined as a collection of computers and peripheral devices (such as printers) connected together. A local area network.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 12: Planning and Implementing Server Availability and Scalability.
Lab A: Planning an Installation
Scaling Network Load Balancing Clusters
Network Load Balancing
Chapter 16: Distributed System Structures
An Introduction to Computer Networking
EEC-484/584 Computer Networks
09/12/2018 Virtual Networks.
Connecting to the Network
Presentation transcript:

Dr. Zahid Anwar

Simplified Architecture of Linux Cluster Simplified Architecture of a Single Computer Simplified architecture of an enterprise cluster Load BalancerCluster NodesShared StoragePrint Server

No Single Point of Failure An enterprise cluster should always have the following characteristic: “Any computer within the cluster, or any computer the cluster depends upon for normal operation, can be rebooted without rebooting the entire cluster.” e.g. by building high- availability server pairs

Clustering Terminology  When a program runs  When Process runs on a Linux System  A demon and the effects it produces  A service when combined with its operating environment (config files, data, network)  When a resource moves from one computer to another  A proper failover configuration has no single point of failure. Process Service Fail-Over High Availability

Types of Clusters Originally, "clusters" and "high-performance computing" were synonymous. Today, the meaning of the word "cluster" has expanded beyond high- performance to include high-availability (HA) clusters and load-balancing (LB) clusters

Types of Clusters  High-availability clusters,  also called failover clusters,  used in mission-critical applications.  The key to high availability is redundancy.  Load-balancing cluster  provide better performance by dividing the work  This might be accomplished using a simple round- robin algorithm.  For example, Round-Robin DNS

Terminology  Parallel computing  Tightly coupled sets of computation.  E.g. Several pieces of data are being processed simultaneously in the same CPU  Homogenous collection of computers  Distributed computing  Computing that spans multiple machines or multiple locations.  Heterogeneous collection  Cluster Computing  A form of Distributed Computing  Generally restricted to computers on the same subnetwork or LAN.  Grid computing  Frequently describes computers working together across a WAN or the Internet.  Much larger scale,  tend to be used more asynchronously,  and have much greater access, authorization, accounting, and security concerns.  Peer-to-Peer  Data or file-sharing (Napster, Gnutella, or Kazaa) 

Building a HA Cluster using Heartbeat  Heartbeat: ability to failover a resource from one computer to another  Functioning  Tell Heartbeat which computer owns a particular resource (define primary and backup server  Heartbeat daemon on backup server listens to the "heartbeats" coming from the primary server.heartbeats  If backup server does not hear the primary's heartbeat, it initiates a failover and takes ownership of the resource.

The Physical Paths of Heartbeat  Normally Heartbeat configured to work over a separate physical connection between two servers.  Separate physical connection can be either a  serial cable or  another Ethernet network connection (via a crossover cable or mini hub).  Adds extra traffic to your network

Heartbeat Control Messages  3 basic kinds  Heartbeat (status msgs)  Typically 150 bytes  broadcast, unicast, or multicast  Cluster Transition msgs  relatively rare  contains conversation b/w daemons to move resources  ip-request : to release the resource of ownership  ip-request-resp :shuts off the service and no longer owns the resource.  On receiving ip-request-resp, it starts up the service and offers it to client  Retransmission Requests  Rexmit-a request for a retransmission of a heartbeat control message when one of the servers notices that it is receiving heartbeat control messages out of sequence.

Secondary IP Addresses (Virtual Ips)  Method for adding multiple IP addresses to the same physical network card.  When you use Heartbeat to offer services it is done using secondary IP addresses

Lab Exercise  Set up a 2-node cluster  Configure a highly-available web server

Load Balancing using Ultra Monkey (LVS)  Linux Virtual Server (LVS) enables TCP/UDP connections to be load balanced  Mechanism of connection control is referred to Layer 4 Switching. Layer 3 IP address/port information is used.  The host that LVS runs on is referred to as the Linux-Director (specialized router)  Packets received for a virtual service by linux-director, routed by a scheduling algo  subsequent packets for the same connection sent to the same real server  Advantage of load balancer over round robin DNS  directs requests to less load nodes  accounts for sessions. (e.g. forum software, shopping carts)