<div dir="ltr">Hi,<div><br></div><div style>Yes, Corosync version is v2.3.1, so I thought that this should work well.</div><div style>Heartbeat is needed to modified to handle this.</div><div style><br></div><div style>Thanks,</div>
<div style>Junko</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/8 Andrew Beekhof <span dir="ltr"><<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is using corosync 2.0?<br>
<div><div class="h5"><br>
On 04/04/2013, at 9:55 PM, Junko IKEDA <<a href="mailto:tsukishima.ha@gmail.com">tsukishima.ha@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I run the latest pacemaker + corosync, and check some case-insensitive behaviors.<br>
> Hostname should be handled in a case-insensitive manner,<br>
> and there might be the following pattern.<br>
><br>
> example;<br>
> hostname = GUEST03<br>
> CLI input = guest03 (option for crm_resource command)<br>
><br>
> [root@GUEST03 ~]# crm_mon -1<br>
> Last updated: Thu Apr 4 17:11:48 2013<br>
> Last change: Thu Apr 4 17:11:12 2013 via cibadmin on GUEST03<br>
> Stack: corosync<br>
> Current DC: GUEST03 (3232242816) - partition with quorum<br>
> Version: 1.1.9-e8caee8<br>
> 2 Nodes configured, unknown expected votes<br>
> 1 Resources configured.<br>
><br>
><br>
> Online: [ GUEST03 GUEST04 ]<br>
><br>
> dummy (ocf::pacemaker:Dummy): Started GUEST03<br>
><br>
><br>
><br>
> * case 1 -> ok (without hostname)<br>
><br>
> [root@GUEST03 ~]# crm_resource -C -r dummy<br>
> Cleaning up dummy on GUEST03<br>
> Cleaning up dummy on GUEST04<br>
> Waiting for 1 replies from the CRMd. OK<br>
><br>
> * case 2 -> ok (uppper-case to upper-case at local)<br>
><br>
> [root@GUEST03 ~]# crm_resource -C -r dummy -N GUEST03 -Q<br>
> Cleaning up dummy on GUEST03<br>
> Waiting for 1 replies from the CRMd. OK<br>
><br>
> * case 3 -> ok (uppper-case to upper-case at remote)<br>
><br>
> [root@GUEST03 ~]# crm_resource -C -r dummy -N GUEST04 -Q<br>
> Cleaning up dummy on GUEST04<br>
> Waiting for 1 replies from the CRMd. OK<br>
><br>
> * case 4 -> ok (lower-case to upper-case at local)<br>
><br>
> [root@GUEST03 ~]# crm_resource -C -r dummy -N guest03 -Q<br>
> Cleaning up dummy on guest03<br>
> Waiting for 1 replies from the CRMd[root@GUEST03 ~]#<br>
><br>
> * case 5 -> ng (lower-case to upper-case at remote)<br>
><br>
> [root@GUEST03 ~]# crm_resource -C -r dummy -N guest04 -Q<br>
> Cleaning up dummy on guest04<br>
> Waiting for 1 replies from the CRMdNo messages received in 60 seconds.. aborting<br>
><br>
><br>
> Do you have any ideas to manage case 5 ?<br>
> By the way, it seems that "crm_failcount" works well in all cases.<br>
> "crm_resource -m/M/U" works, too.<br>
><br>
><br>
> [root@GUEST03 ~]# cd /home/ikedaj/src/pacemaker/<br>
> [root@GUEST03 pacemaker]# git log | head -n 10<br>
> commit e8caee88c9e078fccf98a9da05543b73d4696f04<br>
> Merge: 288bfeb 203554b<br>
> Author: Andrew Beekhof <<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>><br>
> Date: Thu Mar 28 17:19:56 2013 -0700<br>
><br>
> Merge pull request #268 from gao-yan/node-cache<br>
><br>
> Fix: legacy: cl#5148 - Correctly remove a node that used to have a different nodeid<br>
><br>
> commit 288bfeb1b84a736a379a1ddfb58cd5e90c59421e<br>
><br>
> [root@GUEST03 pacemaker]# cd ../corosync/<br>
> [root@GUEST03 corosync]# git log | head -n 10<br>
> commit 005e7fd3b9de79bc32894f9f15431a7cf32a3b27<br>
> Author: Andrei Belov <<a href="mailto:defanator@gmail.com">defanator@gmail.com</a>><br>
> Date: Thu Mar 28 14:24:41 2013 +0000<br>
><br>
> Improved POSIX-compliant handling of getpwnam_r() and getgrnam_r().<br>
><br>
> Signed-off-by: Andrei Belov <<a href="mailto:defanator@gmail.com">defanator@gmail.com</a>><br>
> Reviewed-by: Jan Friesse <<a href="mailto:jfriesse@redhat.com">jfriesse@redhat.com</a>><br>
><br>
> commit 55d9db902cdd5155abc269f3e64a4251f00ef853<br>
><br>
><br>
> Thanks,<br>
> Junko IKEDA<br>
</div></div>> _______________________________________________<br>
> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br></div>