diff --git a/release_candidates/5.1.0/FAQ.html b/release_candidates/5.1.0/FAQ.html index 4a60aa7d..525c8481 100644 --- a/release_candidates/5.1.0/FAQ.html +++ b/release_candidates/5.1.0/FAQ.html @@ -233,6 +233,10 @@
A: Please see Reading Log Files for more information.
+A: Sometimes, log files can grow bigger and consume disk space even before their rotation. Logrotate
is a system utility installed by default and is configured to handle log rotation for all installed packages and applications. In order to enable system-wide log files compression change default settings in /etc/logrotate.conf
and uncomment compress
option. This implies that rotated files will be compressed with log files having a .gz
file extension.
A: Please see Firewalls and Security Software.
@@ -450,6 +454,7 @@cd /etc/apt/sources.list.d/
-curl -o perfsonar-release.list http://downloads.perfsonar.net/debian/perfsonar-release.list
-curl http://downloads.perfsonar.net/debian/perfsonar-official.gpg.key | apt-key add -
+curl -o perfsonar-minor-snapshot.list downloads.perfsonar.net/debian/perfsonar-minor-snapshot.list
+curl http://downloads.perfsonar.net/debian/perfsonar-snapshot.gpg.key | apt-key add -
apt-update
Let’s quickly verify Opensearch and Logstash are running. You should see both listed as active (running) when you execute the following commands:
-systemctl status opensearch
-systemctl status logstash
+
Let’s quickly verify the archive is running with the psarchive troubleshoot utility. It will check that components such as OpenSearch and Logstash are running as well as verify authentication credentials. It can also check if the archive has data, but since we have not yet configured our measurement hosts we will skip that check with the –skip-opensearch-data option. Run the command as follows and if everything is marked as OK then proceed, otherwise follow the instructions in the command output to debug:
+psarchive troubleshoot --skip-opensearch-data
Next we’ll setup IP authentication so that the testpoint hosts will be able to send their results. This verification is handled by the Apache proxy in front of Logstash. We are going to edit /etc/httpd/conf.d/apache-logstash.conf to include the example IPs (see the diagram at the top of this guide). Note we’ll add both the IPv4 and IPv6 addresses to make sure the host can authenticate via either protocol. The following is what we setup for the example (the Require ip lines are the relevant portions):
+Next we’ll setup IP authentication so that the testpoint hosts will be able to send their results. This verification is handled by the Apache proxy in front of Logstash. We are going to edit /etc/httpd/conf.d/apache-logstash.conf (Rocky/Alma) or /etc/apache2/conf-available/apache-logstash.conf (Debian/Ubuntu) to include the example IPs (see the diagram at the top of this guide). Note we’ll add both the IPv4 and IPv6 addresses to make sure the host can authenticate via either protocol. The following is what we setup for the example (the Require ip lines are the relevant portions):
<IfModule proxy_module>
ProxyRequests Off
<Proxy *>
@@ -236,7 +235,7 @@ Step 2: Setup Visualization with Grafana
Navigate to the perfSONAR Host Metrics page. There may be a link under “Recently Viewed Dashboards” (see previous screenshot) or type “perfSONARHost Metrics” in the search bar:
+Navigate to the perfSONAR Host Metrics page. There may be a link under “Recently Viewed Dashboards” (see previous screenshot) or type “perfSONAR Host Metrics” in the search bar:
@@ -249,8 +248,8 @@
In this step we’ll create a file that defines the measurements we want all the testpoints to run. This is called a pSConfig Template File. If you want to learn more about pSConfig templates see What is pSConfig?. In this example we’ll generate the file by hand from a skeleton file then use some helpful utilities to fill-in and publish. Steps are as follows:
Create a directory where you will edit the templates:
@@ -265,7 +264,7 @@/usr/lib/perfsonar/archive/perfsonar-scripts/psconfig_archive.sh -n archive.local
+/usr/lib/perfsonar/archive/perfsonar-scripts/psconfig_archive.sh -n archive.local -a ip
@@ -289,8 +288,6 @@ Step 3: Build and Publish Measurement Configuration with pSConfig
We are going to copy and paste above into our psconfig.json file under the archives section and name it example_http_archive. This is what our psconfig.json looks like when we are done:
{
"_meta":{
@@ -391,7 +388,8 @@ Step 3: Build and Publish Measurement Configuration with pSConfig"schedule": "example_schedule_PT4H",
"archives": [ "example_http_archive" ],
"reference": {
- "display-task-name": "Example Throughput Tests"
+ "display-task-name": "Example Throughput Tests",
+ "display-task-group": [ "Example Tests" ]
}
},
"example_task_latencybg": {
@@ -399,7 +397,8 @@ Step 3: Build and Publish Measurement Configuration with pSConfig"test": "example_test_latencybg",
"archives": [ "example_http_archive" ],
"reference": {
- "display-task-name": "Example Loss Tests"
+ "display-task-name": "Example Loss Tests",
+ "display-task-group": [ "Example Tests" ]
}
},
"example_task_trace": {
@@ -408,7 +407,8 @@ Step 3: Build and Publish Measurement Configuration with pSConfig"schedule": "example_schedule_PT10M",
"archives": [ "example_http_archive" ],
"reference": {
- "display-task-name": "Example Traceroute Tests"
+ "display-task-name": "Example Traceroute Tests",
+ "display-task-group": [ "Example Tests" ]
}
}
}
@@ -416,6 +416,16 @@ Step 3: Build and Publish Measurement Configuration with pSConfigpsconfig validate psconfig.json
+
+
+
+
+
+
+Step 4: Publishing Your Measurement Configuration with pSConfig¶
+
We will now publish the file to a local web server so the testpoints can download it. We do this will the following command:
psconfig publish psconfig.json
@@ -430,12 +440,16 @@ Step 3: Build and Publish Measurement Configuration with pSConfighttps://archive.local/psconfig/psconfig.json”
+psconfig remote add "https://archive.local/psconfig/psconfig.json"
+
+
The previous command tells a pSConfig agent running on the host to setup some dashboards. It also tells it to gather host statistics from each of the testpoints. We aren’t getting any results yet, but lets take a quick look at the dashboards it created by visiting https://archive.local/grafana/dashboards.
Click the folder perfSONAR pSConfig folder on the page that load.
Click on All perfSONAR Measurements. The dashboard doesn’t have any data, so let’s fix that by having our testpoints run some measurements.
-
+
+
+
@@ -526,7 +540,8 @@ Step 5: Viewing ResultsCentral Archive with Grafana Cookbook - NOT PRODUCTION. CURRENTLY USES NIGHTLY-MINOR REPO
- Step 1: Setup the perfSONAR Archive for Storing Measurements
- Step 2: Setup Visualization with Grafana
-- Step 3: Build and Publish Measurement Configuration with pSConfig
+- Step 3: Creating Your Measurement Configuration with pSConfig
+- Step 4: Publishing Your Measurement Configuration with pSConfig
- Step 4: Setup perfSONAR Testpoint hosts
- Step 5: Viewing Results
diff --git a/release_candidates/5.1.0/esmond_api_rest.html b/release_candidates/5.1.0/esmond_api_rest.html
index 6d1ae57b..50ec5af5 100644
--- a/release_candidates/5.1.0/esmond_api_rest.html
+++ b/release_candidates/5.1.0/esmond_api_rest.html
@@ -255,7 +255,7 @@ Listing all the measurementscurl "http://archive.example.net/esmond/perfsonar/archive/?source=host1.example.net&dns-match-rule=v6-only"
+curl "http://archive.example.net/esmond/perfsonar/archive/?source=host1.example.net&dns-match-rule=only-v6"
diff --git a/release_candidates/5.1.0/install_debian.html b/release_candidates/5.1.0/install_debian.html
index bdf5a5cd..7da53e47 100644
--- a/release_candidates/5.1.0/install_debian.html
+++ b/release_candidates/5.1.0/install_debian.html
@@ -162,6 +162,11 @@ System RequirementsNote
The perfsonar-archive
bundle is also supported on Debian 11 and Ubuntu 22.
+
+Setting the default user password in PostgreSQL¶
+With a regular apt install
, the user is prompted to enter a password for the new PostgreSQL database created during installation. You can choose this password arbitrarily or leave it empty (the DB is only accessible locally).
+Alternatively, you can install packages with APT in non-interactive mode to avoid the password prompt by setting the following environment variable when installing: DEBIAN_FRONTEND=noninteractive apt install perfsonar-toolkit
+
Optional Packages¶
In addition to any of the bundles above you may also optionally choose to install one or more of our add-on packages (these are automatically added on the perfsonar-toolkit bundle):
@@ -333,6 +338,7 @@ Upgrade from Ubuntu 18 to Ubuntu 20Installation
- Step 1: Configure APT
- Step 2: Install a Bundle
diff --git a/release_candidates/5.1.0/pscheduler_ref_tests_tools.html b/release_candidates/5.1.0/pscheduler_ref_tests_tools.html
index 90a5349c..8f8ab5bf 100644
--- a/release_candidates/5.1.0/pscheduler_ref_tests_tools.html
+++ b/release_candidates/5.1.0/pscheduler_ref_tests_tools.html
@@ -125,7 +125,7 @@
http¶<
Measure HTTP response time
- Tools:
-psurl
+curl
@@ -240,15 +240,23 @@ throughput Tests-t DURATION, --duration=DURATION
Total runtime of test
-i INTERVAL, --interval=INTERVAL
- How often to report results (internally, results still reported in aggregate at end)
+ How often to report results (internally, results still
+ reported in aggregate at end)
+ --link-rtt=LINK_RTT Approximate link round-trip time (ISO8601 or integer
+ ms)
-P PARALLEL, --parallel=PARALLEL
How many parallel streams to run during the test
-u, --udp Use UDP instead of TCP testing
-b BANDWIDTH, --bandwidth=BANDWIDTH
Bandwidth to rate limit the test to, supports SI
notation such as 1G
+ --bandwidth-strict Never go faster than --bandwidth, even to make up for
+ lost time.
+ --burst-size=BURST_SIZE
+ Limit bursts of packets to this number
-w WINDOW_SIZE, --window-size=WINDOW_SIZE
- TCP window size to use for the test, supports SI notation such as 64M
+ TCP window size to use for the test, supports
+ SI notation such as 64M
-m MSS, --mss=MSS TCP maximum segment size
-l BUFFER_LENGTH, --buffer-length=BUFFER_LENGTH
length of the buffer to read/write from
@@ -268,7 +276,14 @@ throughput TestsSet's the sending side's CPU affinity
--server-cpu-affinity=SERVER_CPU_AFFINITY
Set's the receiving's side's CPU affinity
+ --single-ended Run a test directly to a host without pscheduler.
+ --single-ended-port=SINGLE_ENDED_PORT
+ Run a test directly to a given port.
--reverse Reverses the direction of the test.
+ --reverse-connections
+ Make connections from destination to source where
+ possible.
+ --loopback Run both client and server side in a loopback test.
The currently supported throughput tools are iperf2, iperf3, and nuttcp. iperf3 is the default.
@@ -343,6 +358,9 @@
latency Tests-f, --flip In multi-participant mode, have the dest start the
client and request a reverse test. Useful in some
firewall and NAT environments.
+ -r, --reverse Report results in the reverse direction (destination
+ to source) if possible.
+ --traverse-nat Take steps to traverse outbound NAT
-R, --output-raw Output individual packet statistics. This will
substantially increase the size of a successful
result.
@@ -429,9 +447,18 @@ http Tests-h, --help show this help message and exit
--url=URL URL to query
+--header=HEADERS HTTP header for request, format 'HeaderName: Value'.
+ May be repeated.
--parse=PARSE String to parse for
--host=HOST Host to run the test
--host-node=HOST_NODE Host to run the test
+--ip-version=IP_VERSION
+ Specificy which IP version to use, 4 or 6
+--always-succeed Treat HTTP failures as successes, regardless of
+ response code
+--keep-content=KEEP_CONTENT
+ Amount of content to keep in bytes; default none, 0
+ for no limit, SI units supported
--timeout=TIMEOUT Timeout for each query attempt