cluster.conf 구조

Basic configuration

cluster.conf|

<cluster name="mycluster" config_version=1">
  <clusternodes>
    <clusternode name="node01" nodeid=1">
      <fence>
      </fence>
    </clustercode>
    <clusternode name="node02" nodeid=2">
      <fence>
      </fence>
    </clustercode>
    <clusternode name="node03" nodeid=3">
      <fence>
      </fence>
    </clustercode>
  <clusternodes>
  <fencedevices>
  </fencedevices>   
  <rm>      
  </rm>      
</cluster>

Basic Two-Nodes Configuration
cluster.conf|

<cluster name="mycluster" config_version="2">
   <cman two_node="1" expected_votes="1"/>
   <clusternodes>
     <clusternode name="node01" nodeid="1">
         <fence>
         </fence>
     </clusternode>
     <clusternode name="node02" nodeid="2">
         <fence>
         </fence>
     </clusternode>
   </clusternodes>
   <fencedevices>
   </fencedevices>
   <rm>
   </rm>
</cluster>