Hi list, I think I've got a few problems but I'll start at the top and
work my way down.

I'm trying to set up a HA NFS server with DRBD.  DRBD works and I can
set one to primary or secondary and write data and it shows up on the
secondary just fine.

I can mount either server directly with NFS and read writes work ok there to.

However I'm trying to set up a shared IP for the NFS clients to use
and heartbeat is failing.

If I ping the heartbeat ip address I breifly get about 12 responses if
I halt the primary.



--drbd1 configs--
/etc/heartbeat/haresources:
drbd1  IPaddr::192.168.15.24/24/eth0/192.168.15.255
drbddisk::Filesystem::/dev/drbd0::/data::ext3

/etc/heartbeat/ha.cf
logfile /var/log/ha-log
keepalive 2
deadtime 30
udpport 695
bcast eth0
auto_failback off
stonith_host drbd1 meatware drbd2
stonith_host drbd2 meatware drbd1
node drbd1 drbd2

/var/log/ha-log:
hb_standby[4034]:       2008/12/11_11:47:56 Going standby [foreign].
heartbeat[2962]: 2008/12/11_11:47:56 info: drbd1 wants to go standby [foreign]
heartbeat[2962]: 2008/12/11_11:47:57 info: standby: drbd2 can take our
foreign resources
heartbeat[4043]: 2008/12/11_11:47:57 info: give up foreign HA
resources (standby).
heartbeat[4043]: 2008/12/11_11:47:57 info: foreign HA resource release
completed (standby).
heartbeat[2962]: 2008/12/11_11:47:57 info: Local standby process
completed [foreign].
heartbeat[2962]: 2008/12/11_11:47:57 WARN: 1 lost packet(s) for [drbd2] [39:41]
heartbeat[2962]: 2008/12/11_11:47:57 info: remote resource transition completed.
heartbeat[2962]: 2008/12/11_11:47:57 info: No pkts missing from drbd2!
heartbeat[2962]: 2008/12/11_11:47:57 info: Other node completed
standby takeover of foreign resources.


--drbd2 configs--
/etc/heartbeat/haresources:
drbd1  IPaddr::192.168.15.24/24/eth0/192.168.15.255
drbddisk::Filesystem::/dev/drbd0::/data::ext3

/etc/heartbeat/ha.cf:
logfile /var/log/ha-log
keepalive 2
deadtime 30
udpport 695
bcast eth0
auto_failback off
stonith_host drbd1 meatware drbd2
stonith_host drbd2 meatware drbd1
node drbd1 drbd2

/var/log/ha-log:
heartbeat[2930]: 2008/12/11_04:46:55 info: local resource transition completed.
heartbeat[2930]: 2008/12/11_04:46:55 info: Initial resource
acquisition complete (T_RESOURCES(us))
heartbeat[3014]: 2008/12/11_04:46:55 info: No local resources
[/usr/lib/heartbeat/ResourceManager listkeys drbd2] to acquire.
heartbeat[2930]: 2008/12/11_04:46:55 info: remote resource transition completed.
heartbeat[2930]: 2008/12/11_04:47:36 info: drbd1 wants to go standby [foreign]
heartbeat[2930]: 2008/12/11_04:47:37 info: standby: acquire [foreign]
resources from drbd1
heartbeat[3024]: 2008/12/11_04:47:37 info: acquire local HA resources (standby).
heartbeat[3024]: 2008/12/11_04:47:37 info: local HA resource
acquisition completed (standby).
heartbeat[2930]: 2008/12/11_04:47:37 info: Standby resource
acquisition done [foreign].
heartbeat[2930]: 2008/12/11_04:47:37 info: remote resource transition completed.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to