From fd63a8d7f61479dec770fc08242158c1adb6b91e Mon Sep 17 00:00:00 2001
From: Nicolas Perrin <nicolas.perrin@inria.fr>
Date: Fri, 17 Jan 2025 09:40:08 +0100
Subject: [PATCH] [sophia][musa] update nodes configuration

---
 .../sites/sophia/clusters/musa/musa.json       |  4 ++--
 .../sophia/clusters/musa/nodes/musa-1.json     | 10 +++++-----
 .../sophia/clusters/musa/nodes/musa-2.json     | 10 +++++-----
 .../sophia/clusters/musa/nodes/musa-3.json     | 10 +++++-----
 .../sophia/clusters/musa/nodes/musa-4.json     | 10 +++++-----
 .../sophia/clusters/musa/nodes/musa-5.json     | 10 +++++-----
 .../sophia/clusters/musa/nodes/musa-6.json     | 10 +++++-----
 .../sites/sophia/clusters/musa/musa.yaml       | 18 +++++++++---------
 8 files changed, 41 insertions(+), 41 deletions(-)

diff --git a/data/grid5000/sites/sophia/clusters/musa/musa.json b/data/grid5000/sites/sophia/clusters/musa/musa.json
index 66655d2a8e8..de7c564c752 100644
--- a/data/grid5000/sites/sophia/clusters/musa/musa.json
+++ b/data/grid5000/sites/sophia/clusters/musa/musa.json
@@ -1,13 +1,13 @@
 {
   "boot_type": "uefi",
-  "created_at": "Thu, 01 Jan 1970 00:00:00 GMT",
+  "created_at": "Thu, 16 Jan 2025 00:00:00 GMT",
   "exotic": false,
   "kavlan": false,
   "manufactured_at": "1970-01-01",
   "metrics": [
 
   ],
-  "model": "Cluster Model",
+  "model": "ProLiant DL385 Gen11",
   "priority": 197001,
   "queues": [
     "admin",
diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-1.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-1.json
index 23333c1df0e..9b0a5eb1f4c 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-1.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-1.json
@@ -77,8 +77,8 @@
     "turboboost_enabled": true
   },
   "performance": {
-    "core_flops": 128,
-    "node_flops": 9216
+    "core_flops": 139200000000,
+    "node_flops": 10022400000000
   },
   "processor": {
     "cache_l1": null,
@@ -86,10 +86,10 @@
     "cache_l1i": 8,
     "cache_l2": 8,
     "cache_l3": 8,
-    "clock_speed": 8,
+    "clock_speed": 2900000000,
     "ht_capable": true,
     "instruction_set": "x86-64",
-    "microarchitecture": "Haswell",
+    "microarchitecture": "Zen 4",
     "microcode": "0xd000001",
     "model": "Unknown",
     "other_description": "description",
@@ -105,7 +105,7 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:c5:00.0-nvme-1",
       "id": "disk0",
       "interface": "SAS",
       "model": "unknown",
diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-2.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-2.json
index 573c4eea41b..7a466901eae 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-2.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-2.json
@@ -77,8 +77,8 @@
     "turboboost_enabled": true
   },
   "performance": {
-    "core_flops": 128,
-    "node_flops": 9216
+    "core_flops": 139200000000,
+    "node_flops": 10022400000000
   },
   "processor": {
     "cache_l1": null,
@@ -86,10 +86,10 @@
     "cache_l1i": 8,
     "cache_l2": 8,
     "cache_l3": 8,
-    "clock_speed": 8,
+    "clock_speed": 2900000000,
     "ht_capable": true,
     "instruction_set": "x86-64",
-    "microarchitecture": "Haswell",
+    "microarchitecture": "Zen 4",
     "microcode": "0xd000001",
     "model": "Unknown",
     "other_description": "description",
@@ -105,7 +105,7 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:c5:00.0-nvme-1",
       "id": "disk0",
       "interface": "SAS",
       "model": "unknown",
diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-3.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-3.json
index 07466997281..07a0be85577 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-3.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-3.json
@@ -77,8 +77,8 @@
     "turboboost_enabled": true
   },
   "performance": {
-    "core_flops": 128,
-    "node_flops": 9216
+    "core_flops": 139200000000,
+    "node_flops": 10022400000000
   },
   "processor": {
     "cache_l1": null,
@@ -86,10 +86,10 @@
     "cache_l1i": 8,
     "cache_l2": 8,
     "cache_l3": 8,
-    "clock_speed": 8,
+    "clock_speed": 2900000000,
     "ht_capable": true,
     "instruction_set": "x86-64",
-    "microarchitecture": "Haswell",
+    "microarchitecture": "Zen 4",
     "microcode": "0xd000001",
     "model": "Unknown",
     "other_description": "description",
@@ -105,7 +105,7 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:c5:00.0-nvme-1",
       "id": "disk0",
       "interface": "SAS",
       "model": "unknown",
diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-4.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-4.json
index 2465f2a0604..de95f21b262 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-4.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-4.json
@@ -77,8 +77,8 @@
     "turboboost_enabled": true
   },
   "performance": {
-    "core_flops": 128,
-    "node_flops": 9216
+    "core_flops": 139200000000,
+    "node_flops": 10022400000000
   },
   "processor": {
     "cache_l1": null,
@@ -86,10 +86,10 @@
     "cache_l1i": 8,
     "cache_l2": 8,
     "cache_l3": 8,
-    "clock_speed": 8,
+    "clock_speed": 2900000000,
     "ht_capable": true,
     "instruction_set": "x86-64",
-    "microarchitecture": "Haswell",
+    "microarchitecture": "Zen 4",
     "microcode": "0xd000001",
     "model": "Unknown",
     "other_description": "description",
@@ -105,7 +105,7 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:c5:00.0-nvme-1",
       "id": "disk0",
       "interface": "SAS",
       "model": "unknown",
diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-5.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-5.json
index 2dbb68fdf1e..cd2ab917424 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-5.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-5.json
@@ -77,8 +77,8 @@
     "turboboost_enabled": true
   },
   "performance": {
-    "core_flops": 128,
-    "node_flops": 9216
+    "core_flops": 139200000000,
+    "node_flops": 10022400000000
   },
   "processor": {
     "cache_l1": null,
@@ -86,10 +86,10 @@
     "cache_l1i": 8,
     "cache_l2": 8,
     "cache_l3": 8,
-    "clock_speed": 8,
+    "clock_speed": 2900000000,
     "ht_capable": true,
     "instruction_set": "x86-64",
-    "microarchitecture": "Haswell",
+    "microarchitecture": "Zen 4",
     "microcode": "0xd000001",
     "model": "Unknown",
     "other_description": "description",
@@ -105,7 +105,7 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:c5:00.0-nvme-1",
       "id": "disk0",
       "interface": "SAS",
       "model": "unknown",
diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-6.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-6.json
index 4c86bd5ee38..bd8301d1968 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-6.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-6.json
@@ -77,8 +77,8 @@
     "turboboost_enabled": true
   },
   "performance": {
-    "core_flops": 128,
-    "node_flops": 9216
+    "core_flops": 139200000000,
+    "node_flops": 10022400000000
   },
   "processor": {
     "cache_l1": null,
@@ -86,10 +86,10 @@
     "cache_l1i": 8,
     "cache_l2": 8,
     "cache_l3": 8,
-    "clock_speed": 8,
+    "clock_speed": 2900000000,
     "ht_capable": true,
     "instruction_set": "x86-64",
-    "microarchitecture": "Haswell",
+    "microarchitecture": "Zen 4",
     "microcode": "0xd000001",
     "model": "Unknown",
     "other_description": "description",
@@ -105,7 +105,7 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:c5:00.0-nvme-1",
       "id": "disk0",
       "interface": "SAS",
       "model": "unknown",
diff --git a/input/grid5000/sites/sophia/clusters/musa/musa.yaml b/input/grid5000/sites/sophia/clusters/musa/musa.yaml
index 04ae0a28577..aaab3ae9710 100644
--- a/input/grid5000/sites/sophia/clusters/musa/musa.yaml
+++ b/input/grid5000/sites/sophia/clusters/musa/musa.yaml
@@ -1,9 +1,9 @@
 ---
-model: Cluster Model # TODO: change this value.
-created_at: 1970-01-01 # TODO: change this value
+model: ProLiant DL385 Gen11
+created_at: 2025-01-16
 kavlan: false
-boot_type: uefi # TODO: specify if 'uefi' (ideally) or 'bios' (legacy, if no other choice)
-exotic: false # TODO: specify if 'true' or 'false'
+boot_type: uefi
+exotic: false
 queues:
   - admin
   - testing
@@ -17,8 +17,8 @@ nodes:
       besteffort: true
       max_walltime: 0
     processor:
-      microarchitecture: Haswell # TODO: replace with microarch name.
-      clock_speed: 8 # TODO: Replace with clock speed.
+      microarchitecture: Zen 4
+      clock_speed: 2_900_000_000
     network_adapters:
       bmc:
         interface: Ethernet
@@ -33,9 +33,9 @@ nodes:
       disk0: # This field will have to be renamed later.
         id: disk0
         interface: SAS
-        by_path: "/dev/disk/by-path/dummy" # this path will have to change later.
+        by_path: "/dev/disk/by-path/pci-0000:c5:00.0-nvme-1"
     software:
-      standard-environment: debian11-x64-std # TODO: check that architecture is OK
+      standard-environment: debian11-x64-std
     management_tools:
-      bmc_vendor_tool: ipmitool # TODO: replace with bmc_vendor_tool (ipmitool, racadm)
+      bmc_vendor_tool: ipmitool
     nodeset: musa
-- 
GitLab