How to run parallel commands on remote servers with PSSH

preview_player
Показать описание
If you manage numerous remote Linux machines in your data center, make it easier to run parallel commands to those servers with the help of PSSH.

List of Commands:

sudo apt-get install pssh -y
nano sshhosts
parallel-ssh -A -i -h sshhosts df -h

Рекомендации по теме
Комментарии
Автор

Is there any advantage to ansible ad-hoc?

STFUandFY
Автор

Hello, I’m having this issue when executing the command pssh -A -i -h sshhosts df -h


ValueError: the fd 4 must be in non-blocking mode


Can you help me sort this out please?

ksvlk
visit shbcf.ru