Add 'mclu reboot' command.
[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 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.
33 [nodes]
34 node0 = ham0
35 node1 = ham1
36 node2 = ham2
37 node3 = ham3
38
39 # You need one section per node listed in [nodes].
40 # Possible fields are:
41 #   host
42 #     Hostname or IP address of the node, if omitted it uses the
43 #     node name as the hostname
44 #   mac
45 #     MAC (ethernet) address (only used for wake-on-LAN)
46 #   uri
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.
50 #     using ssh-agent).
51 [ham0]
52 host = ham0.home.annexia.org
53 mac = 74:d4:35:55:85:3f
54 #uri = qemu+ssh://root@%(host)s/system
55 [ham1]
56 host = ham1.home.annexia.org
57 mac = 74:d4:35:51:ab:86
58 #uri = qemu+ssh://root@%(host)s/system
59 [ham2]
60 host = ham2.home.annexia.org
61 mac = 74:d4:35:55:82:96
62 #uri = qemu+ssh://root@%(host)s/system
63 [ham3]
64 host = ham3.home.annexia.org
65 mac = 74:d4:35:55:84:b4
66 #uri = qemu+ssh://root@%(host)s/system