Commit bc0bc622 authored by Pape, David (FWCC) - 139658's avatar Pape, David (FWCC) - 139658
Browse files

Running slurmd as root. Cleaning up slurm.conf.

parent 56a9d935
Pipeline #20570 canceled with stage
in 1 second
......@@ -29,14 +29,6 @@ _slurmdb_setup() {
DbdHost=localhost
PidFile=/var/run/slurm/slurmdbd.pid
SlurmUser=slurm
# Archive info
# don't archive
# Authentication info
AuthType=auth/munge
# Database info
StorageType=accounting_storage/mysql
StorageUser=slurm
StoragePass=password
......@@ -53,43 +45,15 @@ _slurm_setup() {
# See the slurm.conf man page for more information.
#
SlurmUser=slurm
SlurmdUser=slurm
EnforcePartLimits=ALL
MailProg=/bin/true # so the daemons don't complain
ProctrackType=proctrack/linuxproc # setup with cgroups possible in container?
SlurmctldHost=localhost
SlurmctldPidFile=/var/run/slurm/slurmctld.pid
SlurmdPidFile=/var/run/slurm/slurmd-%n.pid
SlurmctldPort=6817
#SlurmdPort=6801
#SlurmdPort=6802
#SlurmdPort=6803
#SlurmdPort=6804
SlurmdSpoolDir=/var/spool/slurm/slurmd-%n
AuthType=auth/munge
EnforcePartLimits=NO
MailProg=/bin/true # so the daemons don't complain
MpiDefault=none
ProctrackType=proctrack/linuxproc # setup with cgroups possible in container?
ReturnToService=0
SlurmUser=slurm
StateSaveLocation=/var/spool/slurm/slurmctld
SwitchType=switch/none
TaskPlugin=task/none
# TIMERS
InactiveLimit=0
KillWait=30
MinJobAge=300
SlurmctldTimeout=120
SlurmdTimeout=300
Waittime=0
# SCHEDULING
FastSchedule=1
SchedulerType=sched/backfill
SelectType=select/linear
# JOB PRIORITY
# ACCOUNTING
ClusterName=sid # sid = Slurm in Docker
......@@ -99,21 +63,17 @@ JobAcctGatherType=jobacct_gather/linux
# LOGGING
SlurmctldLogFile=/var/log/slurm/slurmctld.log
SlurmdLogFile=/var/log/slurm/slurmd-%n.log
SlurmctldDebug=3
SlurmdDebug=3
# COMPUTE NODES
# COMPUTE NODES AND PARTITIONS
NodeName=sidc[1-4] NodeHostName=localhost Port=[6801-6804]
# PARTITIONS
PartitionName=sidp Nodes=sidc[1-4] Default=YES MaxTime=1:00:00 State=UP
EOF
slurmctld -c
sudo -u slurm slurmd -N sidc1
sudo -u slurm slurmd -N sidc2
sudo -u slurm slurmd -N sidc3
sudo -u slurm slurmd -N sidc4
slurmd -N sidc1
slurmd -N sidc2
slurmd -N sidc3
slurmd -N sidc4
}
_slurm_accounting() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment