The company i work for asked me to write a document about how to use DRBD and OCFS2 for MySQL Clustering as replacement for the MySQL NDB Stuff. This Document is nearly finished, however, today i talked with a friend, who’s working a lot with oracle databases and asked him what tests he would do to test the locking characteristics of the Filesystem. He told me this can be made using dd in 4 Tests:
- “dd if=/dev/zero of=/mnt/filename bs=100M count=100″ on Node1 on the Clusterfilesystem
- The same on the other node (Node2), the times should be equal.
- Two times (2x) the same on Node1, the time will break in
- Now on both nodes at the same time – The time should be higher, the higher the worse.
So, i did this checks on the System i’ve setup with DRBD and OCFS2, here are the results:
more…

