Download Sun HPC Software, Linux Edition 2.0, Deployment and User Guide

Transcript
98
Sun Microsystems, Inc.
Starting SLURM on clients
To start SLURM on one or more clients:
pdsh -w cl10-[6-7] /etc/init.d/slurm start
When troubleshooting SLURM , it may be helpful to start the slurmd daemon by hand on a
client compute node.
/usr/sbin/slurmd -D -vvvvvvv
In this example, -D starts debugging and -v starts verbose output. Each v adds an extra level of
verbose output with -vvvvvvv resulting in full debugging and verbose output.
If the clients and server are not on the same network, you may need to add a default route or an
additional route on the client node using the route add command (see the route man page for
more information).
Starting the main SLURM daemon
The main server daemon runs on the node set as the value of ControlMachine in the SLURM
configuration file /etc/slurm/slurm.conf. To start the slurmctld daemon on the main server,
enter:
/etc/init.d/slurm start
If troubleshooting by hand, you can start the daemon by entering:
/usr/sbin/slurmctld -D -vvvvvvv
After SLURM has started, you can verify that the SLURM subsystem is running using the sinfo
command:
# sinfo
PARTITION AVAIL
debug*
up
TIMELIMIT NODES
infinite
2
STATE NODELIST
idle cl10-[6-7]
If the sinfo command reports that the partition or the nodes are down, SLURM may be having a
communication problem. If you are using MUNGE or openSSL authentication for
communications, make sure all clients and the server node are syncronized in time. This is
usually accomplished using the Network Time Protocol operating system daemon ntpd.