from invirt.config import structs as cfg
%>\
<?xml version="1.0"?>
-<cluster name="invirt" config_version="1">
+<cluster name="invirt" config_version="2">
% if len(cfg.hosts) == 2:
<cman two_node="1" expected_votes="1" />
% else:
% endif
<clusternodes>
% for id, host in enumerate(cfg.hosts):
- <clusternode name="${host.hostname.split('.')[0]}-internal" nodeid="${id + 1}" />
+ <clusternode name="${host.hostname.split('.')[0]}-internal" nodeid="${id + 1}">
+ <fence>
+ <method name="single">
+ <device name="human" nodename="${host.hostname.split('.')[0]}-internal"/>
+ </method>
+ </fence>
+ </clusternode>
% endfor
</clusternodes>
-</cluster>
\ No newline at end of file
+ <fencedevices>
+ <fencedevice name="human" agent="fence_manual"/>
+ </fencedevices>
+</cluster>
+invirt-cluster-config (0.0.11) unstable; urgency=low
+
+ * Configure a fence_manual fencing device, to allow nodes
+ to be properly fenced
+
+ -- Quentin Smith <quentin@mit.edu> Mon, 28 Dec 2009 03:15:08 -0500
+
invirt-cluster-config (0.0.10) unstable; urgency=low
* Don't delete old LVM archives