Skip to Content.
Sympa Menu

perfsonar-dev - Re: JRA1 demo

Subject: perfsonar development work

List archive

Re: JRA1 demo


Chronological Thread 
  • From: Nicolas Simar <>
  • To: Danijel Matek <>
  • Cc: Nina Jeliazkova <>, "" <>
  • Subject: Re: JRA1 demo
  • Date: Fri, 14 Dec 2007 08:31:35 +0000

Hi Danijel,

this is much better :-)

1) Reading you, do I understand that the RRD MA already provides the "nmwgt:hostName" when you request the data about the utilisation?

2) Forgive my ignorance, but what is "URL property in the SSH/Telent MP"? Does it has the same value as "nmwgt:hostName"?

3) If I read you properly, there are no modification required on the web-service code. We only need (i) some information ("nmwgt:hostName" and URL property from the Telnet/SSH MP to be configured with the same entries by the web-services deployers and (ii) all those services registering to the same LS. Have I understood you properly?
If this is the case, I am terribly thrilled by what you said!

4) To test the feature, you would need one network having fulfilled 3

Thanks a lot.

Cheers,
Nicolas



Danijel Matek wrote:
[snip]
Hi,

Ok, here it goes....


Running Show Commands On Routers Along The Traceroute Path
==========================================================

We want to initiate a set of requests based on traceroute output to get the link utilization, interface drops and interface errors for all the hops along the traceroute path. Further more we want to be able to identify the routers hosting the interfaces so that we can run some show commands through the SSH/Telenet MP on the identified routers.


So, how do we do this???
------------------------

We want to map "nmwgt:hostName" from the RRD MA with the URL property in the SSH/Telent MP.

Let's take a look at RRD MA service configuration specification.
This is the part of the "Metadata_Configuration_specification.doc" for the RRD MA:

"Element-Name: nmwgt:hostName
Mandatory: NO
Description: Network element (router, switch) hostname. Should be a loopback interface host name."

This shows that we already have a means to get the router loopback hostname.

Problem 1: nmwgt:hostName is not Mandatory
Suggestion: make it mandatory

Problem 2: some routers don't have loopback interface host name, but only IP address of the lo interface
Suggestion: the description should say: "Network element (router, switch) hostname or IP. Should be a loopback interface host name or IP.".


At this point we can assume that when we get the info form the RRD MA about the traceroute output given interface we'll get the hostname of the router. (You can actually see this in VisualPerfSonar when you click on a router icon in a google map or "show on map" link)

In order for this demo to work we need to be sure that the "nmwgt:hostName" is exactly the same as the URL property in the SSH/Telent MP.

This is the part of the "Service.Properties Configuration Files For SSH/Telnet 1.0.doc":
"URL property
Name: service.r.mp.<device>.url
<device> is the symbolic name specified in the device property.
Mandatory: Mandatory
Description: Represents the IP or Hostname of the device to be contacted"


Suggestion( IMPORTANT !!! ): We have to make a rule that if there is a hostname we'll use hostname in nmwgt:hostName and in URL property and if we only have an IP address of a loopback interface will use the IP address. This rule should be extended to all services that has loopback hostname or IP address mentioned in its configuration. Why??? If we do this well be able to correlate more services together in a very clear, intuitive and simple way. By adding this simple rule we will automatically extend perfsonar functionality.

Note: This should not be for demo and testing purposes only!!!


Client action:
--------------

1. Client will take the addresses from the traceroute output and try to contact the lookup service to ask for the RRD MA services that holds the information about the addresses involved.

2. Connect to the given MA service get the bandwidth utilization data, interface errors, interface drops and get the nmwgt:hostName.

3. Ask LS about SSH/Telnet MP for a given nmwgt:hostName.(See note)

4. Query the SSH/Telenet MP and run some show commands

5. Show the data in client

Note: RRD MA is registering it's configuration to the LS and there for the hostname element name. And even if it's not registering the hostname, when the client is getting the info about the given interface it gets the hostname. Based on the wiki SSH/Telnet MP is still not registering to the LS so we can't ask LS for the location of SSH/Telnet MP. For this case we can use some service discovery methods we were using before the LS was created.


Assumption: If Stajn has deployed SSH/Telnet MP with a router that has its interfaces configured in Stajns RRD MA there is a great possibility that we'll be able to run this demo right now.


P.S.
Please send me a note if you need me to elaborate something in more detail or if something is not clear. And If you like this you can buy me a beer on the next meeting. :-)


Danijel

--
Nicolas
______________________________________________________________________

Nicolas Simar
Network Engineer

DANTE - www.dante.net

Tel - BE: +32 (0) 4 366 93 49
Tel - UK: +44 (0)1223 371 300
Mobile: +44 (0) 7740 176 883

City House, 126-130 Hills Road
Cambridge CB2 1PQ
UK
_____________________________________________________________________







Archive powered by MHonArc 2.6.16.

Top of Page