Installing Slurm
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following commands to install the Slurm server:
yum install -y slurm-ohpc slurm-slurmctld-ohpc slurm-slurmdbd-ohpc
- Start the Slurm service.
- Open the /etc/slrum.conf file.
vi /etc/slrum.conf
- Press i to enter the insert mode and add the following content:
systemctl start slurmctld systemctl enable slurmctld
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the /etc/slrum.conf file.
- Install the Slurm client.
yum install -y slurm-slurmd-ohpc
- Start the Slurm service.
- Open the /etc/slrum.conf file.
vi /etc/slurm.conf
- Press i to enter the insert mode and add the following content:
systemctl enable slurmd systemctl start slurmd
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the /etc/slrum.conf file.
- Configure Slurm. For details, see "Installing Slurm" in the Slurm 18.08.7 Installation Guide.
Parent topic: Installing the Job Scheduling System