Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-14-2009, 10:10 AM   #1
Registered: Oct 2008
Posts: 44

Rep: Reputation: 16
Managing Multiple Servers

I'm curious how people go about managing multiple servers, for example, updating a package on a couple dozen machines. Writing a script which uses ssh key-pairs + ssh-agent works fine, but I'm just curious if other people have different approaches.
Old 01-14-2009, 10:25 AM   #2
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 43
I use the ssh+keys and a script to update servers. It depends on the situation though. If I only need to update say 5 of the servers I use the

for i in `cat hostnames`
and just add the hostnames to that file. That way I can control which servers get the updates. I also have a file that has all the hostnames if I need to update them all.

It's SO handy to do it this way. Plus I can use the script to check the status of services and to start them if I need to. I would love to hear of other ways though that could be even better.
Old 01-14-2009, 12:49 PM   #3
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
I'm told it's a bit of a beast to set up, but cfengine is the weapon of choice for full centralised control of Unix hosts:

Never used it myself, though. I go for the ssh keys and scripts approach too.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Blade servers booting from multiple disk drives simultaneously NGC_cheryl Linux - Enterprise 0 11-26-2007 08:38 AM
LXer: Centeris CEO: Managing Linux servers in a Windows world LXer Syndicated Linux News 0 08-08-2006 04:21 PM
managing multiple isp yenonn Linux - Networking 1 11-01-2005 05:07 AM
Tips for managing multiple linux servers benr77 Linux - General 3 09-14-2005 04:32 AM
Managing Multiple Partitions and OS's Echo Kilo Linux - Software 0 10-22-2004 11:28 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration