is there a way to jump through ganglia and plant jobs? so the situation is: i have this cluster which consists of 5 nodes(ganglia). the cluster has Rocks OS installed on it. so what i would like to do now is to somehow execute a job on each and every node of the cluster, and i would like to make the whole process totally automatic, so i do not have to ssh through nodes and manually start the jobs on every node. my idea was to retrieve the names of all the nodes, and then through system function jump to that node and start the job on it. but this is not working
the result i get is: logging the the node and exiting the programchomp(my $host = qx(hostname -s)); foreach (@$ganglia_name){ system("ssh $_") unless ($_ eq $host); # run the job }
does anyone has any suggestion on how to do thisLast login: Sat Jul 25 15:59:41 2009 from fish.local Rocks Compute Node Rocks 5.1 (V.I) Profile built 13:38 22-Jul-2009 Kickstarted 15:54 22-Jul-2009 [baxy@compute-0-3 ~]$
thank you
In reply to switch through ganglia with perl by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |