Re: Thoughts on VM fence infrastructure

2019-10-01 Thread Felipe Franciosi
> On Oct 1, 2019, at 12:10 PM, Daniel P. Berrangé wrote: > > On Tue, Oct 01, 2019 at 10:46:24AM +, Felipe Franciosi wrote: >> Hi Daniel! >> >> >>> On Oct 1, 2019, at 11:31 AM, Daniel P. Berrangé wrote: >>> >>> On Tue, Oct 01, 2019 at 09:56:17AM +, Felipe Franciosi wrote: >> >> (Apo

Re: Thoughts on VM fence infrastructure

2019-10-01 Thread Daniel P . Berrangé
On Tue, Oct 01, 2019 at 10:46:24AM +, Felipe Franciosi wrote: > Hi Daniel! > > > > On Oct 1, 2019, at 11:31 AM, Daniel P. Berrangé wrote: > > > > On Tue, Oct 01, 2019 at 09:56:17AM +, Felipe Franciosi wrote: > > (Apologies for the mangled URL, nothing I can do about that.) :( > > Ther

Re: Thoughts on VM fence infrastructure

2019-10-01 Thread Daniel P . Berrangé
On Mon, Sep 30, 2019 at 07:23:47PM +, Felipe Franciosi wrote: > > > > On Sep 30, 2019, at 6:59 PM, Dr. David Alan Gilbert > > wrote: > > > > * Felipe Franciosi (fel...@nutanix.com) wrote: > >> > >> > >>> On Sep 30, 2019, at 6:11 PM, Dr. David Alan Gilbert > >>> wrote: > >>> > >>> * Fe

Re: Thoughts on VM fence infrastructure

2019-10-01 Thread Felipe Franciosi
Hi Daniel! > On Oct 1, 2019, at 11:31 AM, Daniel P. Berrangé wrote: > > On Tue, Oct 01, 2019 at 09:56:17AM +, Felipe Franciosi wrote: >> >> >>> On Oct 1, 2019, at 9:23 AM, Dr. David Alan Gilbert >>> wrote: >>> >>> * Felipe Franciosi (fel...@nutanix.com) wrote: > On Sep

Re: Thoughts on VM fence infrastructure

2019-10-01 Thread Daniel P . Berrangé
On Tue, Oct 01, 2019 at 09:56:17AM +, Felipe Franciosi wrote: > > > > On Oct 1, 2019, at 9:23 AM, Dr. David Alan Gilbert > > wrote: > > > > * Felipe Franciosi (fel...@nutanix.com) wrote: > >> > >> > >>> On Sep 30, 2019, at 6:59 PM, Dr. David Alan Gilbert > >>> wrote: > >>> > >>> * Fel

Re: Thoughts on VM fence infrastructure

2019-10-01 Thread Dr. David Alan Gilbert
* Felipe Franciosi (fel...@nutanix.com) wrote: > > > > On Oct 1, 2019, at 9:23 AM, Dr. David Alan Gilbert > > wrote: > > > > * Felipe Franciosi (fel...@nutanix.com) wrote: > >> > >> > >>> On Sep 30, 2019, at 6:59 PM, Dr. David Alan Gilbert > >>> wrote: > >>> > >>> * Felipe Franciosi (fel.

Re: Thoughts on VM fence infrastructure

2019-10-01 Thread Felipe Franciosi
> On Oct 1, 2019, at 9:23 AM, Dr. David Alan Gilbert > wrote: > > * Felipe Franciosi (fel...@nutanix.com) wrote: >> >> >>> On Sep 30, 2019, at 6:59 PM, Dr. David Alan Gilbert >>> wrote: >>> >>> * Felipe Franciosi (fel...@nutanix.com) wrote: > On Sep 30, 2019, at 6:11 PM,

Re: Thoughts on VM fence infrastructure

2019-10-01 Thread Dr. David Alan Gilbert
* Felipe Franciosi (fel...@nutanix.com) wrote: > > > > On Sep 30, 2019, at 6:59 PM, Dr. David Alan Gilbert > > wrote: > > > > * Felipe Franciosi (fel...@nutanix.com) wrote: > >> > >> > >>> On Sep 30, 2019, at 6:11 PM, Dr. David Alan Gilbert > >>> wrote: > >>> > >>> * Felipe Franciosi (fel

Re: Thoughts on VM fence infrastructure

2019-09-30 Thread Felipe Franciosi
> On Sep 30, 2019, at 8:45 PM, Rafael David Tinoco > wrote: > > There are times when the main loop can get blocked even though the CPU threads can be running and can in some configurations perform IO even without the main loop (I think!). >>> Ah, that's a very good point. Inde

Re: Thoughts on VM fence infrastructure

2019-09-30 Thread Rafael David Tinoco
>>> There are times when the main loop can get blocked even though the CPU >>> threads can be running and can in some configurations perform IO >>> even without the main loop (I think!). >> Ah, that's a very good point. Indeed, you can perform IO in those >> cases specially when using vhost devic

Re: Thoughts on VM fence infrastructure

2019-09-30 Thread Felipe Franciosi
> On Sep 30, 2019, at 6:59 PM, Dr. David Alan Gilbert > wrote: > > * Felipe Franciosi (fel...@nutanix.com) wrote: >> >> >>> On Sep 30, 2019, at 6:11 PM, Dr. David Alan Gilbert >>> wrote: >>> >>> * Felipe Franciosi (fel...@nutanix.com) wrote: > On Sep 30, 2019, at 5:03 PM,

Re: Thoughts on VM fence infrastructure

2019-09-30 Thread Dr. David Alan Gilbert
* Felipe Franciosi (fel...@nutanix.com) wrote: > > > > On Sep 30, 2019, at 6:11 PM, Dr. David Alan Gilbert > > wrote: > > > > * Felipe Franciosi (fel...@nutanix.com) wrote: > >> > >> > >>> On Sep 30, 2019, at 5:03 PM, Dr. David Alan Gilbert > >>> wrote: > >>> > >>> * Felipe Franciosi (fel

Re: Thoughts on VM fence infrastructure

2019-09-30 Thread Felipe Franciosi
> On Sep 30, 2019, at 6:11 PM, Dr. David Alan Gilbert > wrote: > > * Felipe Franciosi (fel...@nutanix.com) wrote: >> >> >>> On Sep 30, 2019, at 5:03 PM, Dr. David Alan Gilbert >>> wrote: >>> >>> * Felipe Franciosi (fel...@nutanix.com) wrote: Hi David, > On Sep 30, 2019, at

Re: Thoughts on VM fence infrastructure

2019-09-30 Thread Dr. David Alan Gilbert
* Felipe Franciosi (fel...@nutanix.com) wrote: > > > > On Sep 30, 2019, at 5:03 PM, Dr. David Alan Gilbert > > wrote: > > > > * Felipe Franciosi (fel...@nutanix.com) wrote: > >> Hi David, > >> > >>> On Sep 30, 2019, at 3:29 PM, Dr. David Alan Gilbert > >>> wrote: > >>> > >>> * Felipe Franc

Re: Thoughts on VM fence infrastructure

2019-09-30 Thread Felipe Franciosi
> On Sep 30, 2019, at 5:03 PM, Dr. David Alan Gilbert > wrote: > > * Felipe Franciosi (fel...@nutanix.com) wrote: >> Hi David, >> >>> On Sep 30, 2019, at 3:29 PM, Dr. David Alan Gilbert >>> wrote: >>> >>> * Felipe Franciosi (fel...@nutanix.com) wrote: Heyall, We have a use

Re: Thoughts on VM fence infrastructure

2019-09-30 Thread Dr. David Alan Gilbert
* Felipe Franciosi (fel...@nutanix.com) wrote: > Hi David, > > > On Sep 30, 2019, at 3:29 PM, Dr. David Alan Gilbert > > wrote: > > > > * Felipe Franciosi (fel...@nutanix.com) wrote: > >> Heyall, > >> > >> We have a use case where a host should self-fence (and all VMs should > >> die) if it do

Re: Thoughts on VM fence infrastructure

2019-09-30 Thread Felipe Franciosi
Hi David, > On Sep 30, 2019, at 3:29 PM, Dr. David Alan Gilbert > wrote: > > * Felipe Franciosi (fel...@nutanix.com) wrote: >> Heyall, >> >> We have a use case where a host should self-fence (and all VMs should >> die) if it doesn't hear back from a heartbeat within a certain time >> period. L

Re: Thoughts on VM fence infrastructure

2019-09-30 Thread Dr. David Alan Gilbert
* Felipe Franciosi (fel...@nutanix.com) wrote: > Heyall, > > We have a use case where a host should self-fence (and all VMs should > die) if it doesn't hear back from a heartbeat within a certain time > period. Lots of ideas were floated around where libvirt could take > care of killing VMs or a s

Thoughts on VM fence infrastructure

2019-09-30 Thread Felipe Franciosi
Heyall, We have a use case where a host should self-fence (and all VMs should die) if it doesn't hear back from a heartbeat within a certain time period. Lots of ideas were floated around where libvirt could take care of killing VMs or a separate service could do it. The concern with those is that