Hello all,

I'm facing a problem with drbd and heartbeat. When the master node is
powered off, the secondary node stays in a secondary state. It does not
want to become primary. It says that the other pear is primary, but it
is dead!

I'm using drbd (0.7.2 from source) and heartbeat (1.2.0 from RPM) works
well on a 2.6.8.1 kernel (source) on a FEDORA CORE 2. They work
well manually (heartbeat restart) or with the hb_standby command :
services go well to the other node (2 nodes cluster). DRBD works well in
such a context. But, when the power goes off on the primary node, the
drbddisk script, launched by heartbeat to switch the node from secondary
to primary state, can not switch DRBD to the primary state. The survival
node stays in the secondary state. So, my data partition cannot be
mounted. So, some services which rely on that partition cannot get up.

It seems that the remainning node "thinks" that the primary node (which
is dead!) is still in primary state and so, does not want to become
primary. Please, tell me a bit about this.
So, when a node crashes completely, how the other node be able to become
primary and so, be able to mount my partition in a read-write mode?

Thanks for a bit help.

here is my drbd.conf file for both nodes

resource r0 {
 protocol B;

startup {
wfc-timeout 0;
degr-wfc-timeout 120;
}

disk {
   on-io-error detach;
}

net {
  timeout 60;
  connect-int 10;
  ping-int 10;
  max-buffers 2048;
  max-epoch-size 2048;
  ko-count 4;
  on-disconnect reconnect;
}

syncer {
  rate 10M;
  group 1;
  al-extents 257;
}

on pumbaa {
  device  /dev/drbd0;
  disk    /dev/hda2;
  address  10.11.12.2:7788;
  meta-disk internal;
}
on simba {
  device  /dev/drbd0;
  disk    /dev/hda2;
  address  10.11.12.1:7788;
  meta-disk internal;
}
}

When drbd starts on primary node, /dev/drbd0 will be mounted into /data mount 
point. Upon testing, my secondary doesn't mount at all and can't switch into 
primary state. Is there anything wrong with my config? 

Thanks



-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to