perfsonar-dev - Re: [pS-dev] Re: JRA1 demo
Subject: perfsonar development work
List archive
- From: Stijn Melis <>
- To: Nicolas Simar <>
- Cc: Danijel Matek <>, Nina Jeliazkova <>, "" <>
- Subject: Re: [pS-dev] Re: JRA1 demo
- Date: Fri, 14 Dec 2007 11:58:19 +0100
4) To test the feature, you would need one network having fulfilled 3
Yes. If Stijn has deploy RRD MA where he's collecting data from the router he has in his SSH/Telnet MP we can do this NOW.
We will ask to someone else who has installed an RRD MA nad a SSH/Telnet MP to perform that action. I don't think Stijn has an easy and direct access to that information.
I don't have an RRD MA installed here, and I've never installed one, so it'd probably take me quiet a lot of time to do so.
Cheers,
Stijn
Cheers,
Nicolas
IMPORTANT: By applying these simple rules:
1. hostname to be mandatory instead of optional in RRD MA
2. in hostname field you should be able to enter IP address also (this is just a change in description)
3. change this in all services dealing with loopback info.
---------------------------------------------------------------------------
This will greatly improve correlation abilities between different services for no cost at all.
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
- Re: JRA1 demo, Nicolas Simar, 12/14/2007
- Re: JRA1 demo, Danijel Matek, 12/14/2007
- Re: JRA1 demo, Nicolas Simar, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Stijn Melis, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Nicolas Simar, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Stijn Melis, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Nicolas Simar, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Stijn Melis, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Nina Jeliazkova, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Danijel Matek, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Nina Jeliazkova, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Andreas Hanemann, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, David Schmitz, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Joe Metzger, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Danijel Matek, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Giovanni Cesaroni, 12/14/2007
- Re: [pS-dev] Re: JRA1 demo, Nicolas Simar, 12/14/2007
- Re: JRA1 demo, Nicolas Simar, 12/14/2007
- Re: JRA1 demo, Danijel Matek, 12/14/2007
Archive powered by MHonArc 2.6.16.