<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Whatchdog support for Linux and Windows guests]]></title><description><![CDATA[<p dir="auto">I wanted to know if there is an official way to configure guest watchdogs on XCP-ng.</p>
<p dir="auto">For those that don't know, a watchdog consists of two parts; a hardware part and a software part that runs inside the OS. The Watchdog usually runs at real-time priority and maintain a ping-pong signal with the watchdog hardware. The software part can be configured to monitor various aspects such as CPU load, interrupts, network connectivity,etc. If a trigger is reached, the software watchdog should send a reboot/reset signal to the watchdog hardware, which will reboot the computer. The same will also happen if the hardware watchdog losses heartbeat with its software counterpart. This timeout can often be configured too.</p>
<p dir="auto">Some resources<br />
Linux:</p>
<ul>
<li><a href="https://www.kernel.org/doc/html/latest/watchdog/index.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.kernel.org/doc/html/latest/watchdog/index.html</a></li>
<li><a href="https://man7.org/linux/man-pages/man8/wdctl.8.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://man7.org/linux/man-pages/man8/wdctl.8.html</a></li>
</ul>
<p dir="auto">Windows seems to support Watchdog timer through 3rd party applications and IPMI tools:</p>
<ul>
<li><a href="https://www.intel.com/content/www/us/en/support/articles/000058332/intel-nuc/intel-nuc-kits.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.intel.com/content/www/us/en/support/articles/000058332/intel-nuc/intel-nuc-kits.html</a></li>
<li><a href="https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=vr4ht&amp;lwp=rt" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=vr4ht&amp;lwp=rt</a></li>
</ul>
<p dir="auto">I have seen some older <a href="https://xcp-ng.org/forum/topic/5101/watchdog-for-reboot-vm-when-it-s-broken-no-respond">threads</a> about watchdog on Xen and they recommend the <code>xen_wdt</code> driver for Linux systems. However, I could not find that the <code>xen_wdt</code> was documented and no information on how to configure it on the Xen/XCP-ng side.</p>
<p dir="auto">It would really be a useful tool to have watchdog support in XCP-ng with both Windows and Linux guest support.</p>
<p dir="auto">A list of some earlier threads I found:<br />
<a href="https://xcp-ng.org/forum/topic/5101/watchdog-for-reboot-vm-when-it-s-broken-no-respond">https://xcp-ng.org/forum/topic/5101/watchdog-for-reboot-vm-when-it-s-broken-no-respond</a><br />
<a href="https://xcp-ng.org/forum/topic/5946/how-to-setup-virtual-hardware-watchdog">https://xcp-ng.org/forum/topic/5946/how-to-setup-virtual-hardware-watchdog</a><br />
<a href="https://xcp-ng.org/forum/topic/7048/watchdog-on-xcp-host">https://xcp-ng.org/forum/topic/7048/watchdog-on-xcp-host</a></p>
]]></description><link>https://xcp-ng.org/forum/topic/8775/whatchdog-support-for-linux-and-windows-guests</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 14:22:33 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/8775.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Apr 2024 13:50:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Whatchdog support for Linux and Windows guests on Fri, 05 Apr 2024 16:07:19 GMT]]></title><description><![CDATA[<p dir="auto">This post specifically: <a href="https://xcp-ng.org/forum/post/57441">https://xcp-ng.org/forum/post/57441</a></p>
<p dir="auto">The person had issues to speak in English but wanted to tell this configuration worked.</p>
<p dir="auto">You can use the <code>xen_wdt</code> backend to rely on a Xen operation to force restart the VM. I have no idea how it works on Windows.</p>
]]></description><link>https://xcp-ng.org/forum/post/74972</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74972</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 05 Apr 2024 16:07:19 GMT</pubDate></item><item><title><![CDATA[Reply to Whatchdog support for Linux and Windows guests on Fri, 05 Apr 2024 15:54:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> said in <a href="/forum/post/74961">Whatchdog support for Linux and Windows guests</a>:</p>
<blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">Have you tried to configure the <code>/etc/default/watchdog</code> as per one of the thread you quoted?</p>
</blockquote>
<p dir="auto">You mean the <a href="https://xcp-ng.org/forum/topic/5101/watchdog-for-reboot-vm-when-it-s-broken-no-respond">https://xcp-ng.org/forum/topic/5101/watchdog-for-reboot-vm-when-it-s-broken-no-respond</a> ? That thread did not conclude after the OP posted the error logs.</p>
<p dir="auto">But my request is more on the officially supported side, and also for Windows support.</p>
]]></description><link>https://xcp-ng.org/forum/post/74970</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74970</guid><dc:creator><![CDATA[Forza]]></dc:creator><pubDate>Fri, 05 Apr 2024 15:54:16 GMT</pubDate></item><item><title><![CDATA[Reply to Whatchdog support for Linux and Windows guests on Fri, 05 Apr 2024 14:05:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Have you tried to configure the <code>/etc/default/watchdog</code> as per one of the thread you quoted?</p>
]]></description><link>https://xcp-ng.org/forum/post/74961</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74961</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 05 Apr 2024 14:05:43 GMT</pubDate></item></channel></rss>