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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
