Salut,
J ai il y a quelque temps migré un de mes server vers debian, et je n arrive pas mettre en place Heartbeat 1.3.0 sur ce serveur.
(http://forum.hardware.fr/hardwarefr/OSAlternatifs/sujet-40301-1.htm)
l autre serveur est un RedHat Heartbeat 1.3.0 et normallement tout marche bien sur celui la.
Code :
- ha.cf:
- debugfile /var/log/ha-debug
- logfile /var/log/ha-log
- logfacility local0
- deadtime 15
- keepalive 2
- warntime 15
- initdead 30
- ucast eth0 10.105.193.86
- auto_failback on
- node proxy1.eu.domain.com
- node proxy2.eu.domain.com
|
/etc/ha.d/haresources
proxy1.eu.domain.com 10.105.193.55
proxy2.eu.domain.com 10.105.193.56
|
Code :
- Log :
- proxy1:~# tail -f /var/log/ha-log
- heartbeat: 2004/08/18_23:54:09 info: **************************
- heartbeat: 2004/08/18_23:54:09 info: Configuration validated. Starting heartbeat 1.3.0
- heartbeat: 2004/08/18_23:54:09 info: heartbeat: version 1.3.0
- heartbeat: 2004/08/18_23:54:09 info: Heartbeat generation: 37
- heartbeat: 2004/08/18_23:54:09 info: ucast: write socket priority set to IPTOS_LOWDELAY on eth0
- heartbeat: 2004/08/18_23:54:09 info: ucast: bound send socket to device: eth0
- heartbeat: 2004/08/18_23:54:09 info: ucast: bound receive socket to device: eth0
- heartbeat: 2004/08/18_23:54:09 info: ucast: started on port 694 interface eth0 to 10.105.193.86
- heartbeat: 2004/08/18_23:54:09 info: pid 9674 locked in memory.
- heartbeat: 2004/08/18_23:54:09 info: Local status now set to: 'up'
- heartbeat: 2004/08/18_23:54:10 info: pid 9677 locked in memory.
- heartbeat: 2004/08/18_23:54:10 info: pid 9678 locked in memory.
- heartbeat: 2004/08/18_23:54:10 info: pid 9679 locked in memory.
- heartbeat: 2004/08/18_23:54:11 info: Link proxy2.eu.domain.com:eth0 up.
- heartbeat: 2004/08/18_23:54:11 info: Status update for node proxy2.eu.domain.com: status active
- heartbeat: 2004/08/18_23:54:11 info: Local status now set to: 'active'
- heartbeat: 2004/08/18_23:54:11 info: remote resource transition completed.
- heartbeat: 2004/08/18_23:54:11 info: remote resource transition completed.
- heartbeat: 2004/08/18_23:54:11 info: Local Resource acquisition completed. (none)
- heartbeat: 2004/08/18_23:54:11 info: proxy2.eu.domain.com wants to go standby [foreign]
- heartbeat: 2004/08/18_23:54:11 info: Running /etc/ha.d/rc.d/status status
- heartbeat: 2004/08/18_23:54:11 info: standby: acquire [foreign] resources from proxy2.eu.domain.com
- heartbeat: 2004/08/18_23:54:11 info: acquire local HA resources (standby).
- heartbeat: 2004/08/18_23:54:11 info: Acquiring resource group: proxy1.eu.domain.com 10.105.193.55
- starteat: 2004/08/18_23:54:11 info: Running /etc/ha.d/resource.d/IPaddr 10.105.193.55
- heartbeat: 2004/08/18_23:54:11 ERROR: unable to find an interface for 10.105.193.55
- heartbeat: 2004/08/18_23:54:11 ERROR: Return code 1 from /etc/ha.d/resource.d/IPaddr
- returned 2564/08/18_23:54:11 ERROR: /usr/lib/heartbeat/ResourceManager takegroup 10.105.193.55
- heartbeat: 2004/08/18_23:54:11 info: local HA resource acquisition completed (standby).
- heartbeat: 2004/08/18_23:54:11 info: Standby resource acquisition done [foreign].
- heartbeat: 2004/08/18_23:54:11 info: Initial resource acquisition complete (auto_failback)
- heartbeat: 2004/08/18_23:54:11 info: remote resource transition completed.
- heartbeat: 2004/08/18_23:54:17 info: Heartbeat shutdown in progress. (9674)
- heartbeat: 2004/08/18_23:54:17 info: Giving up all HA resources.
- heartbeat: 2004/08/18_23:54:18 info: Releasing resource group: proxy1.eu.domain.com 10.105.193.55
- stopbeat: 2004/08/18_23:54:18 info: Running /etc/ha.d/resource.d/IPaddr 10.105.193.55
- probably not LSB-compliant.18 WARN: Resource script for 10.105.193.55
- ) MUST succeed on a stop when already stopped05.193.55
- heartbeat: 2004/08/18_23:54:18 WARN: Machine reboot narrowly avoided!
- heartbeat: 2004/08/18_23:54:18 info: Releasing resource group: proxy2.eu.domain.com 10.105.193.56
- stopbeat: 2004/08/18_23:54:18 info: Running /etc/ha.d/resource.d/IPaddr 10.105.193.56
- probably not LSB-compliant.18 WARN: Resource script for 10.105.193.56
- ) MUST succeed on a stop when already stopped05.193.56
- heartbeat: 2004/08/18_23:54:18 WARN: Machine reboot narrowly avoided!
- heartbeat: 2004/08/18_23:54:18 info: All HA resources relinquished.
- heartbeat: 2004/08/18_23:54:19 info: killing HBFIFO process 9677 with signal 15
- heartbeat: 2004/08/18_23:54:19 info: killing HBWRITE process 9678 with signal 15
- heartbeat: 2004/08/18_23:54:19 info: killing HBREAD process 9679 with signal 15
- heartbeat: 2004/08/18_23:54:19 info: Core process 9678 exited. 3 remaining
- heartbeat: 2004/08/18_23:54:19 info: Core process 9677 exited. 2 remaining
- heartbeat: 2004/08/18_23:54:19 info: Core process 9679 exited. 1 remaining
- heartbeat: 2004/08/18_23:54:19 info: Heartbeat shutdown complete.
|
Il y a donc 3 erreurs que je n arrive pas a supprimer.
Merci de votre aide
Message édité par Z_cool le 20-08-2004 à 08:38:25
---------------
#mais-chut