From 14ecd2cd4849f0208b1f7e8bd3c653f60a15f6b7 Mon Sep 17 00:00:00 2001 From: Onno Zweers Date: Thu, 3 Apr 2025 16:47:32 +0200 Subject: [PATCH 1/2] Changing jdk to 17, because dCache now requires it; also, jcmd is in java-17-openjdk-headless --- docs/TheBook/src/main/markdown/cookbook-debugging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/TheBook/src/main/markdown/cookbook-debugging.md b/docs/TheBook/src/main/markdown/cookbook-debugging.md index 3ec4a4b7213..93c621ce229 100644 --- a/docs/TheBook/src/main/markdown/cookbook-debugging.md +++ b/docs/TheBook/src/main/markdown/cookbook-debugging.md @@ -4,7 +4,7 @@ This chapter provides an information on how to exam running dCache system, ident ## Java Flight recorder -When debugging an issue on a running system often we need to collect jvm performance stats with `Java flight recorder`. Starting from release 7.2 the Java flight recorder attach listener is enabled by default. Site admins can collect and provide developers with additional information when high CPU load, memory consumption or file descriptor leaks are observed. To enable the `flight recorder` _jcmd_ command is used, which is typically provided as a part of `java-11-openjdk-devel` (on RHEL and clones). +When debugging an issue on a running system often we need to collect jvm performance stats with `Java flight recorder`. Starting from release 7.2 the Java flight recorder attach listener is enabled by default. Site admins can collect and provide developers with additional information when high CPU load, memory consumption or file descriptor leaks are observed. To enable the `flight recorder` _jcmd_ command is used, which is typically provided as a part of `java-17-openjdk-headless` (on RHEL and clones). To control recoding the following subcommands of _jcmd_ available: @@ -111,4 +111,4 @@ Overhead Shared Object Symbol 0.74% [kernel] [k] entry_SYSCALL_64 ``` -More info on usage perf usage at [perf Examples](https://www.brendangregg.com/perf.html) by Brendan Gregg. \ No newline at end of file +More info on usage perf usage at [perf Examples](https://www.brendangregg.com/perf.html) by Brendan Gregg. From 623f1a12fc1f0d5d5e8de5b4fdc393d148def9c7 Mon Sep 17 00:00:00 2001 From: Onno Zweers Date: Thu, 3 Apr 2025 17:40:17 +0200 Subject: [PATCH 2/2] Changed OpenJDK 11 to 17, because dCache now requires it. Updated dCache version example. --- .../src/main/markdown/dcache-minimal-installation.md | 8 ++++---- docs/TheBook/src/main/markdown/install.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/TheBook/src/main/markdown/dcache-minimal-installation.md b/docs/TheBook/src/main/markdown/dcache-minimal-installation.md index 84fda59d8c2..2a79172ccc8 100644 --- a/docs/TheBook/src/main/markdown/dcache-minimal-installation.md +++ b/docs/TheBook/src/main/markdown/dcache-minimal-installation.md @@ -29,7 +29,7 @@ For a minimal test installation: - At least 500 MiB free disk space - Software: - - OpenJDK 11 + - OpenJDK 17 - Postgres SQL Server 9.5 or later - ZooKeeper version 3.5 (in case of a standalone ZooKeeper installation) @@ -40,11 +40,11 @@ help you with your system specifications. Just contact us: . #### Software: -- OpenJDK 11 (java 11 , and java 17 for dCache staring from version 10.1) +- OpenJDK 17 (or OpenJDK 11 for dCache versions before 10.1) - > yum install java-11-openjdk + > yum install java-17-openjdk > - > dnf install java-11-openjdk-devel + > dnf install java-17-openjdk-devel - ZooKeeper version 3.7 (in case of a standalone ZooKeeper installation) diff --git a/docs/TheBook/src/main/markdown/install.md b/docs/TheBook/src/main/markdown/install.md index 8f8a57ef007..44c115541c1 100644 --- a/docs/TheBook/src/main/markdown/install.md +++ b/docs/TheBook/src/main/markdown/install.md @@ -74,14 +74,14 @@ rpm -ivh https://www.dcache.org/old/downloads/1.9/repo/##SERIES##/dcache-##VERSI | 1:dcache-##VERSION##-1 ################################# [100%] ``` -For example, `##SERIES##` could be `9.1` and `##VERSION##` could be `9.1.1`. +For example, `##SERIES##` could be `10.1` and `##VERSION##` could be `10.1.1`. ### Installing prerequisite packages First, install OpenJDK and httpd-tools packages. ```console-root -yum install java-11-openjdk-headless httpd-tools +dnf install java-17-openjdk-headless httpd-tools ``` ### Installing PostgreSQL