Hi,
i want to achieve the following job.

[locahost] <---- single controlmaster connection --->  [remotehost] ---> N
concurrent jobs

My first try
1.
cat serverlist.txt | parallel --controlmaster -S 10/remotehost ssh user@{}
uname -n


I expected "--controlmaster' option will make single connection from
localhost to remotehost but parallel make every new connection to remote
concurrent 10 jobs.

and tried with another option

2.
cat serverlist.txt | parallel --controlmaster -j1 -S 10/remotehost ssh user@{}
uname -n

but it executes only  1 remote job at a time.

How can i achieve what i want to do?
. single controlmaster ssh multiflexed channel between localhost and
remotehost.
. remote N concurrent job(with N/remotehost manual Ncores designation for N
concurrent job) x N remote server

Reply via email to