user portal and stateless vm pool behavior

if a user takes a vm from the pool and uses it, then disconnects; can that vm then be assigned to another user immediately or quickly? the vm's in my pools run as stateless, is there a way to automatically get the vm's to reboot when a user disconnects so that it's fresh for the next user? i'm using windows 7 vm's and windows clients with virt-viewer to connect to the vm's. I've written a quick script that runs on the engine and tails the engine log looking for disconnects then reboots the vm when a disconnect is seen from a non-admin user, but i'm not familiar enough with how things are intended to work in the backend to know if my script is needed or if i'm just unaware of a certain feature or function. thanks

On 05/09/2014 05:25 AM, Jeff Clay wrote:
if a user takes a vm from the pool and uses it, then disconnects; can that vm then be assigned to another user immediately or quickly? the vm's in my pools run as stateless, is there a way to automatically get the vm's to reboot when a user disconnects so that it's fresh for the next user? i'm using windows 7 vm's and windows clients with virt-viewer to connect to the vm's. I've written a quick script that runs on the engine and tails the engine log looking for disconnects then reboots the vm when a disconnect is seen from a non-admin user, but i'm not familiar enough with how things are intended to work in the backend to know if my script is needed or if i'm just unaware of a certain feature or function.
thanks
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
i think a "screen saver" inside the guest shutting it down after being idle for X minutes may be a good approach. otherwise, an RFE for "Return VM to pool if no users connected for X minutes" would be needed.
participants (2)
-
Itamar Heim
-
Jeff Clay