Re: [Users] save to restart libvirtd ?

2013-04-22 Thread Dan Kenigsberg
On Thu, Apr 18, 2013 at 07:40:41PM +0100, Alex Leonhardt wrote:
> ah, i dont have that configured anyway as I thought from the
> beginning that i'd like to keep control over when a host is being
> rebooted ...
> 
> unfortunately, the VMs are running storage domains too (NFS) so it'd
> take those down I believe ... i'll try w/o stopping vdsm first ...
> on one that hopefully doesnt run too many critical apps at the time
> ..
> 
> i'll report back how it went if anyone's interested :)

Please do - since Vdsm should've restarted itself anyway.
> 
> 
> 
> On 04/17/2013 08:07 AM, Omer Frenkel wrote:
> >
> >
> >
> >
> >*From: *"Alex Leonhardt" 
> >*To: *"Dan Kenigsberg" 
> >*Cc: *"oVirt Mailing List" 
> >*Sent: *Wednesday, April 17, 2013 1:02:25 AM
> >*Subject: *Re: [Users] save to restart libvirtd ?
> >
> >would that stop any of the running VMs ?
> >
> >it shouldn't, but if you have ovirt engine running, make sure that
> >power management not active for this host,
> >since after timeout (usually 1 minute) when vdsm is down, the host
> >will be fenced (restarted) - then the vms will surely stop..
> >look at http://www.ovirt.org/Automatic_Fencing
> ><http://www.ovirt.org/Automatic_Fencing%20>for more info about
> >automatic fencing in engine.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] save to restart libvirtd ?

2013-04-18 Thread Alex Leonhardt
ah, i dont have that configured anyway as I thought from the beginning 
that i'd like to keep control over when a host is being rebooted ...


unfortunately, the VMs are running storage domains too (NFS) so it'd 
take those down I believe ... i'll try w/o stopping vdsm first ... on 
one that hopefully doesnt run too many critical apps at the time ..


i'll report back how it went if anyone's interested :)



On 04/17/2013 08:07 AM, Omer Frenkel wrote:





*From: *"Alex Leonhardt" 
*To: *"Dan Kenigsberg" 
*Cc: *"oVirt Mailing List" 
*Sent: *Wednesday, April 17, 2013 1:02:25 AM
*Subject: *Re: [Users] save to restart libvirtd ?

would that stop any of the running VMs ?

it shouldn't, but if you have ovirt engine running, make sure that 
power management not active for this host,
since after timeout (usually 1 minute) when vdsm is down, the host 
will be fenced (restarted) - then the vms will surely stop..
look at http://www.ovirt.org/Automatic_Fencing 
<http://www.ovirt.org/Automatic_Fencing%20>for more info about 
automatic fencing in engine.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] save to restart libvirtd ?

2013-04-17 Thread Omer Frenkel
- Original Message -

> From: "Alex Leonhardt" 
> To: "Dan Kenigsberg" 
> Cc: "oVirt Mailing List" 
> Sent: Wednesday, April 17, 2013 1:02:25 AM
> Subject: Re: [Users] save to restart libvirtd ?

> would that stop any of the running VMs ?

it shouldn't, but if you have ovirt engine running, make sure that power 
management not active for this host, 
since after timeout (usually 1 minute) when vdsm is down, the host will be 
fenced (restarted) - then the vms will surely stop.. 
look at http://www.ovirt.org/Automatic_Fencing for more info about automatic 
fencing in engine. 

> alex

> On 04/16/2013 09:47 PM, Dan Kenigsberg wrote:
> > On Mon, Apr 15, 2013 at 05:12:35PM +0200, Martin Kletzander wrote:
> 

> > > On 04/15/2013 03:39 PM, Alex Leonhardt wrote:
> > 
> 

> > > > Hi,
> > > 
> > 
> 

> > > > I believe it's save, but just wanted to re-check, is it save to restart
> > > 
> > 
> 
> > > > libvirtd on a HV running ~40 VMs ?
> > > 
> > 
> 

> > > Hi,
> > 
> 

> > > for libvirt questions, I'd rather use libvirt-us...@redhat.com , but for
> > 
> 
> > > this particular one, I can confirm that libvirt is written in a way that
> > 
> 
> > > enables it to be restarted without any impact on the machines which are
> > 
> 
> > > being ran.
> > 
> 

> > > Of course I can't say "nothing will happen" due to the fact that every
> > 
> 
> > > single time something can happen, but nothing _should_ happen to any of
> > 
> 
> > > your machines.
> > 
> 

> > Indeed. Vdsm should notice that libvirtd has died, and restart itself.
> 
> > However, it would be safer to stop Vdsm explicitly before you do that
> 
> > (for example http://gerrit.ovirt.org/8283 )
> 

> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] save to restart libvirtd ?

2013-04-16 Thread Alex Leonhardt

would that stop any of the running VMs ?

alex

On 04/16/2013 09:47 PM, Dan Kenigsberg wrote:

On Mon, Apr 15, 2013 at 05:12:35PM +0200, Martin Kletzander wrote:

On 04/15/2013 03:39 PM, Alex Leonhardt wrote:

Hi,

I believe it's save, but just wanted to re-check, is it save to restart
libvirtd on a HV running ~40 VMs ?


Hi,

for libvirt questions, I'd rather use libvirt-us...@redhat.com, but for
this particular one, I can confirm that libvirt is written in a way that
enables it to be restarted without any impact on the machines which are
being ran.

Of course I can't say "nothing will happen" due to the fact that every
single time something can happen, but nothing _should_ happen to any of
your machines.

Indeed. Vdsm should notice that libvirtd has died, and restart itself.
However, it would be safer to stop Vdsm explicitly before you do that
(for example http://gerrit.ovirt.org/8283 )

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] save to restart libvirtd ?

2013-04-16 Thread Dan Kenigsberg
On Mon, Apr 15, 2013 at 05:12:35PM +0200, Martin Kletzander wrote:
> On 04/15/2013 03:39 PM, Alex Leonhardt wrote:
> > Hi,
> > 
> > I believe it's save, but just wanted to re-check, is it save to restart
> > libvirtd on a HV running ~40 VMs ?
> > 
> 
> Hi,
> 
> for libvirt questions, I'd rather use libvirt-us...@redhat.com, but for
> this particular one, I can confirm that libvirt is written in a way that
> enables it to be restarted without any impact on the machines which are
> being ran.
> 
> Of course I can't say "nothing will happen" due to the fact that every
> single time something can happen, but nothing _should_ happen to any of
> your machines.

Indeed. Vdsm should notice that libvirtd has died, and restart itself.
However, it would be safer to stop Vdsm explicitly before you do that
(for example http://gerrit.ovirt.org/8283 )

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] save to restart libvirtd ?

2013-04-16 Thread Martin Kletzander
On 04/16/2013 12:21 AM, Alex Leonhardt wrote:
> Thanks Martin,
> 
> I tested on a "almost" empty host I had to play with, and it seemed all
> went well, so will hopefully be able to regain ~11 GB of memory after
> restarting libvirtd :) ..
> 
> I'll sign up to the other mailing list to find out why / how it could
> have grown this big :\
> 

There might be some memleaks, especially in older version.  For this
kind of stuff, I'd maybe use the libvir-list [1]

Martin

[1] http://www.redhat.com/mailman/listinfo/libvir-list

> Thanks
> Alex
> 
> 
> On 04/15/2013 04:12 PM, Martin Kletzander wrote:
>> On 04/15/2013 03:39 PM, Alex Leonhardt wrote:
>>> Hi,
>>>
>>> I believe it's save, but just wanted to re-check, is it save to restart
>>> libvirtd on a HV running ~40 VMs ?
>>>
>> Hi,
>>
>> for libvirt questions, I'd rather use libvirt-us...@redhat.com, but for
>> this particular one, I can confirm that libvirt is written in a way that
>> enables it to be restarted without any impact on the machines which are
>> being ran.
>>
>> Of course I can't say "nothing will happen" due to the fact that every
>> single time something can happen, but nothing _should_ happen to any of
>> your machines.
>>
>> Have a nice day,
>> Martin
> 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] save to restart libvirtd ?

2013-04-15 Thread Alex Leonhardt

Thanks Martin,

I tested on a "almost" empty host I had to play with, and it seemed all 
went well, so will hopefully be able to regain ~11 GB of memory after 
restarting libvirtd :) ..


I'll sign up to the other mailing list to find out why / how it could 
have grown this big :\


Thanks
Alex


On 04/15/2013 04:12 PM, Martin Kletzander wrote:

On 04/15/2013 03:39 PM, Alex Leonhardt wrote:

Hi,

I believe it's save, but just wanted to re-check, is it save to restart
libvirtd on a HV running ~40 VMs ?


Hi,

for libvirt questions, I'd rather use libvirt-us...@redhat.com, but for
this particular one, I can confirm that libvirt is written in a way that
enables it to be restarted without any impact on the machines which are
being ran.

Of course I can't say "nothing will happen" due to the fact that every
single time something can happen, but nothing _should_ happen to any of
your machines.

Have a nice day,
Martin
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] save to restart libvirtd ?

2013-04-15 Thread Martin Kletzander
On 04/15/2013 03:39 PM, Alex Leonhardt wrote:
> Hi,
> 
> I believe it's save, but just wanted to re-check, is it save to restart
> libvirtd on a HV running ~40 VMs ?
> 

Hi,

for libvirt questions, I'd rather use libvirt-us...@redhat.com, but for
this particular one, I can confirm that libvirt is written in a way that
enables it to be restarted without any impact on the machines which are
being ran.

Of course I can't say "nothing will happen" due to the fact that every
single time something can happen, but nothing _should_ happen to any of
your machines.

Have a nice day,
Martin
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] save to restart libvirtd ?

2013-04-15 Thread Alex Leonhardt
Hi,

I believe it's save, but just wanted to re-check, is it save to restart
libvirtd on a HV running ~40 VMs ?

Alex

-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users