Table of Contents

See original proposal here

Student, please read carefully this page…

Student: Joris Bremond

Mentor: Joseph Emeras

Co-Mentor: Olivier Richard


Student: Things to do before starting

Project's specifications

MUST

SHOULD

MAY

How to start the project

Roadmap (and Timeline)

Official gsoc date: 23rd May to 17th August. Joris availability: 1st June to 28th August. So as the dates almost match, we will stick on the student's availability for the schedule. The last 10 days when gsoc is officially over and not Joris's internship will be reserved for making all the documentation and packaging needed.

Important steps

Roadmap

Roadmap is available as a picture:

TODO list

Mentor

Student

priority:

then also:

Proposition

Architecture

700px

This proposition is based on :

Abstract

With this solution, heartbeat can detect when an other server is down and lunch services. It can also monitor the different services which run on the server, and detect errors. For example, if a service fails, heartbeat server tries to restart this service. If it's impossible, the group of resources (Virtual IP + DRBD + OAR-server + BDD) are migrated on the backup server.

Progress

Script

I have realized a script which takes parameters and install / configure heartbeat and DRBD on two servers. It takes different parameters :

Heartbeat communications are encrypted with SHA. We can also encrypt DRBD communications, but currently I haven't do that.

This configuration with the script is OK. We can deploy High Availability solution in 2 different configurations :

TO DO –> My work now is to test the configurations 2master/2backup, with 4 nodes for servers, 1 front-end, and N nodes. I must test network crashes, computer shutdown, etc.

Tests :

Test OK The test are pretty good. I have practice test on four different configuration : 2 nodes with postgres or mysql, 4 nodes with postgres or mysql.

Now I begin to write documentations.

DRBD Benchmark

For know DRBD performance, I have realized different benchmark with mysql for test DRBD performance.

Results

900px