LinuxQuestions.org
Help answer threads with 0 replies.
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, 09: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, 09:27 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 10: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, 11:40 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

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


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
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


All times are GMT -5. The time now is 05:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration