[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unexpected positional replacement strings substitution
From: |
aero |
Subject: |
Re: Unexpected positional replacement strings substitution |
Date: |
Mon, 20 Feb 2017 15:05:55 +0900 |
Sorry for my lack of expressiveness.
Master
|-> target1
|-> target2
|-> target3
.
.
+-> targetN
I want to execute myscript.sh via ssh once on each target1~N servers.
But Master server lacks capacity to fork many ssh processes at the same time.
$ parallel ssh user@{} bash < /home/user/myscript.sh ::: target1 target2 ... targetN
So I want to distribute the load of forking ssh to several worker servers with -S option.
and myscript.sh should executed ONCE on each target1~N servers.
worker servers are just distributed gateway for executing myscript.sh via ssh on remote target servers.
Master
|-> worker1 ---> |
|-> worker2 ---> | target1~N
|-> worker3 \/-> |
+-> workerN /\-> |
distributed by parallel
execute script once on each target1~N
$ parallel --basefile /home/user/myscript.sh --controlmaster -S worker1,worker2,...,workerN ssh user@{} bash < /home/user/myscript.sh ::: target1 target2 ... targetN
- Unexpected positional replacement strings substitution, aero, 2017/02/11
- Re: Unexpected positional replacement strings substitution, Ole Tange, 2017/02/17
- Re: Unexpected positional replacement strings substitution, aero, 2017/02/17
- Re: Unexpected positional replacement strings substitution, Ole Tange, 2017/02/18
- Message not available
- Re: Unexpected positional replacement strings substitution, Ole Tange, 2017/02/19
- Re: Unexpected positional replacement strings substitution,
aero <=
- Re: Unexpected positional replacement strings substitution, aero, 2017/02/23
- Re: Unexpected positional replacement strings substitution, Ole Tange, 2017/02/23
- Re: Unexpected positional replacement strings substitution, aero, 2017/02/24
- Re: Unexpected positional replacement strings substitution, Ole Tange, 2017/02/24