[Openais] Running Pacemaker with corosync
Adrian Chapela
achapela.rexistros at gmail.com
Fri Oct 30 07:02:30 PDT 2009
Hello,
I think that I have now a working corosync installation. This Corosync
installation is using this configuration:
# Please read the corosync.conf.5 manual page
compatibility: whitetank
totem {
version: 2
# How long before declaring a token lost (ms)
token: 10000
# How many token retransmits before forming a new configuration
token_retransmits_before_loss_const: 20
# How long to wait for join messages in the membership protocol (ms)
join: 60
# How long to wait for consensus to be achieved before starting
a new round of membership configuration (ms)
consensus: 4800
# Turn off the virtual synchrony filter
vsftype: none
# Number of messages that may be sent by one processor on
receipt of the token
max_messages: 20
# Disable encryption
secauth: off
# How many threads to use for encryption/decryption
threads: 0
# Limit generated nodeids to 31-bits (positive signed integers)
clear_node_high_bit: yes
# Optionally assign a fixed node id (integer)
# nodeid: 1234
interface {
ringnumber: 0
bindnetaddr: 192.168.18.0
mcastaddr: 226.94.1.1
#mcastaddr: 224.0.0.1
mcastport: 5405
}
}
logging {
fileline: off
to_stderr: yes
to_logfile: yes
to_syslog: yes
logfile: /var/log/corosync.log
debug: on
timestamp: on
logger_subsys {
subsys: AMF
debug: off
}
}
service {
# Load the Pacemaker Cluster Resource Manager
ver: 0
name: pacemaker
}
amf {
mode: disabled
}
The problem now is pacemaker. It is sending me the next error on one node:
Oct 30 14:53:18 corosync [pcmk ] ERROR: pcmk_wait_dispatch: Child
process crmd exited (pid=2787, rc=2)
Then one node is online and the other is pending. When I stop and the
start again corosync I have the two nodes in UNCLEAN state. What could
be the problem ?
Thank you!
More information about the Openais
mailing list