Hello all my first post here so be gentle....  :)

I have setup already DRBD and Heartbeat-2 on 2 Debian Etch servers. Primary named Joe secondary named Stewie
DRBD version 8 via apt-get and heartbeat-2 via apt-get version 2.0.7-2

I am using 2 NICS, eth0 which is private for DRBD replication and heartbeat and eth1 used for my real public IP address where outsiders connect to for the services. I am not using heartbeat yet, but i am using drbd, as i am having a trouble getting heartbeat to take over on the secondary server(Stewie). The problem is Apache is dying for some reason... however i would like the other resources to start, such as pop and mail and a couple others.. i figure its better to have only one server dead such as web , rather than all services dead...

My question is, is it possible to have heartbeat ignore a problem when a problem or error occurs starting up a service? As its is hard to troubleshoot a problem when it occurs as heartbeat gives up if it encounters one error....

Also i noticed in the in the ha.cf file ther is a comment that says "# Node name must be same as uname -r."

SO i have "Joe" and "Stewie" as my hostnames but if i do a uname -r on either host i get this in return

2.6.18-6-amd64

Could this be an issue... here are my conf files....


ha.cf file
-------------------------------------
logfacility     daemon        # This is deprecated
keepalive 2                   # Interval between heartbeat (HB) packets.
deadtime 60                   # How quickly HB determines a dead node.
warntime 5                    # Time HB will issue a late HB.
initdead 120 # Time delay needed by HB to report a dead node. udpport 694 # UDP port HB uses to communicate between nodes. #ping 192.168.5.1 # Ping VMware Server host to simulate network resource.
bcast eth0
#baud 115200
#serial /dev/ttyS0              # Which interface to use for HB packets.
coredumps true
auto_failback off # Auto promotion of primary node upon return to cluster.
node    joe      # Node name must be same as uname -r.
node    stewie      # Node name must be same as uname -r.
###
respawn hacluster /usr/lib/heartbeat/ipfail
# Specifies which programs to run at startup

------------------------------------------------------------


haresources  file
------------------------------------------------------
joe IPaddr::xxx.xxx.xxx.150 \
drbddisk::mail Filesystem::/dev/drbd0::/var/mail/virtual::ext3::defaults apache2 mysql ispcp_daemon \ drbddisk::web Filesystem::/dev/drbd1::/var/www::ext3::defaults postfix courier-authdaemon courier-pop courier-imap
----------------------------------------------------------------------------------------------------------------------

Thanks to all for your help and have a great day!

--

Rob Morin
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-4444

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to