suse 9 drbd and heartbeat

From: jampier (jamp28_at_hotmail.com)
Date: 01/27/05


Date: 27 Jan 2005 11:26:52 -0800

Hello There.

I'm having some problems with drbd and I'm not sure if I'm setting it
right.

I have donwload rpm for drbd 0.7.5 and kernel path for suse 9
enterprise.

drbd seem to connect with the second server and heartbeath keep the
right server as primary.

My problem is, I can't mount the partition on the primary server having
drbd running. once I do ./drbd stop, I'm allow to mounted.

uname -a
Linux 2.6.5-7.139-smp

drbd version 0.7.5 (api:77/proto:74)

node1 had a partition /hda11 like ext3
node2 had a partition /hda10 like ext3

boths server are talking with each other trough ssh, ping, and drbd
show as connected and ld: consistent, heartbeat working fine.

The only why to force the sync is doing:

drbdadm invalidate_remote drbd0 (from primary). other wise, beside
connection, there is no sync.

once sync and ./drbd stop on secondary server, after mount /dev/hda10
on /mnt I'm able to see data that was replicated.

resource drbd0 {

protocol C;

#incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ;
halt -f";

startup {
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;

}

syncer {
rate 100M;
group 1;
al-extents 257;

}

on node1 {
device /dev/drbd0;
disk /dev/hda11;
address 192.168.50.51:7788;
meta-disk internal;

}

on node2 {
device /dev/drbd1;
disk /dev/hda10;
address 192.168.50.52:7788;
meta-disk internal;

}
}

Here is mi /etc/ha.d/haresource
node1 192.168.1.114 drbddisk::drbd0 apache2 smb

Any clues? I'm using binary from a suse mirror web site since the
version coming with suse CD was updated after a online update and and
fail to run after update the kernel, something like the kernel version
and program version mismatch. This seem to be resolved be apply the
new rpm.

If I do have to do something with the kernel, could you explain it step
by step seem I'm not a kernel savvis.

Thanks a lot.

Jamp.



Relevant Pages

  • Re: SuSE 9.2 - impressed, just two problems - NFS and X multihead
    ... The installation went smooth, no problems. ... My laptop used to work with SuSE 8.0 (I think ... > Is there a way to configure the nfsserver on the server machine to use ... NFS TCP server support was not built into the 2.4 kernel ...
    (alt.os.linux.suse)
  • Re: [SLE] 9.2 and BAD kernel.
    ... > Wouldn't it make sense too run server systems on the SERVER version of ... about the same as a standard SUSE Server. ... The way I look at any distro is that: you have the kernel, ... >>> Check the headers for your unsubscription address ...
    (SuSE)
  • Re: Suse 10 problems - SSH
    ... Sunday evening at 11:01, the server started to ... even get onto the server using SSH or VNC. ... I hope it's just the SUSE Firewall at fault, though that's unlikely; since you can run yast, try to disable the firewall temporarily. ... If there is one, and there still exist appropriate modules for that kernel in /lib/modules, try to boot that kernel instead. ...
    (alt.os.linux.suse)
  • [SLE] NFS file locking problem between SuSE 10 Client and 9.3 server
    ... kernel ). ... The clients are equiped with SuSE 10.0 and the default ... The server log shows the following message: ... Client: Suse Linux 10.0 with Kernel 2.6.13-15-default ...
    (SuSE)
  • [opensuse] Xen +Suse 10/2 +Latitude D820 Howto
    ... Here is how I installed WinXPsp2 (Dell OEM) in Xen Kernel under Suse ... 32-bit and 64-bit installations. ...
    (SuSE)