* [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* [Lustre-devel] Lustre - HA: lc_hb - ha.cf configuration
2007-10-26 9:24 [Lustre-devel] Lustre - HA: lc_hb bug Danny Sternkopf
@ 2007-11-12 16:10 ` Danny Sternkopf
0 siblings, 0 replies; 2+ messages in thread
From: Danny Sternkopf @ 2007-11-12 16:10 UTC (permalink / raw)
To: lustre-devel
Hi,
I dont' understand how the ha.cf configuration works.
The file is created as follows:
python /usr/lib64/heartbeat/haresources2cib.py --stdout
/tmp/heartbeat/haresources.lustre > /tmp/heartbeat/cib.xml.lustre
Then it is transferred to the corresponding node.
haresources2cib.py uses /etc/ha.d/ha.cf which is different on other
nodes. I think the cib.xml must be created on the local host.
Or there should be the possibility to specify a node-specific ha.cf for
HA configuration creation.
Best regards,
Danny
--
Danny Sternkopf dsternkopf at hpce.nec.com
NEC HPC Europe GmbH, http://www.teraflop-workbench.de
Stuttgart, Germany phone: +49-711-68770-35 fax: +49-711-6877145
^ 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.