<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I upgraded my PostgreSQL/Pacemaker cluster with these versions.</div><div class="">Pacemaker 1.1.14 -> 1.1.18</div><div class=""><div class="">Corosync 2.3.5 -> 2.4.4</div></div><div class="">Crmsh 2.2.0 -> 3.0.1</div><div class="">Resource agents 3.9.7 -> 4.1.1</div><div class=""><br class=""></div><div class=""><div class="">I started on a first node (I am trying one node at a time upgrade).</div><div class="">On a PostgreSQL slave node I did:</div><div class=""><br class=""></div><div class=""><b class="">crm node standby <node></b></div><div class=""><b class="">service pacemaker stop</b></div><div class=""><b class="">service corosync stop</b></div></div><div class=""><br class=""></div><div class="">Then I build the tool above as described on their <a href="http://GitHub.com" class="">GitHub.com</a> page. </div><div class=""><br class=""></div><div class=""><b class="">./autogen.sh (where required)</b></div><div class=""><b class="">./configure</b></div><div class=""><b class="">make (where required)</b></div><div class=""><b class="">make install</b></div><div class=""><br class=""></div><div class="">Everything went ok. I expect new file overwrite old one. I left the dependency I had with old software because I noticed the .configure didn’t complain. </div><div class="">I started corosync.</div><div class=""><br class=""></div><div class=""><b class="">service corosync start</b></div><div class=""><br class=""></div><div class="">To verify corosync work properly I used the following commands:</div><div class=""><b class="">corosync-cfg-tool -s</b></div><div class=""><b class="">corosync-cmapctl | grep members</b></div><div class=""><br class=""></div><div class="">Everything seemed ok and I verified my node joined the cluster (at least this is my impression).</div><div class=""><br class=""></div><div class="">Here I verified a problem. Doing the command:</div><div class="">corosync-quorumtool -ps</div><div class=""><br class=""></div><div class="">I got the following problem:</div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Cannot initialise CFG service</span></div></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">If I try to start pacemaker, I only see pacemaker process running and pacemaker.log containing the following lines:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:38 [17115] pg1 pacemakerd: info: crm_log_init:<span class="Apple-tab-span" style="white-space:pre"> </span>Changed active directory to /var/lib/pacemaker/cores</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:38 [17115] pg1 pacemakerd: info: get_cluster_type:<span class="Apple-tab-span" style="white-space:pre"> </span>Detected an active 'corosync' cluster</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:38 [17115] pg1 pacemakerd: info: mcp_read_config:<span class="Apple-tab-span" style="white-space:pre"> </span>Reading configure for stack: corosync</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:38 [17115] pg1 pacemakerd: notice: main:<span class="Apple-tab-span" style="white-space:pre"> </span>Starting Pacemaker 1.1.18 | build=2b07d5c5a9 features: libqb-logging libqb-ipc lha-fencing nagios corosync-native atomic-attrd acls</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:38 [17115] pg1 pacemakerd: info: main:<span class="Apple-tab-span" style="white-space:pre"> </span>Maximum core file size is: 18446744073709551615</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:38 [17115] pg1 pacemakerd: info: qb_ipcs_us_publish:<span class="Apple-tab-span" style="white-space:pre"> </span>server name: pacemakerd</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:53 [17115] pg1 pacemakerd: warning: corosync_node_name:<span class="Apple-tab-span" style="white-space:pre"> </span>Could not connect to Cluster Configuration Database API, error CS_ERR_TRY_AGAIN</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:53 [17115] pg1 pacemakerd: info: corosync_node_name:<span class="Apple-tab-span" style="white-space:pre"> </span>Unable to get node name for nodeid 1</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:53 [17115] pg1 pacemakerd: notice: get_node_name:<span class="Apple-tab-span" style="white-space:pre"> </span>Could not obtain a node name for corosync nodeid 1</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:53 [17115] pg1 pacemakerd: info: crm_get_peer:<span class="Apple-tab-span" style="white-space:pre"> </span>Created entry 1aeef8ac-643b-44f7-8ce3-d82bbf40bbc1/0x557dc7f05d30 for node (null)/1 (1 total)</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:53 [17115] pg1 pacemakerd: info: crm_get_peer:<span class="Apple-tab-span" style="white-space:pre"> </span>Node 1 has uuid 1</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:53 [17115] pg1 pacemakerd: info: crm_update_peer_proc:<span class="Apple-tab-span" style="white-space:pre"> </span>cluster_connect_cpg: Node (null)[1] - corosync-cpg is now online</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:53 [17115] pg1 pacemakerd: error: cluster_connect_quorum:<span class="Apple-tab-span" style="white-space:pre"> </span>Could not connect to the Quorum API: 2</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:53 [17115] pg1 pacemakerd: info: qb_ipcs_us_withdraw:<span class="Apple-tab-span" style="white-space:pre"> </span>withdrawing server sockets</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:53 [17115] pg1 pacemakerd: info: main:<span class="Apple-tab-span" style="white-space:pre"> </span>Exiting pacemakerd</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><i class="">Jun 21 15:09:53 [17115] pg1 pacemakerd: info: crm_xml_cleanup:<span class="Apple-tab-span" style="white-space:pre"> </span>Cleaning up memory from libxml2</i></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">What is wrong in my procedure?</b></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><br class=""></div></body></html>