Hi,
I am configuring a cluster, where all nodes will be job-exclusive, each node will run (at most) one job. Each job may span several nodes.
So, each MOM/node needs the config:
sharing = force_exclhost
After some digging it appears that the “right place” (the only place) this can be defined is in a so-called “version 2 config file” (under mom_priv/config.d/).
I can make this work, if I create a config file (called a “script” in the manuals) with content like:
$configversion 2
node01: sharing = force_exclhost
node02: sharing = force_exclhost
node03: sharing = force_exclhost
All nodes in the cluster are named in the file, and the file is copied to all nodes in the cluster.
In principle, it is sufficient to have just the line for the local node name, but that means that the nodes will have individual config, and I would rather avoid that.
Is there a way to make this config without having to explictly name every node (either in a single file with all the node names - or in a node-centric file, which then differ from node to node)?
What I am looking for may be if it is possible to glob nodenames - or leave them out entirely in MOM version 2 config files.
Thanks,
Bjarne