Ignore:
Timestamp:
Dec 28, 2009, 3:24:33 AM (15 years ago)
Author:
quentin
Message:

Configure fence_manual fencing

Location:
trunk/packages/invirt-cluster-config
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-cluster-config/cluster.conf.mako

    r2023 r2799  
    33%>\
    44<?xml version="1.0"?>
    5 <cluster name="invirt" config_version="1">
     5<cluster name="invirt" config_version="2">
    66% if len(cfg.hosts) == 2:
    77  <cman two_node="1" expected_votes="1" />
     
    1111  <clusternodes>
    1212% for id, host in enumerate(cfg.hosts):
    13     <clusternode name="${host.hostname.split('.')[0]}-internal" nodeid="${id + 1}" />
     13    <clusternode name="${host.hostname.split('.')[0]}-internal" nodeid="${id + 1}">
     14      <fence>
     15        <method name="single">
     16          <device name="human" nodename="${host.hostname.split('.')[0]}-internal"/>
     17        </method>
     18      </fence>
     19    </clusternode>
    1420% endfor
    1521  </clusternodes>
     22  <fencedevices>
     23    <fencedevice name="human" agent="fence_manual"/>
     24  </fencedevices>
    1625</cluster>
  • trunk/packages/invirt-cluster-config/debian/changelog

    r2269 r2799  
     1invirt-cluster-config (0.0.11) unstable; urgency=low
     2
     3  * Configure a fence_manual fencing device, to allow nodes
     4    to be properly fenced
     5
     6 -- Quentin Smith <quentin@mit.edu>  Mon, 28 Dec 2009 03:15:08 -0500
     7
    18invirt-cluster-config (0.0.10) unstable; urgency=low
    29
Note: See TracChangeset for help on using the changeset viewer.