[DRBD-user] Split Brain detected

Eugene Shlyapkin e.shlyapkin at gmsu.ua
Fri Oct 23 14:19:57 CEST 2009

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


Hello everybody

 

I have three nodes.

Aps-1 has app recourse

Aps-2 has mysql recourse

Aps-3 has app and mysql resources

 

As I founded that Split Barain has take place.

Please see status the drbd  status:

 

sudo /etc/init.d/drbd status

drbd driver loaded OK; device status:

version: 8.0.14 (api:86/proto:86)

GIT-hash: bb447522fc9a87d0069b7e14f0234911ebdab0f7 build by phil at fat-tyre, 2008-11-12 16:40:33

m:res    cs         st                   ds                 p  mounted  fstype

0:app    Connected  Secondary/Secondary  UpToDate/UpToDate  C

1:mysql  Connected  Secondary/Secondary  UpToDate/Diskless  C

 

May be anybody can help me to solve this problem?

 

My drbd.conf for aps-3 is:

 

global {

    usage-count yes;

}

resource app {

  protocol C;

  handlers {

      pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt -f";

      pri-lost-after-sb "echo o > /proc/sysrq-trigger ; halt -f";

      local-io-error "echo o > /proc/sysrq-trigger ; halt -f";

      outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater -t 5";

 }

  startup {

     wfc-timeout  30;

     degr-wfc-timeout 120;    # 2 minutes.

  }

  disk {

   on-io-error pass_on;

 

 }

  net {

}

  syncer {

    rate 20M;

    al-extents 257;

  }

  on aps-3 {

    device     /dev/drbd0;

    disk       /dev/sda9;

    address    10.11.4.3:7788;

    meta-disk  internal;

 }

  on aps-1 {

    device     /dev/drbd0;

    disk       /dev/sda8;

    address    10.11.4.4:7788; #   flexible-meta-disk  internal;

    meta-disk  internal;

 }

}

 

resource mysql {

  protocol C;

  handlers {

  pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt -f";

  pri-lost-after-sb "echo o > /proc/sysrq-trigger ; halt -f";

  local-io-error "echo o > /proc/sysrq-trigger ; halt -f";

  outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater -t 5";

  }

  startup {

  wfc-timeout         30;  ## Infinite!

  degr-wfc-timeout  120;  ## 2 minutes.

  }

  disk {

   on-io-error pass_on;

  }

  net {

  }

  syncer {

      rate 200M;

      al-extents 257;  }

 

  on aps-2 {

    device     /dev/drbd1;

    disk       /dev/sda10;

    address    10.11.4.5:7789;

    meta-disk  internal;

  }

 

  on aps-3 {

    device      /dev/drbd1;

    disk        /dev/sda10;

    address     10.11.4.3:7789;

    meta-disk   internal;

  }

}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20091023/82081648/attachment.htm>


More information about the drbd-user mailing list