<br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 3:10 PM, Dejan Muhamedagic <span dir="ltr">&lt;<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>&gt;</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><div></div><div class="h5">On Mon, Oct 12, 2009 at 02:57:29PM +0300, Stratos Zolotas wrote:<br>
&gt; On Mon, Oct 12, 2009 at 2:51 PM, Dejan Muhamedagic &lt;<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>&gt;wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; On Mon, Oct 12, 2009 at 02:42:25PM +0300, Stratos Zolotas wrote:<br>
&gt; &gt; &gt; Hello to the list!!!<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; This is my first question to the list and my first attempt to built a two<br>
&gt; &gt; &gt; node cluster on opensuse 11.1 with pacemaker 1.0.5 and openais 0.80.5, so<br>
&gt; &gt; &gt; please forgive my lack of knowledge.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I&#39;m trying to build a Active/Passive scenario but i have the following on<br>
&gt; &gt; &gt; both nodes:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Oct 12 14:05:57 alpha kernel: crmd[30704]: segfault at 18 ip<br>
&gt; &gt; &gt; 00007f7770526eee sp 00007fffc7379810 error 4 in<br>
&gt; &gt; &gt; libplumb.so.2.0.0[7f777050a000+30000]<br>
&gt; &gt;<br>
&gt; &gt; It&#39;d be excellent to see the backtrace, providing that there are<br>
&gt; &gt; core files. Please enable core file generation if there are none.<br>
&gt; &gt; If you don&#39;t know about backtraces, just use hb_report to capture<br>
&gt; &gt; it.<br>
&gt; &gt;<br>
&gt; &gt; &gt; As result i&#39;m getting the following:<br>
&gt; &gt;<br>
&gt; &gt; That&#39;s not the consequence of the previous problem.<br>
&gt; &gt;<br>
&gt; &gt; &gt; alpha:/etc/ais # crm_mon --one-shot -V<br>
&gt; &gt; &gt; crm_mon[30911]: 2009/10/12_14:39:00 ERROR: unpack_resources: No STONITH<br>
&gt; &gt; &gt; resources have been defined<br>
&gt; &gt; &gt; crm_mon[30911]: 2009/10/12_14:39:00 ERROR: unpack_resources: Either<br>
&gt; &gt; &gt; configure some or disable STONITH with the stonith-enabled option<br>
&gt; &gt; &gt; crm_mon[30911]: 2009/10/12_14:39:00 ERROR: unpack_resources: NOTE:<br>
&gt; &gt; Clusters<br>
&gt; &gt; &gt; with shared data need STONITH to ensure data integrity<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; Dejan<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ============<br>
&gt; &gt; &gt; Last updated: Mon Oct 12 14:39:00 2009<br>
&gt; &gt; &gt; Current DC: NONE<br>
&gt; &gt; &gt; 0 Nodes configured, unknown expected votes<br>
&gt; &gt; &gt; 0 Resources configured.<br>
&gt; &gt; &gt; ============<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; The errors are regarding the configuration (i have search about them)<br>
&gt; &gt; that i<br>
&gt; &gt; &gt; am unable to do at the moment because &quot;crm configure&quot; cannot connect to<br>
&gt; &gt; the<br>
&gt; &gt; &gt; cluster.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Both nodes are running opensuse 11.1 x86_64 with the latest updates and<br>
&gt; &gt; the<br>
&gt; &gt; &gt; version that i said above.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Any help is appreciated and please again forgive my lack of knowledge.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thank you in advance.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Stratos.<br>
&gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Pacemaker mailing list<br>
&gt; &gt; &gt; <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; &gt; &gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Pacemaker mailing list<br>
&gt; &gt; <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; &gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; Thank you for the immediate response. I know about the errors (I have to<br>
&gt; disable stonith on the config) but i cannot configure anything with crm.<br>
&gt; After commit i get something like &quot;node did not respond&quot;<br>
&gt;<br>
&gt; The problem is that there is no nodes as you can see after the errors.<br>
&gt;<br>
&gt; I want to help to eliminate the problem, but i&#39;m not a programmer. So if you<br>
&gt; can please guide me so i can execute hb_report and provide the necessary<br>
&gt; logs. When i have to execute hb_report and with what parametes?<br>
<br>
</div></div>First check if you have core dumps:<br>
<br>
# ls -lR /var/lib/heartbeat/cores<br>
<br>
Then run<br>
<br>
# hb_report -f &lt;time&gt; -A -n &quot;&lt;nodes&gt;&quot; /tmp/problem-1<br>
<br>
Replace &lt;time&gt; with whichever time you started cluster at (say<br>
13:00). &lt;nodes&gt; with a space separated list of nodes.<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Dejan<br>
</font><div class="im"><br>
&gt; Again please forgive my luck of knowledge (it is my first time with<br>
&gt; clusters).<br>
&gt;<br>
&gt; Thanks again.<br>
&gt;<br>
&gt; Stratos.<br>
<br>
</div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; Pacemaker mailing list<br>
&gt; <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list<br>
<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>
</div></div></blockquote></div><br>I don&#39;t think that there are any core dumps. The three folders returned from the command are empty.<br><br>alpha:~ # ls -IR /var/lib/heartbeat/cores/<br>hacluster  nobody  root<br>alpha:~ #<br>
<br>hb_report -f 15:27 -A -n &quot;alpha bravo&quot; -u root /root/problem-3<br><br>returns<br><br>Password:<br>alpha: WARN: could not find the log file on alpha<br>Password: /etc/ha.d/shellfuncs: line 211: maketempdir: command not found<br>
alpha: WARN: sorry, can&#39;t create temoary file for find_files<br>/etc/ha.d/shellfuncs: line 211: maketempdir: command not found<br>alpha: WARN: sorry, can&#39;t create temoary file for find_files<br>/etc/ha.d/shellfuncs: line 211: maketempdir: command not found<br>
/etc/ha.d/shellfuncs: line 211: maketempdir: command not found<br>alpha: ERROR: cannot create temporary files<br><br>I have attached the generated folder as zip file, but with a quick look, i don&#39;t think that has something useful. Maybe its better to guide me how to produce dump core files.<br>
<br>I have also tried without the -u option<br><br>Thanks<br><br>Stratos<br><br><br clear="all"><br>-- <br>Kernel IT Solutions Ltd<br><a href="http://www.kernelit.gr">http://www.kernelit.gr</a><br><br>Cyclades Wireless Network<br>
<a href="http://www.cywn.gr">http://www.cywn.gr</a><br>