Hack and / - Manage Multiple Servers Efficiently

Use a few simple techniques and a couple extra tools to simplify things when you must administer a group of machines at a time.

Kyle Rankin is VP of engineering operations at Final, Inc., the author of many books including Linux Hardening in Hostile Networks, DevOps Troubleshooting and The Official Ubuntu Server Book, and a columnist for Linux Journal. Follow him @kylerankin


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Other Alternatives

briandking's picture

I found myself writing that same for loop and using cluster type tools to manage multiple windows as well.

The for loop takes a long time to do anything significant on a large number of machines since it runs serially (and is a pain if one or more of the hosts happens to be down).

The multiple windows solution only scales as far as your screen size (assuming you are checking results as you type).

Then I ran across shmux (http://web.taranis.org/shmux/) which works like the for loop solution, but tackles hosts in parallel while tracking errors and keeping logs.

The author lists quite a few more alternatives at the bottom of his web page as well.