Rewrite to use ansible.
[mclu.git] / mclu.conf
1 # mclu (mini cluster) configuration file.
2 #
3 # This file is parsed by Python's ConfigParser.
4 #
5 # This is the real configuration file I use to control my
6 # virtualization cluster.  For a picture of it see:
7 # http://rwmj.wordpress.com/2014/04/28/caseless-virtualization-cluster-part-5/#content
8
9 # Some defaults are provided:
10 #   %(home)s expands to $HOME
11 #   %(config_dir)s expands to the directory containing mclu.conf
12 # Note that in the Python '%(...)s' syntax, 's' means 'string'.  It is
13 # not part of the expanded output.
14
15 # The global section has general configuration.
16 [global]
17
18 # The location of guest disk images.  This location MUST be shared
19 # between all nodes including the machine running mclu (eg. using NFS
20 # or some sort of clustered storage).
21 images_dir = /var/lib/libvirt/images
22
23 # The location of libvirt XML configuration files for guests.
24 #
25 # Note: This does NOT need to be shared or even visible on the cluster
26 # nodes.  But it must be available on the machine running 'mclu'.
27 xmls_dir = %(config_dir)s/xmls/
28
29 # The name of the ansible group which contains the list of nodes
30 # in the cluster.  You have to edit /etc/ansible/hosts and add a
31 # section:
32 #
33 #   [cluster]
34 #   ham0 mac=74:d4:35:55:85:3f
35 #   ham1 mac=74:d4:35:51:ab:86
36 #   ham2 mac=74:d4:35:55:82:96
37 #   ham3 mac=74:d4:35:55:84:b4
38 #
39 # The mac=... (MAC addresses) are optional, to support wake-on-LAN.
40 #
41 # If you don't want to edit /etc/ansible/hosts then you can export
42 # $ANSIBLE_HOSTS to name another file instead.
43 nodes_group = cluster