Hello,
after configuring SLURM-17.11.5 with accouting/mysql, it seems
databse is not recording any job. If I run "sacct -vvvvvvvv", I get
this output:
sacct: Jobs eligible from Tue May 08 00:00:00 2018 - Now
sacct: debug: Options selected:
opt_completion=0
opt_dup=0
opt_field_list=(null)
opt_help=0
opt_allocs=0
sacct: debug3: Trying to load plugin
/soft/slurm-17.11.5/lib/slurm/accounting_storage_slurmdbd.so
sacct: Accounting storage SLURMDBD plugin loaded with
AuthInfo=(null)
sacct: debug3: Success.
sacct: debug4: Accounting storage SLURMDBD plugin loaded
sacct: debug3: Trying to load plugin
/soft/slurm-17.11.5/lib/slurm/auth_munge.so
sacct: debug: Munge authentication plugin loaded
sacct: debug3: Success.
sacct: debug: slurmdbd: Sent PersistInit msg
sacct: debug2: Clusters requested: q50004
sacct: debug2: Userids requested: all
JobID JobName Partition Account AllocCPUS
State ExitCode
------------ ---------- ---------- ---------- ----------
---------- --------
sacct: debug: slurmdbd: Sent fini msg
However, I supose it would have to appear a job I have submited (and
finished) a minute ago.... Why does it not appear?
My slurmdbd.conf is:
ArchiveEvents=yes
ArchiveJobs=yes
ArchiveSteps=no
ArchiveSuspend=no
AuthInfo=/var/run/munge/munge.socket.2
AuthType=auth/munge
DbdHost=localhost
DebugLevel=4
PurgeEventAfter=12month
PurgeJobAfter=12month
PurgeResvAfter=12month
PurgeStepAfter=12month
PurgeSuspendAfter=12month
LogFile=/var/log/slurmdbd.log
PidFile=/var/tmp/slurm/slurmdbd.pid
SlurmUser=slurm
StorageHost=localhost
StorageLoc=slurmdb
StoragePass=slurm
StorageType=accounting_storage/mysql
StorageUser=slurm
And my slurm.conf is:
[...]
# LOGGING AND ACCOUNTING
AccountingStorageType=accounting_storage/slurmdbd
AccountingStorageLoc=/var/log/slurm/accounting
JobCompType=jobcomp/filetxt
JobCompLoc=/var/log/slurm/job_completions
ClusterName=Q50004
JobAcctGatherType=jobacct_gather/linux
SlurmctldDebug=4
SlurmctldLogFile=/var/log/slurmdctl.log
SlurmdDebug=4
SlurmdLogFile=/var/log/slurmd.log
[...]
In file /var/log/slurm/accounting appear my last job... but I don't
undertand why job appears there while I have configured accounting
with "AccountingStorageType=accounting_storage/slurmdbd"
Thanks.
Thanks.
|
- [slurm-users] Accounting not recording jobs sysadmin.caos
-