Filewatcher File Search File Search
Content Search
» » » » » » clustershell-1.4.3-1.fc15.noarch.rpm » Content »
pkg://clustershell-1.4.3-1.fc15.noarch.rpm:188360/usr/share/doc/clustershell-1.4.3/  info  HEADER  downloads

clustershell - Python framework for efficient cluster administration…  more info»


 ClusterShell 1.4 Python Library and Tools

ClusterShell is an event-based python library to execute commands on local or
distant cluster nodes in parallel depending on the selected engine and worker
mechanisms. Also, clush, clubak and nodeset, three convenient command-line
tools using the library are included.

 Requirements (v1.4.3)

 * GNU/Linux, *BSD, Mac OS X, etc.

 * OpenSSH (ssh/scp)

 * Python 2.x (x >= 4)

 Supported Engine workers

 Two workers are supported:

 * Ssh (default, requires ssh): support writes, fanout and reliable timeouts

 * Pdsh (optional, requires pdsh): read only, fanout, no reliable timeouts
    Get pdsh @

 Why the pdsh worker doesn't have "reliable timeout" support: when a timeout
 value is used, pdsh shows no difference between a process returning rc=0 and
 a process that timed out. It works for processes returning rc!=0 because pdsh
 displays the return code. That's why it is now recommended to use the Ssh
 worker when you want reliable timeout support.

 Installation from source

When possible, please use the RPM/deb distribution.

Otherwise in the source directory, use:

    # python install

For installation on Mac OS X, please see:

 Test Suite

Regression testing scripts are available in the 'tests' directory:

    $ cd tests
    $ ./ -vv


Local API documentation is available, just type:

    $ pydoc ClusterShell

Online API documentation (epydoc) is available here:

 ClusterShell interactively

Python 2.4.3 (#1, May 24 2008, 13:57:05) 
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ClusterShell.Task import task_self
>>> from ClusterShell.NodeSet import NodeSet
>>> task = task_self()
>>>"/bin/uname -r", nodes="linux[4-6,32-39]")
>>> task.resume()
>>> for buf, key in task.iter_buffers():
...     print NodeSet.fromlist(key), buf
linux[32-39] 2.6.18-92.1.13.el5

linux[4-6] 2.6.18-53.1.13.el5.l47

 ClusterShell Tools

Powerful tools are provided: clush, nodeset and clubak.

* clush is a friendly and full-featured parallel shell (see: man clush).
  If in doubt, just check if your other parallel tools can do things like:
  # tar -czf - dir | clush -w node[10-44] tar -C /tmp -xzvf -

* nodeset is used to deal with your cluster nodeset, it can be bound to
  external groups (see: man nodeset and man groups.conf).

* clubak is a tool used to format output from clush/pdsh-like output
  (already included in clush with -b), see man clubak.


Main web site: project page:

Trac wiki and issue tracking system:

Python Package Index (PyPI) link:

ClusterShell was first created for Shine, the Lustre Administration Utility:


Stephane Thiell           <>
Aurelien Degremont     <>

CEA/DAM 2010, 2011 -
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017