[DRBD-user] problem with heartbaet

Michael Müller michael.mueller at pergis.de
Fri May 21 16:23:04 CEST 2004

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


Hello,

i`ve a question about heartbeat together with drbd. I've installed a system
with two server
(called server51 and server52). They are both installed with suse 9.0
including the packages drbd and heartbeat. In both server are three network
cards installed.
Two of them are connected by an cross-over cable and each one goes to LAN.
The system
is going to be a fileserver in the LAN.

First I've built an mirror with drbd. It is working fine ! Here is my
drbd.conf file:
#
resource drbd0 {
  protocol = B
  fsckcmd  = fsck -p -y
#  disk {
#    do-panic
#    disk-size = 4194304k
#  }
  net {
    sync-min    = 10M
    sync-max    = 50M   # maximal average syncer bandwidth
    sync-nice   = 5
    tl-size     = 5000  # transfer log size, ensures strict write ordering
    timeout     = 60    # 0.1 seconds
    connect-int = 10    # seconds
    ping-int    = 10    # seconds
  }
  on node1 {
    device  = /dev/nb0
    disk    = /dev/hda4
    address = 192.168.0.51
    port    = 7788
  }
  on node2 {
    device  = /dev/nb0
    disk    = /dev/hda4
    address = 192.168.0.52
    port    = 7788
  }

There are no problems with running drbd !

Now I will configure heartbeat. But I've no idea where I've made a mistake.

here are my config files:
#		/etc/ha.d/haresources
#
#
#
Server52 10.0.0.50::datadisk::drbd0 Filesystem::/dev/nb0::smb

#		/etc/ha.d/ha.cf
#
#	server52
#
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility	local0
deadtime 10
# serial /dev/ttyS3
udp	eth1
udp	eth2
thost1 		server51
thost2		server52

#		/etc/ha.d/authkeys
#		02.10.2001
#server52
#
auth 1
1 crc



Perhaps somebody can help. Thank you

Michael





More information about the drbd-user mailing list