Hello everybody,
this is my first post to this list, and I really need your help.
It's two days since I'm looking over different forum for an answer but I can't
succeed in and google seems not to be my friend on that issue.
Here is my problem description.
I'm running two virtual machine (kvm) hosting ubuntu server 10.04 and I want
them to be configured as a cluster (drbd + heartbeat). First machine is named
configvm1 (192.168.1.101) and the second one is configvm2 (192.168.1.102)
drbd seems to work based on the logs but I'm not an expert at all and I can't
succeed in looking at the shared directory in the secondary node (which seem to
normal in a primary/.Secondary configuration).
Anyway I will have this answered as soon as I will be able to make heartbeat
working and manage drbd daemon.
Currently I'm stuck at the beginning because I can't attach a virtual IP
address on my NIC at the start of hearbeat.
Anyway if I launch the command manually (here after) there is no problem and I
can ping it from both nodes.
"sudo sh /etc/heartbeat/resource.d/IPaddr2 192.168.1.100 start"
but if I simply start heartbeat, I always receive:
Starting High-Availability services: IPaddr2[6687]: INFO: Resource is stopped
Done.
here are my conf files:
haresources file:
configvm1 IPaddr2::192.168.1.100 drbddisk::disk0 dhcp3-server
ha.cf file:
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
autojoin none
auto_failback on
bcast eth0
warntime 5
keepalive 1 #ping each other every second (60 heartbeats / minute)
deadtime 10 #declaring a node dead after this timedelay without any
heartbeat
initdead 10
node configvm1
node configvm2
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems