acct_gather.conf(5) | Slurm Configuration File | acct_gather.conf(5) |
acct_gather.conf - Slurm configuration file for the acct_gather plugins
acct_gather.conf is a UTF8 formatted file which defines parameters used by Slurm's acct_gather related plugins. The file will always be located in the same directory as the slurm.conf.
Parameter names are case insensitive but parameter values are case sensitive. Any text following a "#" in the configuration file is treated as a comment through the end of that line. The size of each line in the file is limited to 1024 characters.
Changes to the configuration file take effect upon restart of the Slurm daemons.
The following acct_gather.conf parameters are defined to control the general behavior of various plugins in Slurm.
The acct_gather.conf file is different than other Slurm .conf files. Each plugin defines which options are available. Each plugin to be loaded must be specified in the slurm.conf under the following configuration entries:
• AcctGatherEnergyType (plugin
type=acct_gather_energy)
• AcctGatherInterconnectType (plugin
type=acct_gather_interconnect)
• AcctGatherFilesystemType (plugin type=acct_gather_filesystem)
• AcctGatherProfileType (plugin type=acct_gather_profile)
If the respective plugin for an option is not loaded then that option will appear to be unknown by Slurm and silently ignored. If you decide to change plugin types you may also have to change the related options.
Required entry in slurm.conf:
AcctGatherEnergyType=acct_gather_energy/ipmi
Options used for acct_gather_energy/ipmi are as follows:
The following acct_gather.conf parameters are defined to control the IPMI config default values for libipmiconsole.
Required entry in slurm.conf:
AcctGatherEnergyType=acct_gather_energy/rapl
Required entry in slurm.conf:
AcctGatherEnergyType=acct_gather_energy/xcc
Options used for acct_gather_energy/xcc include only in-band communications with XClarity Controller, thus a reduced set of configurations is supported:
Required entry in slurm.conf:
AcctGatherFilesystemType=acct_gather_filesystem/lustre
Required entry in slurm.conf:
AcctGatherProfileType=acct_gather_profile/hdf5
Options used for acct_gather_profile/hdf5 are as follows:
Required entry in slurm.conf:
AcctGatherProfileType=acct_gather_profile/influxdb
The InfluxDB plugin provides the same information as the HDF5 plugin but will instead send information to the configured InfluxDB server.
The InfluxDB plugin is designed against 1.x protocol of InfluxDB. Any site running a v2.x InfluxDB server will need to configure a v1.x compatibility endpoint along with the correct user and password authorization. Token authentication is not currently supported.
ProfileInfluxDBHost=myinfluxhost:8086
This plugin requires the libcurl development files to be installed and linkable at configure time. The plugin will not build otherwise.
Information on how to install and configure InfluxDB and manage databases, retention policies and such is available on the official webpage.
Collected information is written from every compute node where a job runs to the InfluxDB instance listening on the ProfileInfluxDBHost. In order to avoid overloading the InfluxDB instance with incoming connection requests, the plugin uses an internal buffer which is filled with samples. Once the buffer is full, a HTTP API write request is performed and the buffer is emptied to hold subsequent samples. A final request is also performed when a task ends even if the buffer isn't full.
Failed HTTP API write requests are silently discarded. This means that collected profile information in the plugin buffer is lost if it can't be written to the InfluxDB database for any reason.
Plugin messages are logged along with the slurmstepd logs to SlurmdLogFile. In order to troubleshoot any issues, it is recommended to temporarily increase the slurmd debug level to debug3 and add Profile to the debug flags. This can be accomplished by setting the slurm.conf SlurmdDebug and DebugFlags respectively or dynamically through scontrol setdebug and setdebugflags.
Grafana can be used to create charts based on the data held by InfluxDB. This kind of tool permits one to create dashboards, tables and other graphics using the stored time series.
Required entry in slurm.conf:
AcctGatherInterconnectType=acct_gather_interconnect/ofed
Options used for acct_gather_interconnect/ofed are as follows:
Required entry in slurm.conf:
AcctGatherInterconnectType=acct_gather_interconnect/sysfs
Options used for acct_gather_interconnect/sysfs are as follows:
### # Slurm acct_gather configuration file ### # Parameters for acct_gather_energy/impi plugin EnergyIPMIFrequency=10 EnergyIPMICalcAdjustment=yes # # Parameters for acct_gather_profile/hdf5 plugin ProfileHDF5Dir=/app/slurm/profile_data # Parameters for acct_gather_interconnect/ofed plugin InfinibandOFEDPort=1
Copyright (C) 2012-2013 Bull. Copyright (C) 2012-2022 SchedMD LLC. Produced at Bull (cf, DISCLAIMER).
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.
Slurm Configuration File | April 2022 |