Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    running commands on slave nodes?


    Sorry for the newbie question!

    We have a cluster that runs on centOS. I wanted to zip some files (very large files). I am told that I should use the head node for this as it would tie down the CPU. How can I do this using one of the other nodes in the cluster?

    For small files, I would just log into the cluster using ssh (ie. ssh myname AT ourCluster DOT x DOT y DOT z) and run the tar from command line. But this would be using the head node.

    How do I do the same operations, but use a node other than the head node?


  2. #2
    Linux Engineer
    Join Date
    Apr 2012
    Virginia, USA
    ssh to the IP of one of the nodes instead of the domain name.

  3. #3
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Woodshed, CA
    With ssh you can also have it execute a command on your remote node, I did this to zip and transer files. I wrote a script and put it on my nodes then was able to from my workstation ssh to remote nodes and run the script.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts