Huhn Hur Tu
02.03.10, 09:01
Hallo,
ich habe Haertbeat mit folgender Anleitung versucht ans laufen zu bekommen:
http://www.howtoforge.com/loadbalanced_mysql_cluster_debian_p6
und ich bekomme bei folgender Konfiguration:
/etc/ha.d/ha.cf
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
bcast eth1
mcast 255.0.0.1 694 1 0
#keepalive 5
#warntime 10
#deadtime 120
#initdead 120
#udpport 694
auto_failback off
node mysql1
node mysql2
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster
diese Fehlermeldung:
mysql1:/tmp/DBD-mysql-4.013# /etc/init.d/heartbeat start
logd is already running
Starting High-Availability services:
Heartbeat failure [rc=6]. Failed.
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: Unable to retrieve local interface address for interface [255.0.0.1] using ioctl(SIOCGIFADDR): No such device
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: mcast device [255.0.0.1] is invalid or not set up properly
heartbeat: udpport setting must precede media statementsheartbeat[4673]: 2010/03/02_09:58:36 ERROR: Heartbeat not started: configuration error.
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: Configuration error, heartbeat not started.
Ich habe es mit udpport und ohne probiert und leider verstehe ich die mcast Option nicht sonderlich.
/var/log/ha-log
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: Unable to retrieve local interface address for interface [255.0.0.1] using ioctl(SIOCGIFADDR): No such device
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: mcast device [255.0.0.1] is invalid or not set up properly
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: Heartbeat not started: configuration error.
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: Configuration error, heartbeat not started.
/var/log/ha-debug
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: Unable to retrieve local interface address for interface [255.0.0.1] using ioctl(SIOCGIFADDR): No such device
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: mcast device [255.0.0.1] is invalid or not set up properly
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: Heartbeat not started: configuration error.
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: Configuration error, heartbeat not started.
Gruss Stefan
ich habe Haertbeat mit folgender Anleitung versucht ans laufen zu bekommen:
http://www.howtoforge.com/loadbalanced_mysql_cluster_debian_p6
und ich bekomme bei folgender Konfiguration:
/etc/ha.d/ha.cf
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
bcast eth1
mcast 255.0.0.1 694 1 0
#keepalive 5
#warntime 10
#deadtime 120
#initdead 120
#udpport 694
auto_failback off
node mysql1
node mysql2
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster
diese Fehlermeldung:
mysql1:/tmp/DBD-mysql-4.013# /etc/init.d/heartbeat start
logd is already running
Starting High-Availability services:
Heartbeat failure [rc=6]. Failed.
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: Unable to retrieve local interface address for interface [255.0.0.1] using ioctl(SIOCGIFADDR): No such device
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: mcast device [255.0.0.1] is invalid or not set up properly
heartbeat: udpport setting must precede media statementsheartbeat[4673]: 2010/03/02_09:58:36 ERROR: Heartbeat not started: configuration error.
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: Configuration error, heartbeat not started.
Ich habe es mit udpport und ohne probiert und leider verstehe ich die mcast Option nicht sonderlich.
/var/log/ha-log
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: Unable to retrieve local interface address for interface [255.0.0.1] using ioctl(SIOCGIFADDR): No such device
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: mcast device [255.0.0.1] is invalid or not set up properly
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: Heartbeat not started: configuration error.
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: Configuration error, heartbeat not started.
/var/log/ha-debug
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: Unable to retrieve local interface address for interface [255.0.0.1] using ioctl(SIOCGIFADDR): No such device
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: glib: mcast device [255.0.0.1] is invalid or not set up properly
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: Heartbeat not started: configuration error.
heartbeat[4673]: 2010/03/02_09:58:36 ERROR: Configuration error, heartbeat not started.
Gruss Stefan