My use case is that I just don't want to start manually the virtual machines when the
host starts and, also, if the host is shutdown it should guest-shutdown the virtual
machines.
Any doc on that pin option? How one is supposed to pin a virtual machine to a host?
Thank you.
----- Mensaje original -----
De: "Itamar Heim" <iheim(a)redhat.com>
Para: "Adrian Gibanel" <adrian.gibanel(a)btactic.com>
CC: "users" <users(a)ovirt.org>
Enviados: Viernes, 7 de Diciembre 2012 15:49:36
Asunto: Re: [Users] Auto-start vms on boot?
On 12/06/2012 10:34 PM, Adrian Gibanel wrote:
> It would seem that oVirt does not provide an standard way of
> forcing boot of virtual machines at boot.
>
> Pools can have pre-started vms as stated here:
>
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtual...
> but pools imply state-less virtual machines and I am talking more
> about normal virtual machines.
>
> I've found this script:
>
>
https://github.com/iranzo/rhevm-utils/blob/master/rhev-vm-start.py
>
> which could do to the trick if run at host boot.
>
> I've also thought (but not tried) to mark a virtual machine as
> "Highly Available" even if I have only one host (I mean, usually
> HA only makes sense when you have two hosts).
>
> Marking a VM as H.A. would do the trick?
> Any special reason why there isn't and standard way of marking
> which vms should be auto-started at boot?
>
> Just wanted to hear your thoughts before filling an RFE.
>
>
> Thank you.
>
what exactly is your use case?
the one i'm familiar with is to tie the VM life cycle to a specific
host, so a VM which is pinned to a specific host for a certain task
(say, IDS), is always starting when the host starts, and will be
automatically shutdown when host is moved to maintenance.
so only relevant for VMs which are pinned to a host.
Thanks,
Itamar
--
--
Adrián Gibanel
I.T. Manager
+34 675 683 301
www.btactic.com
Ens podeu seguir a/Nos podeis seguir en:
i
Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és cosa de
tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El medio ambiente es
cosa de todos.
AVIS:
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou el
destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o copiar-lo sense
tenir l'autorització corresponent. Si heu rebut aquest missatge per error, us agrairem
que ho feu saber immediatament al remitent i que procediu a destruir el missatge .
AVISO:
El contenido de este mensaje y de sus anexos es confidencial. Si no es el destinatario,
les hacemos saber que está prohibido utilizarlo, divulgarlo y/o copiarlo sin tener la
autorización correspondiente. Si han recibido este mensaje por error, les agradeceríamos
que lo hagan saber inmediatamente al remitente y que procedan a destruir el mensaje .