【发布时间】:2017-08-31 07:58:40
【问题描述】:
如何通过shell脚本在N个系统上并行远程执行命令?命令是yum -y update
【问题讨论】:
-
salt-ssh n-systems-pattern pkg.upgrade如docs.saltstack.com/en/latest/ref/modules/all/… -
我知道如何通过诸如 ansible、chef、salt 之类的配置工具来做到这一点。通过 shell 脚本寻找解决方案。
-
尝试 GNU 并行:gnu.org/software/parallel/…
标签: bash shell scripting automation