You can define port ranges in slurm config for example SlurmctldPort=7001-7131 SlurmdPort=8001
On 1 June 2017 at 11:31, Hanby, Mike <[email protected]> wrote: > Howdy, > > > > What ports (or ranges) need to be open to the master and compute nodes for > a job submission host? The host will only submit batch and interactive jobs > along with running the usual Slurm commands (squeue, scontrol, etc..). > > > > I'm testing this on a virtual machine and find that with the firewall down > on the submit host and job submission works. With the firewall running (tcp > ports 22 and 6188 open to the cluster) > > > > I see from running: > > > > srun --partition=long --ntasks=1 --mem-per-cpu=1024 --time=48:00:00 > --job-name=rsync -vvvvvv --pty /bin/bash > > > > That it's using random high range ports > > ---snip--- > > srun: debug2: srun PMI messages to port=36789 > > srun: debug: Entering slurm_allocation_msg_thr_create() > > srun: debug: port from net_stream_listen is 40867 > > ... > > srun: debug2: initialized job control port 44870 > > ... > > srun: debug: initialized stdio listening socket, port 37197 > > ---snip--- > > > > Does a submit host need to have all high level TCP ports open to the > cluster? If so, what is the range? > > > > Thanks, Mike > > > > ---------------- > > Mike Hanby > > mhanby @ uab.edu > > Systems Analyst II - Enterprise > > Research Computing Services / IT Infrastructure Core > > The University of Alabama at Birmingham >
