Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] BWCTL MP problem

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] BWCTL MP problem


Chronological Thread 
  • From: Verena Venus <>
  • To: Rodesch Christian <>
  • Cc: Nina Jeliazkova <>, Fausto Vetter <>,
  • Subject: Re: [perfsonar-user] BWCTL MP problem
  • Date: Wed, 21 May 2008 09:49:57 +0200

Hi Christian, all

The BWCTL plugin for perfsonarUI was written by Roland Karch, who is in
vacation at the moment. Unfortunately, I'm not familiar with his code, so I'm
not sure, if I can help.

Good to know that the BWCTL MP is working :)

If you can give me some feedback concerning the installation procedure,
especially what problems you were experiencing, I would be happy.

Kind regards,
Verena

Am Mittwoch, 21. Mai 2008 08:30:17 schrieb Rodesch Christian:
> Hi again,
>
> well I've done some research using wireshark and the result is that even
> though perfsonar UI does show a blank result screen, a valid XML result
> is being send by the BWCTL MP host:
>
> So here's the request XML from the perfsonar UI client
>
> POST /services/MP/BWCTL HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related,
> text/*
> User-Agent: Axis/1.4
> Host: 158.64.56.218:8090
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: ""
> Content-Length: 1181
>
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soapenv:Body><nmwg:m
>essage id="datarq2-1" type="SetupDataRequest"
> xmlns="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/";
> xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/";
> xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
> xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
> xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/";
> xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
>
> <nmwg:metadata id="meta1">
> <perfsonar:subject id="subj1">
> <nmwgt:endPointPair>
> <nmwgt:src type="ipv4" value="158.64.56.218"/>
> <nmwgt:dst type="ipv4" value="158.64.56.116"/>
> </nmwgt:endPointPair>
> </perfsonar:subject>
>
> <nmwg:eventType>bwctl</nmwg:eventType>
> <nmwg:parameters id="param1">
> <nmwg:parameter name="protocol" value="TCP"
> xmlns:nmwg="nmwg"/></nmwg:parameters>
> </nmwg:metadata>
>
> <!-- triggers to indicate head of chains -->
> <nmwg:data id="1" metadataIdRef="meta1"/>
>
>
> </nmwg:message></soapenv:Body></soapenv:Envelope>
>
> And this is the result from the BWCTL MP Host
>
>
> HTTP/1.1 200 OK
> Date: Wed, 21 May 2008 06:21:32 GMT
> Server: libwww-perl-daemon/5.810
> Content-Length: 1303
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soapenv:Body><nmwg:m
>essage xmlns="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/";
> xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/";
> xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
> xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
> xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/";
> xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";
> xmlns:nmwg1="nmwg" id="datarq2-1" type="SetupDataResponse">
>
> <nmwg:metadata id="meta1">
> <subject id="subj1">
> <nmwgt:endPointPair>
> <nmwgt:src type="ipv4" value="158.64.56.218"/>
> <nmwgt:dst type="ipv4" value="158.64.56.116"/>
> </nmwgt:endPointPair>
> </subject>
>
> <nmwg:eventType>bwctl</nmwg:eventType>
> <nmwg:parameters id="param1">
> <nmwg1:parameter xmlns:nmwg="nmwg" name="protocol"
> value="TCP"/></nmwg:parameters>
> </nmwg:metadata>
>
> <!-- triggers to indicate head of chains -->
> <nmwg:data id="1" metadataIdRef="meta1"><datum
> numBytesUnits="Bytes" timeType="unix" numBytes="64217088"
> value="51243399" valueUnits="bits/sec" duration="0.0-10.0"
> timeValue="1211350877"/></nmwg:data>
>
>
> </nmwg:message></soapenv:Body></soapenv:Envelope>
>
> As you can see, the reply xml contains the result values, therefore I
> think that the problems comes from perfSonar UI, maybe the parser has
> some problem. I'm using the Java Webstart version 0.11 of perfSonar UI.
> Maybe there is a newer one?
>
> However, I'm quite happy now that the 2 hosts are working fine :-)
>
> Thanks for your help
>
> Christian
>
> Nina Jeliazkova wrote:
> > Hi Fausto,
> >
> > BWCTL plugin for perfsonarUI was developed by the Erlangen team. I am
> > sure they can provide more details.
> >
> > Regards,
> > Nina
> >
> > Fausto Vetter wrote:
> >> Hi Christian,
> >>
> >> Hum.. Afraid I dont know either... by the way, does anyone know about
> >> perfsonar-ui and bwctl-mp integration? what does a blank page means?
> >>
> >> Thanks,
> >> Fausto
> >>
> >> Rodesch Christian wrote:
> >>> Hi Fausto,
> >>>
> >>> as I said, I installed a second server and configured bwctl and
> >>> bwctl MP. The fist host is eomer.restena.lu, the second is
> >>> detective.restena.lu. Well bidirectional measuring works now when I
> >>> use the bwctl command directly. So from both hosts I can launch
> >>> bandwidth measurements like:
> >>>
> >>> detective:/usr/src # bwctl -s detective.restena.lu -c
> >>> eomer.restena.lu
> >>> bwctl: 20 seconds until test results available
> >>>
> >>> RECEIVER START
> >>> 3420281874.583427: iperf -B 158.64.56.218 -P 1 -s -f b -m -p 5003
> >>> -t 10
> >>> ------------------------------------------------------------
> >>> Server listening on TCP port 5003
> >>> Binding to local address 158.64.56.218
> >>> TCP window size: 87380 Byte (default)
> >>> ------------------------------------------------------------
> >>> [ 14] local 158.64.56.218 port 5003 connected with 158.64.56.116
> >>> port 5003
> >>> [ 14] 0.0-10.0 sec 64307200 Bytes 51374350 bits/sec
> >>> [ 14] MSS size 1448 bytes (MTU 1500 bytes, ethernet)
> >>>
> >>> RECEIVER END
> >>>
> >>> This works quite well, but when I try to trigger the test with
> >>> perfsonar UI, I only get a blank result.The test is being performed
> >>> as I can see with wireshark that over 6000packets are being sent in
> >>> 1 second. The result is the same (blank result tab in perfsonar UI),
> >>> even when I change the 2 hosts so that either one host or the other
> >>> acts as the sender.
> >>>
> >>> Anyway I'm happy that measurement works fine now, the blank result
> >>> seems to be some minor bug though :-)
> >>>
> >>> Maybe you know some trick to get it fully working
> >>>
> >>> Regards,
> >>>
> >>> Christian



--
Verena Venus, DFN-Labor
Friedrich-Alexander-Universität Erlangen-Nürnberg
Regionales RechenZentrum Erlangen (RRZE)
Martensstraße 1, 91058 Erlangen, Germany
Tel. +49 9131 85-28738, -28800, Fax +49 9131 302941


www.win-labor.dfn.de



Archive powered by MHonArc 2.6.16.

Top of Page