The pscheduler Command-Line Interface

Similar documents
Installation & Basic Configuration

Table of Contents 1 System Maintaining and Debugging 1-1

Use of Measurement Tools

Problems of IP. Unreliable connectionless service. Cannot acquire status information from routers and other hosts

Configuring IP SLAs HTTP Operations

Troubleshooting. Backing up the Monitoring Database in a Multi-Node Setup. This chapter contains the following sections:

Internet Protocol. Outline Introduction to Internet Protocol Header and address formats ICMP Tools CS 640 1

Monitoring the EN-4000

CS519: Computer Networks. Lecture 2: Feb 2, 2004 IP (Internet Protocol)

Configuring Cisco IP SLAs ICMP Jitter Operations

Network Debugging Strategies

The term "router" in this document refers to both routers and Layer 3 switches. Step Command Remarks. ipv6 host hostname ipv6-address

Table of Contents 1 System Maintaining and Debugging Commands 1-1

Configuring IPv6 DNS. Introduction to IPv6 DNS. Configuring the IPv6 DNS client. Configuring static domain name resolution

TCP/IP Diagnostic Utilities on Windows 2008 Server

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

Configuring IP SLAs ICMP Path Jitter Operations

Introduction to perfsonar. RIPE SEE5, Tirana, Albania Szymon Trocha Poznań Supercomputing and Networking Center, Poland April 2016

EXAM TCP/IP NETWORKING Duration: 3 hours

Table of Contents 1 System Maintenance and Debugging Commands 1-1

Configuring IP SLAs for Metro-Ethernet

In questo documento mettiamo in evidenza:

WLCG Network Throughput WG

Configuring IP SLAs for Metro-Ethernet

Assignment 1. Due date February 6, 2007 at 11pm. It must be submitted using submit command.

IP SLAs QFP Time Stamping

Table of Contents 1 Static Routing Configuration 1-1

Configuring IP SLAs LSP Health Monitor Operations

Configuring Cisco Mediatrace

Table of Contents 1 Static Routing Configuration 1-1

HP 830 Series PoE+ Unified Wired-WLAN Switch Switching Engine

Internet Control Message Protocol (ICMP)

I Commands. iping, page 2 iping6, page 4 itraceroute, page 5 itraceroute6 vrf, page 6. itraceroute vrf encap vxlan, page 12

Configuring IP SLAs DLSw+ Operations

Introduction to. Network Startup Resource Center. Partially adopted from materials by

Configuring IP SLAs HTTP Operations

Ping, tracert and system debugging commands

EXAM TCP/IP NETWORKING Duration: 3 hours

Troubleshooting. Verifying Network Connectivity. Using the ping or ping6 Command

EXAM TCP/IP NETWORKING Duration: 3 hours With Solutions

CPE 448 Exam #2 (50 pts) April Name Class: 448

EXAM TCP/IP NETWORKING Duration: 3 hours With Solutions

CPSC 3600 HW #4 Solutions Fall 2017 Last update: 12/10/2017 Please work together with your project group (3 members)

HP 5120 SI Switch Series

R (2) Implementation of following spoofing assignments using C++ multi-core Programming a) IP Spoofing b) Web spoofing.

please study up before presenting

> : S. timestamp > : (0) win <mss 1460,nop,wscale 0,nop,nop, 4 different options used

Our sponsors Zequi V Autopsy of Vulnerabilities

Table of Contents 1 GRE Configuration Point to Multi-Point GRE Tunnel Configuration 2-1

Using ping, tracert, and system debugging

User-level Internet Path Diagnosis

BIG-IP Analytics: Implementations. Version 13.1

HP A6600 Routers Network Management and Monitoring. Command Reference. Abstract

perfsonar: A Look Ahead Andrew Lake, ESnet Mark Feit, Internet2 October 16, 2017

FSOS VPN Command Line Reference

Intro to MS Visual C++ Debugging

MaDDash: Monitoring and Debugging Dashboard

DICE Network Diagnostic Services

Configuring the Cisco NAM 2220 Appliance

Section 1 Short Answer Questions

Configure IP SLA Tracking for IPv4 Static Routes on an SG550XG Switch

Homework 2: Lab Activity TCP/IP Network Monitoring and Management

Carbon Black QRadar App User Guide

Configuring IP SLAs FTP Operations

Chapter 5: Trouble shooting of a network

CTRS Utils Commands CHAPTER

Configuring IP SLA - Percentile Support for Filtering Outliers

Scamper. Matthew Luckie

Configuring Cisco IOS IP SLA Operations

ECE 697J Advanced Topics in Computer Networks

User Datagram Protocol

DCLI User's Guide. Data Center Command-Line Interface 2.9.1

XML Sitemap Splitter for Magento 2. User Guide

Oracle Eloqua Campaigns

USER GUIDE. BrightSign Network WebUI Version 3.1. BrightSign, LLC Lark Ave., Suite 200 Los Gatos, CA

estadium Project Lab 2: Iperf Command

BIG-IP Analytics: Implementations. Version 12.1

Table of Contents 1 Static Routing Configuration 1-1

Lab 6.7.1: Ping and Traceroute

Configuring IP SLAs UDP Echo Operations

Internet Control Message Protocol (ICMP), RFC 792. Prof. Lin Weiguo Copyleft 2009~2017, School of Computing, CUC

Contents. Ping, tracert, and system debugging commands 1. debugging 1 display debugging 1 ping 2 ping ipv6 5 tracert 7 tracert ipv6 10

Q&A Session for July Rhapsody Customer Webinar

Topics. TCP Interactive Input Delayed Acknowledgments Nagle Algorithm

COMP 3400 Programming Project : The Web Spider

Contents. Ping, tracert, and system debugging commands 1 debugging 1 display debugging 2 ping 2 ping ipv6 5 tracert 7 tracert ipv6 9

HP A5500 EI & A5500 SI Switch Series Network Management and Monitoring. Configuration Guide. Abstract

Table of Contents 1 DNS Configuration 1-1

Configuring IP SLAs ICMP Path Echo Operations

Homework 2 TCP/IP Network Monitoring and Management

Lecture 11: Fragmentation & Addressing. CSE 123: Computer Networks Stefan Savage

Utilities. Introduction. Working with SCE Platform Files. Working with Directories CHAPTER

User Scripting April 14, 2018

TCP Congestion Control

Configuring IP SLAs ICMP Path Echo Operations

CS 326: Operating Systems. Networking. Lecture 17

DMVPN Event Tracing. Finding Feature Information

ICMP (Internet Control Message Protocol)

COMPUTING SUBJECT KNOWLEDGE AUDIT

Transcription:

The pscheduler Command-Line Interface Presented by the perfsonar Project http://www.perfsonar.net This document is a result of work by the perfsonar Project (http://www.perfsonar.net) and is licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/). January 3, 2018 2018, http://www.perfsonar.net 4

The Basics January 3, 2018 2018, http://www.perfsonar.net 5

Front End pscheduler is operated using a single command-line program: pscheduler Autocompletes easily on most systems: psc Tab January 3, 2018 2018, http://www.perfsonar.net 6

Command Format All commands follow the same format: pscheduler command [ arg ] January 3, 2018 2018, http://www.perfsonar.net 7

Getting Help The --help switch can be used at any point along the command line for assistance: pscheduler --help pscheduler command --help January 3, 2018 2018, http://www.perfsonar.net 8

Task Commands task Give pscheduler a task that consists of making one or more measurements (runs). result Fetch and display the results of a single, previously-concluded run by its URL. watch Attach to a task identified by URL and show run results as they become available. cancel Stop any future runs of a task. January 3, 2018 2018, http://www.perfsonar.net 9

Diagnostics and Administrivia ping Determine if pscheduler is running on a host. clock Check and compare the clock(s) on pscheduler host(s). debug Enable debugging on pscheduler s internal parts. Only needed for debugging pscheduler itself. diags Produce a diagnostic dump for the perfsonar team to use in resolving problems. internal Do special things with pscheduler s internals. Rarely needed; usually at the direction of the development team. January 3, 2018 2018, http://www.perfsonar.net 10

The task Command Making Measurements January 3, 2018 2018, http://www.perfsonar.net 11

The task Command Asks pscheduler to do some work Replaces the bwctl family of commands used in earlier versions of perfsonar January 3, 2018 2018, http://www.perfsonar.net 12

Synopsis pscheduler task [ task-opts ] test [ test-opts ] task-opts Switches related to everything but the test itself Scheduling Other behaviors (output format, etc.) test What test the task is to perform (e.g., throughput or trace) test-opts Test-specific switches and parameters January 3, 2018 2018, http://www.perfsonar.net 13

pscheduler task rtt --dest localhost --length 512 Starting Simple Front-end command pscheduler command Test type (round-trip time) Where the pings go Packet size in bytes Line breaks and indentation added for clarity. January 3, 2018 2018, http://www.perfsonar.net 14

The Output Part I % pscheduler task rtt --dest localhost --length 512 Submitting task... Task URL: https://ps.example.net/pscheduler/tasks/87e29f38-5b46 Fetching first run... Next run: https://ps.example.net/pscheduler/tasks/87e29f38-5b46 Starts 2016-12-07T07:57:30-05:00 (~7 seconds) Ends 2016-12-07T07:57:41-05:00 (~10 seconds) January 3, 2018 2018, http://www.perfsonar.net 15

Waiting for result... The Output Part II 1 127.0.0.1 520 Bytes TTL 64 RTT 0.0430 ms 2 127.0.0.1 520 Bytes TTL 64 RTT 0.0590 ms 3 127.0.0.1 520 Bytes TTL 64 RTT 0.0640 ms 4 127.0.0.1 520 Bytes TTL 64 RTT 0.0540 ms 5 127.0.0.1 520 Bytes TTL 64 RTT 0.0620 ms 0% Packet Loss RTT Min/Mean/Max/StdDev = 0.043000/0.056000/0.064000/0.010000 ms No further runs scheduled. January 3, 2018 2018, http://www.perfsonar.net 16

Specifying Durations Subset of ISO 8601 Duration: PT19S PT3M PT2H5M P1D P3DT2H46M P2W 19 seconds 3 minutes 2 hours, 5 minutes 1 day 3 days, 2 hours, 46 minutes 2 weeks Inexact units (months, years) are not supported. January 3, 2018 2018, http://www.perfsonar.net 17

Specifying Dates and Times ISO 8601 timestamp: Absolute 2016-03-19T12:05:19 Coming in a future release: Relative to Now PT10M ISO 8601 Even Boundary @PT1H @ + ISO 8601 Duration January 3, 2018 2018, http://www.perfsonar.net 18

Task Options: Start Time --start t Start at time t. --slip d Allow the start time of run(s) to slip by duration d. --sliprand f Randomize slip time as fraction f of available. (Range [0.0, 1.0]) January 3, 2018 2018, http://www.perfsonar.net 19

Task Options: Start Time pscheduler task --start 2017-05-01T12:00 --slip PT8M --sliprand 0.5 rtt --dest www.example.com Start May 1, 2017 at noon Slip start up to 8 minutes Randomly slip up to 4 minutes Line breaks and indentation added for clarity. January 3, 2018 2018, http://www.perfsonar.net 20

Task Options: Repetition --repeat d Repeat runs every duration d. Other forms (notably CRON-like specification) to be added later. --until t Continue repeating until time t. Default is forever. --max-runs n Allow the task to run up to n times. Default is no upper limit. January 3, 2018 2018, http://www.perfsonar.net 21

Task Options: Behavior --import f Import JSON for the task from file f (use for standard input) --export Dump the task specification as JSON to standard output but don t run it. --url If the task is created, dump its URL to standard output and exit. --format f If results are to be displayed, use format f, which is one of text (the default), html or json. --assist s Ask server s for assistance in setting up the task Use this when the pscheduler server is not available on the local host. PSCHEDULER_ASSIST from the environment January 3, 2018 2018, http://www.perfsonar.net 22

Task Options: Selecting a Tool --tool t Add tool t to the list of tools which can be used to run the test. Can be specified multiple times for multiple tools. If not provided, a tool is automatically selected from those available. January 3, 2018 2018, http://www.perfsonar.net 23

Test Options Parameters for the test Dependent on which test is being carried out. See guide documents for each test for specifics. Example: psc task trace --dest host.example.org January 3, 2018 2018, http://www.perfsonar.net 24

Putting the Parts Together psc task --start 2016-05-04T19:20 Start at the specified time --repeat PT15M Repeat every 15 minutes --max-runs 100 Stop after 100 successful runs trace --dest ps.example.org Trace to ps.example.org --length 384 Send 384-byte packets --hops 42 Max. 42 hops to the destination Line breaks and indentation added for clarity. January 3, 2018 2018, http://www.perfsonar.net 25

Saving a Task for Re-Use psc task --repeat PT15M Repeat every 15 minutes --max-runs 100 Stop after 100 successful runs --export Dump task JSON to standard output* trace --dest ps.example.org Trace to ps.example.org --length 384 Send 384-byte packets --hops 42 Max. 42 hops to the destination > mytask.json Redirect output to mytask.json * Exporting the task means pscheduler does not run it. January 3, 2018 2018, http://www.perfsonar.net 26

Re-Using a Saved Task psc task --import mytask.json Import contents of mytask.json --repeat PT10M Repeat every 10 minutes* --max-runs 20 Stop after 20 successful runs* trace --dest ps.example.edu Trace to ps.example.edu * *These switches augment or change values specified in mytask.json. Line breaks and indentation added for clarity. January 3, 2018 2018, http://www.perfsonar.net 27

Clever Trick: Editing Task Files psc task --import mytask.json Import contents of mytask.json --repeat PT1H30M Repeat every 90 minutes* --max-runs 68 Stop after 68 successful runs* --export Dump task JSON to standard output trace --dest ps.example.edu Trace to ps.example.edu * > othertask.json Redirect output to othertask.json * These switches augment or change values specified in mytask.json. Exporting the task means pscheduler does not run it. Line breaks and indentation added for clarity. January 3, 2018 2018, http://www.perfsonar.net 28

Administrative Commands End Users: Here Be Dragons January 3, 2018 2018, http://www.perfsonar.net 29

The debug Command psc debug on off [ service ] Enables or disables debugging in various pscheduler services on the local system. Output goes to syslog. Configure syslogd for *.debug. Must be run as root or pscheduler.* Services: (Default is to operate on all services.) ticker runner api scheduler archiver This command is for debugging pscheduler, not for test diagnostics. *May change to perfsonar in the future. January 3, 2018 2018, http://www.perfsonar.net 30