@Danp Very good, we have a dedicated V2V XOA setup that I can switch to the "Latest" channel when 6.11 is released (as it only handles the V2V migrations for the current pool were moving off VMware). Unfortunately we have experience "buggy" issues when running the "Latest" release on our PROD XOA (and I was told it can be expected), which is why were a bit gun-shy of running it there.
Thanks again for all the info, and Happy Day:)
Posts
-
RE: V2V in XO 6: a brand new migration wizard, with Auto-pilot docking 🛬
-
RE: V2V in XO 6: a brand new migration wizard, with Auto-pilot docking 🛬
@florent Sorry for the dumb question, but we are running the current "Stable" XOA version 6.9.2 - XOA build: 20251219 and don't see a "V2V" listed in the XO6 UI. Is there something we need to do to get it (i.e. hopefully without having to switch to the "Latest" release channel)? Thanks for any information...
-
RE: Cleanup orphans backups
@pierrebrunet Thanks for the update.
So is there any way to run the reclaimSpace function (i.e from the XO CLI or something, without having to build a whole REST API application or whatever that involves)? -
RE: Cleanup orphans backups
@pierrebrunet FYI: I ran the XOA upgrade to v6.8.2, but not seeing anything named "reclaimSpace" anywhere (other than the Backup > Health > Detached backups" section which doesn't really seem to recover much space). Am I missing something?
-
RE: Cleanup orphans backups
@pierrebrunet Just wondering if you know how soon the "reclaimSpace" option should be available, and where exactly can you find it when it is ready?
Thank you in advance for any information... -
RE: Tag-Based Automation Plugin: Tag-Based VM Performance & Permission Management via assigned tag(s)
@fohdeesha Hi all, I apologize that it's taken a while to get all the issues sorted, fixed and properly verified. I have pushed the corrected version up to my GitHub, and everything seems to be working much better (thanks to the efforts of everyone here)! A big shout out to all of you, as this is exactly how open source is supposed to work!
Let me know if there are any other issues that arrise - and Happy Day to one and All!

-
RE: Tag-Based Automation Plugin: Tag-Based VM Performance & Permission Management via assigned tag(s)
@john.c Thank you for all the great ideas, keep em' comming!
-
RE: Tag-Based Automation Plugin: Tag-Based VM Performance & Permission Management via assigned tag(s)
@john.c Yes, will do! Thanks again for all the input, it is greatly appreciated.
Happy Day
-
RE: Tag-Based Automation Plugin: Tag-Based VM Performance & Permission Management via assigned tag(s)
@fohdeesha Thank you very much for the corrections and details, I will be looking into addressing each issue directly....
-
RE: Affinity Manager Plugin: Tag-Based VM placement and grouping control
@poddingue Hey, it's just fun building stuff, even if it ends up in the bit-bucket (as unfotunately that's the destiny of all things anyway).
Happy Day
-
RE: Affinity Manager Plugin: Tag-Based VM placement and grouping control
@poddingue Thank you for the reply, and correction. I totally missed the fact that the Load Balancer plugin has DRS-Type functionality (as well as many more customizable options and features). I'll have to look into it. Thanks again, and Happy Day

-
Affinity Manager Plugin: Tag-Based VM placement and grouping control
PROJECT DECOMMISSIONED
As noted below, all the functions in this plugin are included in the much fully-featured built-in load-balancer plugin. Please refer to the documentation for more details.
Affinity Manager Plugin
WHAT: In keeping with my previous project (Tag-Automation Plugin, found here), I am releasing the Affinity Manager Plugin, which is a fully tag-driven plugin for Xen Orchestra. It works similar to VMware's DRS to ensure continuous uptime and optimal resource allocation of crucial VMs and services.
PROGRAM FEATURES
- Host Affinity (RunOn) Run VMs on specific host group (e.g. a particular data center or set of hosts)
- Host Anti-Affinity (NotOn) Keep VMs off of specific host group
- VM Keep-Together (KeepTogether) Keep named group of VMs on the same host (follows Leader VM)
- VM Separation (KeepApart) Spread named group of VMs across unique hosts (best-effort)
REAL-WORLD EXAMPLES
Core-Critical Service Protection (AM-RunOn)
- Example #1: Run core-critical services in sepparate Data Centers
- Goal: Ensure crucial VMs (i.e. MS AD, DNS, etc.) are protected from possible DC outage
- VM Tag: AM-RunOn_P1-DC1-HOST (applied to "Primary" crucial service VM)
- VM Tag: AM-RunOn_P1-DC2-HOST (applied to "Secondary" crucial service VM)
- Host Tag: P1-DC1-HOST (applied to each POOL-1/Data Center 1 host)
- Host Tag: P1-DC2-HOST (applied to each POOL-1/Data Center 2 host)
- Result: The primary service VMs (i.e. MS AD Controller) will run on DC1 host(s), and the secondary service VMs will run on DC2 host(s)
Database High Availability (KeepApart)
- Example #2: Run database servers on different physical hosts
- Goal: Protect critical DB servers from possible host outage
- VM Tag: AM-KeepApart_DBCluster1 (applied to both DB VMs)
- VM Tag: AM-RunOn_P1-DC2-HOST (applied to "Secondary" crucial service VM)
- Result: Ensures DB servers run on different hosts
Note: Tag rules are soft-enforced. For example, if a data center outage occurs all VMs will automatically run any available hosts.
VM TAG SYNTAX
Apply tags to VMs in the XO UI:
VM TAG / RULE EXAMPLE MEANING AM-RunOn_{HostGrpName} AM-RunOn_P1-DC2-HOSTVM should run on hosts tagged P1-DC2-HOSTAM-NotOn_{HostGrpName} AM-NotOn_P2-DC1-HOSTVM should NOT run on hosts tagged P2-DC1-HOSTAM-KeepTogether_{GrpName} AM-KeepTogether_AppStack1Keep all group VMs on same host (follows Leader VM) AM-KeepApart_{GrpName} AM-KeepApart_DBCluster1Spread group VMs across unique hosts (best effort) Note: Multiple rules can be combined on a single VM. For example, a VM can have both
AM-RunOn_P1-DC1-HOSTandAM-KeepTogether_WebClustersimultaneously.
HOST TAG SYNTAX
Apply tags to hosts in the XO UI (i.e. to define host groups):
EXAMPLE HOST TAG POOL LOCATION P1-DC2-HOST POOL-1 Data Center 2 P2-DC1-HOST POOL-2 Data Center 1
INSTALLATION
Note: "Airgap" in the tar.gz file below, simply means the bundle includes all required dependencies for both an offline or online installation.
-
Download the latest airgap release tarball from GitHub:
{link-removed} -
SCP the tarball to your XOA:
scp xo-affinity-manager-airgap-vX.X.X.tar.gz <xoa-user>@<xoa-ip>:/tmp/ -
Create the plugin folder:
sudo mkdir -p /usr/local/lib/node_modules/xo-server-affinity-manager -
Extract directly into the plugin directory:
sudo tar -xzvf /tmp/xo-affinity-manager-airgap-vX.X.X.tar.gz -C /usr/local/lib/node_modules/xo-server-affinity-manager/ --strip-components=1 -
Restart xo-server:
sudo systemctl restart xo-server -
Verify registration:
sudo journalctl -u xo-server -n 100 --no-pager | grep -A3 "affinity-manager"You should see:
[INFO] xo-affinity-manager: Plugin factory called -- xo context: YES
[INFO] xo-affinity-manager: Plugin loaded -- waiting for core started.
xo:plugin INFO successfully register affinity-manager -
Enable and configure the plugin in XO:
Settings -> Plugins -> affinity-manager -> Enable
CONFIGURATION
(XO > Settings > Plugins)
-
Enforcement Schedule — Run every 15 minutes, hourly, or daily (configurable)
-
Dry Run Mode — Logs all intended actions without migrating anything (default: ON)
-
Log Path — Configurable path to the log (Created automatically if it does not exist).
-
Pool Safety — Cross-pool migration is always blocked (i.e. Plugin only migrates VMs within the same pool)
-
Log Rotatate — Rotate/compress log files at 10 MB (keeping 3 archives)
LINKS
GitHub: https://github.com/johnezero
STANDARD DISCLAIMER HERE
This software is provided AS-IS without any express or implied warranty.
While this plugin is being used in a production environment managing live VMs,
you should always review the code and test it in a non-production environment
before full deployment.
Note: The plugin is designed to ONLY take action on VMs with specific predefined tags assigned -- all other VMs are never touched.
Use Dry-Run mode to preview all changes before applying them.
That said, as always - your mileage may vary...
-
RE: pure-plugin for Xen Orchestra
@poddingue Oh yes (dumb me). Very good, we'll see if they respond (as now there's two @ refferences). Happy Day

-
RE: pure-plugin for Xen Orchestra
@poddingue Sorry for my ignorance on this, but I went to the @Team-Storage page and it appears to be private (with no way to post my question). I hit the "Request Invitation" button, but not sure that's what I need to do to post a question either...
-
RE: pure-plugin for Xen Orchestra
@poddingue Thank you for all the details and advise. I will reach out to them to see if it is anywhere on the project horizon. Thanks much, and have a great day!
-
pure-plugin for Xen Orchestra
Just checking if Vates actively working with PureStorage (aka now EverPure) on replicating the vmware pure-plugin app (i.e. that gives you the ability to restore individual VMs from SafeMode Snapshots)? I know this would be highly valuable, with as many XO/Pure customers that there are out there.
Why I am asking, is I'm starting to look into building a pure-plugin myself, but didn't want to go too far down the road if an official plugin is forthcoming anytime soon.
-
RE: Tag-Based Automation Plugin: Tag-Based VM Performance & Permission Management via assigned tag(s)
@MathieuRA Wow, and wow! Thanks for the detail on RBAC, I'll have give it a look. Unfortunately the current plugin doesn't get any where near the "deep-weeds" of all that, and basically just uses the built-in "Admin, Operator and Viewer" roles to auto-provision (via Autopilot) new VMs as they show up (i.e. during a migration project, etc. ). We needed something for our current VMware-to-XCP-ng migration project, and '"Where's there's a will, there's a way" kicked in and the plugin came to be.
Thanks again for your input, and let me know if anything else comes to mind...
Happy Day
-
RE: Tag-Based Automation Plugin: Tag-Based VM Performance & Permission Management via assigned tag(s)
@poddingue FYI: I posted the "Feature Request" to the feedback channel here as you suggested.
Hopefully if enough people were used to the way VMware allowed "multiple granular permissions to be set per VM", it will get some traction. Thanks again for pointing me in the right direction.
Happy Day
-
RE: Tag-Based Automation Plugin: Tag-Based VM Performance & Permission Management via assigned tag(s)
@poddingue Thank you for the feedback, and suggestion. I will post a request regarding the one-ACL-per-VM issue, as I know it's an issue with our current 600+ VM VMware-to-XCP-ng migration project. Happy Day
