perfsonar-user - Re: [perfsonar-user] Central Measurement Archive
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Johann Hugo <>
- To: Andrew Lake <>
- Cc:
- Subject: Re: [perfsonar-user] Central Measurement Archive
- Date: Mon, 15 May 2023 15:44:13 +0200
Hi Andy
I've tried both methods on one of my testpoints, but no luck.
1) Adding raw json to my PWA config:
The testpoint downloads the config. "psconfig pscheduler-stats list" shows all the tests that it should run. I can see the tests under "pscheduler monitor", but all the tests are grey. See attached mesh config file created by PWA.
2) Create a json archive file under /etc/perfsonar/psconfig/archives.d/
With my old mesh config file the tests under "pscheduler monitor" are green. When I create a json archive file under under /etc/perfsonar/psconfig/archives.d, then the tests under "pscheduler monitor" turn grey. When I delete the json archive file (attached perf-cm.json) it will go green again.
I've added the IP of my own pc to /etc/httpd/conf.d/apache-logstash.conf on the central archive server and I can see it's waiting for test results when I open https://perf-cm.sanren.ac.za/logstash, but if I tail -F /var/log/httpd/ssl_access_log only esmond results are posted to the server, no logstash results.
Regards
Johann
On Fri, May 12, 2023 at 3:24 PM Andrew Lake <> wrote:
Hi,You would add that to the PWA archiver config. I don’t have a PWA interface in front of me, but I believe there is a way to add raw json to the archiver config, so you should be able to use that since there will not be pulldowns for all the options (a PWA refresh is a something we are looking at currently, but still quite a ways out). Alternatively, on the measurement hosts (i.e. the host running pscheduler and doing the actual measurements) you can add the JSON from that command into a .json file) under /etc/perfsonar/psconfig/archives.d. You can name the file whatever you want as long as it ends in .json.Thanks,Andy
On May 12, 2023 at 4:31:03 AM, Johann Hugo () wrote:
Hi all--I'm trying to get a new central measurement archive running, using authentication by IP address:I've done the following:- yum install perfsonar-archive- vi /etc/httpd/conf.d/apache-logstash.confRequire ip 155.232.40.0/24- /usr/lib/perfsonar/archive/perfsonar-scripts/psconfig_archive.sh -a none -n perf-cm.sanren.ac.za{
"archiver": "http",
"data": {
"schema": 3,
"_url": "https://perf-cm.sanren.ac.za/logstash",
"verify-ssl": false,
"op": "put",
"_headers": {
"x-ps-observer": "{% scheduled_by_address %}",
"content-type": "application/json"
},
"_meta": {
"esmond_url": "https://perf-cm.sanren.ac.za/esmond/perfsonar/archive/"
}
}
}According to the docs, this is the next step:Copy above to your central pSConfig template and your measurement hosts should begin archivingI'm not sure what or how I should do this. Should I add it somewhere to the PWA json config file that the measurement hosts download, or somewhere on my archive/MadDash server ?RegardsJohann--SANReN EngineerSouth African National Research Network (SANReN)National Integrated Cyber Infrastructure System (NICIS)CSIR NextGen Enterprises and Institutions ClusterOffice: 012 841 2066Email: , Website: www.sanren.ac.za / www.csir.co.za
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user
Attachment:
sanren_mesh_2023.json
Description: application/json
Attachment:
perf-cm.json
Description: application/json
- [perfsonar-user] Central Measurement Archive, Johann Hugo, 05/12/2023
- Re: [perfsonar-user] Central Measurement Archive, Andrew Lake, 05/12/2023
- Re: [perfsonar-user] Central Measurement Archive, Johann Hugo, 05/15/2023
- Re: [perfsonar-user] Central Measurement Archive, Johann Hugo, 05/15/2023
- Re: [perfsonar-user] Central Measurement Archive, Johann Hugo, 05/17/2023
- Re: [perfsonar-user] Central Measurement Archive, Andrew Lake, 05/17/2023
- Re: [perfsonar-user] Central Measurement Archive, Johann Hugo, 05/17/2023
- Re: [perfsonar-user] Central Measurement Archive, Andrew Lake, 05/17/2023
- Re: [perfsonar-user] Central Measurement Archive, Johann Hugo, 05/17/2023
- Re: [perfsonar-user] Central Measurement Archive, Johann Hugo, 05/15/2023
- Re: [perfsonar-user] Central Measurement Archive, Johann Hugo, 05/15/2023
- Re: [perfsonar-user] Central Measurement Archive, Andrew Lake, 05/12/2023
Archive powered by MHonArc 2.6.24.