[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: c3-tool-suite - Cluster Command & Control tool suite



Just out of curiosity what is the advantage of c3 over dsh? Asside from
the command names (alias) being longer and the potential for cpush to be
multicast (which it appears not to be), I don't see any advantages. I'm
not trying to discourage you from packaging/sponsoring/installing/using
it, this is just for my own information.

On Wed 01/12/05 20:38, Christophe Prud'homme wrote:
> |  cexec      - executes commands in parallel
dsh -cgcluster CMD
> |  cexecs     - executes commands serially
dsh -wgcluster CMD
> |  cget       - retrieves files or directories
Okay, this isn't trivial to do with dsh, but possible if ssh works
cluster-wide without password:
dsh -cgcluster "scp $FILE $(hostname -f):$FILE-\$(hostname)"

Where the first hostname is executed locally and the second on the node.

> |  ckill      - terminates a user specified process
dsh -cgcluster pkill ....

> |  cpush      - distributes files or directories
dsh -cgcluster "scp $(hostname -f):$FILE $FILE"

> |  cpushimage - updates a system image captured by the SystemImager tool
roughly the same

> |  crm        - removes files or directories
same as exec

> |  cshutdown  - shuts down or restarts nodes
same as exec

-- 

------------------------------------------------------
| Josh Lauricha            | Ford, you're turning    |
| laurichj@bioinfo.ucr.edu | into a penguin. Stop    |
| Bioinformatics, UCR      | it                      |
|----------------------------------------------------|
| OpenPG:                                            |
|  4E7D 0FC0 DB6C E91D 4D7B C7F3 9BE9 8740 E4DC 6184 |
|----------------------------------------------------|
| Geek Code: Version 3.12                            |
| GAT/CS$/IT$ d+ s-: a-->--- C++++$ UL++++$ P++ L++++|
| $E--- W+ N o? K? w--(---) O? M+(++) V? PS++ PE-(--)|
| Y+ PGP+++ t--- 5+++ X+ R tv DI++ D--- G++          |
| e++ h- r++ z?                                      |
|----------------------------------------------------|



Reply to: