Alan McKay
2010-Feb-04 19:28 UTC
[CentOS] Configuration Management Redux (was: best parallel / cluster SSH)
On Thu, Feb 4, 2010 at 2:03 PM, Les Mikesell <lesmikesell at gmail.com> wrote:> But, if someone ever gets cross-platform config management right or at > least close enough that it is worth learning yet another description > language I'd be very interested. ?Cfengine v3 might be getting there but > the windows version seems to be only available in the commercial build.OK, this is the perfect sequay for me :-) Assuming you only want Linux, and at that CentOS Linux - which are both the case for me - what Config Management system would you use? What is out there? A few months ago I sort of had a similar thread going and got the following : Slackmaster - looks like this is from google chef - have not looked it up yet puppet - got a test bed going and just bought the book because have not found much on line in terms of complex configs and how to actually use it to manage your environments bcfg2 - have not looked for it yet CF Engine - am vaguely familiar with it. thanks, -Alan -- ?Don't eat anything you've ever seen advertised on TV? - Michael Pollan, author of "In Defense of Food"
Les Mikesell
2010-Feb-04 20:21 UTC
[CentOS] Configuration Management Redux (was: best parallel / cluster SSH)
On 2/4/2010 1:28 PM, Alan McKay wrote:> On Thu, Feb 4, 2010 at 2:03 PM, Les Mikesell<lesmikesell at gmail.com> wrote: >> But, if someone ever gets cross-platform config management right or at >> least close enough that it is worth learning yet another description >> language I'd be very interested. Cfengine v3 might be getting there but >> the windows version seems to be only available in the commercial build. > > OK, this is the perfect sequay for me :-) > > Assuming you only want Linux, and at that CentOS Linux - which are > both the case for me - what Config Management system would you use? > What is out there? > > A few months ago I sort of had a similar thread going and got the following : > > > Slackmaster - looks like this is from google > > chef - have not looked it up yet > > puppet - got a test bed going and just bought the book because have > not found much on line in terms of complex configs and how to actually > use it to manage your environments > > bcfg2 - have not looked for it yet > > CF Engine - am vaguely familiar with it.Well so far I haven't adopted any, mostly because learning their oddball languages seems like extra work with no return over using simple loops to automate what you have to know anyway. That is, you have to completely understand what they do and how they do it to supply the low level scripts for the specific things you want to happen, and once you have that part there's next to nothing involved in wrapping it with ssh from a central point yourself using the shell language which is well designed for that sort of thing and you already have to know it. Also, you almost certainly will want to version-control things, so unless the tool you pick starts with your favorite mechanism underneath you'll have more complications than just tossing svn commit/update commands in appropriate places yourself. In my opinion, the version control is the important part while copying things around and executing a command here and there are fairly trivial. I'd like to find something that starts with the premise that for each group of hosts you have a 'master' set of configs and every actual instance is a version-controlled branch where you could easily compare any host:host in the set as well as host:different time (stuff any version control tool does). But so far I haven't seen anything that understands that the configurations are just extensions of the programming and need to be handled the same way as the underlying source code for the same reasons. For your 4-host example, I'd be tempted to just open 4 terminal windows, ssh to each, and after running a command successfully in one, recall the command line with the up arrow, highlight it with the mouse and middle-click in each of the other windows. You get verification that the command is correct before killing all of the servers, then nearly parallel execution on the others in much less time than it would take you to figure out how to tell some framework to do it for you. And if you are as lazy as I am, you can run the control desktop in freenx, and leave the ssh session windows open, then grab the whole desktop remotely whenever you need it again. If I were willing to be restricted to a few unix-like OS varieties, I'd look at puppet. Cfengine before v3 was just too weird, but it seems to have a new philosophy now. I'm still reading the blurbs, though. -- Les Mikesell lesmikesell at gmail.com
Kwan Lowe
2010-Feb-04 20:44 UTC
[CentOS] Configuration Management Redux (was: best parallel / cluster SSH)
On Thu, Feb 4, 2010 at 2:28 PM, Alan McKay <alan.mckay at gmail.com> wrote:> On Thu, Feb 4, 2010 at 2:03 PM, Les Mikesell <lesmikesell at gmail.com> wrote: >> But, if someone ever gets cross-platform config management right or at >> least close enough that it is worth learning yet another description >> language I'd be very interested. ?Cfengine v3 might be getting there but >> the windows version seems to be only available in the commercial build. > > OK, this is the perfect sequay for me :-) > > Assuming you only want Linux, and at that CentOS Linux - which are > both the case for me - what Config Management system would you use? > What is out there?I'm using a mix of puppet, CVS, tentakel and a mix of custom scripts to manage about 30 instances in my environment. In brief: LDAP with 389Project (RedHat DS) for authentication CVS on the cental admin server to maintain puppet configurations, kickstarts, etc.. Puppet and custom scripts to generate and to push configurations Nagios to monitor and alert Central config server running Samba, vsftpd, dhcpd, etc to rapidly deploy an instance I made a decision to manage all configurations at the central admin server (CAS) which is backed up and redundant. This means that if a node goes down, I can redeploy it within a matter of minutes with an identical configuration. For example, when my DNS server went down because of hardware, all I did was recreate a VMware partition, point it to a kickstart, then wait. After it was completed the newly built system checked in to the CAS, pulled down its configuration, then started serving DNS requests again.
James Hogarth
2010-Feb-04 20:46 UTC
[CentOS] Configuration Management Redux (was: best parallel / cluster SSH)
For pure RHEL/Centos/Fedora environments (especially centos/rhel) I can recommend Spacewalk for any reasonable number of systems (20+) for the combination of package management, configuration management and kickstart management... James
James Hogarth
2010-Feb-05 14:06 UTC
[CentOS] Configuration Management Redux (was: best parallel / cluster SSH)
On 5 February 2010 13:18, Laurent Wandrebeck <l.wandrebeck at gmail.com> wrote:> 2010/2/5 James Hogarth <james.hogarth at gmail.com>: >> >> There has been substantial development since last April. 0.7 is very >> usable in production (and indeed makes my life much easier) and 0.8 is >> due soon. >> >> James > Do you use PostgreSQL or Oracle as backend ? It seems Postgresql > support is a bit far from being production ready, according to their > wiki. > Laurent. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >Oracle - postgresql work is still ongoing and not yet production ready by a long way...