An open API service indexing awesome lists of open source software.

https://github.com/tuladhar/bash-parallel-scripts

Run bash scripts in parallel across servers using bash background jobs.
https://github.com/tuladhar/bash-parallel-scripts

automation bash bash-script bash-scripting hacktoberfest parallel parallel-programming

Last synced: 3 months ago
JSON representation

Run bash scripts in parallel across servers using bash background jobs.

Awesome Lists containing this project

README

        

# bash-parallel-scripts
Run bash scripts in parallel across servers using bash background jobs.

## Prerequisite
- Servers must be one per line in `servers.txt` file and must be accessible without password using pubkey method.

## How to
1. Edit `run.sh` and place your custom commands there.
2. Execute `parallel.sh` script

Note: Per server execution logs are stored in logs directory and is overwritten on every runs.

Tips: Edit `MAX_NPROC` in `paralle.sh` to adjust # of parallel processes

## Why not use Ansible or Salt?
- Sometimes, bash script does the job done to keep things simple. For more complex command orchestration, those tools are preferred and does better job.

## Author
- Puru