Difference between revisions of "Eosc/nuggets"

From Nordic Language Processing Laboratory
Jump to: navigation, search
(File System Management)
(Module Usage Statistics)
Line 35: Line 35:
  
 
= Module Usage Statistics =
 
= Module Usage Statistics =
 +
 +
On Abel, we used to have a crude mechanism tracking the use of NLPL software modules, viz.
 +
generating a log entry every time a module definition was <code>load</code>ed.
 +
This was accomplished by calling out to the logger(1) utility.
 +
To generalize this approach, we would minimally need a mechanism for logging
 +
remotely to a central NLPL server.
  
 
= Accounting and Allocations =
 
= Accounting and Allocations =

Revision as of 17:36, 28 January 2020

Background

Smaller, tangible activities to be implemented under the EOSC-Nordic umbrella, in support of the NLPL virtual laboratory.


User Management

The project maintains an email list for all users with access to the NLPL virtual laboratory. We need to extract programmatically, on Saga and Puhti, which users are associated with any of the NLPL billing project(s), which should be read from a local file. This mechanism should be run as cron(8) job every night and rewrite another local file with active email addresses (which is then used at NLPL headquarters to automatically update the set of mailing list subscribers).

File System Management

With multiple users maintaining a shared collection of directories and files (aka the community directory, the shared software and data installations that make up the core of the virtual laboratory), we frequently run into permission challenges that at times are tedious to resolve or require administrator priviliges (which the NLPL developers cannot have). We would like to see an interface where a cron(8) job regularly reads a specification of permissions and such from a file (maintained by NLPL), quality-controls the contents, and then executes corresponding actions, e.g. something like

software/modules/etc/nlpl/tmp     rm -r
software/modules/                 chgrp -R nlpl
software/modules/                 chmod g+rwX,o+rX

Software Management

Module Usage Statistics

On Abel, we used to have a crude mechanism tracking the use of NLPL software modules, viz. generating a log entry every time a module definition was loaded. This was accomplished by calling out to the logger(1) utility. To generalize this approach, we would minimally need a mechanism for logging remotely to a central NLPL server.

Accounting and Allocations