<?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[reboot of host does it stop or kill running VM's?]]></title><description><![CDATA[<p dir="auto">Question in subject.<br />
I rebooted a host from the CLI with one running VM. It was so fast that I thing it just killed the VM instead of stopping the OS.</p>
]]></description><link>https://xcp-ng.org/forum/topic/8778/reboot-of-host-does-it-stop-or-kill-running-vm-s</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 06:19:52 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/8778.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Apr 2024 19:41:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Tue, 15 Apr 2025 15:59:12 GMT]]></title><description><![CDATA[<p dir="auto">Could someone elaborate on the procedure to have all VMs on a host shutdown properly upon XCP-NG host shutdown please?</p>
<p dir="auto">I tried from the host prompt:</p>
<pre><code>xe host-disable
xe host-shutdown
</code></pre>
<p dir="auto">and from XOA Host: shutdown, with warning (This will shutdown your host without evacuating its VMs. Do you want to continue?)</p>
<p dir="auto">and rightly so the host has seemingly become unavailable (ping to its IP stops)<br />
But then what happens is very odd:</p>
<ul>
<li>first the VM on it still pings for a couple minutes (yes after the host stops to answers the ping)</li>
<li>then the VM stops pinging</li>
<li>but AFAICS XCP-NG is not OFF</li>
</ul>
<p dir="auto">Awkwardly, I just access to the IDRAC8 entreprise license on which XCP-Ng is running, and can't SEE the proper status of XCP-NG from it.<br />
AFAIK it's not pinging but it doesn't seem OFF either. At least the IDRAC shows it ON, and upon power cycling and reconnecting to the VM the logs shows it hasn't been cleanly shutdown.</p>
<p dir="auto">NB: the VM has xen-guest-agent running within a container, but from what I gathered, the agent in Linux guests has no role in VM shutdown: See  <a href="https://xcp-ng.org/forum/topic/10631/understanding-xe-guest-utilities/16">https://xcp-ng.org/forum/topic/10631/understanding-xe-guest-utilities/16</a></p>
<p dir="auto">Also, I doubled check Proxmox: it does clean shutdown VMs, either with a "shutdown -h now" command or when triggered from GUI. And that's with a VM that has Promox guest installed.</p>
<p dir="auto">In any case, it would be nice to have XCP-NG/XOA be able to do the same.</p>
]]></description><link>https://xcp-ng.org/forum/post/91056</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/91056</guid><dc:creator><![CDATA[nodje]]></dc:creator><pubDate>Tue, 15 Apr 2025 15:59:12 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Fri, 29 Nov 2024 14:50:11 GMT]]></title><description><![CDATA[<p dir="auto">I have yet to successfully reboot a host from XO. I have tools installed on three out of four VM. I try shutting down the VM without tools, then issue reboot host in XO GUI. Get warning:<br />
Some VMs cannot be migrated without first rebooting this host. Please try force reboot.</p>
<p dir="auto">Is this a setting perhaps?</p>
<p dir="auto">I'm always needing to shutdown all VMs before I can reboot the host. It is a single host environment, so there will never be an available server to migrate VMs to.</p>
<p dir="auto">Rebooting in XSCONSOLE causes the host to be unavailable in XO. I have to remove then add the host back in XO.</p>
<p dir="auto">Can anyone shed light as to what I'm doing wrong?</p>
<p dir="auto">Do I just need to always run the following after a reboot?<br />
xe host-enable host=xxxx</p>
]]></description><link>https://xcp-ng.org/forum/post/86365</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/86365</guid><dc:creator><![CDATA[volkswagner 0]]></dc:creator><pubDate>Fri, 29 Nov 2024 14:50:11 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Sat, 06 Apr 2024 18:54:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/gskger" aria-label="Profile: gskger">@<bdi>gskger</bdi></a> Yes, all my VM's have guest tools installed, Windows/Linux. It's quite the "requirement".</p>
]]></description><link>https://xcp-ng.org/forum/post/75011</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/75011</guid><dc:creator><![CDATA[manilx]]></dc:creator><pubDate>Sat, 06 Apr 2024 18:54:27 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Sat, 06 Apr 2024 18:41:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/manilx" aria-label="Profile: manilx">@<bdi>manilx</bdi></a> If the VM has no guest tools installed (like this Windows VM), the host will perfom a hard shutdown of the VM:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1712428473384-8aecaab4-a312-4fef-be18-35f12813e59e-grafik.png" alt="8aecaab4-a312-4fef-be18-35f12813e59e-grafik.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">So it is a good idea to have the guest tools installed.</p>
]]></description><link>https://xcp-ng.org/forum/post/75009</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/75009</guid><dc:creator><![CDATA[gskger]]></dc:creator><pubDate>Sat, 06 Apr 2024 18:41:03 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Sat, 06 Apr 2024 09:29:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/gskger" aria-label="Profile: gskger">@<bdi>gskger</bdi></a> I tried this again with a bigger VM (longer to shutdoen) and yes, you're right, the VM's are gracefully shutdown. Great!<br />
Same as in proxmox.</p>
]]></description><link>https://xcp-ng.org/forum/post/74997</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74997</guid><dc:creator><![CDATA[manilx]]></dc:creator><pubDate>Sat, 06 Apr 2024 09:29:58 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Sat, 06 Apr 2024 07:59:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/manilx" aria-label="Profile: manilx">@<bdi>manilx</bdi></a> Maybe I am wrong, but I still think VM's are shutdown gracefully. If you look at the <code>Pool Task</code> view in XO and issue the <em>reboot</em> command while SSH`ed into the host, you see the shutdown for a second or two:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1712390120448-8011e155-f23c-432f-9069-f7e4e24382fb-grafik.png" alt="8011e155-f23c-432f-9069-f7e4e24382fb-grafik.png" class="img-markdown  img-fluid" /></p>
<p dir="auto"><em>hp740</em> is the host that gets rebooted and <em>hp_d12_s</em> and <em>hp_d12_c</em> are two debian VMs on that host. Both VMs have the guest tools installed.</p>
]]></description><link>https://xcp-ng.org/forum/post/74995</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74995</guid><dc:creator><![CDATA[gskger]]></dc:creator><pubDate>Sat, 06 Apr 2024 07:59:18 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Sat, 06 Apr 2024 07:31:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a> OK, got it:</p>
<p dir="auto">xe host-disable host=xxxx<br />
xe host-reboot host=xxxx</p>
<p dir="auto">reboot on the cli just hard reboots the host on the OS level.</p>
]]></description><link>https://xcp-ng.org/forum/post/74994</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74994</guid><dc:creator><![CDATA[manilx]]></dc:creator><pubDate>Sat, 06 Apr 2024 07:31:12 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Fri, 05 Apr 2024 22:28:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/manilx" aria-label="Profile: manilx">@<bdi>manilx</bdi></a> said in <a href="/forum/post/74989">reboot of host does it stop or kill running VM's?</a>:</p>
<blockquote>
<p dir="auto">Coming from proxmox where I rebooted the host (after an update) and it shutdown the Vm's gracefully before rebooting.</p>
</blockquote>
<p dir="auto">That is certainly an option here as well, but you need to use the correct process to reboot the host. Easiest way is using XO. Otherwise, there are a variety of host commands offered by  <code>xe</code>.</p>
]]></description><link>https://xcp-ng.org/forum/post/74992</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74992</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Fri, 05 Apr 2024 22:28:41 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Fri, 05 Apr 2024 21:56:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a> No. I SSH'ed into the host and entered "reboot".<br />
Uptime is correct with the reboot time.</p>
]]></description><link>https://xcp-ng.org/forum/post/74991</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74991</guid><dc:creator><![CDATA[manilx]]></dc:creator><pubDate>Fri, 05 Apr 2024 21:56:15 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Fri, 05 Apr 2024 21:45:43 GMT]]></title><description><![CDATA[<p dir="auto">It sounds like you were connected to the VM instead of the host. <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=041a08e19dc" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:1.4em;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /></p>
<p dir="auto">What does <code>uptime</code> return now on the XCP host?</p>
]]></description><link>https://xcp-ng.org/forum/post/74990</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74990</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Fri, 05 Apr 2024 21:45:43 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Fri, 05 Apr 2024 21:32:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/manilx" aria-label="Profile: manilx">@<bdi>manilx</bdi></a> P.S. Coming from proxmox where I rebooted the host (after an update) and it shutdown the Vm's gracefully before rebooting.</p>
]]></description><link>https://xcp-ng.org/forum/post/74989</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74989</guid><dc:creator><![CDATA[manilx]]></dc:creator><pubDate>Fri, 05 Apr 2024 21:32:12 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Fri, 05 Apr 2024 21:30:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a> I run "reboot" after ssh'ing into it and it rebooted. The VM stopped as expected, it rebooted and the VM restarted.<br />
I just don't know if it was shutdown or powered off... But it seemed to just have been powered offl</p>
]]></description><link>https://xcp-ng.org/forum/post/74988</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74988</guid><dc:creator><![CDATA[manilx]]></dc:creator><pubDate>Fri, 05 Apr 2024 21:30:55 GMT</pubDate></item><item><title><![CDATA[Reply to reboot of host does it stop or kill running VM's? on Fri, 05 Apr 2024 20:40:27 GMT]]></title><description><![CDATA[<p dir="auto">What was the command that you entered on the CLI? Were you monitoring the host to see if it actually rebooted?</p>
<p dir="auto">You could check the server / IPMI logs for more details.</p>
]]></description><link>https://xcp-ng.org/forum/post/74987</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74987</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Fri, 05 Apr 2024 20:40:27 GMT</pubDate></item></channel></rss>