[StarCluster] remotely run jobs on starcluster

Justin Riley jtriley at MIT.EDU
Sat Nov 5 23:23:09 EDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Liang,

My apologies for the delay. Moments ago I released version 0.92.1 which
supports running remote commands at command line using the sshmaster,
sshnode, and sshinstance commands.  For examle, you could run a command,
say 'cat /etc/hosts', on the master node as root in a single line using:

$ starcluster sshmaster mycluster 'cat /etc/hosts'

See here for more details:

http://web.mit.edu/starcluster/docs/latest/manual/runcommands.html

Please upgrade and try out this new functionality. Let me know if you
have issues.

Thanks,

~Justin

On 10/14/11 3:37 AM, liang cheng wrote:
> Hi,
>
> I have a http server running on Linux, I would like to run some
> scripts on that server which actually submits jobs to a known
> starcluster. That is, how can I run a job from a machine that is
> outside my cluster.
>
> For example:
>
> I have an EC2 instance named A.
> I have a EC2 based starcluster which is composed of two nodes: B
> (master) and C.(slave)
>
> Currently I run my jobs in this way:
>
> log in to A.
> run "starcluster sshmaster mycluster"
> At the master node (B), I run "qsub sh myjob.sh"
>
> Now I would like to simplify it to:
> log in to A
> run "sh myremotejob.sh"
>
> "myremotejob.sh" should include 1) login to B and 2) run jobs at B and C.
>
> Can someone help me ?
>
> Thanks,
> -Liang
> _______________________________________________
> StarCluster mailing list
> StarCluster at mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk61/Z0ACgkQ4llAkMfDcrnAlQCfQDF6kpy2pNNYlErrYrhraih9
8tEAn0SVVPx2zgGYOnnwlxqINLum0aMA
=Tc56
-----END PGP SIGNATURE-----




More information about the StarCluster mailing list