Subject:
Re: Microsoft Operations Manager, Systems Management Server comparable
for Linux
From:
Tom Brown <tom@xxxxxxxx>
Date:
Thu, 13 Jul 2006 15:45:53 +0100
To:
For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
To:
For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
There's a F/OSS app that uses SSH to execute the same command on
multiple machines, saving the admin the pain of doing the same thing on
each machine manually.
if you have ssh root keys setup then you could just do something like
#!/bin/bash
HOSTNAMES=`cat update-list.txt`
for i in $HOSTNAMES
do
ssh $i '/etc/init.d/ntpd stop && ntpdate ntp &&
/etc/init.d/ntpd start'
done
to run that task on many boxes quickly - you can do this for just
about anything
As alternative I would suggest looking into dsh (distributed shell)
http://www.netfort.gr.jp/~dancer/software/dsh.html.en
Theres no rpm that I know of, only Debian binaries, but compilation from
source is easy enough. It deserves to be in extras, I think.
Leon