Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi,
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) 192.168.101.155 192.168.155.156
eth1 (drbd sync port) 192.168.95.1 192.168.95.2
eth2 (iscsi port) 192.168.93.1 192.168.93.2
eth2:0 (created by heartbeat for iscsi communication) 192.168.93.10
ha.cf
-----
autojoin none
logfile /var/log/ha.log
debugfile /var/log/ha_debug.log
keepalive 2
deadtime 30
warntime 10
initdead 120
ucast eth1 192.168.95.1
ucast eth1 192.168.95.2
ucast eth2 192.168.93.1
ucast eth2 192.168.93.2
node filer-1
node filer-2
auto_failback on
haresources
-----------
filer-1 192.168.93.10 \
drbddisk::iscsi.target.0 \
iscsitarget
Can anyone see what's wrong here?
Thanks,
Gerald