Category Archives: code - Page 3

Centos5: OCFS2 cluster FS on dual primary DRBD: part 3 – setup OCFS2 cluster filesystem

Now for the final part – configuring OCFS2 on our dual primary DRBD.
Read more »

Centos5: OCFS2 cluster FS on dual primary DRBD: part 2 – setup dual primary DRBD

This is part 2 where we actually install and configure DRBD devices on top of LVM logical volume
Read more »

Mysql weekly/monthly backup: reliability in simplicity

mysqlI’ve been asked many times to put together mysql database backup with weekly/monthly rotation.
I’m pretty sure there are plenty of such scripts out there on the web.
I am going to add mine so that somebody can compare and choose.
Read more »

Sysadmin shell oneliner: update serial in all DNS zones

Sometimes you just need to force updates on slave DNS servers. The easiest way to do it is to increase zone serials on master server. what if there are hundreds of zone files? Here is one way to do it
Read more »