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
Danny Sternkopf
2007-Nov-12 16:10 UTC
[Lustre-devel] Lustre - HA: lc_hb - ha.cf configuration
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