Install Slurm Rest API Ubuntu 22.04
August 19, 2024•301 words
Install Slurm Rest API:
The Slurm Rest API provides an endpoint to allow for submitting jobs, listing running jobs and other Slurm commands.
Installing the API server consists of the following components:
Database - I installed mysql.
slurmdbd - Slurm Database Daemon.
slurmrestd - Interface to Slurm via REST API.
Configure slurm JWT support:
Slurm JWT Documentaion
dd if=/dev/random of=/var/spool/slurm/statesave/jwt_hs256.key bs=32 count=1
chown slurm:slurm /var/spool/slurm/statesave/jwt...
Read post