<div dir="ltr"><div>Hi,</div><div><br></div><div>I run the latest pacemaker + corosync, and check some case-insensitive behaviors.</div><div>Hostname should be handled in a case-insensitive manner,</div><div>and there might be the following pattern.</div>
<div><br></div><div>example; </div><div>hostname = GUEST03</div><div>CLI input = guest03 (option for crm_resource command)</div><div><br></div><div>[root@GUEST03 ~]# crm_mon -1 <br></div><div>Last updated: Thu Apr  4 17:11:48 2013</div>
<div>Last change: Thu Apr  4 17:11:12 2013 via cibadmin on GUEST03</div><div>Stack: corosync</div><div>Current DC: GUEST03 (3232242816) - partition with quorum</div><div>Version: 1.1.9-e8caee8</div><div>2 Nodes configured, unknown expected votes</div>
<div>1 Resources configured.</div><div><br></div><div><br></div><div>Online: [ GUEST03 GUEST04 ]</div><div><br></div><div> dummy  (ocf::pacemaker:Dummy): Started GUEST03</div><div><br></div><div><br></div><div><br></div><div>
 * case 1 -> ok (without hostname)</div><div><br></div><div>[root@GUEST03 ~]# crm_resource -C -r dummy</div><div>Cleaning up dummy on GUEST03</div><div>Cleaning up dummy on GUEST04</div><div>Waiting for 1 replies from the CRMd. OK</div>
<div><br></div><div> * case 2 -> ok (uppper-case to upper-case at local)</div><div><br></div><div>[root@GUEST03 ~]# crm_resource -C -r dummy -N GUEST03 -Q</div><div>Cleaning up dummy on GUEST03</div><div>Waiting for 1 replies from the CRMd. OK</div>
<div><br></div><div> * case 3 -> ok (uppper-case to upper-case at remote)</div><div><br></div><div>[root@GUEST03 ~]# crm_resource -C -r dummy -N GUEST04 -Q</div><div>Cleaning up dummy on GUEST04</div><div>Waiting for 1 replies from the CRMd. OK</div>
<div><br></div><div> * case 4 -> ok (lower-case to upper-case at local)</div><div><br></div><div>[root@GUEST03 ~]# crm_resource -C -r dummy -N guest03 -Q</div><div>Cleaning up dummy on guest03</div><div>Waiting for 1 replies from the CRMd[root@GUEST03 ~]#</div>
<div><br></div><div> * case 5 -> ng (lower-case to upper-case at remote)</div><div><br></div><div>[root@GUEST03 ~]# crm_resource -C -r dummy -N guest04 -Q</div><div>Cleaning up dummy on guest04</div><div>Waiting for 1 replies from the CRMdNo messages received in 60 seconds.. aborting</div>
<div><br></div><div><br></div><div>Do you have any ideas to manage case 5 ?</div><div>By the way, it seems that "crm_failcount" works well in all cases.</div><div>"crm_resource -m/M/U" works, too.</div>
<div><br></div><div><br></div><div>[root@GUEST03 ~]# cd /home/ikedaj/src/pacemaker/</div><div>[root@GUEST03 pacemaker]# git log | head -n 10</div><div>commit e8caee88c9e078fccf98a9da05543b73d4696f04</div><div>Merge: 288bfeb 203554b</div>
<div>Author: Andrew Beekhof <<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>></div><div>Date:   Thu Mar 28 17:19:56 2013 -0700</div><div><br></div><div>    Merge pull request #268 from gao-yan/node-cache</div>
<div><br></div><div>    Fix: legacy: cl#5148 - Correctly remove a node that used to have a different nodeid</div><div><br></div><div>commit 288bfeb1b84a736a379a1ddfb58cd5e90c59421e</div><div><br></div><div>[root@GUEST03 pacemaker]# cd ../corosync/</div>
<div>[root@GUEST03 corosync]# git log | head -n 10</div><div>commit 005e7fd3b9de79bc32894f9f15431a7cf32a3b27</div><div>Author: Andrei Belov <<a href="mailto:defanator@gmail.com">defanator@gmail.com</a>></div><div>Date:   Thu Mar 28 14:24:41 2013 +0000</div>
<div><br></div><div>    Improved POSIX-compliant handling of getpwnam_r() and getgrnam_r().</div><div><br></div><div>    Signed-off-by: Andrei Belov <<a href="mailto:defanator@gmail.com">defanator@gmail.com</a>></div>
<div>    Reviewed-by: Jan Friesse <<a href="mailto:jfriesse@redhat.com">jfriesse@redhat.com</a>></div><div><br></div><div>commit 55d9db902cdd5155abc269f3e64a4251f00ef853</div><div><br></div><div><br></div><div style>
Thanks,</div><div>Junko IKEDA</div></div>