Skip to main content

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 files for nodemaster 2017.1.16.1608

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nodemaster 2017.1.16.1608
File Size Uploaded
nodemaster-2017.1.16.1608.tar.gz 17.2 kB Details

Release files / nodemaster-2017.1.16.1608.tar.gz

Download URL nodemaster-2017.1.16.1608.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6cb96cd120cd7902e1631eb7fd41638a1720c5a6993e5a97f0e688416879364f
BLAKE2b-256 checksum
How to use checksums
ab21768aba3277850bb92f791e8b3908737f3769f3065bbb1c8f5ffbaf9f9281
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2017.1.16.1608 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page