LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-15-2010, 05:38 PM   #1
Uday123
Member
 
Registered: Nov 2005
Posts: 80

Rep: Reputation: 15
Linux clustering with Heartbeat


Hi,

I have configured 2-node Linux cluster with heartbeat for samba(smb) service.
Both the nodes (node 1 and node 2) are giving the cluster IP (virtual IP) for 'ifconfig' command etho:0. When I access the file share, it is working and accessing the recently started heartbeat server. for example if I start heartbeat on node 1 and then on node2... Then node 2 samba shares are visible. If I stop the Node2 heartbeat service, then nothing is coming up though node 1 is already in running status (until I restart the heartbeat on node1, if want to see node1 shares).

Why both the nodes are showing virtual IP (ifconfig command -- eth0:0)?
Please guide me.

Last edited by Uday123; 02-15-2010 at 05:40 PM.
 
Old 02-17-2010, 06:07 AM   #2
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
What are you saying? Both your nodes show the service IP?

Post your /etc/ha.d/ha.cf and /etc/ha.d/haresources, and your Samba config file too, just for checking
 
Old 02-17-2010, 06:55 AM   #3
Uday123
Member
 
Registered: Nov 2005
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks HasC.

I figured it out the issue. The problem is my crossover cable IP's are not communicating each other and hence both the nodes are acting independent. Updated the ha.cf (bcast,ucast directives) with normal IP's and everything is OKEY now. Heartbeat is working fine.
 
  


Reply



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
Linux Clustering IDarkISwordI Linux - Networking 4 12-11-2015 04:29 PM
Linux Clustering - How to scollura Linux - Networking 1 06-30-2007 12:58 AM
linux-HA heartbeat question groovin Linux - Networking 3 01-29-2004 12:15 PM
Linux Clustering pdxbenjamin Linux - Hardware 3 12-28-2003 03:33 PM
linux clustering pravash Linux - Networking 1 10-18-2003 12:05 AM

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

All times are GMT -5. The time now is 07:07 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