LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 09:54 AM   #1
James0806
Member
 
Registered: Jul 2014
Posts: 41

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, 10:06 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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 10:07 AM.
 
Old 08-22-2014, 10:07 AM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
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, 04:00 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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, 09:41 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

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

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

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
make a deb or a rpm if it is Debian or Redhat
and put it in your local repo
 
Old 08-23-2014, 11:23 PM   #7
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

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

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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, 10:30 AM   #9
James0806
Member
 
Registered: Jul 2014
Posts: 41

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

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
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 11:11 AM.
 
1 members found this post helpful.
Old 08-25-2014, 11:10 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

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



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 05:34 AM
Mirroring Installed Packages Between Servers bunglega Linux - Software 1 01-06-2009 04:08 PM
LXer: Lanix to add 400 distributors in 2006 - Chile, Mexico LXer Syndicated Linux News 1 04-09-2006 12:06 PM
Add DNS servers objorkum Debian 4 05-31-2005 01:57 PM
x servers packages in slackware 9.0 Kicest Slackware 2 11-22-2003 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:57 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
Open Source Consulting | Domain Registration