<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi, Cristiano<br>
pacemaker only get the cluster name from corosync on the first
initialize. Then it will store the name in cib.<br>
even you change the culster name in corosync.conf, pacemaker will
not update it.<br>
<br>
<div class="moz-cite-prefix">On 04/06/2017 04:16 PM, Cristiano
Coltro wrote:<br>
</div>
<blockquote
cite="mid:D5241E3A139CEA4D868830D8088BE5BE011FE3DA@NWBXMB01.microfocus.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoPlainText">HI Zhen & Ulrich<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I have tried to duplicate the issue but
I wasn't able to reproduce.<o:p></o:p></p>
<p class="MsoPlainText">Corosync is updated all the time<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">So I will not open any bug for the
moment.<o:p></o:p></p>
<p class="MsoPlainText"><u>I'm sorry for the wrong heads up!<o:p></o:p></u></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">What is sure is that crm resource show
do not reflect dinamically the cluster name.<o:p></o:p></p>
<p class="MsoPlainText">It is written ONLY during
ha-cluster-init.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">If you change the cluster name while
cluster is initialized you have to change it manually with crm
configure edit<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Is this working as designed?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span lang="IT">Thanks,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="IT">Cristiano<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="IT">Cristiano Coltro<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="IT">Premium Support Engineer<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="IT"> <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="IT">mail: <a class="moz-txt-link-abbreviated" href="mailto:cristiano.coltro@microfocus.com">cristiano.coltro@microfocus.com</a><o:p></o:p></span></p>
<p class="MsoPlainText">mobile: +39 335 1435589<o:p></o:p></p>
<p class="MsoPlainText">phone +39 02 36634936<o:p></o:p></p>
<p class="MsoPlainText">______________<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----Original Message-----<o:p></o:p></p>
<p class="MsoPlainText">From: Zhen Ren <o:p></o:p></p>
<p class="MsoPlainText">Sent: Thursday, April 6, 2017 4:01 AM<o:p></o:p></p>
<p class="MsoPlainText">To: Cluster Labs - All topics related to
open-source clustering welcomed <a class="moz-txt-link-rfc2396E" href="mailto:users@clusterlabs.org"><users@clusterlabs.org></a>;
Cristiano Coltro <a class="moz-txt-link-rfc2396E" href="mailto:Cristiano.Coltro@microfocus.com"><Cristiano.Coltro@microfocus.com></a><o:p></o:p></p>
<p class="MsoPlainText">Subject: Re: [ClusterLabs] SLES 12 SP2
HAE<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hi Cristiano,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks for your report. I suggest you
file a bug for this at <a class="moz-txt-link-freetext" href="https://bugzilla.suse.com">https://bugzilla.suse.com</a> so that it
can be routed to the right person quickly.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">On 04/05/2017 03:26 PM, Cristiano Coltro
wrote:<o:p></o:p></p>
<p class="MsoPlainText">> Hi all,<o:p></o:p></p>
<p class="MsoPlainText">> I was noticing some behaviour on
SLES 12 Sp2 HAE<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> 1. Cluster Name<o:p></o:p></p>
<p class="MsoPlainText">> If you go to yast2 > cluster and
you change the cluster name, the change is not reflected in
/etc/corosync/corosync.conf that shows the default name
"hacluster"<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> 1. Expected votes<o:p></o:p></p>
<p class="MsoPlainText">> With a 2 node cluster you have the
corosync.conf configured like this for the quorum section:<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> provider:
corosync_votequorum<o:p></o:p></p>
<p class="MsoPlainText">> expected_votes: 2<o:p></o:p></p>
<p class="MsoPlainText">> two_node: 1<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> and it's correct<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> If for some reason you redo an
"ha-cluster-init"on the same first node
<o:p></o:p></p>
<p class="MsoPlainText">> WITHOUT overwriting the
corosync.conf and then you perform an
<o:p></o:p></p>
<p class="MsoPlainText">> "ha-cluster-join" on the second
node the corosync.conf changes like
<o:p></o:p></p>
<p class="MsoPlainText">> this<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> provider:
corosync_votequorum<o:p></o:p></p>
<p class="MsoPlainText">> expected_votes: 3<o:p></o:p></p>
<p class="MsoPlainText">> two_node: 0<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> so it seems that
cluster do not check the number of nodes but simply add a +1
every join you perform IF you DON'T overwrite the original
corosync.conf.<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Are 1 & 2 expected behaviour?
Any experience on that?<o:p></o:p></p>
<p class="MsoPlainText">It's probably a bug to fix, I think, so
don't mix yast and HA bootstrap scripts to setup your cluster
ATM:)<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Regards,<o:p></o:p></p>
<p class="MsoPlainText">Eric<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Thanks,<o:p></o:p></p>
<p class="MsoPlainText">> Cristiano<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Cristiano Coltro<o:p></o:p></p>
<p class="MsoPlainText">> Premium Support Engineer<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> mail: <o:p></o:p></p>
<p class="MsoPlainText">>
<a class="moz-txt-link-abbreviated" href="mailto:cristiano.coltro@microfocus.com">cristiano.coltro@microfocus.com</a><<a class="moz-txt-link-freetext" href="mailto:cristiano.coltro@microfocus.com">mailto:cristiano.coltro@microfocus.com</a><o:p></o:p></p>
<p class="MsoPlainText">> ><o:p></o:p></p>
<p class="MsoPlainText">> mobile: +39 335 1435589<o:p></o:p></p>
<p class="MsoPlainText">> phone +39 02 36634936<o:p></o:p></p>
<p class="MsoPlainText">> ______________<o:p></o:p></p>
<p class="MsoPlainText">> [microfocus-logo]<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">>
_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">> Users mailing list:
<a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a> <o:p></o:p></p>
<p class="MsoPlainText">>
<a class="moz-txt-link-freetext" href="http://lists.clusterlabs.org/mailman/listinfo/users">http://lists.clusterlabs.org/mailman/listinfo/users</a><o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Project Home:
<a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a> Getting started:
<o:p></o:p></p>
<p class="MsoPlainText">>
<a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><o:p></o:p></p>
<p class="MsoPlainText">> Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://lists.clusterlabs.org/mailman/listinfo/users">http://lists.clusterlabs.org/mailman/listinfo/users</a>
Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
</pre>
</blockquote>
<br>
</body>
</html>