[DRBD-user] Drbd, Heartbeat configuration

Florian Haas florian.haas at linbit.com
Fri Oct 15 10:47:02 CEST 2010


On 2010-10-13 08:20, Ahmet Zaim wrote:
>  Hello all,
> 
> 
> We setup drbd (userland version: 8.3.6) using redhat 5 enterprice.
> (Linux 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686 i686
> i386 GNU/Linux) The disks are syncronized already but our heartbeat not
> working. We are new in drbd so we should make something wrong at
> somewhere, I am going to post our current configuration. May be someone
> help us..
> 
> #################ha.cf######## in both nodes###########
> 
> keepalive 2
> warntime 20
> deadtime 30
> initdead 30
> 
> debugfile /var/log/ha-debug
> logfile /var/log/ha-log
> ucast eth0 10.100.100.1
> auto_failback off
> node Primary
> node Secondary

Change those hostnames. Immediately. I mean do it NOW. You're going to
have a heck of a time the first time you make your host named Primary
the DRBD Secondary.

Next, follow http://linux-ha.org/doc/ch-initial-config.html. Heartbeat
communication can't possibly work if you have only one ucast entry.

> logfacility local0
> 
> ################## haresources, in both nodes###
> Primary drbddisk::r0 Filesystem::/dev/drbd0::/crm::ext3

And of course ditch that haresources setup and move to Heartbeat 3.0.3
with Pacemaker.

Cheers,
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20101015/d81e6b03/attachment.pgp>


More information about the drbd-user mailing list