RE: Heartbeat fails to start any resources in haresources
"Andersson Mattias" <[email protected]> Thu, 10 Aug 2006 08:52:55 +0200
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
As far as I can see you only have one node configured in your cluster. I can't recall actually read it somewhere but I am quite certain heartbeat will not run with only one node(at least not heartbeat 1), and I don't think it will complain either, it will simply just not work. It doesn't make much sense running a one node cluster, does it? Well, if you only want to play around a little you can foul heartbeat and configure an other imaginary node in you config. When you have fixed this notice that you have a quite long initdead-time to, and hearbeat does not start your resources until that time have elapsed or all nodes are up so that they can decide the preferred master should have them. ( Regarding you haresource script you should think about this to: http://www.linux-ha.com/FAQ#head-3efa3f8e6266f55da131fed33f7f580edd95d4b 9 But you didn't make that wrong now, keep it in mind anyway. ) > -----Original Message----- > From: [email protected] [mailto:ultramonkey-users- > [email protected]] On Behalf Of Melvin Harmon > Sent: Thursday, August 10, 2006 1:06 AM > To: [email protected] > Subject: Heartbeat fails to start any resources in haresources > > I'm trying to get heartbeat running on a single server (srv00). > I'm running heartbeat 1.2.3 on debian sarge. (I have tried 1.2.3_cvs as > well.) > > When I '/etc/init.d/heartbeat start' two things _don't_ happen: > > 1) None of the services in haresources are started. > Heartbeat looks at haresources and will complain if resource script > doesn't exist, but > none of the resource scripts are actually run. > > 2) No output is written to /var/log/ha-debug, but output is written ton > /var/log/ha-log > > But when I run 'heartbeat stop' all the resources in haresources are > 'stop'ped and output is > written to /var/log/ha-debug. > > Any ideas on why my resources aren't being 'start'ed? > > thanks, > -m > > Here is my ha.cf: > ----------------------------- > debugfile /var/log/ha-debug > logfile /var/log/ha-log > logfacility local0 > keepalive 1 > deadtime 30 > warntime 6 > initdead 250 > udpport 699 > bcast bond0 > auto_failback on > node srv00 > > Here is my haresources > ------------------------------- > srv00 echodate > > (echodate: date >> /var/log/syslog) > > This is the output from 'heartbeat start' > ------------------------------------------------------------- > Aug 9 14:21:55 srv00 heartbeat[5333]: info: ************************** > Aug 9 14:21:55 srv00 heartbeat[5333]: info: Configuration validated. > Starting heartbeat 1.2.3 > Aug 9 14:21:55 srv00 heartbeat[5334]: info: heartbeat: version 1.2.3 > Aug 9 14:21:55 srv00 heartbeat[5334]: info: Heartbeat generation: 4 > Aug 9 14:21:55 srv00 heartbeat[5334]: info: UDP Broadcast heartbeat > started on port 699 (699) > interface bond0 > Aug 9 14:21:55 srv00 heartbeat[5334]: info: pid 5334 locked in memory. > Aug 9 14:21:55 srv00 heartbeat[5334]: info: Local status now set to: > 'active' > Aug 9 14:21:55 srv00 heartbeat[5334]: info: Local status now set to: 'up' > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > -- > Ultra Monkey - http://www.ultramonkey.org/ > To UNSUBSCRIBE, email to [email protected], with a body: > unsubscribe ultramonkey-users [email protected] > where "[email protected]" is YOUR email address. > > -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.