Sunday, March 01, 2009

Updated cluster.conf Format

I'm faced with having to R&D a cluster on my own equipment, which I'm proud to say is rather up to date, and take the configuration and migrate it into a customer site that is, well, not so current. Another issue I have to deal with is ensuring that the tools they have can maintain the cluster going forward. Thus, it has to be as generic as possible. Here's an updated version of cluster.conf which seems to work with GFS and the sys-con cluster tool:
<?xml version="1.0" ?>
<cluster config_version="3" name="clust">
<fence_daemon post_fail_delay="0" post_join_delay="3"/>
  <clusternode name="gfs1" nodeid="1" votes="1">
  <clusternode name="gfs2" nodeid="2" votes="1">
<cman expected_votes="1" two_node="1"/>
  <fencedevice agent="fence_xvm" name="fence_vmx"/>
The big difference is the format of the fence lines. From a pure XML standpoint, it is a strange config.

No comments:

Post a Comment