Comments on Installing and Configuring Openfiler with DRBD and Heartbeat

Installing and Configuring Openfiler with DRBD and Heartbeat Openfiler is a high performance operating system tailored for use as a SAN/NAS appliance. This configuration will enable two Openfiler appliances to work in an Active/Passive high availability scenario.

12 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Anonymous

I have some questions on HA. In this instruction, you have mention about IP address of HA (HA NAS/SAN Address (eth0) 192.168.1.17) so that mean we need to have another HA machine to do this or something else, please help to advise opn this.

Best regards,

Pisey

By: Ong Pisey

I have completed all the instruction but except HA, I don't understand - where can we set the ip address of HA: 192.168.1.17, we set it on filer01, filer02 or ... something else. Please help on this.

Best regards,

Pisey

By: Adrian Sender

The ip address you refer to is the "cluster" ip and sits on the primary node of the HA cluster.

In this example an ext3 filesystem is used; this means only one disk can be mounted at a particular instance; this node would have the cluster ip. It is possible to use gfs with drbd for a clustered filesystem & eliminate heartbeat for filesystem mounting and ip migration.

By: Ong Pisey

I got it, now it is working. Thanks for your reply.

Best regards,

Pisey

By: Anonymous

The GUI does not work after doing this. Especially setting up iScsi. Any ideas?

By: Ong Pisey

Note: if the commands above generate errors about needing to zero out the file system, use the following command:

root@filer01 ~# dd if=/dev/zero of=/dev/sda3

it take long time to wait for this. For example if my partition is 1GB - i think it is ok but if it is 500GB. How long that I need to wait for run this command. So do we have another solution for this.

Thanks,

Pisey

By: Vitali

You dont need to wait to complete operation.
you can also abort the command after some seconds.
in the fact you need only to delete the header of the partition.
i dont now how many bytes is mean.

By: Anonymous

Or you can just wipe a few megabytes of the partition:

dd if=/dev/zero of=/dev/sda3 bs=1M count=128

By: Andres

I really need to get this implementation done, but I have a little problem, I'm a real newbie on Linux, I have tested and used succesfully the OpenFiler Virtual Appliance, running it over ESX and it works fine, but I don't know how to modify the files you are saying. Is this configuration possible over the Virtual Appliance? or I need to do a clean install of Openfiler?


 

By:

gilly05 and other folks,

This guide is great.

I was wondering if there is any other more recent and/or updated and/or revised version of this guide or anything with instructions how to set up DRBD and Heartbeat on OpenFiler 2.3.

Is there anything else?

 

Thanks,

 

PS: I have created a post for this in the forums:

https://www.howtoforge.com/forums/showthread.php?p=218075#post218075

By: Anonymous

I found a tutorial that is for 2.3 the other day

http://wiki.the-mesh.org/wiki/OpenFilerHaSetup

 

 

By: Anonymous

Dear all,

My drbd status show ro Primary/Secondary instead of st. What would be the issue ?

service drbd status

 

drbd driver loaded OK; device status:
version: 8.3.10 (api:86/proto:86)
GIT-hash: 5c9f89594553e32adb87d9638dce591782f947e3 build by phil@mescal, 2010-01-28 12:29:44
m:res cs ro ds p mounted fstype
0:cluster_metadata Connected Secondary/Secondary Inconsistent/Inconsistent C
1:vg0drbd Connected Secondary/Secondary Inconsistent/Inconsistent C