Re: [ovirt-users] workflow suggestion for the creating and destroying the VMs?

2017-07-21 Thread Yaniv Kaul
On Fri, Jul 21, 2017 at 12:06 PM, Arman Khalatyan wrote: > thanks,the downscaling is important for me, > It really depends on the guest OS cooperation. While off-lining a CPU is relatively easy, hot-unplugging memory is a bigger challenge for the OS. i was testing something

Re: [ovirt-users] workflow suggestion for the creating and destroying the VMs?

2017-07-21 Thread Arman Khalatyan
thanks,the downscaling is important for me, i was testing something like: 1) clone from actual vm(super slow,even if it is 20GB OS, needs more investigation,nfs is bottle neck) 2) start it with dhcp, 3) somehow find the ip 4) sync parameters between running vm and new vm. looks that everything

Re: [ovirt-users] workflow suggestion for the creating and destroying the VMs?

2017-07-21 Thread Yaniv Kaul
On Fri, Jul 21, 2017 at 6:07 AM, Arman Khalatyan wrote: > Yes, thanks for mentioning puppet, we have foreman for the bare metal > systems. > I was looking something like preboot hook script, to mount the /dev/sda > and copy some stuff there. > Is it possible to do that with

Re: [ovirt-users] workflow suggestion for the creating and destroying the VMs?

2017-07-21 Thread Arman Khalatyan
Yes, thanks for mentioning puppet, we have foreman for the bare metal systems. I was looking something like preboot hook script, to mount the /dev/sda and copy some stuff there. Is it possible to do that with cloud-init/sysprep? On Thu, Jul 20, 2017 at 1:32 PM, Karli Sjöberg

Re: [ovirt-users] workflow suggestion for the creating and destroying the VMs?

2017-07-20 Thread Karli Sjöberg
Den 20 juli 2017 13:29 skrev Arman Khalatyan :Hi,Can some one share an experience with dynamic creating and removing VMs based on the load?Currently I am just creating with the python SDK a clone of the apache worker, are there way to copy some config files to the VM before

[ovirt-users] workflow suggestion for the creating and destroying the VMs?

2017-07-20 Thread Arman Khalatyan
Hi, Can some one share an experience with dynamic creating and removing VMs based on the load? Currently I am just creating with the python SDK a clone of the apache worker, are there way to copy some config files to the VM before starting it ? Thanks, Arman.