<div dir="ltr">Thanks for your response Dejan.<div><br></div><div>I do not know yet whether this has anything to do with endianness. </div><div>FWIW, there could be something quirky with the system so keeping all options open. :)</div><div><br></div><div>I added some debug prints to understand what&#39;s happening under the hood.</div><div><br></div><div><b>Success case: (on x86 machine): </b></div><div><div>[TOTEM ] entering OPERATIONAL state.</div><div>[TOTEM ] A new membership (<a href="http://10.206.1.7:137220">10.206.1.7:137220</a>) was formed. Members joined: 181272839</div><div>[TOTEM ] Nikhil: Inside messages_deliver_to_app. end_point=0, my_high_delivered=0</div><div>[TOTEM ] Nikhil: Inside messages_deliver_to_app. end_point=1, my_high_delivered=0</div><div>[TOTEM ] Delivering 0 to 1</div><div>[TOTEM ] Delivering MCAST message with seq 1 to pending delivery queue</div><div>[SYNC  ] Nikhil: Inside sync_deliver_fn. header-&gt;id=1<br></div><div>[TOTEM ] Nikhil: Inside messages_deliver_to_app. end_point=2, my_high_delivered=1</div><div>[TOTEM ] Delivering 1 to 2</div><div>[TOTEM ] Delivering MCAST message with seq 2 to pending delivery queue</div><div>[SYNC  ] Nikhil: Inside sync_deliver_fn. header-&gt;id=0<br></div><div>[SYNC  ] Nikhil: Entering sync_barrier_handler</div><div>[SYNC  ] Committing synchronization for corosync configuration map access</div></div><div>.<br></div><div><div>[TOTEM ] Delivering 2 to 4</div><div>[TOTEM ] Delivering MCAST message with seq 3 to pending delivery queue</div><div>[TOTEM ] Delivering MCAST message with seq 4 to pending delivery queue</div><div>[CPG   ] comparing: sender r(0) ip(10.206.1.7) ; members(old:0 left:0)</div><div>[CPG   ] chosen downlist: sender r(0) ip(10.206.1.7) ; members(old:0 left:0)</div><div>[SYNC  ] Committing synchronization for corosync cluster closed process group service v1.01</div><div><b>[MAIN  ] Completed service synchronization, ready to provide service.</b></div></div><div><br></div><div><br></div><div><b>Failure case: (on ppc)</b>:</div><div><div>[TOTEM ] entering OPERATIONAL state.</div><div>[TOTEM ] A new membership (<a href="http://10.207.24.101:16">10.207.24.101:16</a>) was formed. Members joined: 181344357</div><div>[TOTEM ] Nikhil: Inside messages_deliver_to_app. end_point=0, my_high_delivered=0</div><div>[TOTEM ] Nikhil: Inside messages_deliver_to_app. end_point=1, my_high_delivered=0</div><div>[TOTEM ] Delivering 0 to 1</div><div>[TOTEM ] Delivering MCAST message with seq 1 to pending delivery queue</div><div>[SYNC  ] Nikhil: Inside sync_deliver_fn header-&gt;id=1<br></div><div>[TOTEM ] Nikhil: Inside messages_deliver_to_app. end_point=1, my_high_delivered=1</div><div>[TOTEM ] Nikhil: Inside messages_deliver_to_app. end_point=1, my_high_delivered=1</div></div><div>Above message repeats continuously.</div><div><br></div><div>So it appears that in failure case I do not receive messages with sequence number 2-4.</div><div>If somebody can throw some ideas that&#39;ll help a lot.</div><div><br></div><div>-Thanks</div><div>Nikhil</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 3, 2016 at 5:26 PM, Dejan Muhamedagic <span dir="ltr">&lt;<a href="mailto:dejanmm@fastmail.fm" target="_blank">dejanmm@fastmail.fm</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
On Mon, May 02, 2016 at 08:54:09AM +0200, Jan Friesse wrote:<br>
&gt; &gt;As your hardware is probably capable of running ppcle and if you have an<br>
&gt; &gt;environment<br>
&gt; &gt;at hand without too much effort it might pay off to try that.<br>
&gt; &gt;There are of course distributions out there support corosync on<br>
&gt; &gt;big-endian architectures<br>
&gt; &gt;but I don&#39;t know if there is an automatized regression for corosync on<br>
&gt; &gt;big-endian that<br>
&gt; &gt;would catch big-endian-issues right away with something as current as<br>
&gt; &gt;your 2.3.5.<br>
&gt;<br>
&gt; No we are not testing big-endian.<br>
&gt;<br>
&gt; So totally agree with Klaus. Give a try to ppcle. Also make sure all<br>
&gt; nodes are little-endian. Corosync should work in mixed BE/LE<br>
&gt; environment but because it&#39;s not tested, it may not work (and it&#39;s a<br>
&gt; bug, so if ppcle works I will try to fix BE).<br>
<br>
</span>I tested a cluster consisting of big endian/little endian nodes<br>
(s390 and x86-64), but that was a while ago. IIRC, all relevant<br>
bugs in corosync got fixed at that time. Don&#39;t know what is the<br>
situation with the latest version.<br>
<br>
Thanks,<br>
<br>
Dejan<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; Regards,<br>
&gt;   Honza<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;Regards,<br>
&gt; &gt;Klaus<br>
&gt; &gt;<br>
&gt; &gt;On 05/02/2016 06:44 AM, Nikhil Utane wrote:<br>
&gt; &gt;&gt;Re-sending as I don&#39;t see my post on the thread.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;On Sun, May 1, 2016 at 4:21 PM, Nikhil Utane<br>
&gt; &gt;&gt;&lt;<a href="mailto:nikhil.subscribed@gmail.com">nikhil.subscribed@gmail.com</a> &lt;mailto:<a href="mailto:nikhil.subscribed@gmail.com">nikhil.subscribed@gmail.com</a>&gt;&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;     Hi,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;     Looking for some guidance here as we are completely blocked<br>
&gt; &gt;&gt;     otherwise :(.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;     -Regards<br>
&gt; &gt;&gt;     Nikhil<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;     On Fri, Apr 29, 2016 at 6:11 PM, Sriram &lt;<a href="mailto:sriram.ec@gmail.com">sriram.ec@gmail.com</a><br>
&gt; &gt;&gt;     &lt;mailto:<a href="mailto:sriram.ec@gmail.com">sriram.ec@gmail.com</a>&gt;&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;         Corrected the subject.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;         We went ahead and captured corosync debug logs for our ppc board.<br>
&gt; &gt;&gt;         After log analysis and comparison with the sucessful logs(<br>
&gt; &gt;&gt;         from x86 machine) ,<br>
&gt; &gt;&gt;         we didnt find *&quot;[ MAIN  ] Completed service synchronization,<br>
&gt; &gt;&gt;         ready to provide service.*&quot; in ppc logs.<br>
&gt; &gt;&gt;         So, looks like corosync is not in a position to accept<br>
&gt; &gt;&gt;         connection from Pacemaker.<br>
&gt; &gt;&gt;         Even I tried with the new corosync.conf with no success.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;         Any hints on this issue would be really helpful.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;         Attaching ppc_notworking.log, x86_working.log, corosync.conf.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;         Regards,<br>
&gt; &gt;&gt;         Sriram<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;         On Fri, Apr 29, 2016 at 2:44 PM, Sriram &lt;<a href="mailto:sriram.ec@gmail.com">sriram.ec@gmail.com</a><br>
&gt; &gt;&gt;         &lt;mailto:<a href="mailto:sriram.ec@gmail.com">sriram.ec@gmail.com</a>&gt;&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;             Hi,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;             I went ahead and made some changes in file system(Like I<br>
&gt; &gt;&gt;             brought in /etc/init.d/corosync and /etc/init.d/pacemaker,<br>
&gt; &gt;&gt;             /etc/sysconfig ), After that I was able to run  &quot;pcs<br>
&gt; &gt;&gt;             cluster start&quot;.<br>
&gt; &gt;&gt;             But it failed with the following error<br>
&gt; &gt;&gt;              # pcs cluster start<br>
&gt; &gt;&gt;             Starting Cluster...<br>
&gt; &gt;&gt;             Starting Pacemaker Cluster Manager[FAILED]<br>
&gt; &gt;&gt;             Error: unable to start pacemaker<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;             And in the /var/log/pacemaker.log, I saw these errors<br>
&gt; &gt;&gt;             pacemakerd:     info: mcp_read_config:  cmap connection<br>
&gt; &gt;&gt;             setup failed: CS_ERR_TRY_AGAIN.  Retrying in 4s<br>
&gt; &gt;&gt;             Apr 29 08:53:47 [15863] node_cu pacemakerd:     info:<br>
&gt; &gt;&gt;             mcp_read_config:  cmap connection setup failed:<br>
&gt; &gt;&gt;             CS_ERR_TRY_AGAIN.  Retrying in 5s<br>
&gt; &gt;&gt;             Apr 29 08:53:52 [15863] node_cu pacemakerd:  warning:<br>
&gt; &gt;&gt;             mcp_read_config:  Could not connect to Cluster<br>
&gt; &gt;&gt;             Configuration Database API, error 6<br>
&gt; &gt;&gt;             Apr 29 08:53:52 [15863] node_cu pacemakerd:   notice:<br>
&gt; &gt;&gt;             main:     Could not obtain corosync config data, exiting<br>
&gt; &gt;&gt;             Apr 29 08:53:52 [15863] node_cu pacemakerd:     info:<br>
&gt; &gt;&gt;             crm_xml_cleanup:  Cleaning up memory from libxml2<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;             And in the /var/log/Debuglog, I saw these errors coming<br>
&gt; &gt;&gt;             from corosync<br>
&gt; &gt;&gt;             20160429 085347.487050 &lt;tel:085347.487050&gt; airv_cu<br>
&gt; &gt;&gt;             daemon.warn corosync[12857]:   [QB    ] Denied connection,<br>
&gt; &gt;&gt;             is not ready (12857-15863-14)<br>
&gt; &gt;&gt;             20160429 085347.487067 &lt;tel:085347.487067&gt; airv_cu<br>
&gt; &gt;&gt;             <a href="http://daemon.info" rel="noreferrer" target="_blank">daemon.info</a> &lt;<a href="http://daemon.info" rel="noreferrer" target="_blank">http://daemon.info</a>&gt; corosync[12857]:   [QB<br>
&gt; &gt;&gt;             ] Denied connection, is not ready (12857-15863-14)<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;             I browsed the code of libqb to find that it is failing in<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;             <a href="https://github.com/ClusterLabs/libqb/blob/master/lib/ipc_setup.c" rel="noreferrer" target="_blank">https://github.com/ClusterLabs/libqb/blob/master/lib/ipc_setup.c</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;             Line 600 :<br>
&gt; &gt;&gt;             handle_new_connection function<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;             Line 637:<br>
&gt; &gt;&gt;             if (auth_result == 0 &amp;&amp;<br>
&gt; &gt;&gt;             c-&gt;service-&gt;serv_fns.connection_accept) {<br>
&gt; &gt;&gt;                     res = c-&gt;service-&gt;serv_fns.connection_accept(c,<br>
&gt; &gt;&gt;                                              c-&gt;euid, c-&gt;egid);<br>
&gt; &gt;&gt;                 }<br>
&gt; &gt;&gt;                 if (res != 0) {<br>
&gt; &gt;&gt;                     goto send_response;<br>
&gt; &gt;&gt;                 }<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;             Any hints on this issue would be really helpful for me to<br>
&gt; &gt;&gt;             go ahead.<br>
&gt; &gt;&gt;             Please let me know if any logs are required,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;             Regards,<br>
&gt; &gt;&gt;             Sriram<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;             On Thu, Apr 28, 2016 at 2:42 PM, Sriram<br>
&gt; &gt;&gt;             &lt;<a href="mailto:sriram.ec@gmail.com">sriram.ec@gmail.com</a> &lt;mailto:<a href="mailto:sriram.ec@gmail.com">sriram.ec@gmail.com</a>&gt;&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;                 Thanks Ken and Emmanuel.<br>
&gt; &gt;&gt;                 Its a big endian machine. I will try with running &quot;pcs<br>
&gt; &gt;&gt;                 cluster setup&quot; and &quot;pcs cluster start&quot;<br>
&gt; &gt;&gt;                 Inside cluster.py, &quot;service pacemaker start&quot; and<br>
&gt; &gt;&gt;                 &quot;service corosync start&quot; are executed to bring up<br>
&gt; &gt;&gt;                 pacemaker and corosync.<br>
&gt; &gt;&gt;                 Those service scripts and the infrastructure needed to<br>
&gt; &gt;&gt;                 bring up the processes in the above said manner<br>
&gt; &gt;&gt;                 doesn&#39;t exist in my board.<br>
&gt; &gt;&gt;                 As it is a embedded board with the limited memory,<br>
&gt; &gt;&gt;                 full fledged linux is not installed.<br>
&gt; &gt;&gt;                 Just curious to know, what could be reason the<br>
&gt; &gt;&gt;                 pacemaker throws that error.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;                 /&quot;cmap connection setup failed: CS_ERR_TRY_AGAIN.<br>
&gt; &gt;&gt;                 Retrying in 1s&quot;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;                 /<br>
&gt; &gt;&gt;                 Thanks for response.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;                 Regards,<br>
&gt; &gt;&gt;                 Sriram.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;                 On Thu, Apr 28, 2016 at 8:55 AM, Ken Gaillot<br>
&gt; &gt;&gt;                 &lt;<a href="mailto:kgaillot@redhat.com">kgaillot@redhat.com</a> &lt;mailto:<a href="mailto:kgaillot@redhat.com">kgaillot@redhat.com</a>&gt;&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;                     On 04/27/2016 11:25 AM, emmanuel segura wrote:<br>
&gt; &gt;&gt;                     &gt; you need to use pcs to do everything, pcs<br>
&gt; &gt;&gt;                     cluster setup and pcs<br>
&gt; &gt;&gt;                     &gt; cluster start, try to use the redhat docs for<br>
&gt; &gt;&gt;                     more information.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;                     Agreed -- pcs cluster setup will create a proper<br>
&gt; &gt;&gt;                     corosync.conf for you.<br>
&gt; &gt;&gt;                     Your corosync.conf below uses corosync 1 syntax,<br>
&gt; &gt;&gt;                     and there were<br>
&gt; &gt;&gt;                     significant changes in corosync 2. In particular,<br>
&gt; &gt;&gt;                     you don&#39;t need the<br>
&gt; &gt;&gt;                     file created in step 4, because pacemaker is no<br>
&gt; &gt;&gt;                     longer launched via a<br>
&gt; &gt;&gt;                     corosync plugin.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;                     &gt; 2016-04-27 17:28 GMT+02:00 Sriram<br>
&gt; &gt;&gt;                     &lt;<a href="mailto:sriram.ec@gmail.com">sriram.ec@gmail.com</a> &lt;mailto:<a href="mailto:sriram.ec@gmail.com">sriram.ec@gmail.com</a>&gt;&gt;:<br>
&gt; &gt;&gt;                     &gt;&gt; Dear All,<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; I m trying to use pacemaker and corosync for<br>
&gt; &gt;&gt;                     the clustering requirement that<br>
&gt; &gt;&gt;                     &gt;&gt; came up recently.<br>
&gt; &gt;&gt;                     &gt;&gt; We have cross compiled corosync, pacemaker and<br>
&gt; &gt;&gt;                     pcs(python) for ppc<br>
&gt; &gt;&gt;                     &gt;&gt; environment (Target board where pacemaker and<br>
&gt; &gt;&gt;                     corosync are supposed to run)<br>
&gt; &gt;&gt;                     &gt;&gt; I m having trouble bringing up pacemaker in<br>
&gt; &gt;&gt;                     that environment, though I could<br>
&gt; &gt;&gt;                     &gt;&gt; successfully bring up corosync.<br>
&gt; &gt;&gt;                     &gt;&gt; Any help is welcome.<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; I m using these versions of pacemaker and corosync<br>
&gt; &gt;&gt;                     &gt;&gt; [root@node_cu pacemaker]# corosync -v<br>
&gt; &gt;&gt;                     &gt;&gt; Corosync Cluster Engine, version &#39;2.3.5&#39;<br>
&gt; &gt;&gt;                     &gt;&gt; Copyright (c) 2006-2009 Red Hat, Inc.<br>
&gt; &gt;&gt;                     &gt;&gt; [root@node_cu pacemaker]# pacemakerd -$<br>
&gt; &gt;&gt;                     &gt;&gt; Pacemaker 1.1.14<br>
&gt; &gt;&gt;                     &gt;&gt; Written by Andrew Beekhof<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; For running corosync, I did the following.<br>
&gt; &gt;&gt;                     &gt;&gt; 1. Created the following directories,<br>
&gt; &gt;&gt;                     &gt;&gt;     /var/lib/pacemaker<br>
&gt; &gt;&gt;                     &gt;&gt;     /var/lib/corosync<br>
&gt; &gt;&gt;                     &gt;&gt;     /var/lib/pacemaker<br>
&gt; &gt;&gt;                     &gt;&gt;     /var/lib/pacemaker/cores<br>
&gt; &gt;&gt;                     &gt;&gt;     /var/lib/pacemaker/pengine<br>
&gt; &gt;&gt;                     &gt;&gt;     /var/lib/pacemaker/blackbox<br>
&gt; &gt;&gt;                     &gt;&gt;     /var/lib/pacemaker/cib<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; 2. Created a file called corosync.conf under<br>
&gt; &gt;&gt;                     /etc/corosync folder with the<br>
&gt; &gt;&gt;                     &gt;&gt; following contents<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; totem {<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt;         version: 2<br>
&gt; &gt;&gt;                     &gt;&gt;         token:          5000<br>
&gt; &gt;&gt;                     &gt;&gt;         token_retransmits_before_loss_const: 20<br>
&gt; &gt;&gt;                     &gt;&gt;         join:           1000<br>
&gt; &gt;&gt;                     &gt;&gt;         consensus:      7500<br>
&gt; &gt;&gt;                     &gt;&gt;         vsftype:        none<br>
&gt; &gt;&gt;                     &gt;&gt;         max_messages:   20<br>
&gt; &gt;&gt;                     &gt;&gt;         secauth:        off<br>
&gt; &gt;&gt;                     &gt;&gt;         cluster_name:   mycluster<br>
&gt; &gt;&gt;                     &gt;&gt;         transport:      udpu<br>
&gt; &gt;&gt;                     &gt;&gt;         threads:        0<br>
&gt; &gt;&gt;                     &gt;&gt;         clear_node_high_bit: yes<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt;         interface {<br>
&gt; &gt;&gt;                     &gt;&gt;                 ringnumber: 0<br>
&gt; &gt;&gt;                     &gt;&gt;                 # The following three values<br>
&gt; &gt;&gt;                     need to be set based on your<br>
&gt; &gt;&gt;                     &gt;&gt; environment<br>
&gt; &gt;&gt;                     &gt;&gt;                 bindnetaddr: 10.x.x.x<br>
&gt; &gt;&gt;                     &gt;&gt;                 mcastaddr: 226.94.1.1<br>
&gt; &gt;&gt;                     &gt;&gt;                 mcastport: 5405<br>
&gt; &gt;&gt;                     &gt;&gt;         }<br>
&gt; &gt;&gt;                     &gt;&gt;  }<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt;  logging {<br>
&gt; &gt;&gt;                     &gt;&gt;         fileline: off<br>
&gt; &gt;&gt;                     &gt;&gt;         to_syslog: yes<br>
&gt; &gt;&gt;                     &gt;&gt;         to_stderr: no<br>
&gt; &gt;&gt;                     &gt;&gt;         to_syslog: yes<br>
&gt; &gt;&gt;                     &gt;&gt;         logfile: /var/log/corosync.log<br>
&gt; &gt;&gt;                     &gt;&gt;         syslog_facility: daemon<br>
&gt; &gt;&gt;                     &gt;&gt;         debug: on<br>
&gt; &gt;&gt;                     &gt;&gt;         timestamp: on<br>
&gt; &gt;&gt;                     &gt;&gt;  }<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt;  amf {<br>
&gt; &gt;&gt;                     &gt;&gt;         mode: disabled<br>
&gt; &gt;&gt;                     &gt;&gt;  }<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt;  quorum {<br>
&gt; &gt;&gt;                     &gt;&gt;         provider: corosync_votequorum<br>
&gt; &gt;&gt;                     &gt;&gt;  }<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; nodelist {<br>
&gt; &gt;&gt;                     &gt;&gt;   node {<br>
&gt; &gt;&gt;                     &gt;&gt;         ring0_addr: node_cu<br>
&gt; &gt;&gt;                     &gt;&gt;         nodeid: 1<br>
&gt; &gt;&gt;                     &gt;&gt;        }<br>
&gt; &gt;&gt;                     &gt;&gt; }<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; 3.  Created authkey under /etc/corosync<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; 4.  Created a file called pcmk under<br>
&gt; &gt;&gt;                     /etc/corosync/service.d and contents as<br>
&gt; &gt;&gt;                     &gt;&gt; below,<br>
&gt; &gt;&gt;                     &gt;&gt;       cat pcmk<br>
&gt; &gt;&gt;                     &gt;&gt;       service {<br>
&gt; &gt;&gt;                     &gt;&gt;          # Load the Pacemaker Cluster Resource<br>
&gt; &gt;&gt;                     Manager<br>
&gt; &gt;&gt;                     &gt;&gt;          name: pacemaker<br>
&gt; &gt;&gt;                     &gt;&gt;          ver:  1<br>
&gt; &gt;&gt;                     &gt;&gt;       }<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; 5. Added the node name &quot;node_cu&quot; in /etc/hosts<br>
&gt; &gt;&gt;                     with 10.X.X.X ip<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; 6. ./corosync -f -p &amp; --&gt; this step started<br>
&gt; &gt;&gt;                     corosync<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; [root@node_cu pacemaker]# netstat -alpn | grep<br>
&gt; &gt;&gt;                     -i coros<br>
&gt; &gt;&gt;                     &gt;&gt; udp        0      0 10.X.X.X:61841     0.0.0.0:*<br>
&gt; &gt;&gt;                     &gt;&gt; 9133/corosync<br>
&gt; &gt;&gt;                     &gt;&gt; udp        0      0 10.X.X.X:5405      0.0.0.0:*<br>
&gt; &gt;&gt;                     &gt;&gt; 9133/corosync<br>
&gt; &gt;&gt;                     &gt;&gt; unix  2      [ ACC ]     STREAM     LISTENING<br>
&gt; &gt;&gt;                        148888 9133/corosync<br>
&gt; &gt;&gt;                     &gt;&gt; @quorum<br>
&gt; &gt;&gt;                     &gt;&gt; unix  2      [ ACC ]     STREAM     LISTENING<br>
&gt; &gt;&gt;                        148884 9133/corosync<br>
&gt; &gt;&gt;                     &gt;&gt; @cmap<br>
&gt; &gt;&gt;                     &gt;&gt; unix  2      [ ACC ]     STREAM     LISTENING<br>
&gt; &gt;&gt;                        148887 9133/corosync<br>
&gt; &gt;&gt;                     &gt;&gt; @votequorum<br>
&gt; &gt;&gt;                     &gt;&gt; unix  2      [ ACC ]     STREAM     LISTENING<br>
&gt; &gt;&gt;                        148885 9133/corosync<br>
&gt; &gt;&gt;                     &gt;&gt; @cfg<br>
&gt; &gt;&gt;                     &gt;&gt; unix  2      [ ACC ]     STREAM     LISTENING<br>
&gt; &gt;&gt;                        148886 9133/corosync<br>
&gt; &gt;&gt;                     &gt;&gt; @cpg<br>
&gt; &gt;&gt;                     &gt;&gt; unix  2      [ ]         DGRAM<br>
&gt; &gt;&gt;                       148840 9133/corosync<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; 7. ./pacemakerd -f &amp; gives the following error<br>
&gt; &gt;&gt;                     and exits.<br>
&gt; &gt;&gt;                     &gt;&gt; [root@node_cu pacemaker]# pacemakerd -f<br>
&gt; &gt;&gt;                     &gt;&gt; cmap connection setup failed:<br>
&gt; &gt;&gt;                     CS_ERR_TRY_AGAIN.  Retrying in 1s<br>
&gt; &gt;&gt;                     &gt;&gt; cmap connection setup failed:<br>
&gt; &gt;&gt;                     CS_ERR_TRY_AGAIN.  Retrying in 2s<br>
&gt; &gt;&gt;                     &gt;&gt; cmap connection setup failed:<br>
&gt; &gt;&gt;                     CS_ERR_TRY_AGAIN.  Retrying in 3s<br>
&gt; &gt;&gt;                     &gt;&gt; cmap connection setup failed:<br>
&gt; &gt;&gt;                     CS_ERR_TRY_AGAIN.  Retrying in 4s<br>
&gt; &gt;&gt;                     &gt;&gt; cmap connection setup failed:<br>
&gt; &gt;&gt;                     CS_ERR_TRY_AGAIN.  Retrying in 5s<br>
&gt; &gt;&gt;                     &gt;&gt; Could not connect to Cluster Configuration<br>
&gt; &gt;&gt;                     Database API, error 6<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; Can you please point me, what is missing in<br>
&gt; &gt;&gt;                     these steps ?<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; Before trying these steps, I tried running &quot;pcs<br>
&gt; &gt;&gt;                     cluster start&quot;, but that<br>
&gt; &gt;&gt;                     &gt;&gt; command fails with &quot;service&quot; script not found.<br>
&gt; &gt;&gt;                     As the root filesystem<br>
&gt; &gt;&gt;                     &gt;&gt; doesn&#39;t contain either /etc/init.d/ or<br>
&gt; &gt;&gt;                     /sbin/service<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; So, the plan is to bring up corosync and<br>
&gt; &gt;&gt;                     pacemaker manually, later do the<br>
&gt; &gt;&gt;                     &gt;&gt; cluster configuration using &quot;pcs&quot; commands.<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; Regards,<br>
&gt; &gt;&gt;                     &gt;&gt; Sriram<br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt;                     &gt;&gt; Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
&gt; &gt;&gt;                     &lt;mailto:<a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; <a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;&gt; Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
&gt; &gt;&gt;                     &gt;&gt; Getting started:<br>
&gt; &gt;&gt;                     <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; &gt;&gt;                     &gt;&gt; Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt; &gt;&gt;                     &gt;&gt;<br>
&gt; &gt;&gt;                     &gt;<br>
&gt; &gt;&gt;                     &gt;<br>
&gt; &gt;&gt;                     &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;                     _______________________________________________<br>
&gt; &gt;&gt;                     Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
&gt; &gt;&gt;                     &lt;mailto:<a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>&gt;<br>
&gt; &gt;&gt;                     <a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;                     Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
&gt; &gt;&gt;                     Getting started:<br>
&gt; &gt;&gt;                     <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; &gt;&gt;                     Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;         _______________________________________________<br>
&gt; &gt;&gt;         Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
&gt; &gt;&gt;         &lt;mailto:<a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>&gt;<br>
&gt; &gt;&gt;         <a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;         Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
&gt; &gt;&gt;         Getting started:<br>
&gt; &gt;&gt;         <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; &gt;&gt;         Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;_______________________________________________<br>
&gt; &gt;&gt;Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
&gt; &gt;&gt;<a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
&gt; &gt;&gt;Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; &gt;&gt;Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;_______________________________________________<br>
&gt; &gt;Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
&gt; &gt;<a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
&gt; &gt;<br>
&gt; &gt;Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
&gt; &gt;Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; &gt;Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
&gt; <a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
&gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
_______________________________________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br></div>