job_container.conf
Section: Slurm Configuration File (5)Updated: Slurm Configuration File
Index
NAME
job_container.conf - Slurm configuration file for job_container/tmpfs pluginjob_container.conf-job_container / tmpfsプラグインのSlurm構成ファイル
DESCRIPTION
job_container.conf is an ASCII file which defines parameters used by
Slurm's job_container/tmpfs plugin.
job_container.confは、Slurmのjob_container / tmpfsプラグインで使用されるパラメーターを定義するASCIIファイルです。
The plugin reads the
job_container.conf file to find out the configuration settings.
プラグインはjob_container.confファイルを読み取り、構成設定を確認します。
Based on them it
constructs a private mount namespace for the job and mounts /tmp and
/dev/shm inside it.
それらに基づいて、ジョブのプライベートマウント名前空間を構築し、その中に/ tmpと/ dev / shmをマウントします。
This gives the job a private view of /tmp and
/dev/shm.
これにより、ジョブに/ tmpおよび/ dev / shmのプライベートビューが提供されます。
/tmp is mounted inside a location that is specified as 'BasePath' in
job_container.conf file.
/ tmpは、job_container.confファイルで「BasePath」として指定されている場所にマウントされます。
The file location can be modified at system build time using the
DEFAULT_SLURM_CONF parameter or at execution time by setting the SLURM_CONF
environment variable.
ファイルの場所は、システムのビルド時にDEFAULT_SLURM_CONFパラメーターを使用して変更することも、実行時にSLURM_CONF環境変数を設定することによって変更することもできます。
The file will always be located in the
same directory as the slurm.conf file.
このファイルは常にslurm.confファイルと同じディレクトリにあります。
If using the job_container.conf file to define a namespace available to
nodes the first parameter on the line should be NodeName.
job_container.confファイルを使用してノードで使用可能な名前空間を定義する場合、行の最初のパラメーターはNodeNameである必要があります。
If configuring a
namespace without specifying nodes, the first parameter on the line
should be BasePath.
ノードを指定せずに名前空間を構成する場合、行の最初のパラメーターはBasePathである必要があります。
Parameter names are case insensitive.
パラメータ名では大文字と小文字は区別されません。
Any text following a "#" in the configuration file is treated
as a comment through the end of that line.
構成ファイルの「#」に続くテキストは、その行の終わりまでコメントとして扱われます。
Changes to the configuration file take effect upon restart of Slurm daemons.
構成ファイルへの変更は、Slurmデーモンの再起動時に有効になります。
The following job_container.conf parameters are defined to control the behavior
of the job_container/tmpfs plugin.
次のjob_container.confパラメーターは、job_container / tmpfsプラグインの動作を制御するために定義されています。
- AutoBasePath
-
This determines if plugin should create the BasePath directory or not.
これにより、プラグインがBasePathディレクトリを作成するかどうかが決まります。
Set it to the directory is created with permission 0755.
権限0755で作成されたディレクトリに設定してください。
Directory is not deleted during slurm shutdown.
slurmシャットダウン中にディレクトリは削除されません。
If set to 'false' or not specified, plugin would expect directory to exist.
'false'に設定されているか指定されていない場合、プラグインはディレクトリが存在することを期待します。
This option can be used on a global or per-line basis.
このオプションは、グローバルベースまたはラインごとに使用できます。
This parameter is optional.
このパラメーターはオプションです。
- Basepath
-
Specify the PATH that the tmpfs plugin should use to mount private /tmp
to.
tmpfsプラグインがプライベート/ tmpをマウントするために使用するPATHを指定します。
This path must be readable and writable by the plugin.
このパスは、プラグインによって読み取りおよび書き込み可能である必要があります。
The plugin also constructs a directory for each job inside this path, which is then used for mounting.
プラグインは、このパス内の各ジョブのディレクトリも作成します。このディレクトリは、マウントに使用されます。
The basepath gets mounted as 'private' during slurmd start and remains mounted until shutdown.
ベースパスは、slurmdの開始時に「プライベート」としてマウントされ、シャットダウンするまでマウントされたままになります。
- InitScript
-
Specify fully qualified pathname of an optional initialization script.
オプションの初期化スクリプトの完全修飾パス名を指定します。
This script is run before the namespace construction of a job.
このスクリプトは、ジョブの名前空間構築の前に実行されます。
It can be used to make the job join additional namespaces prior to the construction of /tmp namespace or it can be used for any site-specific setup.
/ tmp名前空間を構築する前に、ジョブを追加の名前空間に参加させるために使用することも、サイト固有のセットアップに使用することもできます。
This parameter is optional.
このパラメーターはオプションです。
- NodeName
-
A NodeName specification can be used to permit one job_container.conf
file to be used for all compute nodes in a cluster by specifying the node(s)
that each line should apply to.
NodeName仕様を使用すると、各行を適用するノードを指定することで、クラスター内のすべての計算ノードに1つのjob_container.confファイルを使用できるようになります。
The NodeName specification can use a Slurm hostlist specification as shown in the example below.
NodeName仕様では、以下の例に示すようにSlurmホストリスト仕様を使用できます。
This parameter is optional.
このパラメーターはオプションです。
EXAMPLE
- /etc/slurm/job_container.conf:
-
### # Sample job_container.conf file 1 # Define 2 basepaths # The first will only be on largemem[1-2] and it will automatically created. # The second will only be on gpu[1-10], will be expected to exist and will run # an initscript before each job. ### NodeName=largemem[1-2] AutoBasePath=true BasePath=/var/nvme/storage NodeName=gpu[1-10] BasePath=/var/nvme/storage InitScript=/etc/slurm/init.sh
### # Sample job_container.conf file 2 # Define 1 basepath that will be on all nodes and automatically created. ### AutoBasePath=true BasePath=/var/nvme/storage
- /etc/slurm/slurm.conf:
-
These are the entries required in slurm.conf to activate the
job_container/tmpfs plugin.
これらは、job_container / tmpfsプラグインをアクティブ化するためにslurm.confに必要なエントリです。
### # Slurm configuration need to use job_container/tmpfs plugin ### JobContainerType=job_container/tmpfs
NOTES
If any parameters in job_container.conf are changed while slurm is running, then
slurmd on the respective nodes will need to be
restarted for changes to take effect.
slurmの実行中にjob_container.confのパラメーターが変更された場合、変更を有効にするには、それぞれのノードのslurmdを再起動する必要があります。
Additionally this can be disruptive to
jobs already running on the node.
さらに、これはノードですでに実行されているジョブを混乱させる可能性があります。
So care must be taken to make sure no jobs
are running if any changes to job_container.conf are deployed.
したがって、job_container.confへの変更がデプロイされた場合は、ジョブが実行されていないことを確認するように注意する必要があります。
Restarting slurmd is safe and non-disruptive to running jobs, as long as
job_container.conf is not changed between restarts in which case above point
applies.
slurmdの再起動は、再起動の間にjob_container.confが変更されない限り、安全で実行中のジョブを中断しません。この場合、上記のポイントが適用されます。
COPYING
Copyright (C) 2021 Regents of the University of California Produced at Lawrence Berkeley National LaboratoryCopyright (C) 2021 SchedMD LLC.
This file is part of Slurm, a resource management program. For details, see <https://slurm.schedmd.com/>.
Slurm is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Slurm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
SEE ALSO
slurm.conf(5)
Index
This document was created by man2html using the manual pages.
Time: 21:55:19 GMT, March 16, 2021