Skip to content

Commit

Permalink
Update slurm_install.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ganisback authored May 17, 2024
1 parent 15f2ca8 commit ca96988
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/slurm_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ make -j $CORES
make install
```

5. check
6. check
/usr/sbin/slurmd
plugin so:
/usr/local/lib/slurm

6. slurm auth
7. slurm auth
```
mkdir -p /var/spool/slurm
chown slurm: /var/spool/slurm
Expand All @@ -91,17 +91,17 @@ mkdir -p /var/spool/slurm/ctld/
cp $llm-scheduler-api/slurm/jwt_hs256.key /var/spool/slurm/ctld/
```

7. refer $llm-scheduler-api/slurm/conf and configure /etc/slurm/slurm.conf, /etc/slurm/slurmdbd.conf, /etc/slurm/slurmrestd.conf
6. start slrum daemon on every node
8. refer $llm-scheduler-api/slurm/conf and configure /etc/slurm/slurm.conf, /etc/slurm/slurmdbd.conf, /etc/slurm/slurmrestd.conf
9. start slrum daemon on every node
```
slurmdbd
slurmd
slurmctrl
```

7. config ldap for all nodes: https://computingforgeeks.com/how-to-configure-ubuntu-as-ldap-client/
10. config ldap for all nodes: https://computingforgeeks.com/how-to-configure-ubuntu-as-ldap-client/

8. start slurm slurmrestd in head node and configure slurm api to .env
11. start slurm slurmrestd in head node and configure slurm api to .env
```
slurmrestd -f /etc/slurm/slurmrestd.conf -a rest_auth/jwt 0.0.0.0:3000 -vvvv 2>&1 >> slurm.log &
```
```

0 comments on commit ca96988

Please sign in to comment.