Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-23-2010, 09:10 PM   #1
Registered: Sep 2007
Posts: 44

Rep: Reputation: 15
Deploy a package on many systems

I had a question on my interview today.
so how would you automate install/upgrade to a package to 200 servers.
and obviously not by going to each system physically.

Answer: NFS share , using perl script and rpm utility. But i have not done such kind of install/upgrade so my knowledge is limited.

but i want to know how would i do that on Redhat Enterprise or CentOS.

Old 02-23-2010, 09:27 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
With Centos (RedHat) I'd suggest setting up a spacewalk (satellite) server;
even with scripting and NFS that form of deployment is way to involved to
be done manually as far as I'm concerned.

But one "could" (if one had a privileged user account that can ssh
to all of those machines password-less, e.g. from a management work-
station) use a scripting approach.

Assuming the NFS share exists already, and all 200 machines have access
rights to it, and the user mentioned above has the right to mount it.

for i in $(cat /path/to/file/servernames); 
  ssh user@$i "mount /nfsshare && rpm -i /nfsshare/package.rpm"
This is (almost complete) bash, not perl. But you get
the idea.

Old 02-23-2010, 10:49 PM   #3
Registered: Sep 2007
Posts: 44

Original Poster
Rep: Reputation: 15
spacewalk = redhat satellite

you have answered my big question. i have asked lot of people about redhat satellite and no one has been telling me the right think. and many of the people are not even aware of the term redhat satellite.
Oh well but atleast i can learn spacewalk.

another question is..
is it possible to install the spacewalk package on RHEL5 instead of satellite and do almost the same thing.?

Old 02-23-2010, 11:40 PM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,818

Rep: Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558
Should be, but it will be unsupported by RH...


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
daloRADIUS - Easily Deploy and Manage HotSpots and RADIUS Systems liri Linux - News 5 10-25-2010 08:56 AM
Installation and package management systems shmerl Linux - Software 16 02-22-2009 11:30 PM
Package systems? Edstorm Linux - Newbie 3 12-23-2007 09:37 PM
Copying installed package list to other systems tweak13 SUSE / openSUSE 2 02-26-2007 07:29 PM
LXer: Systems Solutions Teams with Open-Xchange to Deliver Easy-to-Deploy, Easy-to-Use Collaboration Server LXer Syndicated Linux News 0 02-22-2006 11:46 PM > Forums > Linux Forums > Linux - Newbie

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