[StarCluster] remotely run jobs on starcluster

liang cheng liang.cheng at gmail.com
Fri Oct 14 03:37:14 EDT 2011


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



More information about the StarCluster mailing list