[Linux-cluster] Starting two-node cluster with only one node

Abed-nego G. Escobal, Jr. abednegoyulo at yahoo.com
Thu Jul 16 02:46:24 UTC 2009


Using the config file below

<?xml version="1.0"?>
<cluster name="GFSCluster" config_version="5">
<cman expected_votes="1" two_node="1"/>
  <clusternodes><clusternode name="node01.company.com" votes="1" nodeid="1"><fence><method name="single"><device name="node01_ipmi"/></method></fence></clusternode><clusternode name="node02.company.com" votes="1" nodeid="2"><fence><method name="single"><device name="node02_ipmi"/></method></fence></clusternode></clusternodes>
  <fencedevices><fencedevice name="node01_ipmi" agent="fence_ipmilan" ipaddr="10.1.0.5" login="root" passwd="********"/><fencedevice name="node02_ipmi" agent="fence_ipmilan" ipaddr="10.1.0.7" login="root" passwd="********"/></fencedevices>
  <rm>
    <failoverdomains/>
    <resources/>
  </rm>
</cluster>

Is it possible to start the cluster by only bringing up one node? The reason why I asked is because currently bringing them up together produces a split brain, each of them member of the cluster GFSCluster of their own fencing each other. My plan is to bring up only one node to create a quorum then bring the other one up and manually join it to the existing cluster.

I have already don the start_clean approach but it seems it does not work.


      




More information about the Linux-cluster mailing list