<br><br><div class="gmail_quote">On Thu, Dec 31, 2009 at 3:06 AM, Martin Gombač <span dir="ltr"><<a href="mailto:martin@isg.si">martin@isg.si</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
First why do you set max-master=2? So both nodes are promoted and both nodes are master. Then your colocation constraints does not make sense. Because Hosting has to be started on both nodes. If this is not what you want, then please remove max-master=2. I think the default is 1.<br>
</blockquote></div><br>
I have to have both drbd devices in primary mode (promoted), so that live migration works. Hopefully i can fix my collocation constraints with your advice, to make sense for this setup. I wish to tell resource manager that Hosting resource can only run, if underlying drbd device is in primary mode, if not, then don't bother starting or migrating resource there. I wish that Hosting is started only once cluster-wide.<div class="im">
<br></div></blockquote><div>That's OK. Then the colocation constraint is no effect, please remove it.<br><br>Please do these:<br>-Increase log level at crmd and pengine by sending USR1 signal 3 times.<br>-Restart syslog to clean up the existing log.<br>
-Post the output of crm_mon -1<br>-Post the output of ptest -sL<br>-Post the output of cat /proc/drbd<br><br>-Stop heartbeat at one of nodes<br><br>-Post the output of crm_mon -1<br>
-Post the output of ptest -sL<br>
-Post the output of cat /proc/drbd<br><br>-Post the /var/log/messages file<br><br>Thanks<br>hj<br></div></div>