res_ais Error

Home » Asterisk Users » res_ais Error
Asterisk Users 2 Comments

Hi,

I’m trying distributed events with Openais but don’t work.

I made the test with two asterisk box in the same LAN

box A: 192.168.142.246 asterisk 1.6.2.13
BoxB: 192.168.142.248 asterisk 1.8.0

openais.conf:

# Please read the openais.conf.5 manual page

totem {
version: 2
secauth: off
threads: 0
consensus: 4800
interface {
ringnumber: 0
bindnetaddr: 192.168.142.0
mcastaddr: 226.94.1.1
mcastport: 5405
}
}

logging {
to_stderr: yes
debug: on
timestamp: on
to_file: yes
to_syslog: no
syslog_facility: daemon
logfile: /var/log/openais.log
}

amf {
mode: disabled
}

When I load res_ais.so module, the pbx crash (boths)

Some time not crash but no clusters members are present.

What I’m doing wrong?

Thank’s

Regards

2 thoughts on - res_ais Error

  • Hi,

    after some test the system don’t crash but no members:

    CLI> ais show clm members

    =============================================================
    === Cluster Members =========================================
    =============================================================
    ===
    === ———————————————————
    === Node Name:
    === ==> ID: 0x0
    === ==> Address:
    === ==> Member: No
    === ———————————————————
    ===
    =============================================================

    In the openais.log i can see the connection but I don’t know why not
    persistent:

    Nov 5 23:36:59.361077 [ipc.c:0799] connection received from libais client
    5.
    Nov 5 23:36:59.363573 [ipc.c:0799] connection received from libais client
    6.
    Nov 5 23:37:04.707123 [TOTEM] The consensus timeout expired.
    Nov 5 23:37:04.707207 [TOTEM] entering GATHER state from 3.
    Nov 5 23:37:10.526431 [TOTEM] The consensus timeout expired.
    Nov 5 23:37:10.526506 [TOTEM] entering GATHER state from 3.
    Nov 5 23:37:16.345764 [TOTEM] The consensus timeout expired.
    Nov 5 23:37:16.345829 [TOTEM] entering GATHER state from 3.
    Nov 5 23:37:22.165079 [TOTEM] The consensus timeout expired.
    Nov 5 23:37:22.165181 [TOTEM] entering GATHER state from 3.
    Nov 5 23:37:27.984413 [TOTEM] The consensus timeout expired.
    Nov 5 23:37:27.984534 [TOTEM] entering GATHER state from 3.
    Nov 5 23:37:33.803701 [TOTEM] The consensus timeout expired.
    Nov 5 23:37:33.803799 [TOTEM] entering GATHER state from 3.
    Nov 5 23:37:39.621992 [TOTEM] The consensus timeout expired.
    Nov 5 23:37:39.622067 [TOTEM] entering GATHER state from 3.
    Nov 5 23:37:45.441295 [TOTEM] The consensus timeout expired.
    Nov 5 23:37:45.441376 [TOTEM] entering GATHER state from 3.

    Any idea?

    Regards

    – bakko