| 1 | = Configuring perfSonar-PS with Quattor = |
| 2 | [[TracNav]] |
| 3 | |
| 4 | [[TOC(inline)]] |
| 5 | |
| 6 | [http://psps.perfsonar.net/index.html pefSonar-PS] is a network performance monitoring tool developed by [http://www.internet2.edu/ Internet2], [http://www.es.net/ ESnet] and a few others. |
| 7 | |
| 8 | |
| 9 | == Machine type == |
| 10 | |
| 11 | A perfSonar-PS machine is normally a dedicated machine. The easiest is to create a machine profile that uses the machine type `perfsonar-ps`: |
| 12 | {{{ |
| 13 | include 'machine-types/perfsonar-ps'; |
| 14 | }}} |
| 15 | |
| 16 | |
| 17 | == Configuration Options == |
| 18 | |
| 19 | Configuration options that can be managed through Quattor are defined through the following variables: |
| 20 | |
| 21 | * `variable PERFSONAR_TYPE`: a string defining the perfSonar-PS machine type. Valid values are 'latency' and 'bandwith'. Both cannot run on the same node (perfSonar restriction to avoid impacting latency tests with bandwith tests). |
| 22 | * `PERFSONAR_PORTS`: a nlist defining the port range (as a string) for each service on each type of node. Keys of this nlist are either `OWAMP` or `BWCTL`. The value for each is a nlist with the following possible entries (keys) whose value is the port range in the format `min:max`: |
| 23 | * `BWCTL`: `iperf_port`, `nuttcp_port` and `peer_port`. |
| 24 | * `OWAMP`: `testports` |
| 25 | |
| 26 | Default values are defined in `personality/perfsonar/config.pan` in Git repository `template-library-standard`. |
| 27 | |
| 28 | An example of port range redefinition for `OWAMP` is: |
| 29 | {{{ |
| 30 | variable PERFSONAR_PORTS ?= nlist( |
| 31 | 'OWAMP', nlist( |
| 32 | 'testports', '8760:9960', |
| 33 | ), |
| 34 | ); |
| 35 | }}} |
| 36 | |
| 37 | ''Note: be sure to follow recommendations when modifying default port ranges and don't forget to adjust your firewall configuration accordingly.'' |