1 # mclu (mini cluster) configuration file.
3 # This file is parsed by Python's ConfigParser.
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
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.
15 # The global section has general configuration.
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
23 # The location of libvirt XML configuration files for guests.
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/
29 # The nodes section lists all nodes. The keys don't need to be
30 # sequential, but must start with 'node'. The values are the short
31 # names of the nodes. If a node goes out of service permanently, you
32 # can just comment it out here.
39 # You need one section per node listed in [nodes].
40 # Possible fields are:
42 # Hostname or IP address of the node, if omitted it uses the
43 # node name as the hostname
45 # MAC (ethernet) address (only used for wake-on-LAN)
47 # Libvirt URI used to access the remote libvirt daemon running
48 # on the node. The default is: qemu+ssh://root@%(host)s/system
49 # Note that you must allow passwordless root ssh access (eg.
52 host = ham0.home.annexia.org
53 mac = 74:d4:35:55:85:3f
54 #uri = qemu+ssh://root@%(host)s/system
56 host = ham1.home.annexia.org
57 mac = 74:d4:35:51:ab:86
58 #uri = qemu+ssh://root@%(host)s/system
60 host = ham2.home.annexia.org
61 mac = 74:d4:35:55:82:96
62 #uri = qemu+ssh://root@%(host)s/system
64 host = ham3.home.annexia.org
65 mac = 74:d4:35:55:84:b4
66 #uri = qemu+ssh://root@%(host)s/system