Not on the fly - but yes, change model of cpu, and restart agent. Affects only VMs started after that change.
On Tue, Feb 19, 2019, 14:40 Ugo Vasi <ugo.v...@procne.it wrote: > Hi Andrija, > is it possible to change agent.properties "on fly"? > > Il 19/02/19 12:59, Andrija Panic ha scritto: > > Ugo, > > > > as long as the CPU flags are same or newer than the existing hosts in > > cluster, it's 100% safe operation in regards to live migrations. > > > > But as Piotr said, if you are using some level of emulation of CPU model > > (versus hos-passthrough), then you might be good even with slighly older > > CPU on this new hosts that you want to add to a cluster. > > > > Do some reading around libvirt CPU model and simply just add one host and > > test live migration - as simple as that. > > > > Kind regards, > > > > Andrija > > > > On Tue, 19 Feb 2019 at 12:39, Piotr Pisz <pi...@piszki.pl> wrote: > > > >> Hi Ugo, > >> > >> [root@cstack-1 ~]# cat /etc/cloudstack/agent/agent.properties |grep > passt > >> guest.cpu.mode=host-passthrough > >> > >> The CPU model determines everything, if you have a passthrough it will > be > >> difficult or not possible. > >> But if you have emulated it is no problem (eg you set up SandyBridge > >> everywhere). > >> > >> Regards, > >> Piotr > >> > >> > >> -----Original Message----- > >> From: Ugo Vasi <ugo.v...@procne.it.INVALID> > >> Sent: Tuesday, February 19, 2019 12:27 PM > >> To: users@cloudstack.apache.org > >> Subject: CPU live migration question > >> > >> Hi all, > >> I would like to know if it is possible to add to an existing cluster a > host > >> that has the cpu different from that of the pre-existing hosts or which > >> features must be the same. > >> > >> I have read around that there may be problems at the libvirt level but > it > >> is > >> not clear to me which parameters must match. > >> > >> Thanks > >> -- > >> > >> *Ugo Vasi* / System Administrator > >> ugo.v...@procne.it <mailto:ugo.v...@procne.it> > >> > >> > >> > >> > >> *Procne S.r.l.* > >> +39 0432 486 523 > >> via Cotonificio, 45 > >> 33010 Tavagnacco (UD) > >> www.procne.it <http://www.procne.it/> > >> > >> > >> Le informazioni contenute nella presente comunicazione ed i relativi > >> allegati possono essere riservate e sono, comunque, destinate > >> esclusivamente > >> alle persone od alla Società sopraindicati. La diffusione, distribuzione > >> e/o > >> copiatura del documento trasmesso da parte di qualsiasi soggetto diverso > >> dal > >> destinatario è proibita sia ai sensi dell'art. 616 c.p., che ai sensi > del > >> Decreto Legislativo n. 196/2003 "Codice in materia di protezione dei > dati > >> personali". Se avete ricevuto questo messaggio per errore, vi preghiamo > di > >> distruggerlo e di informare immediatamente Procne S.r.l. scrivendo all' > >> indirizzo e-mail i...@procne.it <mailto:i...@procne.it>. > >> > >> > >> > > > -- > > *Ugo Vasi* / System Administrator > ugo.v...@procne.it <mailto:ugo.v...@procne.it> > > > > > *Procne S.r.l.* > +39 0432 486 523 > via Cotonificio, 45 > 33010 Tavagnacco (UD) > www.procne.it <http://www.procne.it/> > > > Le informazioni contenute nella presente comunicazione ed i relativi > allegati possono essere riservate e sono, comunque, destinate > esclusivamente alle persone od alla Società sopraindicati. La > diffusione, distribuzione e/o copiatura del documento trasmesso da parte > di qualsiasi soggetto diverso dal destinatario è proibita sia ai sensi > dell'art. 616 c.p., che ai sensi del Decreto Legislativo n. 196/2003 > "Codice in materia di protezione dei dati personali". Se avete ricevuto > questo messaggio per errore, vi preghiamo di distruggerlo e di informare > immediatamente Procne S.r.l. scrivendo all' indirizzo e-mail > i...@procne.it <mailto:i...@procne.it>. > >