<div dir="ltr">Hello, <div><br></div><div>As suggested I'm trying to add the nodes via corosync-objctl.</div><div><br></div><div>My current config file is this one: <a href="https://gist.github.com/therobot/4327cd0a2598d1d6bb93">https://gist.github.com/therobot/4327cd0a2598d1d6bb93</a> using 5001 as the nodeid on the second node.</div>
<div><br></div><div>Then I try to add the nodes with the following commands: </div><div><br></div><div>corosync-objctl -n totem.interface.member.memberaddr=10.34.191.212<br></div><div>corosync-objctl -n runtime.totem.pg.mrp.srp.members.5001.join_count=1<br>
</div><div>corosync-objctl -n runtime.totem.pg.mrp.srp.members.5000.status=joined<br></div><div><div>corosync-objctl -n untime.totem.pg.mrp.srp.members.5001.ip=r(0) ip(10.34.191.212)</div></div><div><br></div><div><br></div>
<div>(I have a problem because the space between r(0) and ip is not respected by corosync-objctl)</div><div><br></div><div>Am I on the right track? Should I abandon my quest to have an HA solution on EC2 public network?</div>
<div><br></div><div>Thanks,</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Jacobo García López de Araujo<div><a href="http://thebourbaki.com" target="_blank">http://thebourbaki.com</a> | <a href="http://twitter.com/clapkent" target="_blank">http://twitter.com/clapkent</a> <br>
</div></div></div>
<br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 2:43 PM, Andrew Beekhof <span dir="ltr"><<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On 24/07/2013, at 10:09 PM, Lars Marowsky-Bree <<a href="mailto:lmb@suse.com">lmb@suse.com</a>> wrote:<br>
<br>
> On 2013-07-24T21:40:40, Andrew Beekhof <<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>> wrote:<br>
><br>
>>> Statically assigned nodeids?<br>
>> Wouldn't hurt, but you still need to bring down the still-active node to get it to talk to the new node.<br>
>> Which sucks<br>
><br>
> Hm. But ... corosync/pacemaker ought to identify the node via the<br>
> nodeid. If it comes back with a different IP address, that shouldn't be<br>
> a problem.<br>
><br>
> Oh. *thud* Just realized that it's bound to be one for unicast<br>
> communications, not so much mcast.<br>
<br>
</div>Exactly.<br>
<div class="im"><br>
> Seems we may need some corosync magic<br>
> commands to edit the nodelist at runtime. (Or is that already possible<br>
> and I just don't know how? ;-)<br>
<br>
</div>I believe it might be possible - I just don't know it.<br>
Might even be better to have it happen automagically - after-all the new node knows the existing node's address.<br>
<br>
But good luck getting that one through.<br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div>