|
From: Jens E. <el...@im...> - 2002-08-15 02:40:05
|
Hi, is it possible to improve scrollkeeper for "shared environments" ? Actually the only thing one seems to be able to configure after scrollkeeper is installed, is the OFA_DIR. What is IMHO required in a shared environment (i.e. the installdir of scrollkeeper is shared with client machines)? : Basically a global and an optional additional local configuration. Why: 0) clients should be able to make use of a (e.g. NFS) shared scrollkeeper base (e.g. $serverdir/scrollkeeper) and thus need read access to $serverdir/scrollkeeper 1) Usually clients are not allowed to overwrite files shared from a server (e.g. $serverdir/scrollkeeper/var/log/scrollkeeper.log) 2) clients should be able, to have additional scrollkeeper dbs since they might have additional (e.g. client specific) software installed. So I would opt for the following roughly behavior: 0) scrollkeeper should allow the following options in its conf file: a) LOCAL_CONF=$file (e.g. $file = /etc/opt/scrollkeeper.conf) b) DB_DIR=$db_dir (e.g. $db_dir = /var/data/scrollkeeper) c) LOG_FILE=$log (e.g. $log = /var/log/scrollkeeper.log) d) DOCBOOK=$docbook.uri (e.g. $docbook.uri = /opt/docbook/docbook.dtd) 1) for runtime configuration scrollkeeper should scan and merge/overwrite the settings of: a) $installdir/etc/scrollkeeper.conf (hard coded when compiled) b) $SCROOLKEEPER_DIR/etc/scrollkeeper.conf if this env var is set c) $LOCAL_CONF if this option is set 2) if a LOG_FILE option is set, it overwrites the previous setting 3) if DB_DIR is found, scrollkeeper should merge it into its current DB_DIR settings and should take information from that directory[s] into account as well 4) if OMF_DIR is set, it should be merged into the current OMF_DIR setting, too. 5) if DOCBOOK is set, scrollkeeper should try to use this dtd instead of the one, [not] specified in the default catalog file. What do you think, is this possible to make scrollkeeper such flexible ? regards, jens. -- +---[ Jens Elkner ]---------[ IMS GmbH, Abt. Server/Netzwerkmanagement ]--+ | Sandtorstr. 23 +49 391 54486 19230 | | 39106 Magdeburg el...@im... | | GERMANY http://www.imsgroup.de/ | +-------------------------------------------------------------------------+ |