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

Dietmar Maurer dietmar at proxmox.com
Sat Mar 11 08:28:24 CET 2017



> 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




More information about the pve-devel mailing list