[Moabusers] Including external files into moab.cfg ?

Douglas Wightman wightman at clusterresources.com
Wed Jul 23 08:23:16 MDT 2008


Chris,

Moab can read other files using the INCLUDE parameter:

http://www.clusterresources.com/products/mwm/docs/a.fparameters.shtml#include

Please note that Moab only reads this file once at startup.  There are 
some sites that use this mechanism along with a script that 
automatically recycles Moab.

- Douglas

Chris Samuel wrote:
> Hi all,
> 
> Does anyone know if the Moab configuration file format
> supports a way of including an external file ?
> 
> I know we could do it with CPP or M4, but I was rather
> hoping there was something like a built in include directive ?
> 
> We're stuck in a situation where Moab's global fairshare
> doesn't yet do what we need it to, so we're having to
> hack around it by rewriting all our fairshare rules out
> of our central database (as well as the fairshare usage)
> and I'd rather that the scripts just wrote a single file
> with all the extra:
> 
> ACCOUNTCFG[foo]  FSCAP=xxx
> 
> rather than having to get that into an existing file..
> 
> cheers!
> Chris


More information about the moabusers mailing list