LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-22-2011, 02:38 PM   #1
rodrigoroma
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Rep: Reputation: 0
Heartbeat dont start automatically on boot-up


Hi, I have configured heartbeat+DRBD on a SLES10 SP3 cluster and that's working fine except when both nodes are down and I turn on only one node. When this happens, the heartbeat don't starts automatically (the service status says it's unused, so the services, IP address and partition don't start automatically too).
I can turn on the heartbeat manually (service heartbeat start) and get the services, ip address and partition initialized too, but I'd like to make it starts automatically because it's possible to have one node broken and the person that will turn on the other node can forget to manually starts the service.

-When the heartbeat is unused on the first node and I turn on the second node, the heartbeat on the first node starts automatically and everything is fine.
-The command "chkconfig heartbeat on" was executed.

Thanks!
 
Old 03-22-2011, 03:56 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
What is the output of chkconfig --list | grep -i heartbeat?

If there is no output you may need to do a checkconfig --add heartbeat before chkconfig heartbeat on.

Regards,

Alunduil
 
Old 03-23-2011, 07:14 AM   #3
rodrigoroma
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
The output is:

Code:
heartbeat 0:off 1:off 2:off 3:on 4:off 5:on 6:off
So I think it's ok... What else can I do?
 
Old 03-23-2011, 07:29 AM   #4
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
It looks like it should start but just to be certain what's your defualt runlevel and is it possible to reboot as a test?

Regards,

Alunduil
 
Old 03-23-2011, 10:22 AM   #5
rodrigoroma
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
The default runlevel is 3 and I have already rebooted a lot of times.
 
Old 03-23-2011, 12:08 PM   #6
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Is there anything in the log showing why it's failing? Also, does it start normally when you issue /etc/init.d/heartbeat restart?

Regards,

Alunduil
 
Old 03-29-2011, 12:47 PM   #7
rodrigoroma
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
After turning on the server, there's nothing new in the log.

Code:
cnab-1:/var/log # service heartbeat start
Starting High-Availability services2011/03/29_12:55:43 INFO:  Resource is stopped
heartbeat: udpport setting must precede media statementsheartbeat[4430]: 2011/03/29_12:55:43 WARN: Core dumps could be lost if multiple dumps occur.
heartbeat[4430]: 2011/03/29_12:55:43 WARN: Consider setting non-default value in /proc/sys/kernel/core_pattern (or equivalent) for maximum supportability
heartbeat[4430]: 2011/03/29_12:55:43 WARN: Consider setting /proc/sys/kernel/core_uses_pid (or equivalent) to 1 for maximum supportability
heartbeat[4430]: 2011/03/29_12:55:43 info: Version 2 support: false
heartbeat[4430]: 2011/03/29_12:55:43 WARN: Logging daemon is disabled --enabling logging daemon is recommended
heartbeat[4430]: 2011/03/29_12:55:43 info: **************************
heartbeat[4430]: 2011/03/29_12:55:43 info: Configuration validated. Starting heartbeat 2.1.4
                                                                      done
Remember that the heartbeat in the primary server starts automatically when I turn on the second one (and vice-versa).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba dont start automatically after restart due to poweroff capricorn80 Linux - Server 2 12-11-2006 07:49 AM
ath0 does not start automatically at boot angryfirelord Fedora 3 11-05-2006 12:37 PM
could not start Ksmserver (kde dont boot) master Linux - Software 3 12-24-2005 07:40 PM
linux dont start and cant boot from Win98 or XP CD? zeejdeej Linux - Laptop and Netbook 12 09-19-2004 10:49 AM
How do I start programs automatically with boot up? Kasperisa Linux - Newbie 6 07-15-2004 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration