12. sos Report in a Cluster Written on . Posted in sos command.

sos is in deed a very versatile and powerful tool that can diagnose a whole swarm of Linux systems with a single command.
To gather information across multiple nodes in a high-availability cluster or distributed system, sos command provides the collect option. sos can collect data from all nodes in the cluster. Collect is used to capture reports on multiple systems simultaneously. These systems can either be defined by the user at the command line and/or defined by clustering software that exists either on the local system or on a "primary" system that is able to inform about other nodes in the cluster.
When running collect, sos report will be run on the remote nodes, and then the resulting archives will be copied from those nodes to the local system running sos collect. Archives are then removed from the remote systems.
Collect is an sos subcommand to collect sos reports from multiple nodes and package them in a single useful tar archive. sos collect can be run either on a central server that has SSH key authentication setup for the nodes in a given cluster, or from a "primary" node in a cluster that has SSH keys configured for the other nodes.
This is a requirement since sos uses ssh to execute the sos report command on each node from the central server. Some sos report options are supported by sos-collect and are passed directly to the sos report command run on each node.