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: Brian Tehan <>
  • To: "Garnizov, Ivan" <>, "" <>
  • Subject: RE: [perfsonar-user] Limit throughput tests to specific hours
  • Date: Thu, 28 Oct 2021 13:28:50 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nebraska.edu; dmarc=pass action=none header.from=nebraska.edu; dkim=pass header.d=nebraska.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=k+r20nQVMdozERn4VHliG5+2l/HXMeJ7qD3DOg7+CAk=; b=XXaZDuiVUPNTRNRK+TugL2qVu6GiOZDq0yeYbkGTQL+FjRrTZKbzZCBQ3OnkAz9CniDNUHv77j4BjzNLL7r1391nS/RuCZqkRwfxEKfZ+IUpkYxOLwkB2TgmkR7zcKqfo6NMFY1poRmbZw5MZx4NOXytFQVf6+b39kKSgABVtK2Rqi6R2n1e0gbrFX1B11ny5P4A5Y2qgVJiZqafVa3E/eNYn0ZnG5O2g7dpezlZInXERqWdm9yciRhjQlx8DhNMfemjsMCoJW4aaCBuxPGir1mzGecKFpc8caTnvSN58ye22nuv8aL7u2eKYKy+QGz1aVnshiRjuhuAYTzdEBtuzg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jXwyZASn5nxSubaBu3PKVWsyiCXYAWw6katJmPUQ0Q41CXyhpaoMoIh2S+WVetrSjWzxMpTu7z3De338cyp4cE0ZdvxqiMniMbNugynNaIFROAab+TWrYw+eY/WEYQozGuVQGIwOSlzzbXq3oD6/zYqtVlc65pRqqORHMDW/SRrkvEGV0kibZw152hxy2XySsF4LTgXty2NxKr+5G+wKF23leu9ZerWlbMUESilMgkBOXLtpE+sfqcnpDpD0sT7LmcFYuzngZUL0BFfclv3KaJ5WoAfaDHFeN/K2cpHHKzGM4+wJE9wgbXGbz7r7aWIsOVBYtttxKRS/pKEc+GRZuQ==

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 |

 

Attachment: limits.conf.testing
Description: limits.conf.testing




Archive powered by MHonArc 2.6.24.

Top of Page