LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2014, 10:54 AM   #1
James0806
Member
 
Registered: Jul 2014
Posts: 30

Rep: Reputation: Disabled
How can we add packages in more than 400 servers


In a scenario if there are more than 400 servers what would be the best way to install packages in all the servers
 
Old 08-22-2014, 11:06 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,315

Rep: Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878
Quote:
Originally Posted by James0806 View Post
In a scenario if there are more than 400 servers what would be the best way to install packages in all the servers
There are several options...but you don't say what kind of servers you're dealing with, running what OS. Also, this question has been asked and answered on this site MANY times...the LQ search will help you find them.

Spacewalk is common, but depending on what your environment is, may not be a good fit for you. And honestly, this sounds like a homework question, like some of your other threads do:
http://www.linuxquestions.org/questi...ud-4175515055/
http://www.linuxquestions.org/questi...ge-4175513826/
http://www.linuxquestions.org/questi...on-4175510578/

Last edited by TB0ne; 08-22-2014 at 11:07 AM.
 
Old 08-22-2014, 11:07 AM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,051

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
maybe something like:
Code:
cat hosts.lst | while read host
do
 ssh host sudo yum install vlc
done
 
1 members found this post helpful.
Old 08-23-2014, 05:00 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,654

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
One place I worked had a simple cron job on each system... all it did was "yum update".

The local repository had the approved packages, so for any system the cron job did its work (once a week).

The log output was sent to the admin group, so every systems log was received.

As an added method, it was possible to use ssh to direct specific hosts to update at will.
 
1 members found this post helpful.
Old 08-23-2014, 10:41 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,658

Rep: Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257
http://unix.stackexchange.com/questi...administration

Maybe?
 
Old 08-23-2014, 11:28 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,981

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
make a deb or a rpm if it is Debian or Redhat
and put it in your local repo
 
Old 08-24-2014, 12:23 AM   #7
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
run CentOS and use: http://spacewalk.redhat.com/
 
Old 08-24-2014, 01:13 PM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
If you want some additional automation, something like Puppet, CfEngine, or Chef would do what you wanted...
 
1 members found this post helpful.
Old 08-25-2014, 11:30 AM   #9
James0806
Member
 
Registered: Jul 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
But How can That work be done manually without using automated tools like chef,puppet
 
Old 08-25-2014, 12:10 PM   #10
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,094

Rep: Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515
How can you install a package on 400 different machines manually? Is this a serious question?

Go to each of the 400 machines, log in, and type 'yum install packagename' or 'apt-get install packagename' or whatever your distro's package manager requires.

Last edited by szboardstretcher; 08-25-2014 at 12:11 PM.
 
1 members found this post helpful.
Old 08-25-2014, 12:10 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,315

Rep: Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878
Quote:
Originally Posted by James0806 View Post
But How can That work be done manually without using automated tools like chef,puppet
You manually log in and perform the work. Either you use tools/scripts to do it, or you do it one by one, manually....you've been given package names and scripting advice on how to do things, so it's up to you to pick a direction.
 
1 members found this post helpful.
  


Reply

Tags
kickstart, rpm


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
Installation of packages in RHEL-5.3 using X windows menu Add/Remove packages akluthra Linux - Newbie 2 09-21-2010 06:34 AM
Mirroring Installed Packages Between Servers bunglega Linux - Software 1 01-06-2009 05:08 PM
LXer: Lanix to add 400 distributors in 2006 - Chile, Mexico LXer Syndicated Linux News 1 04-09-2006 01:06 PM
Add DNS servers objorkum Debian 4 05-31-2005 02:57 PM
x servers packages in slackware 9.0 Kicest Slackware 2 11-22-2003 08:35 AM


All times are GMT -5. The time now is 08:30 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration