HP XC System Software Administration Guide Version 2.1
You must perfor m the follo wing to enable th e pam_
slurm module.
1. Open the /opt/hptc/slurm/etc/nconfi
g.d/munge_config.pl fi le.
2. Search for the line containing the string my $ENABLE_PAM_SLURM = in this file. If the
associated value is 1, access is already restricted. Otherwise, continue with this procedure.
3. Replace the following line
my $ENABLE_PAM_SLURM = 0;
with t his one:
my $ENABLE_PAM_SLURM = 1;
4. Save the file.
5. Distribute this file to all nodes; see Chapter 7 for more information.
Ensure that the login ro le is set o n all the nodes on which you expect to log i n and use
the HP XC system.
_____________________ Caut
ion ______________________
If you enable the pam_slurm module and if you configure all nodes with the
compute role (this is the default), and if you do not co nfigu re any nodes with
the login role (the default) n o un privileged users (that is, not the superuser)
areallowedtologintotheHPXCsystem.
After the reconfiguration of the HP XC system, restricted access is established for all com pute
nodes that are not login nodes.
You can disable the restriction by setting my $ENABLE_PAM_SLURM = 0; and distrib ute
the file to a ll nodes again.
11.4 Job Accounting
SLURM on the HP XC system can collect job accounting data, store it in a log file, a nd display
it. The accounting data is only available at the conclusion of a job; it cannot be obtained in Real
time while the job is running. This SLURM job accounting capability m ust be enabled to
support LSF-HPC on HP XC. LSF-HPC is discussed in the next chapter.
This section b riefly describes t he sacct command, which you can use t o display the stored job
accounting data, and discusses how to deconfigure and configure job accounting.
Information on jobs that are invoked with the SLURM srun command is logged automatically
into the job accounting file. Entries in the slurm.conf file enable job accounting and
designate the name of the job accounting log file. The default (and recommended) job
accounting log file is /hptc_cluster/slurm/job/jobacct.log.
SLURM job accounting attempts to gather all the statistics available on t he systems on which it
is run. The following statistics are valid for HP XC sy s tems:
•UserCPUtime
• System CP U time
• Maximum number of minor page faults (page reclaims) for any process
• Maximum number of major page faults for any process
• Total number of processes used
• Total number of CPUs allocated to the job
• Job’s elapsed time
• Job status or state (running, completed, failed, timed out, or nod e fail)
SLURM Administration 11-7