<?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[Pre-Freeze-&#x2F;Post-Thaw-Script with xe-guest-utilities]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">As quiesced snapshots are deprecated and RAM-enabled backups require some downtime:</p>
<p dir="auto">What do you think about the concept of "Pre-Freeze"-scripts through xe-guest-utilities? Would it be possible to have some scripts on the snapshotted system, that are getting executed, when a snapshot is taken?</p>
<p dir="auto">Example for VMWare:<br />
<a href="https://www.veritas.com/support/en_US/article.100009553" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.veritas.com/support/en_US/article.100009553</a></p>
<p dir="auto">Best wishes<br />
KPS</p>
]]></description><link>https://xcp-ng.org/forum/topic/6748/pre-freeze-post-thaw-script-with-xe-guest-utilities</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 06:29:25 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/6748.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Dec 2022 06:55:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pre-Freeze-&#x2F;Post-Thaw-Script with xe-guest-utilities on Sat, 04 Feb 2023 10:00:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/rjt" aria-label="Profile: rjt">@<bdi>rjt</bdi></a> You can customize the hook timeout by adding this setting in your xo-server's config:</p>
<pre><code class="language-toml">[xapiOptions]
# Timeout in milliseconds
syncHookTimeout = 300e3 # 5 minutes
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/58311</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/58311</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Sat, 04 Feb 2023 10:00:50 GMT</pubDate></item><item><title><![CDATA[Reply to Pre-Freeze-&#x2F;Post-Thaw-Script with xe-guest-utilities on Sat, 04 Feb 2023 07:57:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> can answer that question</p>
]]></description><link>https://xcp-ng.org/forum/post/58303</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/58303</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sat, 04 Feb 2023 07:57:46 GMT</pubDate></item><item><title><![CDATA[Reply to Pre-Freeze-&#x2F;Post-Thaw-Script with xe-guest-utilities on Fri, 03 Feb 2023 14:29:27 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> awesome!</p>
<p dir="auto">I assume Windows VMs that get their drivers from Windows Update will not have this capability unless we install the simple service:1727.</p>
<p dir="auto">On github, it says that the the VM service has to respond within 1 minute, but it would take several minutes to backup a database.  The blog page says it will wait for answer.  Sounds like Vates knows the answer is somewhere in between.  We will wait, but only for so long <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto"><a href="https://github.com/vatesfr/xen-orchestra/blob/master/%40xen-orchestra/xapi/docs/vm-sync-hook.md#specification" target="_blank" rel="noopener noreferrer nofollow ugc">Specification</a></p>
<p dir="auto"><a href="https://github.com/vatesfr/xen-orchestra/blob/master/%40xen-orchestra/xapi/docs/vm-sync-hook.md#specification" target="_blank" rel="noopener noreferrer nofollow ugc">XO will waits for the request to be answered before starting the snapshot, but will not wait longer than 1 minute.</a></p>
<p dir="auto">If the request fails for any reason, XO will go ahead with snapshot immediately.</p>
<p dir="auto"><a href="https://xen-orchestra.com/blog/xen-orchestra-5-75/#%F0%9F%93%B8-webhooks-for-snapshots-beta" target="_blank" rel="noopener noreferrer nofollow ugc">Webhooks for snapshots [beta] </a> says "It's now possible to notify a VM via an HTTP request before a snapshot. <strong>Xen Orchestra will wait for an answer before starting the actual snapshot.</strong>"</p>
]]></description><link>https://xcp-ng.org/forum/post/58288</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/58288</guid><dc:creator><![CDATA[rjt]]></dc:creator><pubDate>Fri, 03 Feb 2023 14:29:27 GMT</pubDate></item><item><title><![CDATA[Reply to Pre-Freeze-&#x2F;Post-Thaw-Script with xe-guest-utilities on Thu, 29 Dec 2022 11:04:17 GMT]]></title><description><![CDATA[<p dir="auto">It's a big effort indeed, this is costing a lot of money <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f605.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--sweat_smile" style="height:23px;width:auto;vertical-align:middle" title=":sweat_smile:" alt="😅" /></p>
]]></description><link>https://xcp-ng.org/forum/post/56564</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/56564</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 29 Dec 2022 11:04:17 GMT</pubDate></item><item><title><![CDATA[Reply to Pre-Freeze-&#x2F;Post-Thaw-Script with xe-guest-utilities on Thu, 29 Dec 2022 11:03:47 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><br />
Sounds great. I would be very happy to see this on Linux and Windows.<br />
Thank you for your effort!</p>
]]></description><link>https://xcp-ng.org/forum/post/56563</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/56563</guid><dc:creator><![CDATA[KPS]]></dc:creator><pubDate>Thu, 29 Dec 2022 11:03:47 GMT</pubDate></item><item><title><![CDATA[Reply to Pre-Freeze-&#x2F;Post-Thaw-Script with xe-guest-utilities on Thu, 29 Dec 2022 11:00:02 GMT]]></title><description><![CDATA[<p dir="auto">That's why we planned to improve the tools (at least on Linux at first) to allow more things to be passed directly to it <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/56562</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/56562</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 29 Dec 2022 11:00:02 GMT</pubDate></item><item><title><![CDATA[Reply to Pre-Freeze-&#x2F;Post-Thaw-Script with xe-guest-utilities on Thu, 29 Dec 2022 09:46:12 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><br />
Thank your for your answer.</p>
<p dir="auto">About the options:</p>
<ul>
<li>
<p dir="auto">Coherent snapshot: With a pre-freeze-script, it would be 100% possible to bring every system in a consistent state.</p>
</li>
<li>
<p dir="auto">Webhooks: Can do the same, but are a lot more work than a local script. Especially for windows VMs, I would have to install a webserver, that can trigger scripts.</p>
</li>
</ul>
]]></description><link>https://xcp-ng.org/forum/post/56561</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/56561</guid><dc:creator><![CDATA[KPS]]></dc:creator><pubDate>Thu, 29 Dec 2022 09:46:12 GMT</pubDate></item><item><title><![CDATA[Reply to Pre-Freeze-&#x2F;Post-Thaw-Script with xe-guest-utilities on Thu, 29 Dec 2022 09:28:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<ol>
<li>If you have PV drivers installed in your guests, a snapshot should be coherent anyway (I can at least tell you that's the case on Linux)</li>
<li>There's already a feature we started in XO, see <a href="https://xen-orchestra.com/blog/xen-orchestra-5-75/#%F0%9F%93%B8-webhooks-for-snapshots-beta" target="_blank" rel="noopener noreferrer nofollow ugc">https://xen-orchestra.com/blog/xen-orchestra-5-75/#<img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f4f8.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--camera_with_flash" style="height:23px;width:auto;vertical-align:middle" title="📸" alt="📸" />-webhooks-for-snapshots-beta</a> for use of webhooks</li>
</ol>
]]></description><link>https://xcp-ng.org/forum/post/56560</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/56560</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 29 Dec 2022 09:28:48 GMT</pubDate></item></channel></rss>