Hello,

Thanks for answering my questions over the past few weeks. I have enabled 
slurmdbd and it seems to connect fine to my controller. I then added a cluster, 

sacctmgr add cluster my_new_cluster

1. Should my_new_cluster match the ClusterName in slurm.conf?
2. I haven’t even added any users yet, and still I’m able to run and submit 
jobs. How can I configure it so users can only submit jobs if they are 
registered with an account. I thought  it was:

AccountingStorageEnforce=assocciations

3. I’m getting a message in my slurmdbd log when I submit a job (srun sleep 10):

slurmdbd: debug2: acct_storage_p_get_connection: request new connection 1
slurmdbd: debug2: DBD_STEP_START: ID:11806.0 NAME:echo SUBMIT:1434264414
slurmdbd: debug4: We can't get a db_index for this combo, 
time_submit=1434264414 and id_job=11806 and id_assoc=0.  We must not have heard 
about the start yet, no big deal, we will get one right after this.
slurmdbd: debug2: as_mysql_slurmdb_job_start() called
slurmdbd: DBD_STEP_START: cluster not registered
slurmdbd: debug2: DBD_JOB_START: START CALL ID:11806 NAME:echo INX:0
slurmdbd: debug2: as_mysql_slurmdb_job_start() called
slurmdbd: DBD_JOB_START: cluster not registered
slurmdbd: debug2: DBD_JOB_COMPLETE: ID:11806
slurmdbd: debug2: as_mysql_slurmdb_job_complete() called
slurmdbd: DBD_JOB_COMPLETE: cluster not registered
slurmdbd: debug2: DBD_STEP_COMPLETE: ID:11806.0 SUBMIT:1434264414
slurmdbd: DBD_STEP_COMPLETE: cluster not registered

What is happening here? Why does it say the cluster isn’t registered?

4. When adding users, is there anyway to automatically add the users in 
/etc/passwd? How do the accounts of a person submitting get linked with the 
accounts added by sacctmgr add user

I’m sorry for all the questions, thanks for the great feedback.

Jordan

Reply via email to