Skip to content

Installing from RPMs

Mark Feit edited this page Sep 8, 2016 · 5 revisions

Installing pScheduler from RPMs

NOTE: This uses the nightly build, which may be unstable. These instructions will be changed to use the stable build once there is one.

Install the OS and Configure the System

Begin with an installation of Red Hat Enterprise Linux or CentOS 6.x. This should be a clean, from-the-disc installation with no additional repositories installed. The preferred installation configuration is Minimal, but anything that doesn't install PostgreSQL should work.

Ensure that the system's hostname has a corresponding entry in /etc/hosts.

Ensure that the system has access to the Internet, specifically download.postgresql.org, dl.fedoraproject.org and software.internet2.edu.

The system's firewall should be configured to allow the standard perfSONAR ports plus TCP 10000-10100.

Install pScheduler

#yum -y install curl

#curl -s -O https://raw.githubusercontent.com/perfsonar/pscheduler/master/scripts/install-from-repos

#sh ./install-from-repos

#reboot

Run a Few Tests

You may wish to familiarize yourself with the command-line interface to understand what these commands do.

[root@hostname ~]# psc task idle --duration PT5S
Task URL:
https://hostname/pscheduler/tasks/2bff67a3-c993-4a8f-9dfe-7597e63f8d1f
Fetching first run...

Next run:
https://hostname/pscheduler/tasks/2bff67a3-c993-4a8f-9dfe-7597e63f8d1f/runs/de3e9a53-7b56-49ee-b93f-361a37b1cd66
Starts 2016-08-30T13:03:21-04:00 (~8 seconds)
Ends   2016-08-30T13:03:26-04:00 (~4 seconds)

Duration ... PT5S
[root@hostname ~]# psc task rtt --dest www.perfsonar.net
Task URL:
https://hostname/pscheduler/tasks/ff559391-0ab1-4332-b9d8-7850247a09e6
Fetching first run...

Next run:
https://hostname/pscheduler/tasks/ff559391-0ab1-4332-b9d8-7850247a09e6/runs/497d498c-629a-4d3d-9133-d593829f310b
Starts 2016-08-30T13:08:13-04:00 (~8 seconds)
Ends   2016-08-30T13:08:24-04:00 (~10 seconds)

1	internet2.edu. (207.75.164.248)  64 Bytes  TTL 63  RTT  35.3000 ms
2	internet2.edu. (207.75.164.248)  64 Bytes  TTL 63  RTT  36.5000 ms
3	internet2.edu. (207.75.164.248)  64 Bytes  TTL 63  RTT  37.8000 ms
4	internet2.edu. (207.75.164.248)  64 Bytes  TTL 63  RTT  43.1000 ms
5	internet2.edu. (207.75.164.248)  64 Bytes  TTL 63  RTT  40.6000 ms

0% Packet Loss  RTT Min/Mean/Max/StdDev = 35.342000/38.729000/43.183000/2.858000 ms
[root@hostname ~]# psc task trace --dest www.perfsonar.net
Task URL:
https://hostname/pscheduler/tasks/d82f3e8f-c8ab-4c6c-bdfc-dc671feb1bca
Fetching first run...

Next run:
https://hostname/pscheduler/tasks/d82f3e8f-c8ab-4c6c-bdfc-dc671feb1bca/runs/95cd4949-7efc-475a-ab46-b60ba5dfef14
Starts 2016-08-30T13:09:19-04:00 (~8 seconds)
Ends   2016-08-30T13:09:27-04:00 (~7 seconds)

1	10.0.2.2 0.2 ms
2	192.168.1.1 1.9 ms
3	lo0-100.WASHDC-VFTTP-315.verizon-gni.net. (71.127.46.1) AS701 31.5 ms
	  UUNET - MCI Communications Services, Inc. d/b/a Verizon Business, US
4	B3315.WASHDC-LCR-21.verizon-gni.net. (130.81.223.128) AS701 12.2 ms
	  UUNET - MCI Communications Services, Inc. d/b/a Verizon Business, US
5	No Response
6	0.ae3.BR1.IAD8.ALTER.NET. (140.222.227.7) 13.6 ms
7	192.205.36.137 AS7018 17.3 ms
	  ATT-INTERNET4 - AT&T Services, Inc., US
8	cr82.wshdc.ip.att.net. (12.122.135.182) AS7018 37.4 ms
	  ATT-INTERNET4 - AT&T Services, Inc., US
9	No Response
10	cr1.cgcil.ip.att.net. (12.122.18.21) AS7018 38.4 ms
	  ATT-INTERNET4 - AT&T Services, Inc., US
11	gar13.cgcil.ip.att.net. (12.122.133.121) AS7018 33.2 ms
	  ATT-INTERNET4 - AT&T Services, Inc., US
12	12.250.16.18 AS7018 36.8 ms
	  ATT-INTERNET4 - AT&T Services, Inc., US
13	irbx69.anar-cor-cath.mich.net. (198.108.22.98) AS237 40.7 ms
	  MERIT-AS-14 - Merit Network Inc., US
14	ae0x56.anar-cor-mitc.mich.net. (198.108.22.137) AS237 44.1 ms
	  MERIT-AS-14 - Merit Network Inc., US
15	mam-45.merit.edu. (192.122.200.45) AS237 43.6 ms
	  MERIT-AS-14 - Merit Network Inc., US
16	internet2.edu. (207.75.164.248) AS237 42.7 ms communication-administratively-prohibited
	  MERIT-AS-14 - Merit Network Inc., US