[DRBD-user] DRBD Multiple Resources and Heartbeat

Andres E. Rodriguez Lazo andreserl at gmail.com
Sat Apr 5 08:29:43 CEST 2008

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


Hi all!!

Well i have been trying to install DRBD8 with 2 resources managed by
Heartbeat. The first resources is for NFS and the Second One for MySQL.
If i make them work independently they work just fine, but when i try to
make them work the two at the same they, some errores are showed at the
syslog and the primary node reboots, then the secondary node takes over, and
after a few secs it reboots and so on...

Any Ideas related to this?

*My drbd.conf*
resource webdata {
 protocol C;
 #incon-degr-cmd "halt -f";
 startup {
    degr-wfc-timeout 120;    # 2 minutes.
 }
 disk {
    on-io-error   detach;
 }
 net {
 }
 syncer {
    rate 10M;
    #group 1;
    al-extents 257;
 }
 on datos1.tesisandres.pe {
   device     /dev/drbd0;
   disk       /dev/sda8;
   address    192.168.0.98:7789;
   meta-disk  /dev/sda7[0];
 }
 on datos2.tesisandres.pe {
   device    /dev/drbd0;
   disk      /dev/sda8;
   address   192.168.0.99:7789;
   meta-disk /dev/sda7[0];
 }
}

resource mysql {
protocol C;

on datos1.tesisandres.pe {
device /dev/drbd1;
disk /dev/sda9;
address 192.168.0.98:7788;
meta-disk internal;
}

on datos2.tesisandres.pe {
device /dev/drbd1;
disk /dev/sda9;
address 192.168.0.99:7788;
meta-disk internal;
}
disk {
on-io-error detach;
}
net {
max-buffers 2048;
ko-count 4;
}
syncer {
rate 10M;
#group 1;
al-extents 257;
}
startup {
wfc-timeout 0;
degr-wfc-timeout 120;
}
}

*My haresources*
datos1.tesisandres.pe  IPaddr::192.168.0.100/24/eth0 drbddisk::webdata
drbddisk::mysql Filesystem::/dev/drbd0::/data::ext3
Filesystem::/dev/drbd1::/data::ext3 nfs-kernel-server mysql

thanks for your help
-- 
Andres E. Rodriguez Lazo (4nDr3s - RoAkSoAx)
Ubuntu Counter Project - User # 17582
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080405/a09c15a3/attachment.htm>


More information about the drbd-user mailing list