<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
You should define location constraints for all resources, including
those that are part of a group.<br>
<br>
<pre wrap="">Jul 6 11:27:08 olga pengine: [7362]: info: native_color: Resource Public-IP cannot run anywhere
Jul 6 11:27:08 olga pengine: [7362]: info: native_color: Resource lighty cannot run anywhere</pre>
Also, you mentioned that if you start the resources with a two minute
delay, they work, so try to increase the start interval of lighty to 10
seconds, then see if the resources start as they should.<br>
<br>
Regards.<br>
<br>
Torsten Bronger wrote:
<blockquote cite="mid:87iq4taqy7.fsf@physik.rwth-aachen.de" type="cite">
<pre wrap="">Hallöchen!
Dr. Michael Schwartzkopff writes:
</pre>
<blockquote type="cite">
<pre wrap="">Am Dienstag, den 06.07.2010, 10:28 +0200 schrieb Torsten Bronger:
</pre>
<blockquote type="cite">
<pre wrap="">We have a two-node cluster with a virtual IP and Lighty running
on that node which has this IP currently. Thus, our
configuration says:
[...]
The problem is that under some circumstances, Lighty is not
started. Instead, crm_mon shows at the bottom:
</pre>
</blockquote>
<pre wrap="">Remove the collocation constraint because it is implicitly given
in the group. Then it shoud work.
</pre>
</blockquote>
<pre wrap=""><!---->
Thank you, I removed the superfluous line. However, the problem is
still there.
If I start Heartbeat on both nodes simultaneously, Lighty is not
started, and the log on one of the nodes says
Jul 6 11:27:08 olga pengine: [7362]: notice: group_print: Resource Group: lighty_group
Jul 6 11:27:08 olga pengine: [7362]: notice: native_print: Public-IP#011(ocf::heartbeat:IPaddr2):#011Stopped
Jul 6 11:27:08 olga pengine: [7362]: notice: native_print: lighty#011(lsb:lighttpd):#011Stopped
Jul 6 11:27:08 olga pengine: [7362]: notice: clone_print: Clone Set: pingclone
Jul 6 11:27:08 olga pengine: [7362]: notice: short_print: Stopped: [ pingd:0 pingd:1 ]
Jul 6 11:27:08 olga attrd: [7356]: info: attrd_trigger_update: Sending flush op to all hosts for: terminate (<null>)
Jul 6 11:27:08 olga pengine: [7362]: info: native_merge_weights: Public-IP: Rolling back scores from lighty
Jul 6 11:27:08 olga pengine: [7362]: info: native_color: Resource Public-IP cannot run anywhere
Jul 6 11:27:08 olga pengine: [7362]: info: native_color: Resource lighty cannot run anywhere
Jul 6 11:27:08 olga pengine: [7362]: notice: RecurringOp: Start recurring monitor (15s) for pingd:0 on mandy
Jul 6 11:27:08 olga pengine: [7362]: notice: RecurringOp: Start recurring monitor (15s) for pingd:1 on olga
Jul 6 11:27:08 olga pengine: [7362]: notice: LogActions: Leave resource Public-IP#011(Stopped)
Jul 6 11:27:08 olga pengine: [7362]: notice: LogActions: Leave resource lighty#011(Stopped)
If I start both nodes one after the other with two minutes delay,
everything works fine. Why is this?
Tschö,
Torsten.
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dan FRINCU
Systems Engineer
</pre>
</body>
</html>