Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Archive configuration

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Archive configuration


Chronological Thread 
  • From: Andrew Lake <>
  • To: Kristofer Hallin <>,
  • Subject: Re: [perfsonar-user] Archive configuration
  • Date: Wed, 4 Nov 2020 06:36:23 -0800

Hi,

When you run the “psconfig remote add” command on the measurement host make sure you include the “—configure-archives” option otherwise it ignores the archives. Example:

psconfig remote add —configure-archive https://myhost/path/to/psconfig.json

Hope that helps,
Andy


On November 4, 2020 at 9:33:26 AM, Kristofer Hallin () wrote:

Hi,

I'm a fairly new perfSONAR user trying to set up a JSON file on the central management with archiving configured. I have a set of tests/tools we've developed, but I'm struggling with the archiving part.

The JSON-file I'm feeding psconfig with looks something like this (some parts left out):

{
    "archives": {
        "test-archive": {
            "archiver": "http",
            "data": {
                "_url": "http://url-I-can-post-to-with-CURL/",
                "op": "post"
            },
            "ttl": "PT5M"
        }
    },
    "tasks": {
        "task-dot1x": {
            "tools": [
                "wpa"
            ],
            "group": "group-test",
            "test": "test-dot1x",
            "archives": [
                "test-archive"
            ],
            "schedule": "schedule-PT2M"
        }
    }
}

The file validates just fine and the probe fetches it and runs the tests. However, if I run 'psconfig pscheduler-tasks' on the probe i can see that no archives are configured:

        "archives" : []

Am I missing something here? I've tried to enable debug mode and so on but can't find anything useful. I also tried to configure an archive under "/etc/pscheduler/default-archives/" on the probe, and that works perfectly fine.

Any help appreciated,
/K

--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user



Archive powered by MHonArc 2.6.19.

Top of Page