The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to broadcast a message ? vigneshinbox High Level Programming 0 04-07-2009 12:59 AM
Why UDP broadcast don't run? konvalo UNIX for Advanced & Expert Users 2 12-14-2008 07:43 PM
broadcast SEB UNIX Desktop for Dummies Questions & Answers 1 07-08-2003 10:40 AM
Broadcast IP Address PBNOSGT IP Networking 4 03-11-2002 09:43 PM
broadcast address 98_1LE IP Networking 1 02-06-2001 02:54 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-14-2009
sneakyimp sneakyimp is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 14
app to broadcast availability to ethernet?

I'm working on a queue manager type application. I'd like to be able to delegate a large job constituted of many smaller task to a handful (or potentially dozens) of commodity linux machines on a LAN. It is quite likely this LAN will be ethernet but it might end up being Fibre Channel or Infiniband. I expect I'll be using TCP for all communication between nodes because it's been implemented on all of these network technologies and results in reliable, point-to-point data transmission.

HOWEVER -- and this is the real question here -- I'd like to be able to attach a new machine to the network and have it notify the other machines that it is available to work on these tasks. At the very least it must notify the queue manager. I know how this would be done if the new node was aware which ip was the queue manager or if the queue manager knows the network address of the new node. Is there a way to do it without specifically apprising the computers of each other's presence? I.e., can they just 'find each other' ?
  #2 (permalink)  
Old 04-14-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,788
The most simple way I can think of has exactly one manager on any given LAN segment. Upon power-up, the client then sends a gratuitous ARP packet, announcing it's presence.

On a related note, you might be interested in some of the software and protocols used to build a Beowulf cluster
  #3 (permalink)  
Old 04-14-2009
sneakyimp sneakyimp is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 14
Pludi, you are awesome. Thanks for that.
  #4 (permalink)  
Old 04-14-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,788
Glad to be of help.

What I forgot to mention is that the Linux arping utility can send such an packet, eg
Code:
# arping -U 192.168.1.5
will tell the other devices on the segment that your IP is 192.168.1.5. It's open source, so you can take a few pointers off it, or use it directly from some script.

Last edited by pludi; 04-14-2009 at 05:06 PM.. Reason: Wrong prompt
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:42 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0