<div dir="auto">That should be done in the supervisor somehow I would think.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 5, 2021, 10:24 Chris Fowler via Ale <<a href="mailto:ale@ale.org">ale@ale.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Watchdog is older than systemd. I had a guest VM at DigitalOcean become non-responsive. No way of knowing why since all logging in the guest stopped. Watchdog will use /dev/watchdog by writing a heartbeat to the device. If watchdog misses writing that
heartbeat, the hardware will reset the CPU. On the reverse, watchdog can monitor things within userspace and do its own restart.
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div id="m_826994419873365455appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_826994419873365455divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Ale <<a href="mailto:ale-bounces@ale.org" target="_blank" rel="noreferrer">ale-bounces@ale.org</a>> on behalf of DJ-Pfulio via Ale <<a href="mailto:ale@ale.org" target="_blank" rel="noreferrer">ale@ale.org</a>><br>
<b>Sent:</b> Wednesday, May 5, 2021 10:05 AM<br>
<b>To:</b> Chris Fowler via Ale <<a href="mailto:ale@ale.org" target="_blank" rel="noreferrer">ale@ale.org</a>><br>
<b>Cc:</b> DJ-Pfulio <<a href="mailto:DJPfulio@jdpfu.com" target="_blank" rel="noreferrer">DJPfulio@jdpfu.com</a>><br>
<b>Subject:</b> Re: [ale] /dev/watchdog inside a guest VM</font>
<div> </div>
</div>
<div><font size="2"><span style="font-size:11pt">
<div>Doesn't systemd have this as a setting for all unit files?<br>
I'm confused. You have a VM guest that isn't 100% stable? I've only seen that with Windows and only when the underlying storage hardware was failing.<br>
<br>
<br>
On 5/5/21 9:35 AM, Chris Fowler via Ale wrote:<br>
> I want to configure watchdog in CentOS 6 at Digital Ocean to force a restart when non-responsive. I'm not sure if "watchdog" hardware exists in the guest.<br>
> I don't want to modprobe each one until I get a hit because this is a production system. Any ideas?<br>
> <br>
> 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)<br>
> 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]<br>
> 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]<br>
> 00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)<br>
> 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)<br>
> 00:02.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 04)<br>
> 00:03.0 Ethernet controller: Red Hat, Inc Virtio network device<br>
> 00:04.0 SCSI storage controller: Red Hat, Inc Virtio SCSI<br>
> 00:05.0 SCSI storage controller: Red Hat, Inc Virtio block device<br>
> 00:06.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank" rel="noreferrer">Ale@ale.org</a><br>
<a href="https://mail.ale.org/mailman/listinfo/ale" target="_blank" rel="noreferrer">https://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank" rel="noreferrer">http://mail.ale.org/mailman/listinfo</a><br>
</div>
</span></font></div>
</div>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank" rel="noreferrer">Ale@ale.org</a><br>
<a href="https://mail.ale.org/mailman/listinfo/ale" rel="noreferrer noreferrer" target="_blank">https://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div>