Dear List, I'm trying to set up a lab with multiple workstations running CentOS 5. Does anybody knows how to keep the packages in sync among workstations? Ideally I want any change made on any machine be able to applied to all other machines. Alternatively, to "push" the changes (add and/or remove packages) from one central server to all other machine is also fine. Thanks Zhihao Lou P.S.: Sorry for the confusion subject line. I really don't know what's the accurate name for the feature I described here.
Zhihao Lou wrote:> Dear List, > > I'm trying to set up a lab with multiple workstations running CentOS > 5. Does anybody knows how to keep the packages in sync among > workstations? Ideally I want any change made on any machine be able to > applied to all other machines. Alternatively, to "push" the changes > (add and/or remove packages) from one central server to all other > machine is also fine. >create your own inhouse yum repo, put the packages you want to update on that server, and have the workstations do a nightly `yum update` (after, of course, being configured to use your repo instead of the default internet centos repo)
You could look at one of the configuration management engines which does this. bcfg2 is one that I use. Puppet is another common one.
If you set up a big number of workstations (my pain shreshold woud probably be around 20), or if you have hard requirements that the workstations are really equal in patch level you should maybe consider a Spacewalk server: https://fedorahosted.org/spacewalk/ http://wiki.centos.org/HowTos/PackageManagement/Spacewalk regards Jens Neu Health Services Network Administration Zhihao Lou <lzh1984 at gmail.com> Sent by: centos-bounces at centos.org 06/04/2010 05:28 AM Please respond to CentOS mailing list <centos at centos.org> To centos at centos.org cc Subject [CentOS] Package Distribution Server? Dear List, I'm trying to set up a lab with multiple workstations running CentOS 5. Does anybody knows how to keep the packages in sync among workstations? Ideally I want any change made on any machine be able to applied to all other machines. Alternatively, to "push" the changes (add and/or remove packages) from one central server to all other machine is also fine. Thanks Zhihao Lou P.S.: Sorry for the confusion subject line. I really don't know what's the accurate name for the feature I described here. _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100604/69b5b95b/attachment-0001.html>
> If you set up a big number of workstations (my pain shreshold woud > probably be around 20), or if you have hard requirements that the > workstations are really equal in patch level you should maybe consider a > Spacewalk server: > > https://fedorahosted.org/spacewalk/ > http://wiki.centos.org/HowTos/PackageManagement/SpacewalkI was working with spacewalk a year ago. It went from 0.4 to 0.5, and as far as I was concerned, it is just that: *not* ready for prime time. I'd go with a cron yum -y update (don't forget the -y), or a cron rsync. mark
Zhihao Lou ?????:> I'm trying to set up a lab with multiple workstations running CentOS > 5. Does anybody knows how to keep the packages in sync among > workstations? Ideally I want any change made on any machine be able to > applied to all other machines. Alternatively, to "push" the changes > (add and/or remove packages) from one central server to all other > machine is also fine. >You need to look at cobbler package for central installation server and repositary (it will be used for regular updates as well, just like normal yum repos), as well as func package for pushing changes to multiple machines.
On 6/3/10 8:27 PM, "Zhihao Lou" <lzh1984 at gmail.com> wrote:> Dear List, > > I'm trying to set up a lab with multiple workstations running CentOS > 5. Does anybody knows how to keep the packages in sync among > workstations? Ideally I want any change made on any machine be able to > applied to all other machines. Alternatively, to "push" the changes > (add and/or remove packages) from one central server to all other > machine is also fine. > > Thanks > > Zhihao Lou > > P.S.: Sorry for the confusion subject line. I really don't know what's > the accurate name for the feature I described here. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosMy recommendation is use a configuration management system like puppet (http://www.puppetlabs.com/) or slack (http://code.google.com/p/slack/) using a role that runs yum with the change list needed for the machines in the field. This gets you the ability to have uniform configurations and "push" from a central server. -- Gary L. Greene, Jr. IT Operations Minerva Networks, Inc. Cell: (650) 704-6633 Phone: (408) 240-1239