- Binary: Download from Release
- By source code:
make install
pssh -host h1 -host h2 -c "ls -a"
pssh -a ansible_file -g oneid -c "hostname"
ansible_fileis ansible format file,defaults to/etc/ansible/hosts, eg:
[oneid]
10.221.112.153
10.221.112.154
10.221.112.155
[clickhouse]
10.221.112.153
10.221.112.157
10.221.112.159
10.221.112.154
pssh rsync -g clickhouse -s dist -d /data1/
pssh -h