dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
291 stars 136 forks source link

Request: include config files #4676

Open onnozweers opened 5 years ago

onnozweers commented 5 years ago

Dear dCache devs,

I would very much like the possiblity to include config files from a layout file. We have around 140 layout files, that are partly the same, and partly different. The part that is the same for a large group is usually the door specifications. We have six flavours of WebDAV doors. We'd like to be able to state in the layout file: include webdav.conf, and then put all the WebDAV configuration into one single file webdav.conf that all (pool) nodes have. Similar for include gridftp.conf. That would make our configuration management easier and less error prone. We once had to do the same change in 64 layout files, and missed one.

An alternative would be, to allow multiple files in the dcache.layout statement.

Kind regards, Onno

DmitryLitvintsev commented 5 years ago

Hi Onno,

Would having ability to treat any *.conf files in layouts directory as "actionable" files. And dcache.layout possibly pointing to a directory where these files are (with default being /etc/dcache/layouts)

Disadvantage is that you can't have a pile of *conf files the same across different nodes. Each has to have specific set of files.

This is more inline w/ other packages (like httpd or postgresql).

Just brain-storming, Dmitry

onnozweers commented 5 years ago

Hi Dmitry,

Having something similar to Apache's conf.d would be great! It would be nice though to be backwards compatible. Perhaps a new config setting dcache.layout.dir or similar?

Cheers, Onno