Below command requests 2 interactive nodes (xyz is your group name):
srun -p xyz -A xyz --nodes=2 --ntasks-per-node=28 --time=2:00:00 --mem=100G --pty /bin/bash
After above command completes, issue below command to find the names of the nodes
scontrol show hostnames
Suppose the two names are n1234 and n1235. Now you can use both the nodes in your work.