Skip to main content

ClusterShell library and tools

Project description

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. The library provides also advanced nodeset handling methods. Its goal is to improve the administration of cluster by providing a lightweight but scalable API for developers.

User tools

ClusterShell also provides with the library three convenient Python command-line programs:

  • clush: issue commands to cluster nodes and format output

Example of use:

$ clush -abL uname -r
node[32-49,51-71,80,82-150,156-159]: 2.6.18-164.11.1.el5
node[3-7,72-79]: 2.6.18-164.11.1.el5_lustre1.10.0.36
node[2,151-155]: 2.6.31.6-145.fc11.2.x86_64

See man clush for more details.

  • clubak: improved dshbak to gather and sort dsh-like outputs

See man clubak for more details.

  • nodeset: compute advanced nodeset operations

Example of use:

$ echo node160 node161 node162 node163 | nodeset -f
node[160-163]

$ nodeset -f node[0-7,32-159] node[160-163]
node[0-7,32-163]

$ nodeset -e node[160-163]
node160 node161 node162 node163

$ nodeset -f node[32-159] -x node33
node[32,34-159]

$ nodeset -f node[32-159] -i node[0-7,20-21,32,156-159]
node[32,156-159]

$ nodeset -f node[33-159] --xor node[32-33,156-159]
node[32,34-155]

$ nodeset -l
@oss
@mds
@io
@compute

See man nodeset for more details.

Please visit the ClusterShell website.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

clustershell-1.3.tar.gz (121.2 kB view hashes)

Uploaded Source

clustershell-1.3-4.fc13.src.rpm (125.7 kB view hashes)

Uploaded Source

clustershell-1.3-4.fc12.src.rpm (125.8 kB view hashes)

Uploaded Source

clustershell-1.3-4.fc11.src.rpm (125.9 kB view hashes)

Uploaded Source

clustershell-1.3-4.el5.src.rpm (125.7 kB view hashes)

Uploaded Source

Built Distributions

clustershell-1.3-4.fc13.noarch.rpm (192.5 kB view hashes)

Uploaded Source

clustershell-1.3-4.fc12.noarch.rpm (147.2 kB view hashes)

Uploaded Source

clustershell-1.3-4.fc11.noarch.rpm (197.5 kB view hashes)

Uploaded Source

clustershell-1.3-4.el5.noarch.rpm (200.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page