[Openais] cman does not start ... corosync died
Christian Brandes
christian.brandes at forschungsgruppe.de
Mon Mar 15 06:29:56 PDT 2010
Hi Chrissie,
thanks for your reply.
>> consensus (4800 ms) must be atleast 1.2 * token (12000 ms)
>> But token is 3000!
>>
>
> It's a known bug in that version of corosync. You'll need to manually
> increase consensus so that it is greater that 4800
I already tried 12000 - did not work!
Now I set it to 20000 - did not work!
corosync seems to ignore the consensus parameter in /etc/corosync/corosync.conf
Is 4800 hardcoded?
I did:
/etc/init.d/corosync restart
/etc/init.d/cman start
Starting cluster:
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Setting network parameters... [ OK ]
Starting cman... corosync died: Could not read cluster configuration
[FAILED]
/etc/corosync/corosync.conf:
totem {
version: 2
token: 3000
token_retransmits_before_loss_const: 10
join: 60
consensus: 20000
vsftype: none
max_messages: 20
clear_node_high_bit: yes
secauth: off
threads: 0
rrp_mode: none
interface {
ringnumber: 0
bindnetaddr: 192.168.24.221
mcastaddr: 226.94.1.1
mcastport: 5405
}
}
amf {
mode: disabled
}
service {
ver: 0
name: pacemaker
}
aisexec {
user: root
group: root
}
logging {
fileline: off
to_stderr: yes
to_logfile: no
to_syslog: yes
syslog_facility: daemon
debug: off
timestamp: on
logger_subsys {
subsys: AMF
debug: off
tags: enter|leave|trace1|trace2|trace3|trace4|trace6
}
}
/var/log/syslog
Mar 15 14:09:52 ubu1 corosync[7986]: [MAIN ] Corosync Cluster Engine ('1.2.0'): started and ready to provide service.
Mar 15 14:09:52 ubu1 corosync[7986]: [MAIN ] Corosync built-in features: nss
Mar 15 14:09:52 ubu1 corosync[7986]: [MAIN ] Successfully read main configuration file '/etc/corosync/corosync.conf'.
Mar 15 14:09:52 ubu1 corosync[7986]: [TOTEM ] Initializing transport (UDP/IP).
Mar 15 14:09:52 ubu1 corosync[7986]: [TOTEM ] Initializing transmit/receive security: libtomcrypt SOBER128/SHA1HMAC (mode 0).
Mar 15 14:09:52 ubu1 corosync[7986]: [MAIN ] Compatibility mode set to whitetank. Using V1 and V2 of the synchronization engine.
Mar 15 14:09:52 ubu1 corosync[7986]: [TOTEM ] The network interface [192.168.24.221] is now up.
Mar 15 14:09:52 ubu1 corosync[7986]: [SERV ] Service failed to load 'pacemaker'.
Mar 15 14:09:52 ubu1 corosync[7986]: [SERV ] Service engine loaded: openais checkpoint service B.01.01
Mar 15 14:09:52 ubu1 corosync[7986]: [SERV ] Service engine loaded: corosync extended virtual synchrony service
Mar 15 14:09:52 ubu1 corosync[7986]: [SERV ] Service engine loaded: corosync configuration service
Mar 15 14:09:52 ubu1 corosync[7986]: [SERV ] Service engine loaded: corosync cluster closed process group service v1.01
Mar 15 14:09:52 ubu1 corosync[7986]: [SERV ] Service engine loaded: corosync cluster config database access v1.01
Mar 15 14:09:52 ubu1 corosync[7986]: [SERV ] Service engine loaded: corosync profile loading service
Mar 15 14:09:52 ubu1 corosync[7986]: [SERV ] Service engine loaded: corosync cluster quorum service v0.1
Mar 15 14:09:52 ubu1 corosync[7986]: [TOTEM ] A processor joined or left the membership and a new membership was formed.
Mar 15 14:09:52 ubu1 corosync[7986]: [MAIN ] Completed service synchronization, ready to provide service.
Mar 15 14:09:58 ubu1 corosync[8011]: [MAIN ] Corosync Cluster Engine ('1.2.0'): started and ready to provide service.
Mar 15 14:09:58 ubu1 corosync[8011]: [MAIN ] Corosync built-in features: nss
Mar 15 14:09:58 ubu1 corosync[8011]: [MAIN ] Successfully read config from /etc/cluster/cluster.conf
Mar 15 14:09:58 ubu1 corosync[8011]: [MAIN ] Successfully parsed cman config
Mar 15 14:09:58 ubu1 corosync[8011]: [MAIN ] Successfully configured openais services to load
Mar 15 14:09:58 ubu1 corosync[8011]: [MAIN ] parse error in config: The consensus timeout parameter (4800 ms) must be atleast 1.2 * token (12000 ms).
Mar 15 14:09:58 ubu1 corosync[8011]: [MAIN ] Corosync Cluster Engine exiting with status -9 at main.c:1359.
:-(
Best regards!
Christian
More information about the Openais
mailing list