Red Hat Bugzilla – Bug 1004458
Last modified: 2013-12-19 19:23:34 EST
Add pssh package to get access to pssh and pslurp to make using sosreport over a cluster of nodes easier. An example of how this could be done is:
rm -Rf sos && mkdir -p sos && cd sos
pssh -i -H "root@r6m root@localhost" rm -Rfv /tmp/sos
pssh -i -t 0 -H "root@r6m root@localhost" sosreport --tmp-dir /tmp/sos
pslurp -t 0 -H "root@r6m root@localhost" -r /tmp/sos .
As an alternative to -H with a list of hostnames, you can use:
Where hosts.txt contains a line per host like:
We would ship this package in RHOS (from 3.0.z onward) to be solely used and supported for the use case of gathering up sosreports from many hosts.
Scratch el6 build:
No additional deps are required, pssh uses openssh-clients.
# rpm -qa |grep pssh
ran some basic pssh commands. works fine
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.