VM association with shared storage
-
@McHenry
You can try to schedule a rolling pool update. -
To automatically update the hosts? I expect, to work, a host reboot would be required however how can this be automated if the host has running VMs?
-
@McHenry
Use the builtin function, just pressRolling pool updatewhen there is updates available.
Home/Pools/"Ryssen#

The rest is automatic or should I say, magic

-
New job, try
pool.rollingUpdate -
When a rolling pool update is performed I imagine the VMs are moved off the host being updated to another host. When the update is completed are the VMs moved back again?
I ask as I have a VM that must run on a particular host.
-
Depending how you have Load Ballance setup they may or may not move back to the original host. If the VM has hardware passed through from the host: then the vm can not be migrated and will have to be shut down during the update and then fired back up after host has come back.
If no hardware is locked to the vm you can set the host affinity and that should lock the vm to that host. (Advance settings of the vm)
-
Perfect thanks. The issue is we have an IP address locked to that host so the router needs to live there. The host affinity looks like the correct solution.

Does host affinity also prevent the VM being migrated manually?
-
No, it's just on boot, for the original placement. If you want the load balancer to place VM on some host because you prefer, it's called "Affinity". Good news: it will be there on November release of XO

-
@olivierlambert on vmware we had affinity and anti affiniy rules to regroup or dispatch VMs
would be cool to have that managed by tags ?
tag VMGROUP1 : affinity rule to get app and database VMs on same host
tag VMGROUP2 : anti affinity rule to dispatch domain controllers on different hostsdoable ?
-
That's already how our load balancer works (with tags). We already have anti affinity, affinity comes soon.
-