Bonjour
Je ne parviens pas a faire démarrer heartbeat avec pacemaker
hearbeat sans pacemaker : ok
hearbeat avec pacemaker , lorsque je démarre le service heartbeat j'ai les messages d'erreur suivant :
J'ai bien sur été voir dans /usr/lib/heartbeat/ et effectivement cib , stonithd, etc ne s'y trouve pas .... ils sont dans :info: Pacemaker support: yes
WARN: File /etc/ha.d//haresources exists.
WARN: This file is not used because pacemaker is enabled
heartbeat[28131]: 2013/03/19_18:09:02 ERROR: Client child command [/usr/lib/heartbeat/cib] is not executable
ERROR: Directive failfast hacluster /usr/lib/heartbeat/cib failed
ERROR: Client child command [/usr/lib/heartbeat/stonithd] is not executable
ERROR: Directive respawn root /usr/lib/heartbeat/stonithd failed
ERROR: Client child command [/usr/lib/heartbeat/attrd] is not executable
ERROR: Directive respawn hacluster /usr/lib/heartbeat/attrd failed
ERROR: Client child command [/usr/lib/heartbeat/crmd] is not executable
ERROR: Directive failfast hacluster /usr/lib/heartbeat/crmd failed
ERROR: Heartbeat not started: configuration error.
ERROR: Configuration error, heartbeat not started.
Alors qu'est que j'ai fait : j'ai copié ces fichiers là ou heartbeat s'attend à les trouver ...# ls /usr/libexec/pacemaker/
attrd cib cibmon crmd lrmd pengine stonithd stonith-test
et là patatra ....hearbeat démarre sans message d'erreurs mais ...fait rebooter carrement le système au bout de d'une minute ou 2 ....
Ma config :
le fichier de conf de heartbeatCentOS 6.3
# rpm -qa| grep heartbeat
heartbeat-libs-3.0.4-1.el6.i686
heartbeat-3.0.4-1.el6.i686
# rpm -qa| grep pacemaker
pacemaker-cli-1.1.8-7.el6.i686
pacemaker-cluster-libs-1.1.8-7.el6.i686
pacemaker-libs-1.1.8-7.el6.i686
pacemaker-1.1.8-7.el6.i686
sans pacemaker :
avec pacemaker# cat /etc/ha.d/ha.cf
keepalive 2
deadtime 30
bcast eth0
node CTS1 CTS2
logfile /var/log/ha.log
Voilou , voilou# cat /etc/ha.d/ha.cf
crm yes
keepalive 2
deadtime 30
bcast eth0
node CTS1 CTS2
logfile /var/log/ha.log
si une ame charitable a déjà mis çà en oeuvre ... je lui serais reconnaissant de me donner quelques tuyaux !!!
d'avance merci
Partager