Hi,<br><br><div class="gmail_quote">On Tue, Feb 22, 2011 at 7:21 PM, Jelle de Jong <span dir="ltr"><<a href="mailto:jelledejong@powercraft.nl">jelledejong@powercraft.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello everybody,<br>
<br>
I got the following setup: <a href="http://debian.pastebin.com/Sife0hTz" target="_blank">http://debian.pastebin.com/Sife0hTz</a><br>
<br>
The problem is that when I crm node standby the godfrey node2 everything<br>
nicely migrates to finley node1 and continues to run. (as expected) when<br>
godfrey comes back online and finished synchronising the drbd disks it<br>
tries to take over the resources of finley and fails crashing the iscsi<br>
and drbd systems....<br></blockquote><div><br></div><div>This is something that you should remove from the config, as I understand it, all resources should run together on the same node and migrate together to the other node.</div>
<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(24, 24, 24); line-height: 18px; "><ol><li class="li2" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(248, 248, 248); background-position: initial initial; background-repeat: initial initial; ">
<div class="de2" style="font: normal normal normal 1em/1.2em monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; vertical-align: top; line-height: 18px; background-position: initial initial; background-repeat: initial initial; ">
location cli-prefer-ip_virtual01 ip_virtual01 \</div></li><li class="li1" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial; ">
<div class="de1" style="font: normal normal normal 1em/1.2em monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; vertical-align: top; line-height: 18px; background-position: initial initial; background-repeat: initial initial; ">
rule $id="cli-prefer-rule-ip_virtual01" inf: #uname eq finley</div></li><li class="li2" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(248, 248, 248); background-position: initial initial; background-repeat: initial initial; ">
<div class="de2" style="font: normal normal normal 1em/1.2em monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; vertical-align: top; line-height: 18px; background-position: initial initial; background-repeat: initial initial; ">
location cli-prefer-iscsi02_lun1 iscsi02_lun1 \</div></li><li class="li1" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 221); background-position: initial initial; background-repeat: initial initial; ">
<div class="de1" style="font: normal normal normal 1em/1.2em monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; vertical-align: top; line-height: 18px; background-position: initial initial; background-repeat: initial initial; ">
rule $id="cli-prefer-rule-iscsi02_lun1" inf: #uname eq godfrey</div></li><li class="li2" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(248, 248, 248); background-position: initial initial; background-repeat: initial initial; ">
<div class="de2" style="font: normal normal normal 1em/1.2em monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; vertical-align: top; line-height: 18px; background-position: initial initial; background-repeat: initial initial; ">
location cli-prefer-iscsi02_target iscsi02_target \</div></li><li class="li1" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial; ">
<div class="de1" style="font: normal normal normal 1em/1.2em monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; vertical-align: top; line-height: 18px; background-position: initial initial; background-repeat: initial initial; ">
rule $id="cli-prefer-rule-iscsi02_target" inf: #uname eq finley</div></li></ol></span></div><div> </div><div>Try removing property default-resource-stickiness="200" and adding a section with:</div>
<div><div>rsc_defaults $id="rsc-options" \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>resource-stickiness="200"</div></div><div><br></div><div>And also maybe increasing the value to 1000 from 200.</div>
<div><br></div><div>I see that both groups rg_iscsi01 and rg_iscsi02 start on the same node, and the general order would be promote DRBD, start the virtual IP, start the targets and then the luns. I would suggest:</div><div>
group rg_iscsi ip_virtual01 iscsi01_target iscsi01_lun1 iscsi02_target iscsi02_lun1 iscsi02_lun2 iscsi02_lun3 iscsi02_lun4</div><div>(instead of the 2 groups)</div><div>All colocation drbd_rx-master-with-ip inf: ms_drbd_rx:Master ip_virtual01 lines removed</div>
<div>All colocation iscsi0x-with-drbd-master inf: rg_iscsi01 ms_drbd_rx:Master lines changed to</div><div>colocation iscsi0x-with-drbd-master inf: rg_iscsi ms_drbd_rx:Master (replacing x with the appropriate values)</div>
<div>All order ip-after-drbd_rx inf: ms_drbd_rx:promote ip_virtual01:start lines removed</div><div>All order iscsi0x-after-drbd-promote inf: ms_drbd_rx:promote rg_iscsi0x:start lines changed to</div><div>order iscsi0x-after-drbd-promote inf: ms_drbd_rx:promote rg_iscsi:start (replacing x ...)</div>
<div><br></div><div>This simplifies resource design and thus keeping the cib smaller, while achieving the same functional goal.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I have to stop corosync on both nodes and start them again make both<br>
nodes standby and then online godfrey and then online finley to get it<br>
all working again.<br>
<br>
Why doesn't it stay running on the finley node when godfrey comes back<br>
online?<br>
<br>
I am also unable to move the iscsi luns with all his depending resources<br>
to finley and back and forwards by using crm resource move finely.<br>
<br>
Why can't I manually move resources around?<br>
<br></blockquote><div><br></div><div>Output of ptest -LsVVV and some logs in a pastebin might help.</div><div><br></div><div>Regards,</div><div>Dan</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
There is probably something I am not doing right but please help me out<br>
i read the Cluster_from_Scratch.pdf,<br>
Pacemaker-1.0-Pacemaker_Explained-en-US and ha-iscsi.pdf.<br>
<br>
Thanks in advance,<br>
<br>
With kind regards,<br>
<br>
Jelle de Jong<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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Dan Frincu<div>CCNA, RHCE</div><br>