Im trying to setup HA with corosync and pacemaker using the debian
packages on SPARC Architecture. Using Debian package corosync process
dies after initializate pacemaker process. I make some tests with ltrace
and strace and this tools tell me that corosync died because a
segmentation fault. I try a lot of thing to solve this problem, but
nothing made corosync works.<br><br>My second try is to compile from scratch (using this docs:<span class="Object" id="OBJ_PREFIX_DWT226"><span class="Object" id="OBJ_PREFIX_DWT227"><a target="_blank" href="http://www.clusterlabs.org/wiki/Install#From_Source%29.">http://www.clusterlabs.org/wiki/Install#From_Source)</a> . </span></span> This way corosync process startup perfectly! but some process of
pacemaker don't start.. Analyzing log i see the probably reason:<br><br>attrd: [2283]: info: init_ais_connection_once: Connection to our AIS plugin (9) failed: Library error (2)<br>.... <br>stonithd: [2280]: info: init_ais_connection_once: Connection to our AIS plugin (9) failed: Library error (2)<br>
.....<br>cib: [2281]: info: init_ais_connection_once: Connection to our AIS plugin (9) failed: Library error (2)<br>.....<br>crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Attempting to talk on: /usr/var/run/crm/cib_rw<br>
crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Could not init comms on: /usr/var/run/crm/cib_rw<br>crmd: [3320]: debug: cib_native_signon_raw: Connection to command channel failed<br>crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Attempting to talk on: /usr/var/run/crm/cib_callback<br>
crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Could not init comms on: /usr/var/run/crm/cib_callback<br>crmd: [3320]: debug: cib_native_signon_raw: Connection to callback channel failed<br>crmd: [3320]: debug: cib_native_signon_raw: Connection to CIB failed: connection failed<br>
crmd: [3320]: debug: cib_native_signoff: Signing out of the CIB Service<br>crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Attempting to talk on: /usr/var/run/crm/cib_rw<br>crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Could not init comms on: /usr/var/run/crm/cib_rw<br>
crmd: [3320]: debug: cib_native_signon_raw: Connection to command channel failed<br>crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Attempting to talk on: /usr/var/run/crm/cib_callback<br>crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Could not init comms on: /usr/var/run/crm/cib_callback<br>
crmd: [3320]: debug: cib_native_signon_raw: Connection to callback channel failed<br>crmd: [3320]: debug: cib_native_signon_raw: Connection to CIB failed: connection failed<br>crmd: [3320]: debug: cib_native_signoff: Signing out of the CIB Service<br>
crmd: [3320]: info: do_cib_control: Could not connect to the CIB service: connection failed<br>....<br><br><br><br><br><br>My conf:<br># Please read the corosync.conf.5 manual page<br>compatibility: whitetank<br><br>totem {<br>
version: 2<br> join: 60<br> token: 3000<br> token_retransmits_before_loss_const: 10<br> secauth: off<br> threads: 0<br> consensus: 8601<br> vsftype: none<br> threads: 0<br> rrp_mode: none<br>
clear_node_high_bit: yes<br> max_messages: 20<br> interface {<br> ringnumber: 0<br> bindnetaddr: 10.10.23.0<br> mcastaddr: 226.94.1.1<br> mcastport: 5405<br> }<br>}<br><br>logging {<br>
fileline: off<br> to_stderr: no<br> to_logfile: yes<br> to_syslog: yes<br> logfile: /var/log/cluster/corosync.log<br> debug: on<br> timestamp: on<br> logger_subsys {<br> subsys: AMF<br> debug: on<br>
}<br>}<br><br>amf {<br> mode: disabled<br>}<br><br>service {<br> # Load the Pacemaker Cluster Resource Manager<br> ver: 0<br> name: pacemaker<br>}<br><br>aisexec {<br> user: root<br>
group: root<br>}<br><br><br>
My Question is: why attrd, cib ... can't connect to AIS Plugin? What could be the reasons for the connection failed ?<br>(Yes, my /dev/shm are tmpfs)<br><br><br><br clear="all"><br>-- <br>William Felipe Welter<br>------------------------------<br>
Consultor em Tecnologias Livres<br><a href="mailto:william.welter@4linux.com.br" target="_blank">william.welter@4linux.com.br</a><br><a href="http://www.4linux.com.br" target="_blank">www.4linux.com.br</a><br><br>