Commit ab12f83
committed
Add instance id and instance type to slurmd
The information will be shown on `scontrol show nodes`:
```
NodeName=queue-on-demand-dy-compute-resource-2-2 Arch=x86_64 CoresPerSocket=1
CPUAlloc=4 CPUEfctv=4 CPUTot=4 CPULoad=0.95
AvailableFeatures=dynamic,c5.xlarge,compute-resource-2
ActiveFeatures=dynamic,c5.xlarge,compute-resource-2
Gres=(null)
NodeAddr=192.168.127.110 NodeHostName=queue-on-demand-dy-compute-resource-2-2 Version=24.05.2
OS=Linux 5.10.233-224.894.amzn2.x86_64 #1 SMP Mon Jan 27 16:52:48 UTC 2025
RealMemory=7782 AllocMem=0 FreeMem=6431 Sockets=4 Boards=1
State=ALLOCATED+CLOUD ThreadsPerCore=1 TmpDisk=0 Weight=1000 Owner=N/A MCS_label=N/A
Partitions=queue-on-demand
BootTime=2025-02-10T21:22:00 SlurmdStartTime=2025-02-10T21:25:05
LastBusyTime=2025-02-10T21:25:05 ResumeAfterTime=None
CfgTRES=cpu=4,mem=7782M,billing=4
AllocTRES=cpu=4
CurrentWatts=0 AveWatts=0
InstanceId=i-0eb8d995282xxxx11 InstanceType=c5.xlarge
```
reference: https://slurm.schedmd.com/slurmd.html
Signed-off-by: Hanwen <[email protected]>1 parent 3a6db7c commit ab12f83
File tree
3 files changed
+4
-1
lines changed- cookbooks/aws-parallelcluster-slurm
- spec/unit/recipes
- templates/default/slurm/compute
3 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments