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



Sean



-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Gerald Brandt
Sent: Wednesday, March 09, 2011 2:14 PM
To: [email protected]
Subject: [DRBD-user] drbd iscsi and heartbeat



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

_______________________________________________

drbd-user mailing list

[email protected]

http://lists.linbit.com/mailman/listinfo/drbd-user
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to