Thanks Steven,<br><br>Now im try to run on the MCP:<br>- Uninstall the pacemaker 1.0<br>- Compile and install 1.1 <br><br>But now i have problems to initialize the pacemakerd: Could not initialize Cluster Configuration Database API instance error 2<br>

Debbuging with gdb i see that the error are on the confdb.. most specificaly the errors start on coreipcc.c  at line:<br><br>     <br>448        if (addr != addr_orig) {<br>449                goto error_close_unlink;  <- enter here<br>

450       }<br><br>Some ideia about  what can cause this  ?<br><br><br><br><br><div class="gmail_quote">2011/5/31 Steven Dake <span dir="ltr"><<a href="mailto:sdake@redhat.com">sdake@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Try running paceamaker using the MCP.  The plugin mode of pacemaker<br>
never really worked very well because of complexities of posix mmap and<br>
fork.  Not having sparc hardware personally, YMMV.  We have recently<br>
with corosync 1.3.1 gone through an alignment fixing process for ARM<br>
arches - hope that solves your alignment problems on sparc as well.<br>
<br>
Regards<br>
-steve<br>
<div class="im"><br>
On 05/31/2011 08:38 AM, william felipe_welter wrote:<br>
> Im trying to setup HA with corosync and pacemaker using the debian<br>
> packages on SPARC Architecture. Using Debian package corosync  process<br>
> dies after initializate pacemaker process. I make some tests with ltrace<br>
> and strace and this tools tell me that corosync died because a<br>
> segmentation fault. I try a lot of thing to solve this problem, but<br>
> nothing made corosync works.<br>
><br>
> My second try is to compile from scratch (using this<br>
> docs:<a href="http://www.clusterlabs.org/wiki/Install#From_Source" target="_blank">http://www.clusterlabs.org/wiki/Install#From_Source</a>)<br>
</div>> <<a href="http://www.clusterlabs.org/wiki/Install#From_Source%29" target="_blank">http://www.clusterlabs.org/wiki/Install#From_Source%29</a>.> . This way<br>
<div><div></div><div class="h5">> corosync process startup perfectly! but some process of pacemaker don't<br>
> start.. Analyzing log i see the probably reason:<br>
><br>
> attrd: [2283]: info: init_ais_connection_once: Connection to our AIS<br>
> plugin (9) failed: Library error (2)<br>
> ....<br>
> stonithd: [2280]: info: init_ais_connection_once: Connection to our AIS<br>
> plugin (9) failed: Library error (2)<br>
> .....<br>
> cib: [2281]: info: init_ais_connection_once: Connection to our AIS<br>
> plugin (9) failed: Library error (2)<br>
> .....<br>
> crmd: [3320]: debug: init_client_ipc_comms_<br>
> nodispatch: Attempting to talk on: /usr/var/run/crm/cib_rw<br>
> crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Could not init<br>
> comms on: /usr/var/run/crm/cib_rw<br>
> crmd: [3320]: debug: cib_native_signon_raw: Connection to command<br>
> channel failed<br>
> crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Attempting to<br>
> talk on: /usr/var/run/crm/cib_callback<br>
> crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Could not init<br>
> comms on: /usr/var/run/crm/cib_callback<br>
> crmd: [3320]: debug: cib_native_signon_raw: Connection to callback<br>
> channel failed<br>
> crmd: [3320]: debug: cib_native_signon_raw: Connection to CIB failed:<br>
> 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<br>
> talk on: /usr/var/run/crm/cib_rw<br>
> crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Could not init<br>
> comms on: /usr/var/run/crm/cib_rw<br>
> crmd: [3320]: debug: cib_native_signon_raw: Connection to command<br>
> channel failed<br>
> crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Attempting to<br>
> talk on: /usr/var/run/crm/cib_callback<br>
> crmd: [3320]: debug: init_client_ipc_comms_nodispatch: Could not init<br>
> comms on: /usr/var/run/crm/cib_callback<br>
> crmd: [3320]: debug: cib_native_signon_raw: Connection to callback<br>
> channel failed<br>
> crmd: [3320]: debug: cib_native_signon_raw: Connection to CIB failed:<br>
> 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<br>
> 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<br>
> could be the reasons for the connection failed ?<br>
> (Yes, my /dev/shm are tmpfs)<br>
><br>
><br>
><br>
> --<br>
> William Felipe Welter<br>
> ------------------------------<br>
> Consultor em Tecnologias Livres<br>
</div></div>> <a href="mailto:william.welter@4linux.com.br">william.welter@4linux.com.br</a> <mailto:<a href="mailto:william.welter@4linux.com.br">william.welter@4linux.com.br</a>><br>
> <a href="http://www.4linux.com.br" target="_blank">www.4linux.com.br</a> <<a href="http://www.4linux.com.br" target="_blank">http://www.4linux.com.br</a>><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Openais mailing list<br>
> <a href="mailto:Openais@lists.linux-foundation.org">Openais@lists.linux-foundation.org</a><br>
> <a href="https://lists.linux-foundation.org/mailman/listinfo/openais" target="_blank">https://lists.linux-foundation.org/mailman/listinfo/openais</a><br>
<br>
</blockquote></div><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>