LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-23-2012, 06:36 AM   #1
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
WSUS equivalent for Linux?


Hey guys,

WSUS stands for Windows Server Update Services. This service enables centralized/organized/selective updating of desktops from a central point in the network. The Windows server basically downloads the updates from Microsoft, then distributed the updates to Windows desktops in the network whenever and wherever appropriate. The service is most useful if your enterprise has a limited Internet bandwidth and the internal network could better support the load.

I am wondering if there is already a similar open source project on Linux, though I doubt because I rarely see large desktop deployments of Linux.

I currently see creating a yum repository as the most feasible solution to this. Linux desktops' repos would point to a single server (say CentOS) on the network where they would pull their updates from. Then, that CentOS server would pull the updates from CentOS's repos.

But this solution works the opposite way that I want. I want the server to 'PUSH' the updates to the clients, so no actions would be required from the end users, something like a silent installation.

So, any ideas? or maybe point me to some better solution to this?
 
Old 07-23-2012, 07:28 AM   #2
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Hi,

You can download the files into a centralized server (CentOS fo rexample) with scheduled crontab, then rsync the files from that server to the clients.
Then on the clients you can install the updates with yum locally from crontab.

This could do that what you wanted.

Or the other solutions for this to create a local repo with "createrepo" command from the downloaded rpm packages, then update the client just only from your local repo.
Of course this is the "opposite" way as you mentioned it.

Laz
 
Old 07-23-2012, 12:53 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
There are a number of ways of creating something that functions quite like what you seem to want: most distros have some kind of updater that goes out and checks for updates, all you then need is to cache those updates, and you have achieved the bandwidth-saving aspect. It doesn't really need much user activity, if the updater updates automatically, but you are in a bad place, if you get a bad update.

A slightly different flavour is to create your own repo from packages that are 'known good'; in this case you should never get a bad update to a critical app, but the admin overhead is likely to slow things down somewhat (bet you'd still be faster than MS, though).

Don't like those? You might want to have a look at provisioning (eg, here, particularly specwalk/satellite), although most of the provisioning projects are mainly directed at servers, that doesn't mean that, with a little effort, you couldn't get them to work for you.

This and also here, looks interesting; it combines some element of single sign on with provisioning, but whether it can do updates as well as initial, bare metal, stuff is difficult to tell.

I have a suspicion that the real way to do this is to use something like puppet, but whether there are any modules for your particular OS or you would have to write your own remains a mystery.
 
Old 07-23-2012, 01:01 PM   #4
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
if you create a local repo on your server, couldn't you do something like ssh user@client yum install whatever ?

or are we missing something ?

Last edited by schneidz; 07-23-2012 at 01:03 PM.
 
Old 07-23-2012, 09:56 PM   #5
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by schneidz View Post
if you create a local repo on your server, couldn't you do something like ssh user@client yum install whatever ?

or are we missing something ?
no, it was me, I'm just isn't that familiar with yum and what it can and cannot do. i'll try to search more on its capabilities, then maybe develop a graphical application for it. Thanks all!
 
Old 07-23-2012, 10:01 PM   #6
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by salasi View Post
There are a number of ways of creating something that functions quite like what you seem to want: most distros have some kind of updater that goes out and checks for updates, all you then need is to cache those updates, and you have achieved the bandwidth-saving aspect. It doesn't really need much user activity, if the updater updates automatically, but you are in a bad place, if you get a bad update.

A slightly different flavour is to create your own repo from packages that are 'known good'; in this case you should never get a bad update to a critical app, but the admin overhead is likely to slow things down somewhat (bet you'd still be faster than MS, though).

Don't like those? You might want to have a look at provisioning (eg, here, particularly specwalk/satellite), although most of the provisioning projects are mainly directed at servers, that doesn't mean that, with a little effort, you couldn't get them to work for you.

This and also here, looks interesting; it combines some element of single sign on with provisioning, but whether it can do updates as well as initial, bare metal, stuff is difficult to tell.

I have a suspicion that the real way to do this is to use something like puppet, but whether there are any modules for your particular OS or you would have to write your own remains a mystery.
Thanks for all the links, I'll try to read on those, though I think provisioning might be a good option as well.
 
  


Reply

Tags
servers, services, updater, yum



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
Linux equivalent of COM? mrtedweb Programming 17 05-19-2009 01:59 PM
WSUS situated in Linux depam Linux - Software 4 11-01-2007 01:53 AM
Allowing WSUS through Squid mwsimpson Linux - Networking 6 08-01-2006 10:14 AM
WSUS emulation on linux GUIPenguin Linux - General 0 07-13-2006 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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