Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] perfSONAR Tip: Troubleshooting pScheduler

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] perfSONAR Tip: Troubleshooting pScheduler


Chronological Thread 
  • From: Mark Feit <>
  • To: "" <>
  • Subject: [perfsonar-user] perfSONAR Tip: Troubleshooting pScheduler
  • Date: Fri, 17 Nov 2017 21:33:40 +0000
  • Accept-language: en-US
  • Authentication-results: internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=none action=none header.from=internet2.edu;
  • Ironport-phdr: 9a23:1wmcwBBMM/BSBRF4J4cdUyQJP3N1i/DPJgcQr6AfoPdwSPX6pMbcNUDSrc9gkEXOFd2CrakV26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJNyA3/nzLisJ+j6xboQ6uqBNkzoHOfI2VMeBzcr/Bcd4YQ2dKQ8ZfVzZGAoO5d4YBCPAOPfxbr4Lgp1UBsxq+BRWxD+7ozz9IiGH53awm0+k6EAHG2hAgEMwUsHTSstr1KLkeXfqrw6bV0DXOdvVb0irz5ojPdxAuu/CMXbRofMXPxkggDQbFjk2UqYP7JT+V0PoCs3SD4+p4S+2vkWAnqxp2ojip3MgskJPFhoQLxVDY7Sl23ok0Kse9SE5jZd6rDoFctyaAN4t5RM4pXmJmuD4ix7EYpJK2fTIGxZo5yxLFdvCKcJSE7gj+WOuROTt0mW5pdbGlixqs8kWs0PPwW8aw3VpQsyZJj8TAu3YQ3BLJ8MeHUOFy/kK51DaPyQ/T7uZELFgsm6fHLJAt3qA8moMOv0rbAyP6gUL2g7SIeUk+/eio9vjnba7hpp+BMY97lxvyMrw0msy4HeQ3LBQBX3Sa+eS70r3v50r5QKhWjv0ylanZt5PaKd4Hqa6+Bg9Zyocj6xChADe6yNkUg2QLIVNfdB+JkYTlIUzCLfPkAfulnlihkC9nx/XcMb3gBpXNIGLDkLDkfbtl7k5cxhQ8zdFD559PC7EBJu7zVVHrtNzeEBA5LxK4z/z5B9pgy4MSQXiPDbOBMKPOrV+I4foiI/GSa48Ptjb9MP8l5/j0gn8jgFMdYLKp0oUNaH2jGvRmIl6ZYWb3gtsfC2sKvww+TPD0h12YVz5ceWqyU7wm6j4lFY2mENSLeof4yqSMximgGZtffCVbEV2WOXbua4ieXfoQMmSfLtIr2mgcWKKvUIgn3AvrqRT30ZJmKPbZ4CsVqcil2dRosb79jxY3oBl9FcfV/WyMUykgm20FRiMe3aZjrFZ7x0vZl6V0nqoLRpRo+/pVX1JiZtbnxOtgBoWqVw==
  • Spamdiagnosticoutput: 1:0

This is the first in a series of emails that will highlight useful features of perfSONAR that are new or not widely known.  Today’s tip looks at a pair of commands that can be used to troubleshoot pScheduler.

 

Very basic troubleshooting can be done with the pscheduler ping command, which connects to the pScheduler server on a host and makes sure it answers:

% pscheduler ping ps.example.net

ps.example.net: pScheduler is alive

 

% pscheduler ping alternate-port.example.net:21044

ps.example.net: pScheduler is alive

 

% pscheduler ping down-host.example.net

down-host.example.org: Request timed out

 

% pscheduler ping www.perfsonar.net

www.perfsonar.net: Not running pScheduler

 

 

There is a second command, pscheduler troubleshoot, extends ping’s testing by attempting to run an inert task:

 

% pscheduler troubleshoot

Performing basic troubleshooting of localhost.

Checking for pScheduler on localhost... OK.

Idle test on localhost.... 9 seconds.... OK.

pScheduler appears to be functioning normally.

 

It is also possible to do the same test on a remote host:

 

% pscheduler troubleshoot --host ps.example.net

Performing basic troubleshooting of ps.example.net.

Checking for pScheduler on ps.example.net... OK.

Idle test on ps.example.net.... 7 seconds.... OK.

pScheduler appears to be functioning normally.

 

Additionally, troubleshoot can be used to identify problems between the local host and another, which includes a comparison of their clocks and a simple test that streams a very small amount of data between them:

 

% pscheduler troubleshoot ps.example.net

Performing basic troubleshooting of localhost and ps.example.net.

Checking for pScheduler on localhost... OK.

Checking for pScheduler on ps.example.net... OK.

Idle test on localhost.... 9 seconds.... OK.

Idle test on ps.example.net.... 8 seconds.... OK.

Getting host clocks.... 14 seconds.... OK.

Comparing clocks... OK.

Simple stream test.... 12 seconds.... OK.

pScheduler on both hosts appears to be functioning normally.

 

As above, it is also possible to do the same test against two remote hosts:

 

% pscheduler troubleshoot --host ps1.example.net ps2.example.net

Performing basic troubleshooting of ps1.example.net and ps2.example.net.

Checking for pScheduler on ps1.example.net... OK.

Checking for pScheduler on ps2.example.net... OK.

Idle test on ps1.example.net.... 9 seconds.... OK.

Idle test on ps2.example.net.... 8 seconds.... OK.

Getting host clocks.... 14 seconds.... OK.

Comparing clocks... OK.

Simple stream test.... 12 seconds.... OK.

pScheduler on both hosts appears to be functioning normally.

 

 

Detailed help for ping and troubleshoot are available at the command line by adding the --help switch to the end.

 



  • [perfsonar-user] perfSONAR Tip: Troubleshooting pScheduler, Mark Feit, 11/17/2017

Archive powered by MHonArc 2.6.19.

Top of Page