Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rc-nhc
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rc
rc-nhc
Commits
59c670b2
Commit
59c670b2
authored
1 year ago
by
Mike Hanby
Browse files
Options
Downloads
Patches
Plain Diff
Add A100 and other Missing Nodes to NHC
Add c0097 - c0201 and c0236 - c0255 to NHC Add `/dev/nvidia*` checks
parent
19a265e1
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nhc.conf
+19
-12
19 additions, 12 deletions
nhc.conf
with
19 additions
and
12 deletions
nhc.conf
+
19
−
12
View file @
59c670b2
...
@@ -19,12 +19,16 @@
...
@@ -19,12 +19,16 @@
### Hardware checks
### Hardware checks
###
###
# Set these to your correct socket, core, and thread counts.
# Set these to your correct socket, core, and thread counts.
{
c00
[
97
-
99
],
c0
[
100
-
114
]} ||
check_hw_cpuinfo
2
28
48
{
c0
[
115
-
149
]} ||
check_hw_cpuinfo
2
24
24
{
c0
[
150
-
201
]} ||
check_hw_cpuinfo
2
48
48
{
c0
[
150
-
201
]} ||
check_hw_cpuinfo
2
48
48
{
c0
[
202
-
235
]} ||
check_hw_cpuinfo
2
128
128
{
c0
[
202
-
235
]} ||
check_hw_cpuinfo
2
128
128
# Set these to the amount of physical RAM you have (leave the fudge factor).
# Set these to the amount of physical RAM you have (leave the fudge factor).
{
c00
[
97
-
99
],
c0
[
100
-
114
]} ||
check_hw_physmem
256
gb
256
gb
5
%
{
c0
[
115
-
149
]} ||
check_hw_physmem
192
gb
192
gb
5
%
{
c0
[
150
-
201
]} ||
check_hw_physmem
768
gb
768
gb
5
%
{
c0
[
150
-
201
]} ||
check_hw_physmem
768
gb
768
gb
5
%
{
c0
[
202
-
2
3
5
]} ||
check_hw_physmem
512
gb
512
gb
5
%
{
c0
[
202
-
2
5
5
]} ||
check_hw_physmem
512
gb
512
gb
5
%
# Set these to the amount of swap you have (leave the fudge factor).
# Set these to the amount of swap you have (leave the fudge factor).
# * || check_hw_swap 8g 8g 3%
# * || check_hw_swap 8g 8g 3%
...
@@ -42,7 +46,7 @@
...
@@ -42,7 +46,7 @@
* ||
check_hw_mem_free
1
g
* ||
check_hw_mem_free
1
g
# Checks that there's a QDR IB interface that's ACTIVE and shows LinkUp.
# Checks that there's a QDR IB interface that's ACTIVE and shows LinkUp.
{
c0
[
1
5
0
-
2
3
5
]} ||
check_hw_ib
100
{
c00
[
97
-
99
],
c0
[
1
0
0
-
2
5
5
]} ||
check_hw_ib
100
# Checks for an active Myrinet interface named "myri0."
# Checks for an active Myrinet interface named "myri0."
# * || check_hw_gm myri0
# * || check_hw_gm myri0
...
@@ -75,20 +79,20 @@
...
@@ -75,20 +79,20 @@
* ||
check_fs_free
/
10
%
* ||
check_fs_free
/
10
%
* ||
check_fs_ifree
/
1
k
* ||
check_fs_ifree
/
1
k
# /local FS
# /local FS
{
c0
[
1
5
0
-
2
3
5
]} ||
check_fs_mount_rw
-
f
/
local
{
c00
[
97
-
99
],
c0
[
1
0
0
-
2
5
5
]} ||
check_fs_mount_rw
-
f
/
local
{
c0
[
1
5
0
-
2
3
5
]} ||
check_fs_free
/
local
10
%
{
c00
[
97
-
99
],
c0
[
1
0
0
-
2
5
5
]} ||
check_fs_free
/
local
10
%
# /tmp FS
# /tmp FS
{
c0
[
1
5
0
-
2
3
5
]} ||
check_fs_mount_rw
-
f
/
tmp
{
c00
[
97
-
99
],
c0
[
1
0
0
-
2
5
5
]} ||
check_fs_mount_rw
-
f
/
tmp
{
c0
[
1
5
0
-
2
3
5
]} ||
check_fs_free
/
tmp
20
%
{
c00
[
97
-
99
],
c0
[
1
0
0
-
2
5
5
]} ||
check_fs_free
/
tmp
20
%
# /var FS
# /var FS
{
c0
[
1
5
0
-
2
3
5
]} ||
check_fs_mount_rw
-
f
/
var
{
c00
[
97
-
99
],
c0
[
1
0
0
-
2
5
5
]} ||
check_fs_mount_rw
-
f
/
var
{
c0
[
1
5
0
-
2
3
5
]} ||
check_fs_free
/
var
10
%
{
c00
[
97
-
99
],
c0
[
1
0
0
-
2
5
5
]} ||
check_fs_free
/
var
10
%
# /data FS
# /data FS
{
c0
[
1
5
0
-
2
3
5
]} ||
check_fs_mount_rw
-
t
gpfs
-
f
/
data
{
c00
[
97
-
99
],
c0
[
1
0
0
-
2
5
5
]} ||
check_fs_mount_rw
-
t
gpfs
-
f
/
data
{
c0
[
1
5
0
-
2
3
5
]} ||
check_file_test
-
r
-
e
-
f
/
data
/.
nhc
-
test
{
c00
[
97
-
99
],
c0
[
1
0
0
-
2
5
5
]} ||
check_file_test
-
r
-
e
-
f
/
data
/.
nhc
-
test
# /scratch FS
# /scratch FS
{
c0
[
1
5
0
-
2
3
5
]} ||
check_fs_mount_rw
-
t
gpfs
-
f
/
scratch
{
c00
[
97
-
99
],
c0
[
1
0
0
-
2
5
5
]} ||
check_fs_mount_rw
-
t
gpfs
-
f
/
scratch
{
c0
[
1
5
0
-
2
3
5
]} ||
check_file_test
-
r
-
e
-
f
/
scratch
/.
nhc
-
test
{
c00
[
97
-
99
],
c0
[
1
0
0
-
2
5
5
]} ||
check_file_test
-
r
-
e
-
f
/
scratch
/.
nhc
-
test
# /rstore/share FS
# /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
##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
# /cm/shared
...
@@ -138,6 +142,9 @@
...
@@ -138,6 +142,9 @@
# Validate a couple important accounts in the passwd file.
# Validate a couple important accounts in the passwd file.
# * || check_file_contents /etc/passwd "/^root:x:0:0:/" "sshd:*"
# * || check_file_contents /etc/passwd "/^root:x:0:0:/" "sshd:*"
# Nvidia /dev/nvidia[0-9]
{
c00
[
97
-
99
],
c0
[
100
-
114
]} ||
check_file_test
-
c
-
r
-
w
/
dev
/
nvidia0
/
dev
/
nvidia1
/
dev
/
nvidia2
/
dev
/
nvidia3
{
c0
[
236
-
255
]} ||
check_file_test
-
c
-
r
-
w
/
dev
/
nvidia0
/
dev
/
nvidia1
# Check that LDAP is resolving correctly on the node
# Check that LDAP is resolving correctly on the node
* ||
check_cmd_status
-
t
5
-
r
0
getent
group
atlab
* ||
check_cmd_status
-
t
5
-
r
0
getent
group
atlab
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment