HP XC System Software Administration Guide Version 2.1

11.4.2 Disabling Job Accounting
Job accounting is turned on by d efault. Note that job accounting is required if you are using
LSF. Follow this procedure to turn off job accounting:
1. Log in as the superuser on the SLURM server (see Section 11.2.2).
2. Use the text ed ito r of your choice to edit the /hptc_clus-
ter/slurm/etc/slurm.conf file as follows:
a. Locate the parameter JobAcctType.
JobAcctType=jobacct/log
b. Set the value of JobAcctType to disable job accounting as follows:
JobAcctType=jobacct/none
c. Verify that this portion of the slurm.conf file resembles the following (the
changes are sh own in bold):
.
.
.
#
# o Define the job accounting mechanism
#
JobAcctType=jobacct/none
#
# o Define the location where job accounting logs are to
# be written. For
# - jobacct/none - this parameter is ignored
# - jobacct/log - the fully-qualified file name
# for the data file
#
JobAcctLoc=/hptc_cluster/slurm/job/jobacct.log
.
.
.
d. Save the file.
3. Restart the slurmctld and slurmd daemons:
# cexec -a "service slurm restart"
11.4.3 Configuring Job Accounting
Job accounting is turned on by default. Follow this procedure to turn job accounting on and to
designate the log f ile that collects the system data if job accounting has been disabled:
1. Log in as the superuser on the SLURM server (see Section 11.2.2).
2. Choose a log file that will collect the job accounting data.
_______________________ Note _______________________
You must specify an absolute path n ame for the log f ile; it must begi n with
the / character.
You can choose to keep this data log isolated on one node or in the /htpc_cluster
directory so that all nodes can access it. However, this log file must be accessible to
the following:
Nodes that run the slurmctld daemon
•LSF
SLURM Administration 11-9