[Users] vm pools

René Koch (ovido) r.koch at ovido.at
Thu May 23 04:50:19 EDT 2013


On Mon, 2013-05-20 at 16:43 -0400, Eli Mesika wrote:
> 
> ----- Original Message -----
> > From: "Ryan Wilkinson" <ryanwilk at gmail.com>
> > To: users at ovirt.org
> > Sent: Monday, May 20, 2013 6:05:32 PM
> > Subject: [Users] vm pools
> > 
> > Is there a method with pools to update (install new apps or updates) a
> > "golden image" and have those updates propagate to a pool? Seems currently
> > you have to create a new template from the image and then create a new pool.
> 
> Hi
> Currently you will have to create a new template from the image and build the pool on top of it ...

Hi,

I started writing a Perl (prototype) script a year ago to make the
process of "updating" pool vms a little bit easier. What this script
does (should do) is:
- stop all vms which belong to this pool
- detach vms from pool
- delete vms
- delete pool
- delete template
- create new template from master vm
- create new pool
- add users/groups to pool

All these tasks are possible with the Python/JAVA SDKs and ovirt-shell,
too.
Just make sure no other vms/pools uses this template with thin
provisioned allocation policy. And don't forget error handling...


Regards,
René


> 
> > 
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list