All of lore.kernel.org
 help / color / mirror / Atom feed
* [Lustre-devel] Lustre - HA: lc_hb bug
@ 2007-10-26  9:24 Danny Sternkopf
  2007-11-12 16:10 ` [Lustre-devel] Lustre - HA: lc_hb - ha.cf configuration Danny Sternkopf
  0 siblings, 1 reply; 2+ messages in thread
From: Danny Sternkopf @ 2007-10-26  9:24 UTC (permalink / raw)
  To: lustre-devel

If lustre_config configures more than one failover pair the haresource
will be wrong except for the first failover pair.

lc_hb generates the haresource on the node running lustre_config in
/tmp/heartbeat/haresources.lustre. Later it will be copied to
haresources.lustre.<hostname>. For the 2nd failover pair the haresource
configuration will be added to haresources.lustre which is wrong. This
file should be cleared or removed before.

The following quick fix seems to help in line 436:
[root at dmds1 config]# sdiff -s /usr/sbin/lc_hb /usr/sbin/lc_hb.orig
        # Clean /tmp/heartbeat/haresources.lustre first       <
        rm -f ${HARES_LUSTRE}                                 <

I'am not 100% sure if it is okay for all cases.

Best regards,

Danny

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-12 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26  9:24 [Lustre-devel] Lustre - HA: lc_hb bug Danny Sternkopf
2007-11-12 16:10 ` [Lustre-devel] Lustre - HA: lc_hb - ha.cf configuration Danny Sternkopf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.