Mittwoch, 25. März 2009

Migration of DRBD 0.7 to DRBD 8 and my way to test it

In one of my projects it was necessary to upgrade DRBD 0.7 to new version DRBD 8 because of maintenance issues. I have found a good old blog post from Florian Haas, one of Linbit's consultants, as an introduction how to perform this migration.

Step-by-step upgrade from DRBD 0.7 to DRBD 8

This step-by-step documentation worked fine for my migration. The only problem I got was the fact that some of my parameters used in my drbd configuration were deprecated. Now I use the example configuration provided by drbd package.

After the migration I wanted to perform minimal tests on the newly migrated system. First of all I tested main features:
  1. Is it possible to set on both systems the drbd status as primary and to mount the file system?
  2. Do both systems reconnect drbd device after a full reboot successfully?
  3. Is heartbeat possible to control drbd device and file system, on both cluster nodes?
  4. What happens when the connection to other node got lost?
All these primitives tests have been successful. So I wanted to test what happens when I write a large amount of data to the cluster device.

With following command it is possible to write random data to destination file:
~# dd if=/dev/urandom bs=1M count=51200 of=/data/50GB-random.bin

if=/dev/urandom defines as source file /dev/urandom
bs=1M defines that dd reads one megabyte of source
count=51200 orders dd to read source 51200 times
of=/data/50GB-random.bin defines the destination file

While the upper command was working I tested the speed of this write process with iostat and iftop. iostat easily shows the I/O bandwidth of the local hard drives. iftop shows the network bandwidth of defined network-adapter.

I know that my tests are not perfect because there are no tests of concurrent file access or similar like this. It is also strongly recommend to do complete new failure and recover tests, but these tests I will do later.

Montag, 23. März 2009

Trainingsplan online verwalten

Auf der Suche nach ein paar Fitness-Übungen bin ich auf eine interessante Seite gestoßen:

http://wikifit.de/

Dort kann man sich nicht nur kleine Kurzvideos von den zahlreichen verschiedenen Übungen anschauen, sondern hat auch die Möglichkeit individuelle Trainingspläne zu verwalten.

Meiner Meinung nach eine sehr gelungene Fitness-Plattform für Sportinteressierte.

Donnerstag, 19. März 2009

Mein erster Blog

Bisher habe ich mich der "Blogosphäre" verwehrt. Na gut, ich war passiver Nutznießer und habe mittlerweile schon den ein oder anderen Tech-Blog abonniert.

JETZT ist das vorbei!

Hallo Blogger,
hallo Blogosphäre,
(hallo Nutznießer),
hallo Welt... ;-)

Greets,
Christian

EDIT: Habe auch gleich einen Arbeitskollegen dazu bewegt zu bloggen...: Sven's Blog