perfsonar-user - Re: [perfsonar-user] How to subscribe realtime bandwidth/latency information from pscheduler programmatically
Subject: perfSONAR User Q&A and Other Discussion
List archive
Re: [perfsonar-user] How to subscribe realtime bandwidth/latency information from pscheduler programmatically
Chronological Thread
- From: Jianan Wang <>
- To: Mark Feit <>
- Cc: "" <>
- Subject: Re: [perfsonar-user] How to subscribe realtime bandwidth/latency information from pscheduler programmatically
- Date: Tue, 29 May 2018 11:15:13 -0700
- Ironport-phdr: 9a23:/53E3xyLiTyFfubXCy+O+j09IxM/srCxBDY+r6Qd2ugRIJqq85mqBkHD//Il1AaPAd2Graocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HTbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CR2VBUMZfWSJCDI2hcYUAE/EMMvxEo4TnvVYCsQeyCAuqCejyyjFInHj23agi3uolEAHJxgogEMgIsH/JrNr6LqESUe+ox6TPwzTMdfVW2Tj/6IjJaB8hp+uDXbRqfcvQy0kvChjIjlqVqYP/PjOV0v4BvHSc7+plTO+ijXMspQ92ojiq3Mgsi4/Ji5oNyl/a7yV5zp01Jdq+SEFhe96oCp1QuD+GN4ZwX8gsQHlotT4kxrAHpZK2fi0HyJokyhHEd/CKdoeF7g7/WOmNJDp3mG5pdbK6ihu370StxO3xW8+p21hQtCVFiMPDtnUV2hzT9MeHTvx981+k2TmV1gDT7vhIIV43labHMpIgzaA8m5QTvEjZES/2n0L2jKCSdko64OSn9+PnYrD+qp+dMY97lB3+P7wwlsG+Heg1MA0DX2aY9OunyLHu+EL0TKlWgvIql6TWrIzWKMQeq6O8HQNY3IYu5w66Dzi80dQYmXcHLEhCeBKCl4XoNUvBIPb3Dfe9glSjijFryOrAPrH7A5TNLGXDnazufbZ48UFcyQ4zwcpD6JJTD7ENOOjzVVPptNzEEh85NBS5w+PpCNpj14MeRXmCAq6fMKPOr1CI/OQvLPeQZIMLojryNeUq5+P2h38jhVAdZbWp3YcQaH2gBvRpPV+ZYXT3gtcGF2cFpBA+QPX3iF2ZTzFTfW2/X6Y95jEgFIKmFpnPSpqsgLyHwCe0AIdWZmZYBVCQD3vkbZuLVOoRaHHaHsg0tzUeVvCPRo49nUWrugL715JmKPbZ4CsVqcil2dRosb79jxY3oB51BsKU1SmyRmd71jcXTjk53qF2p0V7jEWBzIB3hvVZEZpY4PYfAVRyDoLV0+EvU4O6YQnGZNrcDQ/+Gtg=
Thanks Mark for your detailed explanation! Looks like using the json format query is pretty handy in this situation. Will try it out then:)
Jianan.
On Thu, May 24, 2018 at 2:31 PM, Mark Feit <> wrote:
Jianan Wang writes:
Recently I'm thinking about collecting the tasks scheduled by perfsonar in
real time and use that information programmatically to do some network traffic
job splitting related experiment. Therefore, just want to understanding if
there is any support from this perspective and what are the API or query
methods I could use to achieve it.
If I understand what you're asking correctly, you'd like to stream measurement results out of perfSONAR into your own system. We can do that.
pScheduler, which is what's doing the measurements, has a called archivers that you can use to reliably send results to destinations other than the Esmond measurement archive that's been standard for a long time. There are plugins for Esmond, HTTP POST, RabbitMQ and syslog shipped with the software, which should get you to a lot of the places you'll need to go. The hitch is that right now, MeshConfig is only capable of generating tasks that archive to Esmond. perfSONAR 4.1, which is about to go into beta, replaces MeshConfig with pSConfig, which lets you use all of pScheduler's features, including all of the archivers.
The good news is that if you want to do some experimentation before we get 4.1 released, there's a way around that limitation. You can either run single tasks that specify other archivers or install a file on one of your systems that will force pScheduler to archive all measurements to an archiver, even those that didn't specify it (this is called "global archiving"). Documentation on how to use them is available at http://docs.perfsonar.net/release_candidates/4.1b1/ . Note that although this is beta documentation, everything described is available in the current production code and has been for quite awhile.pscheduler_ref_archivers.html
--Mark
Jianan Wang
- [perfsonar-user] How to subscribe realtime bandwidth/latency information from pscheduler programmatically, Jianan Wang, 05/24/2018
- Re: [perfsonar-user] How to subscribe realtime bandwidth/latency information from pscheduler programmatically, Mark Feit, 05/24/2018
- Re: [perfsonar-user] How to subscribe realtime bandwidth/latency information from pscheduler programmatically, Jianan Wang, 05/29/2018
- Re: [perfsonar-user] How to subscribe realtime bandwidth/latency information from pscheduler programmatically, Mark Feit, 05/24/2018
Archive powered by MHonArc 2.6.19.