From 2d99bf3936860b345780d795bdfdb1281a0508b2 Mon Sep 17 00:00:00 2001
From: Mike Hanby <mhanby@uab.edu>
Date: Mon, 12 Jun 2023 14:19:35 -0500
Subject: [PATCH] Add v2gpu compute nodes

---
 nhc.conf | 29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)

diff --git a/nhc.conf b/nhc.conf
index 765f118..61436e0 100644
--- a/nhc.conf
+++ b/nhc.conf
@@ -75,25 +75,32 @@
    * || check_fs_free / 10%
    * || check_fs_ifree / 1k
 # /local FS
-   * || check_fs_mount_rw -f /local
-   * || check_fs_free /local 10%
+   {c0[150-235]} || check_fs_mount_rw -f /local
+   {c0[150-235]} || check_fs_free /local 10%
 # /tmp FS
-   * || check_fs_mount_rw -f /tmp
-   * || check_fs_free /tmp 20%
+   {c0[150-235]} || check_fs_mount_rw -f /tmp
+   {c0[150-235]} || check_fs_free /tmp 20%
 # /var FS
-   * || check_fs_mount_rw -f /var
-   * || check_fs_free /var 10%
+   {c0[150-235]} || check_fs_mount_rw -f /var
+   {c0[150-235]} || check_fs_free /var 10%
 # /data FS
-   * || check_fs_mount_rw -t gpfs -f /data
-   * || check_file_test -r -e -f /data/.nhc-test
-   * || check_file_test -r -e -f /scratch/.nhc-test
-
+   {c0[150-235]} || check_fs_mount_rw -t gpfs -f /data
+   {c0[150-235]} || check_file_test -r -e -f /data/.nhc-test
 # /scratch FS
-   * || check_fs_mount_rw -t gpfs -f /scratch
+   {c0[150-235]} || check_fs_mount_rw -t gpfs -f /scratch
+   {c0[150-235]} || check_file_test -r -e -f /scratch/.nhc-test
 # /rstore/share FS
 ##MJH##   * || check_fs_mount -s 192.168.200.19:6789,192.168.200.20:6789,192.168.200.21:6789:/share -t ceph -f /rstore/share
 # /cm/shared
    * || check_fs_mount -s gpfs.rc.uab.edu:/data/cm/shared-8.2 -t nfs -f /cm/shared
+# Virtual GPU Node Mounts
+   {v2gpu00[1-9]} || check_fs_mount -s gpfs.rc.uab.edu:/scratch -t nfs -f /scratch
+   {v2gpu00[1-9]} || check_fs_mount -s gpfs.rc.uab.edu:/data/rc/apps -t nfs -f /data/rc/apps
+   {v2gpu00[1-9]} || check_fs_mount -s gpfs.rc.uab.edu:/data/project -t nfs -f /data/project
+   {v2gpu00[1-9]} || check_fs_mount -s gpfs.rc.uab.edu:/data/user -t nfs -f /data/user
+   {v2gpu00[1-9]} || check_fs_mount -s gpfs.rc.uab.edu:/data/user/home -t nfs -f /home
+# Virtual GPU Node Nvidia device files
+   {v2gpu00[1-9]} || check_file_test -e /dev/nvidia0 /dev/nvidia1
 
 # Assert that /tmp is a mounted filesystem of type "tmpfs."
 #   * || check_fs_mount_rw -t tmpfs -f /tmp
-- 
GitLab