[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Bash Scripts for System Automation and Monitoring
- Subject: [ale] Bash Scripts for System Automation and Monitoring
- From: cfowler at outpostsentinel.com (Chris Fowler)
- Date: Tue, 20 Mar 2012 13:18:34 -0400
- In-reply-to: <CABGzhduWOZyhvBEOh391-iRDG8MQZp=M0ho0HLy8xFufR4-WZw@mail.gmail.com>
- References: <[email protected]> <CAAt=rgBhJeJzHL9Ew1E5L+iE_vD=7LzEJ1rFB32AcupM1ROmMQ@mail.gmail.com> <CABGzhduWOZyhvBEOh391-iRDG8MQZp=M0ho0HLy8xFufR4-WZw@mail.gmail.com>
On 03/20/2012 12:58 PM, chip wrote:
> Instead of looking at it from a tools perspective, let's look at a use case.
>
> For some reason you need to restart apache across 500 machines. Would
> you log in to each one and do it manually or would you write a script
> for this? Would it be python, perl, bash, or $other_language? How
> would you log in automatically? If you need root/sudo perms to
> restart apache, how would you deal with that (inputting your
> password). How would you make sure that the apache daemon restarted
> properly and things are once again working.
>
Now I'm dealing with DNS changes across 100 systems distributed in the US.
I'm using Perl with Expect and SSH.