LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-23-2010, 08:10 PM   #1
deci007
Member
 
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.

Thanks
 
Old 02-23-2010, 08:27 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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.

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


Cheers,
Tink
 
Old 02-23-2010, 09:49 PM   #3
deci007
Member
 
Registered: Sep 2007
Posts: 44

Original Poster
Rep: Reputation: 15
spacewalk = redhat satellite

thanks.
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.?

thanks
 
Old 02-23-2010, 10:40 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

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


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
daloRADIUS - Easily Deploy and Manage HotSpots and RADIUS Systems liri Linux - News 5 10-25-2010 07:56 AM
Installation and package management systems shmerl Linux - Software 16 02-22-2009 10:30 PM
Package systems? Edstorm Linux - Newbie 3 12-23-2007 08:37 PM
Copying installed package list to other systems tweak13 SUSE / openSUSE 2 02-26-2007 06: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 10:46 PM

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

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