LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-14-2009, 10:10 AM   #1
zokken
Member
 
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
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
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

Quote:
for i in `cat hostnames`
do
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
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
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:

http://www.cfengine.org/

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:13 PM.

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