<div dir="ltr"><div><div>So I use journalctl --since "2016-02-04 19:00" --until "2016-02-05 07:30", in order to get useful information...<br></div>Since I do not have enought skill I send to the list some outputs, in hope that somebody can help...<br><br></div>Thanks a lot<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-05 14:19 GMT-02:00 Thomas Lamprecht <span dir="ltr"><<a href="mailto:t.lamprecht@proxmox.com" target="_blank">t.lamprecht@proxmox.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span class="">
<br>
<br>
<div>On 02/05/2016 04:26 PM, Gilberto Nunes
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>> Also if you have no more VM under HA you can remove
the HA resource config<br>
><br>
> # rm /etc/pve/ha/resources.cfg<br>
<br>
</div>
But if do this, in the future, when I realize that I need insert
the previously node removed, it will work?<br>
</div>
</blockquote>
<br></span>
Yes, if you add the other node again and want to reactivate HA
simply add a VM/CT to HA (via GUI or the command line) and this file
will be recreated if not existing and everything will work again.<span class=""><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div> <br>
<br>
> But the errors from the CRM should _not_ be related to a
stopping VM, I'm pretty sure there's another > cause for
that :)<br>
<br>
</div>
<div>That's is what I am trying figure out.<br>
<br>
</div>
<div> <br>
> If you have the logs from around the time the VM stopped
look if something strange happened. <br>
<br>
</div>
<div>Well... This happen later of night and, seems to me that is
happen when backup go...<br>
</div>
</div>
</blockquote></span>
OOM-killer because you get out of RAM?<span class=""><br>
<blockquote type="cite">
<div dir="ltr">
<div>I notice, in other PVE host, sometimes some randonly VM's
just restart at night...<br>
</div>
</div>
</blockquote></span>
To be honest, that seems like it comes from inside the VM not from
PVE.<span class=""><br>
<blockquote type="cite">
<div dir="ltr">
<div>I any case, logs from proxmox are where difficult to get,
mainly because the same of syslog system and I get a lot of
garbage...<br>
</div>
</div>
</blockquote></span>
I really can't relate to that i find the logs quite practical to
skim through, especially with the journalctl tool.<span class=""><br>
<blockquote type="cite">
<div dir="ltr">
<div>We have the /var/log/pve and /var/log;pveproxy/ but nothing
useful at all....<br>
</div>
</div>
</blockquote></span>
This is also not the primary log output.<span class=""><br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>I will try another approuch to solve this issues....<br>
<br>
</div>
<div>Thanks anyway....<br>
</div>
</div>
</blockquote>
<br></span>
btw. you can pack a lot of relevant things with journalctl, it has
some nifty functions, e.g.: you can create a log from a date/time
frame:<br>
<blockquote type="cite">
<pre><code>journalctl --since "2015-01-10" --until "2015-01-11 03:00" </code></pre>
</blockquote>
<br>
(additional <br>
<pre><blockquote type="cite"><pre><code>> out.log </code>
</pre></blockquote></pre>
at the end, to pipe it in a file.)<br>
<br>
<br>
</div>
<br>_______________________________________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" rel="noreferrer" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div>Gilberto Ferreira<br>+55 (47) 9676-7530<br>Skype: gilberto.nunes36<br></div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>