473,396 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Cluster Node Auto Discovery

Hi Everyone,

I have written a specialized server in python and now I wish to look
at making it scalable. To do this I wish to include automatic
discovery of peer nodes operating on my network. Can anyone provide me
a pointer as to how I do such a thing? By how to do it I mean how does
something like that work at the network level?

ping scan the ip range?
some sort of broadcast packet?
udp request to entire ip range?

I am not asking for code just how is something like that typically
done?
Jul 18 '05 #1
2 3411
On Tue, Jul 22, 2003 at 11:18:26PM -0700, Codepunk wrote:
Hi Everyone,

I have written a specialized server in python and now I wish to look
at making it scalable. To do this I wish to include automatic
discovery of peer nodes operating on my network. Can anyone provide me
a pointer as to how I do such a thing? By how to do it I mean how does
something like that work at the network level?

ping scan the ip range?
some sort of broadcast packet?
udp request to entire ip range?

I am not asking for code just how is something like that typically
done?


Take a look at Rendezvous (http://developer.apple.com/macosx/rendezvous/)
and Zeroconf (http://www.zeroconf.org/)

Jp

Jul 18 '05 #2
co******@codepunk.com (Codepunk) wrote in message news:<f1*************************@posting.google.c om>...

I have written a specialized server in python and now I wish to look
at making it scalable. To do this I wish to include automatic
discovery of peer nodes operating on my network. Can anyone provide me
a pointer as to how I do such a thing? By how to do it I mean how does
something like that work at the network level?

ping scan the ip range?
some sort of broadcast packet?
udp request to entire ip range?

I am not asking for code just how is something like that typically
done?


It depends on what you mean by "peer nodes". Do you mean *any* node
in your local network? Or do you mean other nodes running your
software?

If the former, ping scanning would probably be sufficient. You might
want to make use of the nmap tool (http://www.insecure.org/nmap/) to
simplify the job.

However, if by "peer nodes" you mean only other nodes running your
software, you might want to use Service Location Protocol (SLP,
defined by RFC 2608). Take a look at OpenSLP
(http://www.openslp.org/) for an open source implementation. There's
a Python wrapper (available in the "misc" directory of the
distribution, IIRC) which works quite well, and which condenses all
the C code to a .so for use by Python. The advantage there is that
you don't need to distribute the entire OpenSLP package separately,
you only need to distribute the Python OpenSLP code itself (which can
easily be turned into a tarball via "python setup.py bdist").
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Cobra Pilot | last post by:
I inherited a SQL 2000 Enterprise active/passive cluster under AS. Both nodes run on identical HP DL580's with 4 Xeon processors and 8GB memory. The former dba attempted to setup AWE memory but...
1
by: gotdough | last post by:
Cluster services gives the high availability needed - that is great. But I have never seen any discussion about what happens when a node fails - what do you do to get everything back to the...
1
by: Walter | last post by:
Dear all, i am planing to implement a Windows 2003 Cluster with MS SQl 2000 Enterprise Edition. I have 2 Nodes (4 * XEON MP Processors) with 8 GB RAM per Node. I have the need for 6 SQL...
0
by: davidb999 | last post by:
I'd appreciate any help/suggestions you people working with MySql cluster can offer. I'm hoping MySql Cluster can help us with a high volume need. Our needs are (at max load) 10M Million...
5
by: uspensky | last post by:
We are trying to setup a system to system failover cluster using two nodes (x346) which each have a single hba running to seperate controllers on the DS400. For full redundnancy, IBM recommends...
3
by: John A Grandy | last post by:
Could someone explain exactly how RSS auto-discovery works ? Thanks.
3
by: Simon | last post by:
Hi All, I'm hoping someone will have some words of wisdom for me regarding MS Clustering on Windows 2003. I have a service that runs on a cluster. During invocation it's supposed to...
3
by: Bruno LIVERNAIS | last post by:
Hi, We are currently installing a DB2 V9 ESE on a Linux server (RHEL4U4-x86_64). Installation runs successfully on each node. Database user environment is OK and the instance is well created. To...
1
by: snomad | last post by:
Hi all, I had a node failure and rebuild on a sql server 2005 2 node cluster. the server has been rebuilt with new os. i evicted then re-added the rebuilt node via cluster administrator. i...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.