Hello,
Happy new year to everyone.
I want to execute certain commands on multiple servers. I use to do this using a for loop. But it takes long time. For example, if I have 1000 servers, script should run the cmd on 50 servers in parallel. so that we can achieve the work fast.
I don't know python where we can use thread concept to achieve this. I know only shell script.
Also we are not allowed to install / use any tool like pssh..
So is there any logic we can use in bash script to achieve this.
Thanks in advance,
Kupi.
Happy new year to everyone.
I want to execute certain commands on multiple servers. I use to do this using a for loop. But it takes long time. For example, if I have 1000 servers, script should run the cmd on 50 servers in parallel. so that we can achieve the work fast.
I don't know python where we can use thread concept to achieve this. I know only shell script.
Also we are not allowed to install / use any tool like pssh..
So is there any logic we can use in bash script to achieve this.
Thanks in advance,
Kupi.