RE: Help, installing UM3
"Davis, Jacob" <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
I had this same problem. The script /etc/ha.d/resource.d/LVSSyncDaemonSwap calls ipvsadm incorrectly when stopping the daemon. You can either edit that file to fix the syntax for the --stop-daemon command or upgrade to a newer version of heartbeat found here http://www.ultramonkey.org/download/heartbeat/1.2.3.cvs.20050927/ I haven't tried the newer version myself but I've been told that it fixes the --stop-daemon issue. -Jake > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Paolo Asioli > Sent: Wednesday, November 02, 2005 12:02 PM > To: [email protected] > Subject: Help, installing UM3 > > Hello, > > I've installed UM3 on a Fedora Core 3 cluster of 2 machines. > I'm using the streamline configuration from the samples. > > A while ago I configured and tested the same configuration > with UM2 and everything worked well. > > Now things look ok, but when I stop heartbeat, to test > failover, the machine sends out some messages and reboots !!! > > Here are the messages just before it commits suicide: > > Nov 2 17:53:14 uniintra01 heartbeat[6037]: info: Heartbeat > shutdown in progress. (6037) > > Nov 2 17:53:14 uniintra01 heartbeat[6526]: info: Giving up > all HA resources. > > Nov 2 17:53:14 uniintra01 heartbeat: info: Releasing > resource group: uniintra01 ldirectord::ldirectord.cf > LVSSyncDaemonSwap::master IPaddr2::x.x.x.10/16/eth0/77.0.255.255 > > Nov 2 17:53:14 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/IPaddr2 x.x.x.10/16/eth0/77.0.255.255 stop > > Nov 2 17:53:14 uniintra01 heartbeat: info: /sbin/arptables > -A IN -j DROP -d x.x.x.10 > > Nov 2 17:53:14 uniintra01 heartbeat: info: /sbin/arptables > -A OUT -j mangle -o eth0 -s x.x.x.10 --mangle-ip-s x.x.x.11 > > Nov 2 17:53:14 uniintra01 heartbeat: info: > /usr/sbin/arptables-noarp-addr x.x.x.10 stop: success > > Nov 2 17:53:14 uniintra01 heartbeat: info: /sbin/ip -f inet > addr delete x.x.x.10 dev eth0 > > Nov 2 17:53:14 uniintra01 heartbeat: info: /sbin/ip -o -f > inet addr show eth0 > > Nov 2 17:53:14 uniintra01 heartbeat: info: Restoring > loopback IP Address x.x.x.10 32 255.255.255.255 lo. > > Nov 2 17:53:14 uniintra01 heartbeat: info: /sbin/ip -f inet > addr add x.x.x.10/32 brd 255.255.255.255 dev lo > > Nov 2 17:53:14 uniintra01 heartbeat: info: /sbin/ip link set lo up > > Nov 2 17:53:14 uniintra01 heartbeat: info: IP Address > x.x.x.10 released > > Nov 2 17:53:14 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/LVSSyncDaemonSwap master stop > > Nov 2 17:53:14 uniintra01 heartbeat: ERROR: Return code 255 > from /etc/ha.d/resource.d/LVSSyncDaemonSwap > > Nov 2 17:53:15 uniintra01 heartbeat: info: Retrying failed > stop operation [LVSSyncDaemonSwap::master] > > Nov 2 17:53:15 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/LVSSyncDaemonSwap master stop > > Nov 2 17:53:15 uniintra01 heartbeat: ERROR: Return code 255 > from /etc/ha.d/resource.d/LVSSyncDaemonSwap > > Nov 2 17:53:16 uniintra01 heartbeat: info: Retrying failed > stop operation [LVSSyncDaemonSwap::master] > > Nov 2 17:53:16 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/LVSSyncDaemonSwap master stop > > Nov 2 17:53:16 uniintra01 heartbeat: ERROR: Return code 255 > from /etc/ha.d/resource.d/LVSSyncDaemonSwap > > Nov 2 17:53:17 uniintra01 heartbeat: info: Retrying failed > stop operation [LVSSyncDaemonSwap::master] > > Nov 2 17:53:17 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/LVSSyncDaemonSwap master stop > > Nov 2 17:53:17 uniintra01 heartbeat: ERROR: Return code 255 > from /etc/ha.d/resource.d/LVSSyncDaemonSwap > > Nov 2 17:53:18 uniintra01 heartbeat: info: Retrying failed > stop operation [LVSSyncDaemonSwap::master] > > Nov 2 17:53:18 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/LVSSyncDaemonSwap master stop > > Nov 2 17:53:18 uniintra01 heartbeat: ERROR: Return code 255 > from /etc/ha.d/resource.d/LVSSyncDaemonSwap > > Nov 2 17:53:19 uniintra01 heartbeat: info: Retrying failed > stop operation [LVSSyncDaemonSwap::master] > > Nov 2 17:53:19 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/LVSSyncDaemonSwap master stop > > Nov 2 17:53:19 uniintra01 heartbeat: ERROR: Return code 255 > from /etc/ha.d/resource.d/LVSSyncDaemonSwap > > Nov 2 17:53:20 uniintra01 heartbeat: info: Retrying failed > stop operation [LVSSyncDaemonSwap::master] > > Nov 2 17:53:20 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/LVSSyncDaemonSwap master stop > > Nov 2 17:53:20 uniintra01 heartbeat: ERROR: Return code 255 > from /etc/ha.d/resource.d/LVSSyncDaemonSwap > > Nov 2 17:53:21 uniintra01 heartbeat: info: Retrying failed > stop operation [LVSSyncDaemonSwap::master] > > Nov 2 17:53:21 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/LVSSyncDaemonSwap master stop > > Nov 2 17:53:21 uniintra01 heartbeat: ERROR: Return code 255 > from /etc/ha.d/resource.d/LVSSyncDaemonSwap > > Nov 2 17:53:22 uniintra01 heartbeat: info: Retrying failed > stop operation [LVSSyncDaemonSwap::master] > > Nov 2 17:53:22 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/LVSSyncDaemonSwap master stop > > Nov 2 17:53:22 uniintra01 heartbeat: ERROR: Return code 255 > from /etc/ha.d/resource.d/LVSSyncDaemonSwap > > Nov 2 17:53:23 uniintra01 heartbeat: info: Retrying failed > stop operation [LVSSyncDaemonSwap::master] > > Nov 2 17:53:23 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/LVSSyncDaemonSwap master stop > > Nov 2 17:53:23 uniintra01 heartbeat: ERROR: Return code 255 > from /etc/ha.d/resource.d/LVSSyncDaemonSwap > > Nov 2 17:53:24 uniintra01 heartbeat: info: Retrying failed > stop operation [LVSSyncDaemonSwap::master] > > Nov 2 17:53:24 uniintra01 heartbeat: info: Running > /etc/ha.d/resource.d/LVSSyncDaemonSwap master stop > > Nov 2 17:53:24 uniintra01 heartbeat: ERROR: Return code 255 > from /etc/ha.d/resource.d/LVSSyncDaemonSwap > > Nov 2 17:53:24 uniintra01 heartbeat: CRIT: Resource STOP > failure. Reboot required! > > Nov 2 17:53:24 uniintra01 heartbeat: CRIT: Killing heartbeat > ungracefully! > > Nov 2 17:53:27 uniintra01 kernel: md: stopping all md devices. > > Nov 2 17:53:27 uniintra01 kernel: md: md0 switched to read-only mode. > > Any idea ? Or is it a configured behaviour ? > > Thank you in advance. > > Best regards, > Paolo Asioli > > > -- > > -------- > Ing. Paolo S. Asioli > Unieuro S.p.A. > Tel. (+39) 0173 4664359 > Mob. (+39) 335 8430361 > > > > > -------------------------------------------------------------- > --------- > Questa e-mail è stata inviata da un PC appartenente a Unieuro > S.p.A. o a un'altra azienda del Gruppo Dixons. Il suo > contenuto è confidenziale e riservato al mittente e al > destinatario designato. > > Se l'avete ricevuta per errore, Vi preghiamo di segnalarcelo > e di eliminarla dal vostro sistema; non potete fare alcuno > uso dei contenuti né copiarla o inoltrarla a terze parti. > > Le opinioni, conclusioni e dichiarazioni d'intenti contenute > in questa e-mail sono responsabilità del mittente e non > saranno vincolanti per un'azienda del Gruppo Dixons a meno di > essere state confermate da un rappresentante autorizzato in > modo indipendente dal presente messaggio. Non accettiamo > responsabilità per eventuali virus: deve essere Vostra cura > provvedere alla verifica. > > Vi preghiamo di osservare che le e-mail inviate da ed al > Gruppo Dixons sono verificate su base regolare a fini di > archiviazione, controllo di qualità e addestramento, per > assicurare aderenza ai regolamenti e per prevenire eventuali > virus ed utilizzo non autorizzato dei nostri sistemi informativi. > -------------------------------------------------------------- > --------- > > > -- > Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, > email to [email protected], with a body: > unsubscribe ultramonkey-users [email protected] > where "[email protected]" is YOUR email address. > > > -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.