[Openais] Running Pacemaker with corosync
Andrew Beekhof
andrew at beekhof.net
Mon Nov 2 05:52:59 PST 2009
On Fri, Oct 30, 2009 at 4:02 PM, Adrian Chapela
<achapela.rexistros at gmail.com> wrote:
> 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 ?
No, that would be the symptom.
Which version of pacemaker are you running?
More information about the Openais
mailing list