This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

node control utilities

Project Description

nodemaster

introduction

This module provides various utilities that can be used for the control and diagnostics of a set of computing nodes. It could be used to check if a set of computers are accessible via SSH or could run a command on a set of computers accessible via SSH, for examples.

launch commands in tmux

Commands can be sent to respective panes of tmux. The following example defines multiple commands, launches tmux, creates multiple panes in tmux and then runs each command in its respective tmux pane.

import nodemaster
commands = [
    "ls",
    "ls",
    "ls",
    "ls"
]
nodemaster.launch_tmux(commands = commands)

The following example, for use on LXPLUS, illustrates how nodemaster can be used to send multiple commands out to multiple nodes and to observe the output in tmux.

import nodemaster
commands = [
    "ssh -o StrictHostKeyChecking=no lxplus0000.cern.ch uptime",
    "ssh -o StrictHostKeyChecking=no lxplus0001.cern.ch uptime",
    "ssh -o StrictHostKeyChecking=no lxplus0002.cern.ch uptime",
    "ssh -o StrictHostKeyChecking=no lxplus0003.cern.ch uptime"
]
nodemaster.launch_tmux(commands = commands)
Release History

Release History

This version
History Node

2017.1.16.1608

History Node

2016.3.29.1523

History Node

2015.11.24.2313

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nodemaster-2017.1.16.1608.tar.gz (17.2 kB) Copy SHA256 Checksum SHA256 Source Jan 16, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting