suse 9 drbd and heartbeat
From: jampier (jamp28_at_hotmail.com)
Date: 01/27/05
- Next message: Andrew Hecox: "Re: which linux distro for a FreeBSD user looking for something new"
- Previous message: Leonard Evens: "Re: Linux compatible hardware"
- Next in thread: jampier: "Re: suse 9 drbd and heartbeat"
- Reply: jampier: "Re: suse 9 drbd and heartbeat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Andrew Hecox: "Re: which linux distro for a FreeBSD user looking for something new"
- Previous message: Leonard Evens: "Re: Linux compatible hardware"
- Next in thread: jampier: "Re: suse 9 drbd and heartbeat"
- Reply: jampier: "Re: suse 9 drbd and heartbeat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|