Hi again, Thank you for the quick response, I have slurm running without accounting. my server hostname is slurmserver not slurm.
I'm using Ubuntu 14.04, I have installed slurm 2.6.5. I'm trying to build a mini cluster because I'm creating a web application that will generate a Gantt diagram to show reservations on the cluster. That's why I need the tables on the slurm database ... Screenshot_SlurmConfig01.png <https://docs.google.com/file/d/0B5esH8F3RQzTdXpCSjRwcUJBWnc/edit?usp=drive_web> my slurm.conf file: # See the slurm.conf man page for more information. # ControlMachine=slurmserver #ControlAddr= # #MailProg=/bin/mail MpiDefault=none #MpiParams=ports=#-# ProctrackType=proctrack/pgid ReturnToService=1 SlurmctldPidFile=/var/run/slurm-llnl/slurmctld.pid #SlurmctldPort=6817 SlurmdPidFile=/var/run/slurm-llnl/slurmd.pid #SlurmdPort=6818 SlurmdSpoolDir=/var/lib/slurm-llnl/slurmd SlurmUser=slurm #SlurmdUser=root StateSaveLocation=/var/lib/slurm-llnl/slurmctld SwitchType=switch/none TaskPlugin=task/none # # # TIMERS #KillWait=30 #MinJobAge=300 #SlurmctldTimeout=120 #SlurmdTimeout=300 # # # SCHEDULING FastSchedule=1 SchedulerType=sched/backfill #SchedulerPort=7321 SelectType=select/linear # # # LOGGING AND ACCOUNTING AccountingStorageType=accounting_storage/none ClusterName=cluster #JobAcctGatherFrequency=30 JobAcctGatherType=jobacct_gather/linux #SlurmctldDebug=3 SlurmctldLogFile=/var/log/slurm-llnl/slurmctld.log #SlurmdDebug=3 SlurmdLogFile=/var/log/slurm-llnl/slurmd.log # # # COMPUTE NODES NodeName=slurmserver CPUs=1 State=UNKNOWN PartitionName=debug Nodes=slurmserver Default=YES MaxTime=INFINITE State=UP my slurmdbd.conf file: # # Example slurmdbd.conf file. # # See the slurmdbd.conf man page for more information. # # Archive info #ArchiveJobs=yes #ArchiveDir="/tmp" #ArchiveSteps=yes #ArchiveScript= #JobPurge=12 #StepPurge=1 # # Authentication info AuthType=auth/munge AuthInfo=/var/run/munge/munge.socket.2 # # slurmDBD info DbdAddr=localhost DbdHost=localhost #DbdPort=7031 SlurmUser=slurm #MessageTimeout=300 DebugLevel=4 #DefaultQOS=normal,standby LogFile=/var/log/slurm-llnl/slurmdbd.log PidFile=/var/run/slurm-llnl/slurmdbd.pid #PluginDir=/usr/lib/slurm #PrivateData=accounts,users,usage,jobs #TrackWCKey=yes # # Database info StorageType=accounting_storage/mysql #StorageHost=localhost #StoragePort=1234 StoragePass=xxxx StorageUser=slurm StorageLoc=slurm_acct_db 2015-03-18 13:02 GMT+01:00 Andy Riebs <andy.ri...@hp.com>: > Hi, > > Some suggestions and questions... > > Do you have Slurm running without accounting? If not, you might find it > easier to take it a step at a time, getting a simple cluster running first, > and then adding accounting. > > Can you "ping slurm"? If not, are you sure that you are setting up Slurm > on a system named "slurm"? It may be that the configuration that you are > using sets "slurm" as a sample hostname which should be changed to the name > of the system you are actually using. > > But now, the really important part of the message: At last count, there > were approximately 4,239,192 different pre-built Slurm packages out there. > Well, maybe several orders of magnitude less than that, but you get the > idea. In any case, for people on this list to have any hope at all of > helping, you need to offer a few hints: > > 1. What operating system and version > 2. What Slurm package versions > 3. A copy of your configuration files, with specifics such as node names > and IP addresses anonymized > > Let me recommend these documents, in particular: > > - http://slurm.schedmd.com/quickstart_admin.html > - http://slurm.schedmd.com/troubleshoot.html > - http://slurm.schedmd.com/faq.html > > (Please be sure to respond to the list, and not to me, personally.) > BR, > Andy > > On 03/17/2015 10:01 PM, Hamza Jalouaja wrote: > > Hi, > > I'm trying to configure slurm, I had install slurm-llnl and the > slurm-llnl-slurmdbd, I'd configured the slurm.conf and the slurmdbd.conf I > have created a user slurm. > > I launched slurmdbd daemon but when I try to add a database with > sacctmgr I'm having those errors > > sacctmgr add cluster magi > > sacctmgr: error: Unable to resolve "slurm": Host name lookup failure > sacctmgr: error: Unable to locate SlurmDBD host slurm:6819 > sacctmgr: error: Problem talking to the database: Resource temporarily > unavailable > > Please help me ... > > 2015-03-18 2:54 GMT+01:00 Hamza Jalouaja <jalouaja.ha...@gmail.com>: > >> Hi, >> >> I'm trying to configure slurm, I had install slurm-llnl and the >> slurm-llnl-slurmdbd, I'd configured the slurm.conf and the slurmdbd.conf I >> have created a user slurm. >> >> I launched slurmdbd daemon but when I try to add a database with >> sacctmgr I'm having those errors >> >> sacctmgr add cluster magi >> >> sacctmgr: error: Unable to resolve "slurm": Host name lookup failure >> sacctmgr: error: Unable to locate SlurmDBD host slurm:6819 >> sacctmgr: error: Problem talking to the database: Resource temporarily >> unavailable >> >> Please help me ... >> > > >