<?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[Multiple Volumes Alternate Primary]]></title><description><![CDATA[<p dir="auto">This looks really cool, I'm looking forward to testing it. A quick question...</p>
<p dir="auto">I was wondering in a two node system if there is performance benefit to VMs hosted on a node where the DRBD volume is master and if so can I have multiple XOSTOR volumes using separate disks on each nodes e.g. linstor_group1 / linstor_group 2 where node1 is primary for  linstor_group1 and node2 is primary for  linstor_group2?</p>
<p dir="auto">In this case I could organise VM home servers according to where their DRDB master is.</p>
<p dir="auto">So I guess the questions are:</p>
<ol>
<li>Can I have multiple XOSTOR volumes</li>
<li>Can I have alternate primaries</li>
</ol>
<p dir="auto">Thanks</p>
]]></description><link>https://xcp-ng.org/forum/topic/8449/multiple-volumes-alternate-primary</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 17:30:15 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/8449.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Feb 2024 14:48:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Multiple Volumes Alternate Primary on Tue, 27 Feb 2024 11:13:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/david" aria-label="Profile: David">@<bdi>David</bdi></a> I think the complexity is to be able to offer a simple interface / API way for users to configure multiple storages. Maybe through smapi v3.<br />
In any case we currently only support one storage pool, the sm driver would have to be reworked to support several. It also probably requires visibility from XOA's point of view. Lots of points to discuss. I will create a card on our internal Kanban.</p>
<p dir="auto">Regarding multiple XOSTOR SRs, we must:</p>
<ul>
<li>Add a way to move the controller volume on a specific storage pool.</li>
<li>Ensure the controller it is still accessible for remaining SRs despite the destruction of an SR.</li>
<li>Use a lock mechanism to protect the LINSTOR env.</li>
</ul>
]]></description><link>https://xcp-ng.org/forum/post/72286</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/72286</guid><dc:creator><![CDATA[ronan-a]]></dc:creator><pubDate>Tue, 27 Feb 2024 11:13:25 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Volumes Alternate Primary on Mon, 26 Feb 2024 16:45:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ronan-a" aria-label="Profile: ronan-a">@<bdi>ronan-a</bdi></a> I think it would be a really useful option, hopefully we'll see it in the future. Thanks again for taking the time to answer my questions.</p>
]]></description><link>https://xcp-ng.org/forum/post/72221</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/72221</guid><dc:creator><![CDATA[David]]></dc:creator><pubDate>Mon, 26 Feb 2024 16:45:24 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Volumes Alternate Primary on Mon, 26 Feb 2024 16:28:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/david" aria-label="Profile: David">@<bdi>David</bdi></a> For the moment, only one XOSTOR SR can be used in a pool. We currently have no plans to lift this limitation, at least not while we have tickets relating to bugs or performance issues. I think it will come one day.</p>
]]></description><link>https://xcp-ng.org/forum/post/72210</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/72210</guid><dc:creator><![CDATA[ronan-a]]></dc:creator><pubDate>Mon, 26 Feb 2024 16:28:45 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Volumes Alternate Primary on Mon, 26 Feb 2024 15:08:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ronan-a" aria-label="Profile: ronan-a">@<bdi>ronan-a</bdi></a> Thanks for taking the time to explain, it is appreciated. I will have a further read to help my understanding more.</p>
<p dir="auto">Do you know if it is possible to add multiple XOSTOR SRs so that I have the option of separating disk types e.g. one XOSTOR for NVMe SSD and one for SATA SSD?</p>
]]></description><link>https://xcp-ng.org/forum/post/72201</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/72201</guid><dc:creator><![CDATA[David]]></dc:creator><pubDate>Mon, 26 Feb 2024 15:08:13 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Volumes Alternate Primary on Mon, 26 Feb 2024 14:52:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/david" aria-label="Profile: David">@<bdi>David</bdi></a> I'm not sure to totally understand your questions. A DRBD "master" (so a primary) is never fixed, it's just a state at a given time.<br />
When a DRBD passes primary it is because it's opened by a process on a machine and nothing more. In the case of XCP-ng, the volume can be opened by a tapdisk instance today, and the next day opened on another host. However, regarding performance, there is a feature not used at the moment to reduce network usage to force diskful usage locally: <a href="https://linbit.com/drbd-user-guide/linstor-guide-1_0-en/#s-linstor-auto-diskful" target="_blank" rel="noopener noreferrer nofollow ugc">https://linbit.com/drbd-user-guide/linstor-guide-1_0-en/#s-linstor-auto-diskful</a></p>
<blockquote>
<p dir="auto">In this case I could organise VM home servers according to where their DRDB master is.</p>
</blockquote>
<p dir="auto">Considering what I said, this is not a good idea. It would be more interesting to use the auto-diskful functionality but it becomes complex to use when VHD snapshots are used...<br />
For each snapshot, a diskful/diskless DRBD is created on any host, there is no use choice during the creation.</p>
<blockquote>
<p dir="auto">It looks like the VMs disk is automagically assigned primary to it's local node, mind blown! Am I reading this right?</p>
</blockquote>
<p dir="auto">In both logs, a5fd7961is open on the host the VM is running on, no surprise. <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2bdbead4301" 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/72200</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/72200</guid><dc:creator><![CDATA[ronan-a]]></dc:creator><pubDate>Mon, 26 Feb 2024 14:52:23 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Volumes Alternate Primary on Mon, 26 Feb 2024 13:47:01 GMT]]></title><description><![CDATA[<p dir="auto">Question for <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ronan-a" aria-label="Profile: ronan-a">@<bdi>ronan-a</bdi></a></p>
]]></description><link>https://xcp-ng.org/forum/post/72194</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/72194</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 26 Feb 2024 13:47:01 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Volumes Alternate Primary on Mon, 26 Feb 2024 13:22:59 GMT]]></title><description><![CDATA[<p dir="auto">Set up a two node cluster, hv-01 &amp; hv-02, created a VM.</p>
<p dir="auto"><strong>With the VM on hv-01</strong></p>
<p dir="auto">hv-01 shows:</p>
<pre><code>xcp-volume-a5fd7961-af4c-47ed-a24b-99d432330107 role:Primary
  disk:UpToDate
  hv-02 role:Secondary
    peer-disk:UpToDate
</code></pre>
<p dir="auto">hv-02 shows:</p>
<pre><code>xcp-volume-a5fd7961-af4c-47ed-a24b-99d432330107 role:Secondary
  disk:UpToDate
  hv-01 role:Primary
    peer-disk:UpToDate
</code></pre>
<p dir="auto"><strong>Migrated VM to hv-02</strong></p>
<p dir="auto">hv-01 shows:</p>
<pre><code>xcp-volume-a5fd7961-af4c-47ed-a24b-99d432330107 role:Secondary
  disk:UpToDate
  hv-02 role:Primary
    peer-disk:UpToDate
</code></pre>
<p dir="auto">hv-02 shows:</p>
<pre><code>xcp-volume-a5fd7961-af4c-47ed-a24b-99d432330107 role:Primary
  disk:UpToDate
  hv-01 role:Secondary
    peer-disk:UpToDate
</code></pre>
<p dir="auto">It looks like the VMs disk is automagically assigned primary to it's local node, mind blown!  Am I reading this right?</p>
]]></description><link>https://xcp-ng.org/forum/post/72192</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/72192</guid><dc:creator><![CDATA[David]]></dc:creator><pubDate>Mon, 26 Feb 2024 13:22:59 GMT</pubDate></item></channel></rss>