slurm19.05 slurm.conf配置

centos安装slurm19.05步骤,https://blog.csdn.net/qq_34149581/article/details/101902935

 

# slurm.conf file generated by configurator easy.html.
# Put this file on all nodes of your cluster.
# See the slurm.conf man page for more information.
#
SlurmctldHost=blog1
#
#MailProg=/bin/mail
MpiDefault=none
#MpiParams=ports=#-#
ProctrackType=proctrack/cgroup
ReturnToService=1
SlurmctldPidFile=/var/run/slurmctld.pid
#SlurmctldPort=6817
SlurmdPidFile=/var/run/slurmd.pid
#SlurmdPort=6818
SlurmdSpoolDir=/var/spool/slurmd
SlurmUser=root
#SlurmdUser=root
StateSaveLocation=/var/spool/slurmctld
SwitchType=switch/none
TaskPlugin=task/affinity
#
#
# TIMERS
#KillWait=30
#MinJobAge=300
#SlurmctldTimeout=120
#SlurmdTimeout=300
#
#
# SCHEDULING
FastSchedule=1
SchedulerType=sched/backfill
SelectType=select/cons_res
SelectTypeParameters=CR_Core
#
#
# LOGGING AND ACCOUNTING
AccountingStorageType=accounting_storage/slurmdbd
AccountingStorageHost=blog2
#AccountingStorageBackupHost=
AccountingStorageLoc=slurm_acct_db
AccountingStoragePort=7031
AccountingStoragePass=/var/run/munge/munge.socket.2
AccountingStorageUser=root

#注意这个CluterName,这个会影响后面slurmdbd的配置,比如现在是ClusterName=cluter。

ClusterName=cluster
#JobAcctGatherFrequency=30
JobAcctGatherType=jobacct_gather/cgroup
#SlurmctldDebug=info
SlurmctldLogFile=/var/log/slurmctld.log
#SlurmdDebug=info
SlurmdLogFile= /var/log/slurmd.log
#
#
# COMPUTE NODES
NodeName=blog2 NodeAddr=192.168.109.136 CPUs=1 State=UNKNOWN
PartitionName=debug Nodes=blog2 Default=YES MaxTime=INFINITE State=UP

你可能感兴趣的:(Slurm)