From fb25c495d3d50c6ebb3e5f1299091d3ee9111e95 Mon Sep 17 00:00:00 2001
From: Mike Hanby <mhanby@uab.edu>
Date: Wed, 11 Dec 2024 12:51:58 -0600
Subject: [PATCH] Revert memory change for c0101 c0102

c0101 and c0102 (out of warranty) previously lost a stick of memory
(i.e. not visible to the OS). These nodes have since reverted back to
having all 256G visible.

This change reverts the previous change to nhc.conf so that the
check_hw_physmem is now 256gb like the other P100 nodes (c0097 .. 114)
---
 nhc.conf | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/nhc.conf b/nhc.conf
index af95038..55d2b70 100644
--- a/nhc.conf
+++ b/nhc.conf
@@ -26,9 +26,12 @@
    {c0[202-255]} || check_hw_cpuinfo 2 128 128
 
 # Set these to the amount of physical RAM you have (leave the fudge factor).
-   {c00[97-99],c0[103-114]} || check_hw_physmem 256gb 256gb 5%
-#### c0101 and c0102 are out of warranty and have lost a DIMM
-   {c0[101-102]} || check_hw_physmem 231gb 231gb 5%
+### 20241210 - c0101 and c0102 memory count has returned to 256G, adding them
+###   back to the original rule for the P100s
+   {c00[97-99],c0[100-114]} || check_hw_physmem 256gb 256gb 5%
+   #{c00[97-99],c0[103-114]} || check_hw_physmem 256gb 256gb 5%
+####   c0101 and c0102 are out of warranty and have lost a DIMM
+#   {c0[101-102]} || check_hw_physmem 231gb 231gb 5%
    {c0[115-135]} || check_hw_physmem 192gb 192gb 5%
    {c0[136-139]} || check_hw_physmem 1510gb 1510gb 5%
    {c0[140-201]} || check_hw_physmem 768gb 768gb 5%
-- 
GitLab