Register .io Domains the fast and easy way!

Posts tagged with “Great Moments of SysAdmin”

Posted Vor 3 Jahren

Two servers, one shared virtual storage over IP (aka 1/1)

1

app100:/tmp/lala# /etc/init.d/o2cb status

Module “configfs”: Loaded

Filesystem “configfs”: Mounted

Module “ocfs2_nodemanager”: Loaded

Module “ocfs2_dlm”: Loaded

Module “ocfs2_dlmfs”: Loaded

Filesystem “ocfs2_dlmfs”: Mounted

Checking cluster ocfs2: Online

Checking heartbeat: Active

app100:/tmp/lala# echo “razzia!” > autobahn

2

app200:/tmp/lala# /etc/init.d/o2cb status

Module “configfs”: Loaded

Filesystem “configfs”: Mounted

Module “ocfs2_nodemanager”: Loaded

Module “ocfs2_dlm”: Loaded

Module “ocfs2_dlmfs”: Loaded

Filesystem “ocfs2_dlmfs”: Mounted

Checking cluster ocfs2: Online

Checking heartbeat: Active

app200:/tmp/lala# cat autobahn

Razzia!

app200:/tmp/lala# echo ‘10 lahme heitzner server entdeckt und vor ort zerstört!’ » autobahn

3

app100:/tmp/lala# cat autobahn

Razzia!

10 lahme heitzner server entdeckt und vor ort zerstört!

app200:/tmp# mounted.ocfs2 /dev/drbd2

Device FS Nodes

/dev/drbd2 ocfs2 app200, app100

Info

ocfs2 patch for 2.6.18 and below: http://lists.linbit.com/pipermail/drbd-dev/attachments/20070105/3ebcad56/ocfs2-fix-bio_add_page.bin