Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Mon, Aug 27, 2007 at 09:09:54AM +0300, Michael Tewner wrote: > Perhaps you're not using the correct hostnames in the Heartbeat and > drbd configuration files. These programs are both quite picky over > nodenames - > drbd needs the uname -n (I think) as nodename. > I don't remember what Heartbeat needs - proably the same. > > > On 8/24/07, Steven <drbd at savetimehosting.com> wrote: > > Hi, > > > > I RTFM many times and googled most uncovered issues BUT there must be > > some missing vital link in it. > > > > 1. The drdb init script loads drbd module and does a bit more BUT it > > doesn't decide about its role (primary or secondary); that sounds ok as > > it should be heartbeat's task (and I assume that it will issue the right > > commands to drbd) so my question is: what config file is the one > > responsible for bringing the proper ip address up on the secondary node? > > > > Logically it should be the /etc/drbd.conf file as the doc only mention > > that one service ip should be listed in the /etc/ha.d/haresource file: > > > > joe drbddisk::r0 Filesystem::/dev/drbd0::/var/lib/mysql::ext3 192.168.99.1 mysql > > > > > > My problem is that heartbeat do NOT bring up the ip for it > > (192.168.99.2) and cannot sync. > > Am I missing something obvious not mentioned in the documentation (the > > missing link) ? > > > > on node1 { > > device /dev/drbd0; > > disk /dev/sda1; > > address 192.168.99.1:7788; #service address brought up by heartbeat (on node1) > > meta-disk /dev/sdb1[0]; > > } > > on node2 { > > device /dev/drbd0; > > disk /dev/sda1; > > address 192.168.99.2:7788; #service address THAT SHOULD BE BUT IS NOT brought up by heartbeat (on node2) drbd replicates over tcp. it needs the ip to be there. always. you do not replicate over some "service" adress, normally. you replicate over some static ip on a dedicated replication link. -- : Lars Ellenberg Tel +43-1-8178292-0 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Vivenotgasse 48, A-1120 Vienna/Europe http://www.linbit.com : __ please use the "List-Reply" function of your email client.