LinuxQuestions.org
Visit Jeremy's Blog.
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 02-22-2011, 10:20 PM   #1
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Rep: Reputation: 39
How to administer lots of Linux servers


Hi all,
I have a general question about the server administration. When I first started we used to use one application per server but now with virtualization like VMware we are implementing multiple servers with multiple applications in one single hardware. Like for me I used to handle around 40 servers but now due to disaster recovery we implemented DR site and replicate all the production servers there in VMWare which just doubled the server count for me and it's rising.
It's quite impossible if it rises this way to remember just the root password of all those servers. For monitoring may be we can use nagios/cacti other tools to automate the monitoring process but how to manage these servers in large organizations; they just segregate the servers between admins? But still the count will eventually get high one time. Like say for an update of kernel patch how to do that in all those servers, one by one? Last year we had an issue to update the timezone for DST and I had to login in each server and do that which was really painful.
So whats your professional experience regarding this.
 
Old 02-22-2011, 10:42 PM   #2
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
If it is Redhat/fedora/Centos. Please search for func (Fedora unified netowork controller). Func is a tool to control many servers from single location.

Last edited by KinnowGrower; 02-22-2011 at 10:43 PM.
 
Old 02-23-2011, 06:22 AM   #3
fortez
Member
 
Registered: May 2009
Posts: 35

Rep: Reputation: 0
perhaps you can use Puppet or Cfengine
 
Old 02-26-2011, 07:47 AM   #4
markseger
Member
 
Registered: Jul 2003
Posts: 244

Rep: Reputation: 26
I guess a 'high number' of servers is relative term. In the world if HPC, managing a cluster of a few thousand servers is now commonplace, but these clusters all have the same property - either all the servers are identical or there is a relatively small pool of common images. They may run different apps, but the o/s image/configuration on them is the same. I don't know if this applies to your situation or not but it greatly simplifies things.

When changes are made, they're made to an image and than pushed out to all servers intended to run that image.

Another technique that might help you is naming. All servers had a common naming format as well as simplified aliases so you might have names like: n1 n2 ... n1000 or maybe there's a rack number or other discriminator in there like: r1n1 r1n2... r2n1 nr2n2...

Of course having ssh-less access for the management accounts is mandatory. Then you get access to 'pdsh', which stands for parallel distributed ssh. Let's say you want to install an rpm named foo on 1K servers! Piece of cake. First you copy it with the distributed copy utility:

pdcp -w n[1-1000] foo.rpm /tmp

and then install it on 1000 servers

pdsh -w n[1-1000] rpm -ivh /tmp/foo.rpm

Virtually any operation that needs to be done multiple times can be done this way. Even if your servers don't have common names you might be able to add aliases to your hosts files to make navigation more consistent. in fact, even if you can't do that you can always put the names in a file and point pdsh at it. Of course having password-less ssh is a must. If you don't have that you should ask for a raise.

-mark
 
  


Reply


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
how to sync or monitor time for lots of remote servers? montyleesam Linux - Server 1 10-27-2008 04:59 AM
Using members of AD groups to administer Linux kenwood Linux - Newbie 2 10-02-2008 12:33 PM
LXer: Administer servers remotely with Web Console LXer Syndicated Linux News 0 05-02-2008 01:50 PM
LXer: Install, Configure, Manage and Administer Xen Servers with New book on Xen LXer Syndicated Linux News 0 01-12-2008 12:41 AM
Administer Windows ACL from Linux? cilynx Linux - Server 2 09-25-2007 03:08 PM

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

All times are GMT -5. The time now is 04:50 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