X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=mclu.conf;h=b19bfd18e3d39276dfad5eafe11815968423cd56;hb=84c3f83dd0dfc363ce72b06dbb4a7955ce653dfd;hp=300b79ed623c5f68e6a2e27c2d29b784f82830b6;hpb=2a55aedad2ca66ede45f62ca0b55b7e6dddc736f;p=mclu.git diff --git a/mclu.conf b/mclu.conf index 300b79e..b19bfd1 100644 --- a/mclu.conf +++ b/mclu.conf @@ -1,43 +1,12 @@ -# mclu (mini cluster) configuration file. -# -# This file is parsed by Python's ConfigParser. -# -# This is the real configuration file I use to control my -# virtualization cluster. For a picture of it see: -# http://rwmj.wordpress.com/2014/04/28/caseless-virtualization-cluster-part-5/#content - -# Some defaults are provided: -# %(home)s expands to $HOME -# %(config_dir)s expands to the directory containing mclu.conf -# Note that in the Python '%(...)s' syntax, 's' means 'string'. It is -# not part of the expanded output. - -# The global section has general configuration. -[global] - -# The location of guest disk images. This location MUST be shared -# between all nodes including the machine running mclu (eg. using NFS -# or some sort of clustered storage). -images_dir = /var/lib/libvirt/images - -# The location of libvirt XML configuration files for guests. -# -# Note: This does NOT need to be shared or even visible on the cluster -# nodes. But it must be available on the machine running 'mclu'. -xmls_dir = %(config_dir)s/xmls/ - -# The name of the ansible group which contains the list of nodes -# in the cluster. You have to edit /etc/ansible/hosts and add a -# section: -# -# [cluster] -# ham0 mac=74:d4:35:55:85:3f -# ham1 mac=74:d4:35:51:ab:86 -# ham2 mac=74:d4:35:55:82:96 -# ham3 mac=74:d4:35:55:84:b4 -# -# The mac=... (MAC addresses) are optional, to support wake-on-LAN. -# -# If you don't want to edit /etc/ansible/hosts then you can export -# $ANSIBLE_HOSTS to name another file instead. -nodes_group = cluster +# mclu: Mini Cloud +# Configuration file. + +[nodes] +# Hostname followed by key=value pairs: +# mac= MAC (hardware network) address, for wake-on-LAN +# uri= The libvirt URI used to connect to the host +# (default: qemu+ssh://root@$hostname/system) +ham0 mac=74:d4:35:55:85:3f +ham1 mac=74:d4:35:51:ab:86 +ham2 mac=74:d4:35:55:82:96 +ham3 mac=74:d4:35:55:84:b4