<div dir="ltr"><div><div><div><div><div><div><div><div><div>hooray for me, but, how?<br><br></div>I got about 3/4 of Digimer&#39;s list done and got stuck.<br></div>I did a pcs cluster status, and, behold, the cluster was up.<br></div>I pinged the ClusterIP and it answered.  I didn&#39;t know what<br></div>to do with the &#39;delay=&quot;x&quot;&#39; part, that&#39;s the thing I couldn&#39;t figure<br></div>out.  (I&#39;ve been assuming the delay part is a big deal.)<br><br></div>However, there are more things for me to read and more experiments<br></div>for me to try so I&#39;m good for now.<br><br></div>Thanks to everyone for the prompt help.<br><br></div>j.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 31, 2016 at 5:22 PM, Ken Gaillot <span dir="ltr">&lt;<a href="mailto:kgaillot@redhat.com" target="_blank">kgaillot@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 05/31/2016 03:59 PM, Jay Scott wrote:<br>
&gt; Greetings,<br>
&gt;<br>
&gt; Cluster newbie<br>
&gt; Centos 7<br>
&gt; trying to follow the &quot;Clusters from Scratch&quot; intro.<br>
&gt; 2 nodes (yeah, I know, but I&#39;m just learning)<br>
&gt; &lt;PRE&gt;<br>
&gt; [root@smoking ~]# pcs status<br>
&gt; Cluster name:<br>
&gt; Last updated: Tue May 31 15:32:18 2016        Last change: Tue May 31<br>
&gt; 15:02:21<br>
&gt;  2016 by root via cibadmin on smoking<br>
&gt; Stack: unknown<br>
<br>
</span>&quot;Stack: unknown&quot; is a big problem. The cluster isn&#39;t aware of the<br>
corosync configuration. Did you do the &quot;pcs cluster setup&quot; step?<br>
<span class=""><br>
&gt; Current DC: NONE<br>
&gt; 2 nodes and 1 resource configured<br>
&gt;<br>
&gt; OFFLINE: [ mars smoking ]<br>
&gt;<br>
&gt; Full list of resources:<br>
&gt;<br>
&gt;  ClusterIP    (ocf::heartbeat:IPaddr2):    Stopped<br>
&gt;<br>
&gt; PCSD Status:<br>
&gt;   smoking: Online<br>
&gt;   mars: Online<br>
&gt;<br>
&gt; Daemon Status:<br>
&gt;   corosync: active/enabled<br>
&gt;   pacemaker: active/enabled<br>
&gt;   pcsd: active/enabled<br>
&gt; &lt;/PRE&gt;<br>
&gt;<br>
&gt; What concerns me at the moment:<br>
&gt; I did<br>
&gt; pcs resource enable ClusterIP<br>
&gt; while simultaneously doing<br>
&gt; tail -f /var/log/cluster/corosync.log<br>
&gt; (the only log in there)<br>
<br>
</span>The system log (/var/log/messages or whatever your system has<br>
configured) is usually the best place to start. The cluster software<br>
sends messages of interest to end users there, and it includes messages<br>
from all components (corosync, pacemaker, resource agents, etc.).<br>
<br>
/var/log/cluster/corosync.log (and in some configurations,<br>
/var/log/pacemaker.log) have more detailed log information for debugging.<br>
<span class=""><br>
&gt; and nothing happens in the log, but the ClusterIP<br>
&gt; stays &quot;Stopped&quot;.  Should I be able to ping that addr?<br>
&gt; I can&#39;t.<br>
&gt; It also says OFFLINE:  and both of my machines are offline,<br>
&gt; though the PCSD says they&#39;re online.  Which do I trust?<br>
<br>
</span>The first online/offline output is most important, and refers to the<br>
node&#39;s status in the actual cluster; the &quot;PSCD&quot; online/offline output<br>
simply tells whether the pcs daemon is running. Typically, the pcs<br>
daemon is enabled at boot and is always running. The pcs daemon is not<br>
part of the clustering itself; it&#39;s a front end to configuring and<br>
administering the cluster.<br>
<span class=""><br>
&gt; [root@smoking ~]# pcs property show stonith-enabled<br>
&gt; Cluster Properties:<br>
&gt;  stonith-enabled: false<br>
&gt;<br>
&gt; yet I see entries in the corosync.log referring to stonith.<br>
&gt; I&#39;m guessing that&#39;s normal.<br>
<br>
</span>Yes, you can enable stonith at any time, so the stonith daemon will<br>
still run, to stay aware of the cluster status.<br>
<span class="im HOEnZb"><br>
&gt; My corosync.conf file says the quorum is off.<br>
&gt;<br>
&gt; I also don&#39;t know what to include in this for any of you to<br>
&gt; help me debug.<br>
&gt;<br>
&gt; Ahh, also, is this considered &quot;long&quot;, and if so, where would I post<br>
&gt; to the web?<br>
&gt;<br>
&gt; thx.<br>
&gt;<br>
&gt; j.<br>
<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br></div>