HP XC System Software Administration Guide Version 2.1
11.2.2 Configuring SLURM Servers
The default assignment for the SL URM server — that is the node to run the SLURM
slurmctld — is the h ead node; this assignm ent occurred during installation unless yo u
selected a different node. By default, no backup slurmctld daemon is configured.
Refer to the HP XC System Software Installation Guide for information about changing the
choice of prim ary and backup nodes for SLURM by using the cluster_config utility.
11.2.3 Configuring Nodes in SLURM
You can change the configuration of a set of n odes by editing the slurm.conf file. SLURM
allows you to describe variou s node characteristics on your system. SLURM uses this
description to allo w your users to select an optimal set of nodes for their job.
Node Characteristics
The following characteristics are useful on an HP XC system:
Feature
Alphanumeric text with meaning in the local environm ent. This text
is a comma-separated list of features for the specified nodes.
RealMemory
The amount of real memory (in m egabytes) on the node.
If SLURM finds that the n ode has l ess real mem ory than the value
specified, the node’s state is set to DOWN to avoid disrupting job s
that require tha t mini mum.
Procs
The number of CPUs o n the node.
If SLURM finds that the node has fewer CPUs than the value
specified, the node’s state is set to DOWN to avoid disrupting job s
that require tha t mini mum.
State
The initial s tat e of the node (IDLE or DOWN).
TmpDisk
The m inimum temporary disk space (in megabytes) available on
node.
If SLURM finds that the node has less disk space than the value
specified, the node’s state is set to DOWN to avoid disrupting job s
that require tha t mini mum.
Weight
The schedu ling priority of the node.
Nodes of lower priority are scheduled before nodes of higher
priority, all else being equal.
First locate the line in the slurm.conf f ile that starts with the following text to specify
the configuration of a set of nodes:
NodeName=
Multiple node sets are allowed on the HP XC system ; the ini tial conf igu rati on specif
ies a
singlenodeset.
Consider a system that has 512 nodes and that all those nodes are in the same par ti tion (SLURM
partitions are d iscussed in Section 11.2.4). The system’s slurm.conf file contains the
following line:
NodeName=n[1-512] Procs=2 # Set by the SLURM configuration process
11-4 SLURM Administration