Difference between revisions of "Cluster SSH access"

Jump to navigation Jump to search
568 bytes added ,  10:56, 21 July 2022
no edit summary
(Created page with " == Cluster SSH Access == Most cluster applications will be controlled using the SSH protocol. In order for this to work, you will have to set up SSH keys in your math acco...")
 
pdsh -R ssh -w pnode[01-40] 'date'
 
This will display the date from each of the remote machines. Don'tThis worryshould ifrun theywithout differerrors byand onecome second,back becauseto thea timecommand may have changed during the commandprompt. If theyit differhas byerrors moreor thandoes anot secondfinish, there may be a problem, butwith iteither shouldyour notkeys effector mostconnectivity to the commandscluster.
 
Don't worry if they differ by one second, because the time may have changed during the command. If they differ by more than a second, there may be a problem, but it should not effect most commands.
 
To see how busy the remote machines are, you can do:
 
which will tell you how long each machine has been up and its system load.
 
You can use this same command to run things on a subset of nodes, like this command to check the load on the last 8 nodes:
 
pdsh -R ssh -w pnode[32-40] 'uptime'
 
Or other computation hosts where you have keys set up, such as fibonacci and ramsey:
 
pdsh -R ssh -w fibonacci,ramsey 'uptime'
 
Once you have these commands working, you're ready to configure your distributed application.

Navigation menu