February 2008
January 2007
Leapro-pro sys-dispo - Lea Linux
by holyver
Ce document étudie les infrastructures et les différents types et méthodes de haute disponibilité dans un environnement donné. Il présente aussi les différentes solutions en termes logiciels et matériels afin de parvenir à une haute disponibilité. Ce document est une documentation ouverte.
October 2006
What is DRBD
by holyver & 2 others (via)
DRBD is a block device which is designed to build high availability clusters. This is done by mirroring a whole block device via (a dedicated) network. You could see it as a network raid-1.
RAID-1 over IP
by holyver
A l"heure où les serveurs d"entreprises doivent stocker un volume croissant de données et assurer une haute disponibilité, il est nécessaire d"imaginer des systèmes de mirroring (miroir) autres que simplement sur des disques durs.
La redondance de disques durs (RAID-1, RAID-5) permet déjà d"avoir une bonne résistance aux pannes d"un disque (ou plusieurs si on est en RAID-5). Cependant, si c"est la machine qui tombe (le processeur, l"alimentation, le contrôleur de disque,...), on n"a aucun moyen pour relancer le tout rapidement sans perte de données.
Ayant été confronté à cette problématique, j"ai envisagé une solution de RAID-1 au travers du réseau. C"est-à-dire que sur deux serveurs, on a deux partitions (une par serveur) qui sont à tout moment une copie exacte l"une de l"autre. C"est un mirroring (miroir) de partitions à travers une interface réseau.
Comment pouvoir assurer la disponibilité d'un service avec HeartBeat ?
by holyver (via)
L"idée générale pour assurer la disponibilité d"un service est de faire fonctionner plusieurs machines (deux au minimum) en même temps. Ces machines forment ce qu"on appelle un cluster et chaque machine est un node du cluster. Chacune des machines va vérifier si les autres répondent toujours en prenant le pouls de chacune des autres. Si une machine cesse de fonctionner, les autres assurent le service.
Une fois le cluster configuré, on y accède au travers d"une seule et unique adresse IP qui est celle du cluster; qui lui-même est composé de plusieurs nodes.
Pour pouvoir mettre en place ce genre de technique, nous allons utiliser l"application HeartBeat qui va se charger de surveiller les machines et d"appliquer une série de scripts définis par l"utilisateur si cela s"avère nécessaire (c"est-à-dire si une machine tombe).
Synchronizing Disks for HA with rsync
by holyver (via)
This is only ONE way to keeps nodes in synchronization for a high availability cluster. It suits our needs and may be a good
starting block for others so I'm sharing it. Your mileage may vary.
We used this on a web server to update ~1GB worth of documents in sync every 10 minutes. Depending on how quickly your files change, you may be able to update more data, more frequently. I would not recommend using this without a private fast ethernet channel, i.e. an extra NIC in each node connected via a crossover cable.
DRBD in a Heartbeat | Linux Journal
by holyver (via)
This high-availability solution works by replicating a disk partition in a master/slave mode. The server that is running as a master has full read/write access to that partition; whereas the server running as slave has absolutely no access to the partition but silently replicates all changes made by the master server.
September 2006
Pure Load Balancer - A free high performance software load balancer for Unix
by springnetPure Load Balancer runs in userland, but relies on an asynchronous non forking/non threaded/non blocking architecture. Thanks to Niels Provos' excellent event library, it can also efficiently use the kernel notification mechanisms to never waste CPU time
Alex Davies: Linux HOWTOs
by springnet & 4 othersYou MUST have a third server as a managment node but this can be shut down after the cluster starts. Also note that I do not recommend shutting down the managment server (see the extra notes at the bottom of this document for more information). You can no
High-availability middleware on Linux, Part 1: Heartbeat and Apache Web server
by springnetIn this first of five articles, learn what it means for software to be highly available and how to install and set up heartbeat software from the High-Availability Linux project on a two-node system. You'll also learn how to configure the Apache Web serve
ONLamp.com -- Advanced MySQL Replication Techniques
by springnetYou may know about the MySQL Cluster, which is a complex architecture to achieve high availability and performance. One of the advantages of MySQL Cluster is that each node is a peer to the others, whereas in a normal replicating system you have a master
The Linux Virtual Server Project - Linux Server Cluster for Load Balancing
by springnet & 4 othersThe Linux Virtual Server is a highly scalable and highly available server built on a cluster of real servers, with the load balancer running on the Linux operating system. The architecture of the server cluster is fully transparent to end users, and the u
http://www.workboy.com/charles/mysql-heartbeat/InstallMasterMySQL.html
by springnetEdit /etc/syslog.conf to include a local1 (for example) facility entry for MasterMySQL to write to. Also update the top line so that local1 doesn't write to /var/log/messages: *.info;local1.none;mail.none;authpriv.none;cron.none /var/log/messa
Ultra Monkey:
by springnet & 2 othersUltra Monkey is a project to create load balanced and highly available network services. For example a cluster of web servers that appear as a single web server to end-users. The service may be for end-users across the world connected via the internet, or
1
(15 marks)