#slurm集群配置
##集群名称
ClusterName=myslurm
##主控制器的主机名
ControlMachine=node11
##主控制器的IP地址
ControlAddr=192.168.80.11
##备控制器的主机名
BackupController=node12
##备控制器的IP地址
BackupAddr=192.168.80.12
#
##slurmd的进程用户
SlurmdUser=root
##slurctld的监听端口
SlurmctldPort=6817
##slurmd的通信端口
SlurmdPort=6818
##组件认证方式
AuthType=auth/munge # none|munge
##slurm daemons(slurmctld,slurmdbd,slurmd),slurm clients,的通信认证
AuthInfo=/var/run/munge/munge.socket.2 #cred_expire|socket|ttl
#JobCredentialPrivateKey=
#JobCredentialPublicCertificate=
##集群状态文件存放位置(全局文件系统)
StateSaveLocation=/usr/local/globle/softs/slurm/16.05.3/state
##?
SlurmdSpoolDir=/var/spool/slurmd
##?
SwitchType=switch/none
MpiDefault=none
##调度
#[批处理作业]在被视为丢失并释放分配的资源之前[允许进行启动的最大时间] (以秒为单位)
#默认10秒.execute prolog,load user environment variables, slurmd get page from memroy.可能需要更大的时间.
#BatchStartTimeout=10
#BurstBufferType=burst_buffer/none
#CheckpointType=checkpoint/blcr|none|ompi
###
##slurmctld的pid文件存放
SlurmctldPidFile=/var/run/slurmctld.pid
##slurmd的pid文件存放
SlurmdPidFile=/var/run/slurmd.pid
##?
#ProctrackType=proctrack/cgroup
ProctrackType=proctrack/pgid
#PluginDir=
##第一个作业ID
FirstJobId=1
##?
ReturnToService=2
##最大的作业ID
MaxJobCount=10000
#PlugStackConfig=
#PropagatePrioProcess=
#PropagateResourceLimits=
#PropagateResourceLimitsExcept=
#Prolog=
#Epilog=
#SrunProlog=
#SrunEpilog=
#TaskProlog=
#TaskEpilog=
#TaskPlugin=
#TrackWCKey=no
#TreeWidth=50
#TmpFS=
#UsePAM=
#
# TIMERS
##控制器通信超时
SlurmctldTimeout=60
##slurmd通信超时
SlurmdTimeout=60
InactiveLimit=0
MinJobAge=300
KillWait=30
Waittime=0
#
# SCHEDULING
SchedulerType=sched/backfill
#SchedulerAuth=
#SchedulerPort=
#SchedulerRootFilter=
SelectType=select/linear
FastSchedule=1
#PriorityType=priority/multifactor
#PriorityDecayHalfLife=14-0
#PriorityUsageResetPeriod=14-0
#PriorityWeightFairshare=100000
#PriorityWeightAge=1000
#PriorityWeightPartition=10000
#PriorityWeightJobSize=1000
#PriorityMaxAge=1-0
#
# LOGGING
SlurmctldDebug=6
SlurmctldLogFile=/usr/local/globle/softs/slurm/16.05.3/log/SlurmctldLogFile
SlurmdDebug=6
SlurmdLogFile=/var/log/SlurmdLogFile
JobCompType=jobcomp/none
#JobCompLoc=
#
# ACCOUNTING
#JobAcctGatherType=jobacct_gather/cgroup
JobAcctGatherFrequency=30 ##AccountingStorage setting
#filetxt,none,slurmdbd
AccountingStorageType=accounting_storage/slurmdbd
AccountingStorageHost=192.168.80.13
AccountingStorageBackupHost=192.168.80.14
AccountingStorageLoc=slurm_acct_db
#AccountingStoragePass=liwanliang
AccountingStoragePass=/var/run/munge/munge.socket.2
AccountingStorageUser=slurmadmin
AccountingStorageEnforce=limints,qos
#AccountingStorageTRES=gres/craynetwork,license/iop1,cpu,energy,memroy,nodes
#AccountingStoreJobComment=yes
AcctGatherNodeFreq=180
#AcctGatherEnergyType=acct_gather_energy/none|ipmi|rapl
#AcctGatherInfinibandType=acct_gather_infiniband/none|ofed
#AcctGatherFilesystemType=acct_gather_filesystem/none|lustre
#AcctGatherProfileType=acct_gather_profile/none|hdf5
#AllowSpecResourceUsage=0|1
#
# COMPUTE NODES
NodeName=node[11-14] CPUs=4 RealMemory=900 Sockets=4 CoresPerSocket=1 ThreadsPerCore=1 Procs=4 State=UNKNOWN
PartitionName=q_x86_1 Nodes=node[11-12] Default=YES MaxTime=INFINITE State=UP
PartitionName=q_x86_2 Nodes=node[13-14] MaxTime=INFINITE State=UP

slurm.conf系统初始配置的更多相关文章

  1. cgroup.conf系统初始配置

    # Slurm cgroup support configuration file # # See man slurm.conf and man cgroup.conf for further # i ...

  2. slurmdbd.conf系统初始配置

    # Archive info ArchiveJobs=yes ArchiveDir=/usr/local/globle/softs/slurm/16.05.3/archive/ ArchiveStep ...

  3. Linux系统初始配置标准化

    Inux系统标准化 配置环境:4台Centos7.6版本的虚拟机,刚刚最小化安装完成,未作任何操作,分别是node1.node2.node3.node4 本文打算利用ansible工具对这四台虚拟机进 ...

  4. 【Linux_Fedora_系统管理系列】_1_用户登录和系统初始配置

    发现一个问题,在FC14 的Firefox浏览器中,编辑和排版好的博文,在windows下用chrome或者猎豹浏览器打开后,排版就变得阅读 不是很容易里,而且经常不经意的断行.不知道园子的管理人员时 ...

  5. 树莓派搭载CentOS7系统初始配置

    系统属性: 树莓派型号:3b SD:32GB 系统:CentOS-Userland-7-armv7hl-RaspberryPI-Minimal-1908-sda.raw 开机配置: 连接树莓派: 配件 ...

  6. lixuxmint系统定制与配置(1)-系统初始配置

    小书匠Linux 经常安装新的系统,每次安装完都得去搜索一边如何将系统部署为之前的环境,不仅耗费时间,还不一定能弄回之前的环境,现在把从裸机->到工作环境的系统定制及配置过程记录下来,期间的配置 ...

  7. Slurm任务调度系统部署和测试(源码)(1)

    1. 概述1.1 节点信息2. 节点准备3. 部署NTP服务器4. 部署LDAP服务器5. 部署Munge认证服务6. 部署Mysql数据库服务7. 部署slurm7.1 创建slurm用户7.2 挂 ...

  8. centos7.3.1611安装及初始配置

    安装前规划: 主机名称 网络配置 分区配置 分区配置 自定义分区,标准分区 /boot 200M (可选) swap 内存1.5倍到2倍(不大于8G) / 根分区(100G到200G) 其余的备用(数 ...

  9. slurm任务调度系统部署和测试(一)

    1.概述 本博客通过VMware workstation创建了虚拟机console,然后在console内部创建了8台kvm虚拟机,使用这8台虚拟机作为集群,来部署配置和测试slurm任务调度系统. ...

随机推荐

  1. 四则运算 Java 姚康友,黎扬乐

    github项目传送门:https://github.com/yaokangyou/arithmetic 项目要求 功能列表 [完成] 使用 -n 参数控制生成题目的个数 [完成] 使用 -r 参数控 ...

  2. python第七十七天---HTML

    HTML5 :规则, 浏览器的通用规则 1.规则, 浏览器的通用规则 2.开发者: 学习html 规则 开发后台程序 - 写html文件 (当作模板) - 数据库获取数据,替换到指定的HTML文件中的 ...

  3. Sql 查询结果 根据某个字段值 变更另外一个字段值 case when

    SELECT CASE THEN '*******' ELSE Plate END AS Plate, CarType FROM Cars;

  4. GPU与CPU的区别

    作者:虫子君 链接:https://www.zhihu.com/question/19903344/answer/96081382 来源:知乎 著作权归作者所有.商业转载请联系作者获得授权,非商业转载 ...

  5. C++ Standards Support in GCC - GCC 对 C++ 标准的支持

    C++ Standards Support in GCC - 2019-2-20 GCC supports different dialects of C++, corresponding to th ...

  6. 通过explain分析低效的SQL执行计划

    之前我们讲过如何开启慢查询日志,这个日志的最大作用就是我们通过设定超时阈值,在执行SQL语句中的消耗时间大于这个阈值,将会被记录到慢查询日志里面.DBA通过这个慢查询日志定位到执行缓慢的sql语句,以 ...

  7. win10系统如何关掉系统自动更新

    越来越多的电脑使用者都在使用Windows10系统,尽管系统是一代代更新的,但难免有槽点,Windows10系统也不例外,最大的槽点就是“自动更新”的功能.当然,“自动更新”的功能也是相当有用处的.  ...

  8. LNMP环境搭建详细教程

    之前有一篇博客写的是LAMP的环境搭建,今天来详细介绍一下另外一个模式——LNMP=Linux+Nginx+MySQL+PHP. 一.在Linux系统下nginx的安装过程,先到http://ngin ...

  9. 第 16 章 C 预处理器和 C 库(string.h 库中的 memcpy() 和 memmove())

    /*----------------------------------------- mems.c -- 使用 memcpy() 和 memmove() ---------------------- ...

  10. hadoop系列 第三坑: Task process exit with nonzero status of 137

    跑MR的时候抛出异常: java.lang.Throwable: Child Error at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.j ...