USER MANUAL


NAME

kanif.conf - configuration file for kanif


SYNOPSIS

$HOME/.kanif.conf, /etc/kanif.conf or /etc/c3.conf


DESCRIPTION

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 :

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.


EXAMPLE

  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
  }


SEE ALSO

kanif(1), taktuk(1)


AUTHOR

The author of kanif and current maintainer of the package is Guillaume Huard. Acknowledgements to Lucas Nussbaum for the idea of the name ``kanif''.


COPYRIGHT

kanif is provided under the terms of the GNU General Public License version 2 or later.