On Wed, Jul 10, 2013 at 07:53:11PM -0700, Xizhen Du wrote:
>
> Does pssh support that we can define several server groups in a single host
> file?
>
> '@group_a' has servers : host-a1 host-a2 host-a3... etc..
> '@group_b' has servers : host-b1 host-b2 host-b3... etc..
>
> if so we can maintain 1 single hostfile for all hosts we have, quite like
> tentakel if you have used it before.
No, but you can easily use multiple host files, one for each group. If
you want to use multiple groups, you can use the -h option multiple
times.
--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868