[DRBD-user] CLVMD causes split-brain in primary-primary mode

Joe Hammerman jhammerman at videoegg.com
Fri Aug 6 08:42:08 CEST 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Good evening drbd-users list,

We have a pair of VMWare 2.0.1 virtual machines, running CentOS5.5. Drbd rpm's are:

drbd83-8.3.8-1.el5.centos
kmod-drbd83-8.3.8-1.el5.centos

The cluster.conf for the volume is:

<?xml version="1.0"?>
<cluster alias="studio.sacpa" config_version="1" name="studio.sacpa">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="studio102.sacpa.videoegg.com" nodeid="1" votes="1"/>
                <clusternode name="studio101.sacpa.videoegg.com" nodeid="2" votes="1"/>
        </clusternodes>
        <cman expected_votes="1" two_node="1"/>
        <fencedevices/>
        <rm/>
</cluster>

And the drbd.conf is:

global {
  usage-count yes;
}
common {
  protocol C;
}
resource r0 {
  syncer {
    rate 40M;
  }
  startup {
    become-primary-on both;
  }
  net {
    allow-two-primaries;
    after-sb-0pri discard-zero-changes;
    after-sb-1pri discard-secondary;
    after-sb-2pri disconnect;
  }
  on studio101.sacpa.videoegg.com {
    device    /dev/drbd1;
    disk      /dev/sdb1;
    address   10.1.94.131:7789;
    meta-disk internal;
  }
  on studio102.sacpa.videoegg.com {
    device    /dev/drbd1;
    disk      /dev/sdb1;
    address   10.1.94.132:7789;
    meta-disk internal;
  }
}

Split brain is detected immediately after clvmd is started; dmesg has the following data:

/sbin/drbdadm initial-split-brain minor-1

Any feedback or troubleshooting methods are appreciated!


More information about the drbd-user mailing list