X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=mclu.conf;h=b19bfd18e3d39276dfad5eafe11815968423cd56;hb=f04ff0e4216106bb0009438f56d7aca93bd855a2;hp=8ed1c39a00d2b102d3f5c16e16bf4269bcd61701;hpb=8f509fea52826d18df504f18ad0e702f54320f48;p=mclu.git diff --git a/mclu.conf b/mclu.conf index 8ed1c39..b19bfd1 100644 --- a/mclu.conf +++ b/mclu.conf @@ -1,66 +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 +# mclu: Mini Cloud +# Configuration file. -# 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 nodes section lists all nodes. The keys don't need to be -# sequential, but must start with 'node'. The values are the short -# names of the nodes. If a node goes out of service permanently, you -# can just comment it out here. [nodes] -node0 = ham0 -node1 = ham1 -node2 = ham2 -node3 = ham3 - -# You need one section per node listed in [nodes]. -# Possible fields are: -# host -# Hostname or IP address of the node, if omitted it uses the -# node name as the hostname -# mac -# MAC (ethernet) address (only used for wake-on-LAN) -# uri -# Libvirt URI used to access the remote libvirt daemon running -# on the node. The default is: qemu+ssh://root@%(host)s/system -# Note that you must allow passwordless root ssh access (eg. -# using ssh-agent). -[ham0] -host = ham0.home.annexia.org -mac = 74:d4:35:55:85:3f -#uri = qemu+ssh://root@%(host)s/system -[ham1] -host = ham1.home.annexia.org -mac = 74:d4:35:51:ab:86 -#uri = qemu+ssh://root@%(host)s/system -[ham2] -host = ham2.home.annexia.org -mac = 74:d4:35:55:82:96 -#uri = qemu+ssh://root@%(host)s/system -[ham3] -host = ham3.home.annexia.org -mac = 74:d4:35:55:84:b4 -#uri = qemu+ssh://root@%(host)s/system +# 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