[DRBD-user] drbd iscsi and heartbeat

Gerald Brandt gbr at majentis.com
Wed Mar 9 23:14:21 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.


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?


More information about the drbd-user mailing list