Enable Slurmdbd for Slurm

In recent days, we enable the slurmdbd for slurm running in our cluster. This post records some issues that I solved in this process.
Hope it will help other people having the same requirements and issues.

First, I will list the most useful link for this task.
https://slurm.schedmd.com/accounting.html
Suprisingly, this link does any keyword associated with slurmdbd. Thus, it will not appear in your search results.
However, it contains most information you should know. These information includes how to modify slurm.conf, setting database, and create slurmdbd.conf.

Second, I will describe the issues that I have and how to solve them. If you have the similar issues, then you are lucky.

  1. Port issues: The default port of slurmdbd is 6819. Mysql’s default port is 3306. You should make sure these two port of the machine who running slurmdbd is OK for connection. You may want to check your firewall rules. However, if there are no rules banned the connection to these two ports, it does not mean these two ports are open for connection. Thus, I will suggest to use telnet hostname 6819(3306) to test the connection of the port.
Author

John Doe

Posted on

2023-07-18

Updated on

2023-07-18

Licensed under

You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

Comments

You forgot to set the shortname for Disqus. Please set it in _config.yml.

You need to set client_id and slot_id to show this AD unit. Please set it in _config.yml.