app to broadcast availability to ethernet?


 
Thread Tools Search this Thread
Special Forums IP Networking app to broadcast availability to ethernet?
# 1  
Old 04-14-2009
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  
Old 04-14-2009
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  
Old 04-14-2009
Pludi, you are awesome. Thanks for that.
# 4  
Old 04-14-2009
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 06:06 PM.. Reason: Wrong prompt
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App

With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here: ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies

2. AIX

Broadcast on AIX

hello how to disable brodcast from AIX 5.3 ? user get on workstation massage from root thx (3 Replies)
Discussion started by: ariec
3 Replies

3. Shell Programming and Scripting

script broadcast email

Dear All need advice, I just want broadcast email with mail from shell script, where the script look up the file that contain email address and password #!/bin/bash SUBJECT="Mailserver Baru" ISIEMAIL="/tmp/emailmessage.txt" for a in `(sed 's/"//g;s/\,.*//g' $1)`; do echo > $ISIEMAIL... (2 Replies)
Discussion started by: survive
2 Replies

4. AIX

vio server ethernet to vio client ethernet(concepts confusing)

Hi In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID. Similarly how does the vio client partition gets the virtual ethernet scsi client adapter... (1 Reply)
Discussion started by: newtoaixos
1 Replies

5. IP Networking

how to do udp broadcast with multithreading

hello to all i want to use multithreading to my UDP broadcast server client program. will anyone help me by proving C code. i am working in fedora. also my requirement is POSIX compliance.please help me..... (0 Replies)
Discussion started by: moti12
0 Replies

6. Programming

How to broadcast a message ?

My problem definition is ,I have to send a message from one node in a network and it has to be broadcasted to all other nodes in the network.The program what I have given below will be running in all the nodes in the network.The same program should be capable of sending(broadcasting) and receiving.... (0 Replies)
Discussion started by: vigneshinbox
0 Replies

7. UNIX Desktop Questions & Answers

broadcast

Can anybody hellp me troubleshoot this error. Using HP-Uxix B.10.X " *****ARPA/9000 NETWORKING***** Mon Jun 30 SAT 2003 20:18:12.xxxxxxx DISASTER Subsys: NS_LS_PROBE LOC:01001 Network NS_LS_PROBE DISASTER 1001, pid arp: ether address is broadcast for IP address zzzzzzz! " where... (1 Reply)
Discussion started by: SEB
1 Replies

8. Programming

How to broadcast in Unix machine

How can I broadcast in a lonely Unix machine . One process can inform other processes in the same machine that something happened . Do not inform these processes one after another in a loop.You should inform other process whthin only one instuction. (1 Reply)
Discussion started by: chenhao_no1
1 Replies

9. UNIX for Dummies Questions & Answers

broadcast email???

Hi all, How can i send email to all the users on a box? Thank you all (1 Reply)
Discussion started by: solvman
1 Replies

10. IP Networking

broadcast address

What is the significance of the broadcast address? (1 Reply)
Discussion started by: 98_1LE
1 Replies
Login or Register to Ask a Question