Using a FreeBSD “cluster” to provide network services David Siebörger Systems Administrator I.T. Division, Rhodes University.

Slides:



Advertisements
Similar presentations
Express5800/ft series servers Product Information Fault-Tolerant General Purpose Servers.
Advertisements

Internet Applications INTERNET APPLICATIONS. Internet Applications Domain Name Service Proxy Service Mail Service Web Service.
High Availability Deep Dive What’s New in vSphere 5 David Lane, Virtualization Engineer High Point Solutions.
ITIS 3110 Jason Watson. Replication methods o Primary/Backup o Master/Slave o Multi-master Load-balancing methods o DNS Round-Robin o Reverse Proxy.
Network Asset Management at Jefferson Lab Bryan Hess, Andy Kowalski, Brent Morris,
Adding scalability to legacy PHP web applications Overview Mario A. Valdez-Ramirez.
June 23rd, 2009Inflectra Proprietary InformationPage: 1 SpiraTest/Plan/Team Deployment Considerations How to deploy for high-availability and strategies.
Cold Fusion High Availability “Taking It To The Next Level” Presenter: Jason Baker, Digital North Date:
1 Week #1 Objectives Review clients, servers, and Windows network models Differentiate among the editions of Server 2008 Discuss the new Windows Server.
1 Week #1 Objectives Review clients, servers, and Windows network models Differentiate among the editions of Server 2008 Discuss the new Windows Server.
Scalability and planning for growth 1WUCM1. Content management issues Structural – Naming (e.g. file, URL) policy – File and directory naming needs: invent/design/borrow.
Lesson 17 – UNDERSTANDING OTHER NETWARE SERVICES.
1.1 Installing Windows Server 2008 Windows Server 2008 Editions Windows Server 2008 Installation Requirements X64 Installation Considerations Preparing.
Scaling Service Requests Linux: ipvsadm & iptoip.
Lesson 20 – OTHER WINDOWS 2000 SERVER SERVICES. DHCP server DNS RAS and RRAS Internet Information Server Cluster services Windows terminal services OVERVIEW.
ArcGIS for Server Reference Implementations An ArcGIS Server’s architecture tour.
11 SERVER CLUSTERING Chapter 6. Chapter 6: SERVER CLUSTERING2 OVERVIEW  List the types of server clusters.  Determine which type of cluster to use for.
Copyright © 2002 Wensong Zhang. Page 1 Free Software Symposium 2002 Linux Virtual Server: Linux Server Clusters for Scalable Network Services Wensong Zhang.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Ten Configuring Windows Server 2008 for High.
Microsoft Load Balancing and Clustering. Outline Introduction Load balancing Clustering.
IT:Network:Applications Fall  Running one “machine” inside another “machine”  OS in Virtual machines sees ◦ CPU(s) ◦ Memory ◦ Disk ◦ USB ◦ etc.
22-Aug-15 | 1 |1 | Help! I need more servers! What do I do? Scaling a PHP application.
Highly Available ACID Memory Vijayshankar Raman. Introduction §Why ACID memory? l non-database apps: want updates to critical data to be atomic and persistent.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Internet Service Provisioning Phase - I August 29, 2003 TSPT Web:
Server Load Balancing. Introduction Why is load balancing of servers needed? If there is only one web server responding to all the incoming HTTP requests.
Welcome Thank you for taking our training. Collection 6421: Configure and Troubleshoot Windows Server® 2008 Network Course 6690 – 6709 at
Cloud Computing for the Enterprise November 18th, This work is licensed under a Creative Commons.
Web Based Applications
Chapter 7: Using Windows Servers to Share Information.
Chapter 9: Novell NetWare
Windows 2000 Advanced Server and Clustering Prepared by: Tetsu Nagayama Russ Smith Dale Pena.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Module 1: Installing and Configuring Servers. Module Overview Installing Windows Server 2008 Managing Server Roles and Features Overview of the Server.
TELE 301 Lecture 10: Scheduled … 1 Overview Last Lecture –Post installation This Lecture –Scheduled tasks and log management Next Lecture –DNS –Readings:
Scalable Web Server on Heterogeneous Cluster CHEN Ge.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
2  Supervisor : MENG Sreymom  SNA 2012_Group4  Group Member  CHAN SaratYUN Sinot  PRING SithaPOV Sopheap  CHUT MattaTHAN Vibol  LON SichoeumBEN.
Mike Gore School of Computer Science. This talk is on the Web in TWIKI format A more detailed copy of this talk can be access on with web page. Including.
Fast Crash Recovery in RAMCloud. Motivation The role of DRAM has been increasing – Facebook used 150TB of DRAM For 200TB of disk storage However, there.
Server Performance, Scaling, Reliability and Configuration Norman White.
Homework 02 NAT 、 DHCP 、 Firewall 、 Proxy. Computer Center, CS, NCTU 2 Basic Knowledge  DHCP Dynamically assigning IPs to clients  NAT Translating addresses.
1 Installing and Maintaining ISA Server Planning an ISA Server Deployment Understand the current network infrastructure. Review company security.
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
(WINDOWS PLATFORM - ITI310 – S15)
1 Firewall Rules. 2 Firewall Configuration l Firewalls can generally be configured in one of two fundamental ways. –Permit all that is not expressly denied.
70-412: Configuring Advanced Windows Server 2012 services
CHAPTER 7 CLUSTERING SERVERS. CLUSTERING TYPES There are 2 types of clustering ; Server clusters Network Load Balancing (NLB) The difference between the.
Infrastructure for Data Warehouses. Basics Of Data Access Data Store Machine Memory Buffer Memory Cache Data Store Buffer Bus Structure.
Inside GOC Soichi Hayashi Software Engineer. Hardware VM Hosts – Production (B-town & Indi) – Dev & ITB (B-town) LDAP Server (389) Internal.grid.iu.edu.
MICROSOFT TESTS /291/293 Fairfax County Adult Education Courses 1477/1478/1479.
The 2001 Tier-1 prototype for LHCb-Italy Vincenzo Vagnoni Genève, November 2000.
SMOOTHWALL FIREWALL By Nitheish Kumarr. INTRODUCTION  Smooth wall Express is a Linux based firewall produced by the Smooth wall Open Source Project Team.
System Models Advanced Operating Systems Nael Abu-halaweh.
Owen McShane Northgrid systems manager Christmas talk Dec 2006.
Open source IP Address Management Software Review
Andrew Lahiff HEP SYSMAN June 2016 Hiding infrastructure problems from users: load balancers at the RAL Tier-1 1.
High Availability Clusters in Linux Sulamita Garcia EDS Unix Specialist
NAT、DHCP、Firewall、FTP、Proxy
3.1 Types of Servers.
REPLICATION & LOAD BALANCING
Bentley Systems, Incorporated
High Availability Linux (HA Linux)
3.1 Types of Servers.
3.1 Types of Servers.
Internet Applications
CompTIA Server+ Certification (Exam SK0-004)
SpiraTest/Plan/Team Deployment Considerations
INTERNET APPLICATIONS
Client/Server Computing and Web Technologies
Presentation transcript:

Using a FreeBSD “cluster” to provide network services David Siebörger Systems Administrator I.T. Division, Rhodes University

Introduction We’ve set up a group of FreeBSD machines to provide network services on a redundant basis with load-sharing Not talking about a number-crunching, supercomputing cluster

What is FreeBSD? Free UNIX What do we do with it? –Almost* everything –DNS, DHCP, NTP, RADIUS, MySQL, WWW proxy, WWW server, Much of this could apply equally to Linux

elephant SMTP Spam Antivirus IMAP RT Webmail RADIUS Before porcupine Firewall hedgehog Firewall hippo DNS Proxy News Printing skink DHCP Proxy Backups squirrel Proxy News cache iguana Web apps lizard Web apps Monitoring RADIUS NTP terrapin DNS TFTP Syslog DHCP NTP Traffic accounting SMTP

Problems Too many different servers to manage Changing load patterns cause chaos

elephant SMTP Spam Antivirus IMAPRT The cluster design porcupine Firewall hedgehog Firewall hippo mowgli Backups DNS master Staging area squirreliguana Web apps lizard Web apps Monitoring terrapin RADIUS DNS DHCP Proxy Webmail NTP SMTP Antivirus RADIUS DNS DHCP Proxy Webmail NTP SMTP Antivirus RADIUS DNS DHCP Proxy Webmail NTP SMTP Antivirus Traffic accounting

The cluster design hipposquirrelterrapinporcupinehedgehog mowgli clusterfirewall Software and configuration copied from staging areas “jail” virtual servers running on mowgli

Load balancing strategies Handled differently for each service DHCP: it’s likely that all of the DHCP servers will answer all requests WWW proxy: the autoconfigure script is generated by PHP and lists the servers in random order SMTP: mail.ru.ac.za has multiple A records with short TTLs (round-robin DNS)

Failover strategies Handled differently for each service DHCP: at least one of the nodes will answer each request WWW proxy: the autoconfigure script lists multiple proxies. If the browser can’t connect to one, it picks another SMTP: do a DNS update to remove the A record for a server if it’s down

Synchronisation strategies In an ideal world, we’d use some sort of cluster filesystem or SAN rsync is a really simple alternative Copy everything from the staging area to each node, ignoring /var and /usr/ports It turns out we need to sync < 700MB and it’s quick There are other alternatives (rdist, unison)

Cluster addressing (IPv4) prefix: hippo a squirrel b terrapin f name.ru.ac.za x.dhcp.ru.ac.za x.mail.ru.ac.za x.cache.ru.ac.za x.radius.ru.ac.za x.ntp.ru.ac.za x.dns.ru.ac.za x.ldap.ru.ac.za

Cluster addressing (IPv6) prefix: 2002:548:1010:ff00hippo a squirrel b terrapin f name.ip6.ru.ac.za::1:1::1:2::1:6 x.dhcp.ip6.ru.ac.za::67:1::67:2::67:6 x.mail.ip6.ru.ac.za::25:1::25:2::25:6 x.cache.ip6.ru.ac.za::3128:1::3128:2::3128:6 x.radius.ip6.ru.ac.za::1812:1::1812:2::1812:6 x.ntp.ip6.ru.ac.za::123:1::123:2::123:6 x.dns.ip6.ru.ac.za::53:1::53:2::53:6 x.ldap.ip6.ru.ac.za::389:1::389:2::389:6

Advantages Scalability: it’s easy to add more nodes to to handle increased demand No wasted CPUs: all CPUs are available for every application Cheap hardware: single-processor 1U machines rather than SMP machines

Advantages Backups: we need only back up the staging area. Nothing on the nodes is irreplaceable (except perhaps log files) Redundancy: if one node fails, so what? Geographical dispersion: we can put nodes in switching centres around campus

Disadvantages Memory wastage: all applications are in memory on all nodes –But memory is cheap, and we can use standard memory in the 1U servers Disk wastage: we need n disks –But Serial ATA disks are really cheap Setup time: it’s taking us a while to get everything tidied-up