<div dir="ltr">Hi!<div><br></div><div>I am trying to set up a cluster on two servers with several KVM virtual machines. (CentOS 6.5, Pacemaker 1.10 from native repo)</div><div>Using this as guideline: <a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Pacemaker_Remote/#idm207095595072">http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Pacemaker_Remote/#idm207095595072</a></div><div>It states:</div><div><br></div><div><div class="" style="line-height:18.060001373291px;padding-top:0px;margin-top:0.3em;padding-bottom:0px;margin-bottom:1em;color:rgb(0,0,0);font-family:'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',helvetica,verdana,arial,sans-serif;font-size:14.3999996185303px">Now just register the resource with pacemaker and you’re set!</div><pre class="" style="line-height:1.29em;font-family:'liberation mono','bitstream vera mono','dejavu mono',monospace;color:rgb(0,0,0);padding:0.5em 1em;white-space:pre-wrap;word-wrap:break-word;font-size:0.9em;border:1px solid rgb(115,47,47);border-top-left-radius:11px;border-top-right-radius:11px;border-bottom-right-radius:11px;border-bottom-left-radius:11px;background-color:rgb(245,245,245)"><span class="" style="color:rgb(176,48,96)"># pcs resource create vm-guest1 VirtualDomain hypervisor="qemu:///system" config="/root/guest1.xml" meta remote-node=guest1</span></pre><div class="" style="line-height:18.060001373291px;padding-top:0px;margin-top:0.3em;padding-bottom:0px;margin-bottom:1em;color:rgb(0,0,0);font-family:'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',helvetica,verdana,arial,sans-serif;font-size:14.3999996185303px">Once the <span class=""><em>vm-guest1</em></span> resource is started you will see <span class=""><em>guest1</em></span> appear in the <span class=""><em>pcs status</em></span> output as a node. The final <span class=""><em>pcs status</em></span>output should look something like this.</div><pre class="" style="line-height:1.29em;font-family:'liberation mono','bitstream vera mono','dejavu mono',monospace;color:rgb(0,0,0);padding:0.5em 1em;white-space:pre-wrap;word-wrap:break-word;font-size:0.9em;border:1px solid rgb(115,47,47);border-top-left-radius:11px;border-top-right-radius:11px;border-bottom-right-radius:11px;border-bottom-left-radius:11px;background-color:rgb(245,245,245)">Last updated: Fri Mar <span class="" style="color:rgb(0,0,127)">15</span> 09:<span class="" style="color:rgb(0,0,127)">30</span>:<span class="" style="color:rgb(0,0,127)">30</span> <span class="" style="color:rgb(0,0,127)">2013</span>
Last change: Thu Mar <span class="" style="color:rgb(0,0,127)">14</span> <span class="" style="color:rgb(0,0,127)">17</span>:<span class="" style="color:rgb(0,0,127)">21</span>:<span class="" style="color:rgb(0,0,127)">35</span> <span class="" style="color:rgb(0,0,127)">2013</span> via cibadmin on example-host
Stack: corosync
Current DC: example-host (<span class="" style="color:rgb(0,0,127)">1795270848</span>) - partition WITHOUT quorum
Version: <span class="" style="color:rgb(0,0,127)">1.1</span>.<span class="" style="color:rgb(0,0,127)">10</span>
<span class="" style="color:rgb(0,0,127)">2</span> Nodes configured, unknown expected votes
<span class="" style="color:rgb(0,0,127)">2</span> Resources configured.
Online: [ example-host guest1 ]
Full list of resources:
vm-guest1 (ocf::heartbeat:VirtualDomain): Started example-host</pre></div><div><br clear="all"><div>However, remote-node does not appear in a node list, just a resource:</div><div><br></div><div><div># pcs resource create oracle-test VirtualDomain hypervisor="qemu:///system" config="/etc/libvirt/qemu/oracle-test.xml" meta remote-node=oracle-test</div></div><div><br></div><div><div># pcs status</div><div>Cluster name: wings</div><div>Last updated: Fri Sep 12 11:45:50 2014</div><div>Last change: Fri Sep 12 11:35:50 2014 via crm_resource on wings1</div><div>Stack: cman</div><div>Current DC: wings1 - partition with quorum</div><div>Version: 1.1.10-14.el6-368c726</div><div>2 Nodes configured</div><div>1 Resources configured</div><div><br></div><div><br></div><div>Online: [ wings1 wings2 ]</div><div><br></div><div>Full list of resources:</div><div><br></div><div> oracle-test (ocf::heartbeat:VirtualDomain): Started wings1</div><div><br></div></div><div>It is supposed that remote-node named oracle-test should appear in the list as the third node, is not it?</div><div>Please advice</div><div><br></div><div><br></div>-- <br>Best regards,</div><div>Alexandr A. Alexandrov</div></div>