Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Maddash http tests

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Maddash http tests


Chronological Thread 
  • From: Szymon Trocha <>
  • To: "Eide, Ethan M" <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] Maddash http tests
  • Date: Thu, 16 Feb 2023 19:33:11 +0100
  • Organization: PCSS

W dniu 16.02.2023 o 17:48, Eide, Ethan M pisze:

I have attached my configuration file. It is set up correctly to send tests to my nodes because I have many grids already populated with information from the other tests I have running. I am just having trouble with the http setup in the configuration file I believe.

Hi Ethan,


I went through you psconfig file and here are some suggestions for changes to make it working. I'm sending you updated file in a private e-mail.


Add to "addresses" section a new host to define your http target site (there isn't any pS there so no-agent option):

"www.perfsonar.net": {
    "address": "www.perfsonar.net",
    "no-agent": true
}

Add to "groups" section new disjoint group as you're in fact building a group where multiple perfSONAR hosts will test in one direction to a few websites and not between perfsonar hosts:

"http": {
    "type": "disjoint",
    "a-addresses": [
        {
            "name": "perfsonar1"
        },
    ],
    "b-addresses": [
        {
            "name": "www.perfsonar.net"
        }
    ],
    "unidirectional": true
}

Change http "tests" spec in "tests" section to:

"usd_http": {
    "type": "http",
    "spec": {
        "host": "{% address[0] %}",
        "url": "{% address[1] %}"
    }
}

And finally update "tasks" to reflect new group

"usd_task_http": {
    "group": "http",
    "test": "usd_http",
    "schedule": "schedule_PT10M",
    "archives": [
        "usd_archive"
    ],
    "_meta": {
        "display-name": "Http Tests"
    }
}


You may always validate your psconfig file with:

$ psconfig validate your_file.json


Regards,

--
Szymon Trocha
Poznań Supercomputing & Networking Center
General NOC phone +48 61-858-2015 | noc.pcss.pl
Personal desk phone +48 61-858-2022 Wysłaliśmy do Ciebie ten e-mail w odpowiedzi na Twoje zapytanie lub w związku z oferowaną usługą. Przesłanie korespondencji do Centrum Zarządzania PCSS lub zgłoszenie telefoniczne jest równoznaczne z wyrażeniem zgody na przetwarzanie danych osobowych przez Instytut Chemii Bioorganicznej Polskiej Akademii Nauk w Poznaniu adres: ul. Z. Noskowskiego 12/14, 61-704 Poznań. Szczegółowe informacje znajdują się w naszej Polityce prywatności. | This message has been sent as a part of communication with PSNC NOC or your service request sent to us. For more information read our Privacy Policy.

Attachment: smime.p7s
Description: Kryptograficzna sygnatura S/MIME




Archive powered by MHonArc 2.6.24.

Top of Page