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

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Sat Mar 11 08:48:41 CET 2017


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 <dietmar at proxmox.com>:
> 
> 
> 
>> On March 10, 2017 at 9:24 PM Stefan Priebe - Profihost AG
>> <s.priebe at 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 the active and index files...
>>> 
>>> I guess you would need some cluster wide locking, or use separate 
>>> directories for each node...
>> 
>> flock should be enough. ocfs2 supports that. Does the current code make
>> use of that? 
> 
> yes
> 
>> Haven't found it in pve-manager. Is it somewhere else?
> 
> pve-common/src/PVE/RESTEnvironment.pm
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel



More information about the pve-devel mailing list