VM association with shared storage
-
I have recently changed our setup to use FreeNAS shared storage for VMs. Now I have shared storage and two hosts I can move running VMs between hosts. This makes it easy to patch & restart a host by moving the VMs off it first.
As opposed to moving the VMs, I could schedule a maint windows and down the VMs then patch and reboot the host. In this scenario, if the host was to fail I expect nothing will be lost as the shared storage is independent. Then I can simple start the VMs on the remaining host, meaning there is no hard link between the host and VM.
Does this sound correct?
-
The ability to easily move VMs is called "agility" (a VM is agile if it can boot on different hosts thanks to a shared storage and config within the pool).
As soon as your VMs are agile, there are many strategies for updates and maintenance. You can manually shutdown VMs, update and reboot if you want
-
Why did I not do this sooner
-
@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 update
when there is updates available.
Home/Pools/"Ryssen#
The rest is automatic or should I say, magic
-
New job, try
pool.rollingUpdate