[DRBD-user] drbd iscsi and heartbeat

Sean McCreadie smccreadie at CanyonPartners.com
Wed Mar 9 23:19:24 CET 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

In my setup I have this entry in my ha.cf:

debugfile       /var/log/ha-debug

logfile         /var/log/ha-log

logfacility     local0

bcast           eth1

keepalive       2

warntime        5

deadtime        10

initdead        30

udpport         694

auto_failback   off

node            vSAN-A-01

node            vSAN-A-02

So im thinking if you added this bcast entry and set it to your iscsi interface (eth2)  it would then send heartbeat packets over that interface as well as iscsi?  Hope this helps


-----Original Message-----
From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Gerald Brandt
Sent: Wednesday, March 09, 2011 2:14 PM
To: drbd-user at lists.linbit.com
Subject: [DRBD-user] drbd iscsi and heartbeat


I'm not sure if this is the right place to ask, but here goes.

I have 2 iscsi servers with drbd and heartbeat.  The DRBD and iSCSI portion is working great, but I can't seem to get heartbeat to do what I want.

If I pull the DRBD link cable, heartbeat switches primary and secondary node.  Plugging the cable back in makes no change.  If I unplug the iSCSI cable, nothing happens.

Basically, what I want is to have ha move the primary when the iSCSI link goes down.  Can anyone help?

                              filer-1              filer-2

eth0 (managment port)

eth1 (drbd sync port)

eth2 (iscsi port)

eth2:0 (created by heartbeat for iscsi communication)



autojoin none

logfile /var/log/ha.log

debugfile /var/log/ha_debug.log

keepalive 2

deadtime 30

warntime 10

initdead 120

ucast eth1

ucast eth1

ucast eth2

ucast eth2

node filer-1

node filer-2

auto_failback on



filer-1 \

      drbddisk::iscsi.target.0 \


Can anyone see what's wrong here?




drbd-user mailing list

drbd-user at lists.linbit.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110309/eed08581/attachment.htm>

More information about the drbd-user mailing list