Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] Limit throughput tests to specific hours

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] Limit throughput tests to specific hours


Chronological Thread 
  • From: "Garnizov, Ivan" <>
  • To: Brian Tehan <>, "" <>
  • Subject: RE: [perfsonar-user] Limit throughput tests to specific hours
  • Date: Thu, 28 Oct 2021 13:59:08 +0000

Hello Brian,

That seems quite strange, but there are more steps to consider…

Now it is time to initiate a throughput test on the CLI with the –debug option.

 

Please provide the output of this command with the missing parameters added

 

pscheduler task –debug throughput –source … --dest

 

 

Regards,

Ivan Garnizov

 

GEANT WP6T3: pS development team

GEANT WP7T1: pS deployments GN Operations

GEANT WP9T2: Software governance in GEANT

 

 

 

From: Brian Tehan [mailto:]
Sent: Thursday, October 28, 2021 3:29 PM
To: Garnizov, Ivan (RRZE) <>;
Subject: RE: Limit throughput tests to specific hours

 

Ivan,

 

Thanks for reminding me about the validate-limits command, I saw the same errors as you did.  I fixed those by changing the classifier like you suggested, in this case to default.  I had the attached limits file as the operational file last night, but bandwidth tests still took place outside of the specified time range.  I’ve changed my backup of the original file to the operational one and renamed mine to testing.  Any other ideas on how I can get throughput testing to be limited to a specific time frame?

 

Thanks!

 

Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 |

 

From: Garnizov, Ivan <>
Sent: Wednesday, October 27, 2021 10:30 AM
To: Brian Tehan <>;
Subject: RE: Limit throughput tests to specific hours

 

Non-NU Email


Hello Brian,

 

There are problems with your limits file.

You should always check the draft limits file before replacing the operational one.

 

So here is the result:

@r72 ~]$ pscheduler validate-limits limits-brian.conf

Unknown classifiers: allowed-tests, throughput-only-at-night

@r72 ~]$

 

 

It appears the syntax of your limits file is correct. But you haven’t declared 2 groups of clients, which are stated in your Applications statements.

In my example I have generalized on use of Classifiers… in your example I see:

 

    "classifiers": [

                {

                    "name": "default",

                    "description": "Everybody",

                    "identifiers": [ "everybody" ]

                },

                {

                    "name": "friendlies",

                    "description": "Identifiers we find friendly",

                    "identifiers": [ "local-interfaces" ]

                },

                {

                    "name": "hostiles",

                    "description": "Identifiers we find unfriendly",

                    "identifiers": [ "hackers", "bogons" ]

                }

    ],

 

 

Meaning you should either use one of those or add specific declarations for the “allowed-tests”, “throughput-only-at-night”

 

 

Regards,

Ivan Garnizov

 

GEANT WP6T3: pS development team

GEANT WP7T1: pS deployments GN Operations

GEANT WP9T2: Software governance in GEANT

 

 

 

From: Brian Tehan []
Sent: Wednesday, October 27, 2021 4:48 PM
To: Garnizov, Ivan (RRZE) <>
Subject: RE: Limit throughput tests to specific hours

 

Hey Ivan,

 

I feel like I’m on the cusp of understanding the limits file, thank you for your help!  I’ve attached my limits.conf file where I’ve added 3 items to the bottom of the LIMITS section, and 2 items to the bottom of the APPLICATIONS section.  Would you mind taking a look and letting me know if you see any problems?

 

Thanks.

 

Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 |

 

From: Garnizov, Ivan <>
Sent: Wednesday, October 27, 2021 2:03 AM
To: Brian Tehan <>
Subject: RE: Limit throughput tests to specific hours

 

Non-NU Email


Hello Brian,

 

As discussed earlier the pScheduler Limit for the “run-schedule” will control or restrict in which times tests can be scheduled.

Now if you would like to specify the type of the test, I would suggest doing that through the directive: test-type http://docs.perfsonar.net/config_pscheduler_limits.html#test-type-check-test-type

Then you combine both Limit directives in an Application in order to achieve the combination of both restrictions.

Say for example if the names of your Limit directives are (please note the name field are identifiers):

-          “throughput-allowed-slot”

-          “throughput-test-type”

Then your pScheduler Limit application should state:

 

{
            "description": "Allow Throughput tests in a certain period of time.... etc",
            "classifier": "allowed-parties-for-throughput",
            "apply": [
                {
                    "require": "all",
                    "limits": [ "throughput-allowed-slot", “throughput-test-type” ]
                }
            ]
        },

 

 

Regards,

Ivan Garnizov

 

GEANT WP6T3: pS development team

GEANT WP7T1: pS deployments GN Operations

GEANT WP9T2: Software governance in GEANT

 

 

 

From: Brian Tehan []
Sent: Tuesday, October 26, 2021 8:44 PM
To: Garnizov, Ivan (RRZE) <>
Subject: RE: Limit throughput tests to specific hours

 

Thanks for the breakdown, Ivan.  Is there any way to limit just throughput tests to specific hours though?

 

Thanks!

 

Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 |

 

From: Garnizov, Ivan <>
Sent: Tuesday, October 26, 2021 6:28 AM
To: Brian Tehan <>
Subject: RE: Limit throughput tests to specific hours

 

Non-NU Email


Hello Brian,

 

The pScheduler Limits directive you refer to is a limiter / blocker for a group of remote systems to prevent them, even deny, execution of the specified tests in the limit directive.

The group of systems would be identified by the Identifier and the Classifier you have assigned with this Limit in an Application.

 

This will lead to runs falling outside the specified criteria being rejected…in other words will turn as “Non-Starters”.

 

Please note that at first the “Non-Starters” will appear as the “conflict” appears. After 24h the Non-Starters will appear as they are being scheduled.

 

Regards,

Ivan Garnizov

 

GEANT WP6T3: pS development team

GEANT WP7T1: pS deployments GN Operations

GEANT WP9T2: Software governance in GEANT

 

 

 

From: [] On Behalf Of Brian Tehan
Sent: Monday, October 25, 2021 11:54 PM
To:
Subject: [perfsonar-user] Limit throughput tests to specific hours

 

https://docs.perfsonar.net/config_pscheduler_limits.html#run-schedule-check-attributes-of-the-run-time

 

Hello,

 

I’m using PWA to build latency and throughput tests and they’re showing up in MaDDash, however I’d like to limit the throughput tests to specific hours.  Would I be able to use run-schedule in the limits.conf file to accomplish this?  Or would there be a better way to go about this?

 

Thanks.

 

Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 |

 




Archive powered by MHonArc 2.6.24.

Top of Page