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)
On Friday, June 04, 2010 12:01 PM, John R Pierce wrote:
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)
Or sync everything/relevant tree from a local mirror to run a local Centos (Centos x) repo and then setup another repo for your own packages.
If you wish to "push" packages from a central server whenever you want, you could create your own local CentOS repos which rsync from CentOS repos nightly, and then use some simple scripts to execute "yum update" or whatever via SSH on remote nodes.
Josh
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Christopher Chan Sent: Thursday, June 03, 2010 11:10 PM To: centos@centos.org Subject: Re: [CentOS] Package Distribution Server?
On Friday, June 04, 2010 12:01 PM, John R Pierce wrote:
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)
Or sync everything/relevant tree from a local mirror to run a local Centos (Centos x) repo and then setup another repo for your own packages. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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@gmail.com Sent by: centos-bounces@centos.org 06/04/2010 05:28 AM Please respond to CentOS mailing list centos@centos.org
To centos@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@centos.org http://lists.centos.org/mailman/listinfo/centos
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
I 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
On 06/04/2010 07:24 AM, m.roth@5-cent.us wrote:
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
I 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
Not to mention Spacewalk requires using Oracle for your database.
I use a local repo for the 50 or so servers I maintain.
On 06/04/2010 07:24 AM, m.roth@5-cent.us wrote:
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
I 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.
Not to mention Spacewalk requires using Oracle for your database.
Oh, that's right - they were allegedly working to allow postgresql, I think, but they required the free Oracle xe. Oh, and I don't know if they ever put in the bugfix I found, that you had to max out Oracle's mem to within 6m of the hard-coded 1G max.
I use a local repo for the 50 or so servers I maintain.
We've got close to 200, overwhelmingly CentOS
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@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@centos.org http://lists.centos.org/mailman/listinfo/centos
My 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.
I can recommend spacewalk. It has come a long way since 0.4 having recently celebrated 1.0
It still uses Oracle but unless you have hundreds of servers I doubt you'll have too many problems there.
Sent from Android mobile
On Jun 4, 2010 6:11 PM, "Gary Greene" ggreene@minervanetworks.com wrote:
On 6/3/10 8:27 PM, "Zhihao Lou" lzh1984@gmail.com wrote:
Dear List,
I'm trying to set up a ...
My 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
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists....
After some reading and testing, I decide to use puppet. It's really nice. I'll recommend it to others.
Thank you all
Zhihao Lou
On Jun 4, 2010, at 1:10 PM, Gary Greene wrote:
On 6/3/10 8:27 PM, "Zhihao Lou" lzh1984@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@centos.org http://lists.centos.org/mailman/listinfo/centos
My 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
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Puppet isn't really a "package distribution server," although it can be used to maintain packages on several systems.. and is an AWESOME tool for other things like configuration management. A decent size shop would require more than just Puppet for package management/deployment, though.
Josh
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Zhihao Lou Sent: Monday, June 07, 2010 11:26 AM To: CentOS mailing list Subject: Re: [CentOS] Package Distribution Server?
After some reading and testing, I decide to use puppet. It's really nice. I'll recommend it to others.
Thank you all
Zhihao Lou
On Jun 4, 2010, at 1:10 PM, Gary Greene wrote:
On 6/3/10 8:27 PM, "Zhihao Lou" lzh1984@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@centos.org http://lists.centos.org/mailman/listinfo/centos
My 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
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos