Re: [pve-devel] clustered /var/log/pve

2017-03-22 Thread Stefan Priebe - Profihost AG
Never mind.I found the culprit the file is just read to early by other nodes. Stefan Excuse my typo sent from my mobile phone. > Am 22.03.2017 um 15:19 schrieb Stefan Priebe - Profihost AG > : > > Hi, > > this works fine with /var/log/pve/tasks which is the folder i wanted to > share. > > It

Re: [pve-devel] clustered /var/log/pve

2017-03-22 Thread Stefan Priebe - Profihost AG
Hi, this works fine with /var/log/pve/tasks which is the folder i wanted to share. It seems to work for all logs which are now also available after migrations. The only thing which is not working is the migration log itself. Which always get's a status of "unexpected status". Is there anything s

Re: [pve-devel] clustered /var/log/pve

2017-03-10 Thread Dietmar Maurer
> Great thanks. Is there any reason why we don't use the existing pmxcfs for > that path as well? Yes. pmxcfs is stored in RAM (on all nodes), so you do not want to store many large files there. Besides, the number and size of files is limited (hard limits). IMHO, it makes no sense to distribute

Re: [pve-devel] clustered /var/log/pve

2017-03-10 Thread Stefan Priebe - Profihost AG
Great thanks. Is there any reason why we don't use the existing pmxcfs for that path as well? Stefan Excuse my typo sent from my mobile phone. > Am 11.03.2017 um 08:28 schrieb Dietmar Maurer : > > > >> On March 10, 2017 at 9:24 PM Stefan Priebe - Profihost AG >> wrote: >> >> >> >> Am 10.

Re: [pve-devel] clustered /var/log/pve

2017-03-10 Thread Dietmar Maurer
> On March 10, 2017 at 9:24 PM Stefan Priebe - Profihost AG > wrote: > > > > Am 10.03.2017 um 21:20 schrieb Dietmar Maurer: > >> Sure. Great. So there's no problem if all files got shared between > >> nodes? > > > > Sorry, but I never tested that. > > > >> I've never looked at the code for

Re: [pve-devel] clustered /var/log/pve

2017-03-10 Thread Dietmar Maurer
> Sure. Great. So there's no problem if all files got shared between > nodes? Sorry, but I never tested that. > I've never looked at the code for the active and index files... I guess you would need some cluster wide locking, or use separate directories for each node... __

Re: [pve-devel] clustered /var/log/pve

2017-03-10 Thread Stefan Priebe - Profihost AG
Am 10.03.2017 um 21:20 schrieb Dietmar Maurer: >> Sure. Great. So there's no problem if all files got shared between >> nodes? > > Sorry, but I never tested that. > >> I've never looked at the code for the active and index files... > > I guess you would need some cluster wide locking, or use s

Re: [pve-devel] clustered /var/log/pve

2017-03-10 Thread Stefan Priebe - Profihost AG
Am 10.03.2017 um 20:54 schrieb Dietmar Maurer: >> Is there any reason to no run /var/log/pve on ocfs2? So that it is >> shared over all nodes? > > never tried. But I guess it is no problem as long as ocfs2 works (cluster > quorate). Sure. Great. So there's no problem if all files got shared betw

Re: [pve-devel] clustered /var/log/pve

2017-03-10 Thread Dietmar Maurer
> Is there any reason to no run /var/log/pve on ocfs2? So that it is > shared over all nodes? never tried. But I guess it is no problem as long as ocfs2 works (cluster quorate). ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com

[pve-devel] clustered /var/log/pve

2017-03-10 Thread Stefan Priebe - Profihost AG
Hello, i don't like that i don't have a complete task history of a VM after migration. Is there any reason to no run /var/log/pve on ocfs2? So that it is shared over all nodes? Greets, Stefan ___ pve-devel mailing list pve-devel@pve.proxmox.com http://