Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article Heartbeat2 Xen cluster with drbd8 and OCFS2 :


Re: Heartbeat2 Xen cluster with drbd8 and OCFS2
Posted by Anonymous (62.49.xx.xx) on Mon 11 Feb 2008 at 14:44
Great article. I'm about halfway through so far, have just got my ocfs2 filesystem up and running.

Here's a few notes for anyone else doing this:

Don't use the 64 bit version of Ubuntu server, it's xen kernel is older and doesn't have ocfs2 support.

You don't need to install ocfs2console. It pulls in a lot of GUI components that you just don't need.

The /etc/ocfs2/cluster.conf file is very picky about syntax. If you copy and paste it from above it wont work, the lines have to be indented with tabs and not spaces, otherwise o2cb wont start.

There is no drbd8-source package, so just exclude that from the command line.

The first time you look at drbd status it will probably say ds:Inconsistent/Inconsistent and wont let you set your nodes to primary.
To fix this you have to run the following on one of your nodes:
sudo drbdadm -- --overwrite-data-of-peer primary all

After that status will be ds:UpToDate/Inconsistent and it will start synchronising. You can use the disk at this stage without waiting for the sync to complete.

The first line of /etc/init.d/mountdrbd.sh should be a shebang:
#!/bin/sh

Also I think it should be symlinked into /etc/rc2.d/S99mountdrbd.sh because the system boots into runlevel 2 and not 3. (I've not rebooted yet so haven't tested this part)

I'll be back with any more notes after I've installed heartbeat and got an xen machine up and running.

Tomun.

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search