Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] PerfSonar automatic data collection

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] PerfSonar automatic data collection


Chronological Thread 
  • From: Philippe Laurens <>
  • To: Cong Wang <>, Mark Feit <>
  • Cc: "" <>, "Anirban Mandal" <>
  • Subject: Re: [perfsonar-user] PerfSonar automatic data collection
  • Date: Mon, 7 Aug 2017 11:03:47 -0400
  • Ironport-phdr: 9a23:3a0/0xYP/gW1rLs7AP2fApb/LSx+4OfEezUN459isYplN5qZrs69bnLW6fgltlLVR4KTs6sC0LuG9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6+bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhzsGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJSiJPHI28YYsMAeQPM+lXoIvyqEcBoxu/HgSsGODixyVUinPq06A30eIsGhzG0gw6GNIOtWzZos/1NKcTVeC1zbHIzS3dYPhL3zny8pXIcgo/rvGKRrJ7bM3cyU01GAPYlFWft4rlPyiO2+QVqWeX9e9gVfmyi2I9tQ5+vyWvy94qh4LUiIwVzVXE+j94wIYzPdC3UkF7Ydq4EJdOrS2aMJF2Qsw6T2FnuSY61r0GuYOgcyQQ1JsnwBvfZvqaeIaL+hLuTOicLDdiiH9hYr6yhhW//VKgx+D9TsW53lZHojBYntXSrHwA1RLe5tKHR/Zz+EqqxCyB2BrJ6u5eJEA5jarbJIAlwr43jpccr0vCETP2mErsiq+WeVsr9vKw6+v9eLnmo4ScN5Juhg7gL6suh9SzAeU+MgcQQ2iW4eqx2b358UD9WrlHj/47nrPZvZ3bPcgbo7S2Aw5R0oYt8Ra/CDKm3cwcnXYdMVJFYgyIj47yO1HWO/34Fe2wj06pkDdw2vDKJKPuDYjQLnTbirfuYa5961JAyAo01d1f4pxUBa8AIPLvQULxtdrYDgMnPAyuxeboFsl92p0EVW2RH6CZLbvYsUWU6eI3P+mMeIgVtS7lK/c7/f7ug2Q5mVgbfaazx5sbcW24Hu94LEWDenfshtYBEXwWvgolUuDmklyCUThPZ3msRaI84C80CJ64AYvZWI+inaGBj2+HGch9YWZJQm+FF3igI46bUvEDQDifJMRg1DseWu7lA6oozxLmmgL71/IzK+TZ+zEwtJT/2cJz6vGJ0xw+6GonId6a1jS1T2Bwn3sQSncS1b1lrEpmggOH2LVijvpDPcRaofZST0E3OYOKnL8yMMz7Rg+UJoTBc12hWNjzRGhpFt8=

Hi Mark,

I would also be interested in some bootstrapping help
like a workshop or some annotated example or tutorial.

My first application will be "unconventional".
Besides our AGLT2 center, we also build circuit boards for
the CERN Atlas experiment. Our current card is an ATCA hub
with a 17 port 1G switch. I have already found ultra small
factor Dell desktop PCs, very cheap from our campus surplus store.
I have tested one with the toolkit and it seems to work fine
(psmsu03.aglt2.org).

I would like to use pefsonar to characterize one of our cards
by pushing it to its limits in various ways. Then we will need
some kind of automated acceptance test which can start various
owamp and bandwidth tests and keep logs of the results for each
production card, all programmatically. Python or C/C++ or bash
would be easier choices for me.

However, and unfortunately, I will not be available before Aug 21st.

Thanks,

Philippe


On 8/4/17 3:41 PM, Cong Wang wrote:
Hi Mark, Dan,

Thank you very much for the insights. It’s great to have the REST APIs for
perfSonar 4.0. Can we please do a workshop? That would be super helpful.

Best regards,
Cong

On Aug 4, 2017, at 1:54 PM, Mark Feit
<>
wrote:

Cong Wang writes:

We are trying to build a platform to collect perfSonar measurement data
from multiple sites in real time. Is there a way to programmatically retrieve
the data from the perfSonar web interface, e.g., through RESTful API? We plan
to collect throughput, latency and packet loss if it works.

To expand a bit on what Dan said:

All test activity in perfSONAR 4.0 is coordinated by pScheduler, which, as
Dan mentioned, has a REST API for creating measurement tasks and retrieving
the results. It’s stable but not officially documented. You’re the first
person outside the project to ask about it, which will probably light a fire
under me to get it done. All data is JSON and is easy to deal with. If you
want to do ad hoc measurements, where your platform tells pScheduler to do a
measurement on demand, this is the way to go. The same API can be used to
start repeating tasks, and by keeping the URL it returns, you can find and
retrieve the results. If you (or anyone else) is interested, I could do a
brief, informal workshop to go over it and supply some snippets of Python
code that can help get you started.

One of the other new features pScheduler brought with it is a system of
plugins that allows us to have multiple ways to dispose of measurement
results. This would mean you don’t have to retrieve the results yourself;
pScheduler can be directed to send them directly to you and retry if it
fails. 4.0 shipped with plugins that can post results to an HTTP server,
RabbitMQ, the system log or Esmond, which should give you enough options that
developing something custom won’t be necessary. Information on how to use
archivers with pScheduler can be found here:
https://github.com/perfsonar/pscheduler/wiki/Archivers.

The one limitation is that meshconfig can’t be used to configure measurements
that use any archiver other than Esmond. This is a holdover from earlier
versions of perfSONAR, and we’re working on ways to expose pScheduler’s
additional features to meshconfig. You can still use the API to run your own
tests in parallel, though.

--Mark






Archive powered by MHonArc 2.6.19.

Top of Page