Thanks again - I obviously missed that I had to configure the MySQL database manually before slurm startup. I will try....
Best regards, Erik. On Tue, 16 Apr 2013, Moe Jette wrote: > We recommend that the slurmconf be configured to write accounting > information to the slurmdbd and the slurmdbd (using the same plugin > type) to write to mysql. There is some more information here: > > http://slurm.schedmd.com/slurm_ug_2012/SUG_Oct2012_DBD.pdf > http://slurm.schedmd.com/accounting.html > > > Quoting Erik Soyez <[email protected]>: > >> Thanks Moe for your quick answer - any short hint on how to configure >> slurmdbd.conf to archive the data using the mysql plugin? I thought it >> was done with "StorageType=accounting_storage/slurmdbd". >> >> >> On Tue, 16 Apr 2013, Moe Jette wrote: >> >>> Hi Eric, >>> >>> The problem is the slurmdbd.conf is trying to archive the data to >>> itself. >>> >>> You have slurm.conf configured to archive accounting information using >>> the slurmdbd plugin (fine), but slurmdbd.conf should probably be >>> configured to archive the data using the mysql plugin. I'll modify the >>> code to print a better error message. >>> >>> >>> Quoting Erik Soyez <[email protected]>: >>> >>>> Good day, >>>> >>>> I'm very new to Slurm and cannot get the slurmdbd working in my test >>>> cluster. Even though "ClusterName" *is* defined in "slurm.conf", I >>>> get the message: >>>> >>>> ------------------------------------------------------------------------ >>>>> /usr/local/slurm/2.5.4/sbin/slurmdbd -D -vvvv >>>> slurmdbd: debug3: Trying to load plugin >>>> /usr/local/slurm/2.5.4/lib/slurm/auth_munge.so >>>> slurmdbd: auth plugin for Munge (http://code.google.com/p/munge/) loaded >>>> slurmdbd: debug3: Success. >>>> slurmdbd: debug3: Trying to load plugin >>>> /usr/local/slurm/2.5.4/lib/slurm/accounting_storage_slurmdbd.so >>>> slurmdbd: fatal: Accounting storage SLURMDBD plugin requires >>>> ClusterName in slurm.conf >>>> ------------------------------------------------------------------------ >>>> >>>> The normal slurm daemons seem to start alright. Is there any known >>>> bug with version 2.5.4? Did I missunderstand something? Any other >>>> mistakes in my conf files? For testing puroposes of different >>>> versions all slurm files are located under one base directory, are >>>> there any problems with that? >>>> >>>> >>>> "slurm.conf": >>>> ------------------------------------------------------------------------ >>>> ControlMachine=emv108 >>>> ClusterName=slurm_254 >>>> StateSaveLocation=/usr/local/slurm/2.5.4/var/spool >>>> SlurmdSpoolDir=/usr/local/slurm/2.5.4/var/spool/slurmd >>>> SlurmdPidFile=/usr/local/slurm/2.5.4/var/run/slurmd.pid >>>> SlurmdLogFile=/usr/local/slurm/2.5.4/var/log/slurmd.messages >>>> SlurmctldPidFile=/usr/local/slurm/2.5.4/var/run/slurmctld.pid >>>> SlurmctldLogFile=/usr/local/slurm/2.5.4/var/log/slurmctld.messages >>>> AccountingStorageHost=emv108 >>>> AccountingStorageLoc=/usr/local/slurm/2.5.4/var/spool/accounting >>>> AccountingStorageType=accounting_storage/slurmdbd >>>> AccountingStorageUser=root >>>> >>>> AuthType=auth/munge >>>> SlurmUser=root >>>> SlurmctldPort=6821 >>>> SlurmdUser=root >>>> SlurmdPort=6822 >>>> SwitchType=switch/none >>>> MpiDefault=none >>>> ProctrackType=proctrack/pgid >>>> CacheGroups=1 >>>> ReturnToService=1 >>>> SlurmctldTimeout=300 >>>> SlurmdTimeout=300 >>>> InactiveLimit=0 >>>> MinJobAge=300 >>>> KillWait=30 >>>> Waittime=0 >>>> SchedulerType=sched/backfill >>>> SelectType=select/linear >>>> FastSchedule=1 >>>> SlurmctldDebug=3 >>>> SlurmdDebug=3 >>>> >>>> # COMPUTE NODES: >>>> NodeName=emv1[08-10] Procs=4 State=UNKNOWN >>>> >>>> # PARTITIONS: >>>> PartitionName=compute Nodes=emv1[08-10] Default=YES MaxTime=INFINITE >>>> State=UP >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> "slurmdbd.conf": >>>> ------------------------------------------------------------------------ >>>> AuthInfo=/usr/local/munge/0.5.10/var/run/munge/munge.socket.2 >>>> LogFile=/usr/local/slurm/2.5.4/var/log/slurmdbd.log >>>> PidFile=/usr/local/slurm/2.5.4/var/run/slurmdbd.pid >>>> DbdHost=emv108 >>>> StorageType=accounting_storage/slurmdbd >>>> StorageUser=root >>>> >>>> AuthType=auth/munge >>>> DebugLevel=4 >>>> ------------------------------------------------------------------------ -- -- Vorstandsvorsitzender/Chairman of the board of management: Gerd-Lothar Leonhart Vorstand/Board of Management: Dr. Bernd Finkbeiner, Michael Heinrichs, Dr. Arno Steitz, Dr. Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Philippe Miltin Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196
