Improving Robustness in Distributed Systems Per Bergqvist Erlang User Conference 2001 (courtesy CellPoint Systems AB)

Slides:



Advertisements
Similar presentations
The subnet /28 has been selected to be further subnetted to support point-to-point serial links. What is the maximum number of serial links.
Advertisements

Copyright © 2014 EMC Corporation. All Rights Reserved. Basic Network Configuration for File Upon completion of this module, you should be able to: Configure.
Switching & Operations. Address learning Forward/filter decision Loop avoidance Three Switch Functions.
ARP: Address Resolution Protocol
Implementing Inter-VLAN Routing
Precept 3 Host Configuration 1 Peng Sun. What TCP conn. running? Commands netstat [-n] [-p] [-c] (Linux) lsof -i -P (Mac) ss (newer version of netstat)
Review of Important Networking Concepts
Module 8: Concepts of a Network Load Balancing Cluster
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
CSCI 4550/8556 Computer Networks Comer, Chapter 19: Binding Protocol Addresses (ARP)
Routing Going from one network to the next. Where is routing handled? IP serves the functions of –routing –universal naming Identification is easiest.
Data Communications I & II Project Sequence Tom Costello.
ITIS 6167/8167: Network and Information Security Weichao Wang.
16 – CSMA/CD - ARP Network Layer4-1. 5: DataLink Layer5-2 CSMA (Carrier Sense Multiple Access) CSMA: listen before transmit: If channel sensed idle: transmit.
COS 461: Computer Networks
Chapter Overview TCP/IP Protocols IP Addressing.
FIREWALL TECHNOLOGIES Tahani al jehani. Firewall benefits  A firewall functions as a choke point – all traffic in and out must pass through this single.
IB ACM InfiniBand Communication Management Assistant (for Scaling) Sean Hefty.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
CEN Network Fundamentals Chapter 19 Binding Protocol Addresses (ARP) To insert your company logo on this slide From the Insert Menu Select “Picture”
Dynamic Network Emulation Security Analysis for Application Layer Protocols.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
Exploring the Packet Delivery Process Chapter
Routing and Routing Protocols Routing Protocols Overview.
© 2006 Cisco Systems, Inc. All rights reserved.1 Microsoft Network Load Balancing Support Vivek V
Address Resolution Protocol(ARP) By:Protogenius. Overview Introduction When ARP is used? Types of ARP message ARP Message Format Example use of ARP ARP.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
InfiniBand Routing Solution Approach Yaron Haviv, CTO, Voltaire
TCP/IP and Unix Chuck Davin University of Pennsylvania CSE February 2001.
Hyung-Min Lee ©Networking Lab., 2001 Chapter 8 ARP and RARP.
Author: Bill Buchanan. 1. Broadcast: What is the MAC address of this network address? 2. Requested host: All the hosts read the broadcast and checks.
Chapter 19 - Binding Protocol Addresses
Clustering and Load Balancing. Outline Introduction Linux Virtual Server Microsoft load balancing solution.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 7 Internet Protocol (IP) Routing.
OS Services And Networking Support Juan Wang Qi Pan Department of Computer Science Southeastern University August 1999.
Birgit Bonham: Prospect High School ARP….or What’s your MAC address?
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Institute of Technology Sligo - Dept of Computing Sem 2 Chapter 12 Routing Protocols.
How to connect to the Internet 1998/12/09 KEIO University, JAPAN Mikiyo
Clustering Servers Chapter Seven. Exam Objectives in this Chapter:  Plan services for high availability Plan a high availability solution that uses clustering.
Sample DNS configurations. Example 1: Master 'master' DNS and is authoritative for this zone for example.com provides 'caching' services for all other.
Mapping IP Addresses to Hardware Addresses Chapter 5.
Linux Operations and Administration
Section #7: Getting Data from Point A to Point B.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
P2P Search COP P2P Search Techniques Centralized P2P systems  e.g. Napster, Decentralized & unstructured P2P systems  e.g. Gnutella.
J. Liebeher (modified by M. Veeraraghavan) 1 Introduction Complexity of networking: An example Layered communications The TCP/IP protocol suite.
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
Address Resolution Protocol Yasir Jan 20 th March 2008 Future Internet.
Routing Semester 2, Chapter 11. Routing Routing Basics Distance Vector Routing Link-State Routing Comparisons of Routing Protocols.
COMP1321 Digital Infrastructure Richard Henson March 2016.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Sem 2 v2 Chapter 12: Routing. Routers can be configured to use one or more IP routing protocols. Two of these IP routing protocols are RIP and IGRP. After.
Mobile IP THE 12 TH MEETING. Mobile IP  Incorporation of mobile users in the network.  Cellular system (e.g., GSM) started with mobility in mind. 
If we don’t subnet and use as our subnet mask then we use all of our IP addresses on one network. This is not an efficient use of our Class.
Shaopeng, Ho Architect of Chinac Group
IP: Addressing, ARP, Routing
Revisiting Ethernet: Plug-and-play made scalable and efficient
Network Load Balancing
VIRTUAL SERVERS Presented By: Ravi Joshi IV Year (IT)
Introduction to Networking
IP Network Layer and Ethernet Encapsulation
Introduction An introduction to the software and organization of the Internet Lab.
UNIT III ROUTING.
ARP: Address Resolution Protocol
ARP: Address Resolution Protocol
Ch 17 - Binding Protocol Addresses
Presentation transcript:

Improving Robustness in Distributed Systems Per Bergqvist Erlang User Conference 2001 (courtesy CellPoint Systems AB)

Design base Cluster of cooperating hosts Erlang and C COTS hardware based Unix based (i.e. Solaris or Linux) 10/100/1000 base-T back plane (”system area network”)

Cluster Shared, distributed, system configuration Each host have ONE cluster controller Dispatch and supervise worker tasks Master cluster controller: holds configuration database (persistent replica) Slave cluster controller: gets configuration from master cluster controllers Cluster is DOWN when all master cluster controllers are inaccessible

Typical system Firewall Switch Traffic Control

Cluster Key Benefits Single system view Enforces decoupling of parts of O&M from actual traffic processing

Implementing a cluster Cluster->Host->Node->NodeData Cluster global parameters Subscription mechanisms for conf. changes Mnesia as configuration database on master cluster controllers Homebrewn configuration distribution to slave controllers (NOT using mnesia) (Worker) node supervision

Mnesia gotchas First distributed node startup Disallow writes when all replicas not accessible Use timeout on table load and force load

... BUT... TCP based distribution Network partitioning

Network parameters Align TCP retransmission intervals w/ Erlang heartbeats Align TCP and IP rerouting parameters

Typical system II: Dual back plane Firewall Switch Traffic Control

Erlang multi-homing problem Host A Host B Host C

Multi-home Erlang w/ TCP Add an alias interface to loop back i/f Patch tcp distribution to bind to alias Publish alias interface on (all wanted) via real hw i/f’s Method 1: Static routes and gratuitous/proxy arp Method 2: Use new (routing) protocol

ARP method Implement a utility to: - broadcast unsolicited ARP responses - respond to ARP requests for the alias i/f address Add static routes on all far end systems NOTE: all real i/f needs to be on same IP subnet

New routing protocol Broadcast (Ethernet frames) what you have, including interface priority Let the far end select path based on what/when they receive Far end dynamically sets up host routes Use short retransmission intervals

Erlang multi-homing resolved ? Host A Host B Host C

Summing up Erlang can support multihoming with some additional work By using loop back alias i/f, link failure becomes a routing problem (peer-peer association is kept intact) Solaris TCP/IP stack parameters are: - hard to find (only in out-of-date app. notes) - hard to set ”right” - host global A distribution mechanism with built-in support for multi-homing preferred

Erlang Distribution over SCTP Per Bergqvist et al Erlang User Conference 2002