Issues.00457 - lordmundi/wikidoctest GitHub Wiki

00457: add doug manager beacon and spy to the EDGE load

« 00456 | Issues | 00458 »

Summary: add doug manager beacon and spy to the EDGE load

Created: 2012–11–20 12:49

Status: Released

Category: Request

From: frankie

Version: 2.2

Released_In: 2.3

Description:

I've heard of some standalone utilities that can be used to advertise via multicast on behalf of a manager (doug_mgr_beacon), and also one that can be used to listen for doug manager advertisements (doug_mgr_spy). This is a request to add these into the edge src.dist area.


Comments

frankie November 20, 2012, at 05:03 PM: These have been added. You can find them under src.dist/scripts/. For linux and mac users, it should be as easy as going into this directory and typing "make" to build the executable assuming you have a basic compile environment available.

The doug_mgr_beacon lets a user advertise on behalf of a doug manager. These advertisements multicast out the connection information for a manager (mainly the IP and port to connect to). If multicast is not available, or if you are trying to tunnel a connection to a manager, this utility can be helpful to point your clients where they should attempt to connect to, as they will see this advertisement as if it came from a manager itself. The arguments to the script are fairly simple, and can be found by running the program with no arguments:

> ./doug_mgr_beacon 
Usage: ./doug_mgr_beacon MC_GROUP MC_PORT MC_TAG TCP_PORT IP_ADDR

The doug_mgr_spy is a utility that can be useful for troubleshooting. It simply listens on a specific multicast group and port and prints out any information it hears on that group/port. This will let you see all dcomm advertisements being multicasted on a network, for example. The usage can similarly be found by running without any arguments:

> ./doug_mgr_spy
Usage: ./doug_mgr_spy MC_GROUP MC_PORT

« 00456 | Issues | 00458 »

Associated Commits

| commit | bc820820c345779c2e97f9e279aa461c9c8be192 link5 | || | Author: | Frank Graffagnino | | Date: | Tue Nov 20 16:56:59 2012 -0600 | | Message: | [@Issue 00457: Added doug_mgr_beacon and doug_mgr_spy utilities. They are located under src.dist/scripts/ @] |

Affected Files:

src.dist/scripts/doug_mgr_beacon/Makefile   |   9 +++
 src.dist/scripts/doug_mgr_beacon/beacon.c   |  96 ++++++++++++++++++++++++++
 src.dist/scripts/doug_mgr_spy/Makefile      |   9 +++
 src.dist/scripts/doug_mgr_spy/manager_spy.c | 101 ++++++++++++++++++++++++++++
 4 files changed, 215 insertions(+)