<div dir="ltr">I need 2 clusters to be running independently of each other on same node.<div><br></div><div>-Nikhil</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 22, 2017 at 6:36 PM, Ulrich Windl <span dir="ltr">&lt;<a href="mailto:Ulrich.Windl@rz.uni-regensburg.de" target="_blank">Ulrich.Windl@rz.uni-regensburg.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt;&gt;&gt; Nikhil Utane &lt;<a href="mailto:nikhil.subscribed@gmail.com">nikhil.subscribed@gmail.com</a>&gt; schrieb am 22.03.2017 um 11:23 in<br>
Nachricht<br>
&lt;<a href="mailto:CAGNWmJWq1bBS-mZZuw3LosV3e%2BFF-L7KyzBEVnZhd7jRn-BnGw@mail.gmail.com">CAGNWmJWq1bBS-mZZuw3LosV3e+<wbr>FF-L7KyzBEVnZhd7jRn-BnGw@mail.<wbr>gmail.com</a>&gt;:<br>
<span class="">&gt; Hi Ulrich,<br>
&gt;<br>
&gt; It&#39;s not an option unfortunately.<br>
&gt; Our product runs on a specialized hardware and provides both the services<br>
&gt; (A &amp; B) that I am referring to. Hence I cannot have service A running on<br>
&gt; some nodes as cluster A and service B running on other nodes as cluster B.<br>
&gt; The two services HAVE to run on same node. The catch being service A and<br>
&gt; service B have to be independent of each other.<br>
&gt;<br>
&gt; Hence looking at Container option since we are using that for some other<br>
&gt; product (but not for Pacemaker/Corosync).<br>
<br>
</span>But why do you need two pacemakers then?<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; -Regards<br>
&gt; Nikhil<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Mar 22, 2017 at 12:41 PM, Ulrich Windl &lt;<br>
&gt; <a href="mailto:Ulrich.Windl@rz.uni-regensburg.de">Ulrich.Windl@rz.uni-<wbr>regensburg.de</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; &gt;&gt;&gt; Nikhil Utane &lt;<a href="mailto:nikhil.subscribed@gmail.com">nikhil.subscribed@gmail.com</a>&gt; schrieb am 22.03.2017 um<br>
&gt;&gt; 07:48 in<br>
&gt;&gt; Nachricht<br>
&gt;&gt; &lt;CAGNWmJV05-YG+f9VNG0Deu-<wbr>2xo7Lp+kRQPOn9sWYy7Jz=<a href="mailto:0gNag@mail.gmail.com">0gNag@<wbr>mail.gmail.com</a>&gt;:<br>
&gt;&gt; &gt; Hi All,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; First of all, let me thank everyone here for providing excellent support<br>
&gt;&gt; &gt; from the time I started evaluating this tool about a year ago. It has<br>
&gt;&gt; &gt; helped me to make a timely and good quality release of our Redundancy<br>
&gt;&gt; &gt; solution using Pacemaker &amp; Corosync. (Three cheers :))<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Now for our next release we have a slightly different ask.<br>
&gt;&gt; &gt; We want to provide Redundancy to two different types of services (we can<br>
&gt;&gt; &gt; call them Service A and Service B) such that all cluster communication<br>
&gt;&gt; for<br>
&gt;&gt; &gt; Service A happens on one network/interface (say VLAN A) and for service B<br>
&gt;&gt; &gt; happens on a different network/interface (say VLAN B). Moreover we do not<br>
&gt;&gt; &gt; want the details of Service A (resource attributes etc) to be seen by<br>
&gt;&gt; &gt; Service B and vice-versa.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; So essentially we want to be able to run two independent clusters. From<br>
&gt;&gt; &gt; what I gathered, we cannot run multiple instances of Pacemaker and<br>
&gt;&gt; Corosync<br>
&gt;&gt; &gt; on same node. I was thinking if we can use Containers and run two<br>
&gt;&gt; isolated<br>
&gt;&gt;<br>
&gt;&gt; You conclude from two services that should not see each other that you<br>
&gt;&gt; need to instances of pacemaker on one node. Why?<br>
&gt;&gt; If you want true separation, drop the VLANs, make real networks and two<br>
&gt;&gt; independent clusters.<br>
&gt;&gt; Even if two pacemeaker on one node would work, you habe the problem of<br>
&gt;&gt; fencing, where at least one pacemaker instance will always be surprised<br>
&gt;&gt; badly if fencing takes place. I cannot imaging you want that!<br>
&gt;&gt;<br>
&gt;&gt; &gt; instances of Pacemaker + Corosync on same node.<br>
&gt;&gt; &gt; As per <a href="https://github.com/davidvossel/pacemaker_docker" rel="noreferrer" target="_blank">https://github.com/<wbr>davidvossel/pacemaker_docker</a> it looks do-able.<br>
&gt;&gt; &gt; I wanted to get an opinion on this forum before I can commit that it can<br>
&gt;&gt; be<br>
&gt;&gt; &gt; done.<br>
&gt;&gt;<br>
&gt;&gt; Why are you designing it more complicated as necessary?<br>
&gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please share your views if you have already done this and if there are<br>
&gt;&gt; any<br>
&gt;&gt; &gt; known challenges that I should be familiar with.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; -Thanks<br>
&gt;&gt; &gt; Nikhil<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
&gt;&gt; <a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a><br>
&gt;&gt;<br>
&gt;&gt; Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
&gt;&gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a><br>
&gt;&gt; Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;&gt;<br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br></div>