kanif.conf - configuration file for kanif
$HOME/.kanif.conf, /etc/kanif.conf or /etc/c3.conf
kanif.conf is the configuration file for kanif. It is optional and only helps the management of static clusters (configurations that do not change much over time). It mimics the syntax of C3 configuration file.
It is composed of a sequence of one or more cluster definitions. Each cluster
definition is made of the word cluster
followed by the cluster name and,
enclosed in a pair of curly braces :
exclude
followed on the same line by
either a single
number or an interval between brackets. This applies to the range of the
preceding host set. If the exclusion is an interval, the separator between the
word exclude
and this exclusion is optional.
dead
followed by the name of the dead node on
the same line.
Notice that all nodes excluded (using exclude directives or dead nodes) will not take part of the deployment, but are still taken into account in cluster ranges when giving machines specifications to kanif (they are kind of placeholders). This is the interest of specifying nodes as dead or excluded rather than dropping them from the definitions.
cluster megacluster { # The # character introduce comments megacluster-dev megacluster0[1-9] megacluster[10-64] }
cluster supercluster { super-ext:super-int exclude # The host "exclude" super[01-99] exclude 02 # "super02" is excluded exclude[90-95] # "super90" to "super95" are excluded dead # The host "dead" dead othernode # "othernode" is dead }
kanif(1), taktuk(1)
The author of kanif and current maintainer of the package is Guillaume Huard. Acknowledgements to Lucas Nussbaum for the idea of the name ``kanif''.
kanif is provided under the terms of the GNU General Public License version 2 or later.