1 Apr 2011 09:36
Re: Setting up new Cobbler server from existing one
petermity <6t12-n6js <at> dea.spamcon.org>
2011-04-01 07:36:36 GMT
2011-04-01 07:36:36 GMT
Scott Henson <shenson <at> redhat.com> wrote: >On Mon, 28 Mar 2011 23:52:24 -0700, petermity <6t12-n6js <at> dea.spamcon.org> wrote: >> If I have an existing Cobbler server all set up, is there an easy >> way to copy all of the distros, profiles, and other Cobbler >> aspects from it to a freshly created unit? >> >> Could I just copy /etc/cobbler, /var/www/cobbler, and >> /var/lib/cobbler to the new machine and then do cobbler sync? > >That might work, but you will likely run into problems. The correct way >to do it is to use 'cobbler replicate --master'. Generally you would >want to setup the cobbler settings file, start up cobblerd and then do >that. This is the way I do it, and it allows you to do all kinds of fun >things with selecting what you want brought down. Thanks, I wasn't aware of replicate (it's not mentioned in Cobbler's top-level help). The documentation at: https://fedorahosted.org/cobbler/wiki/ReplicateMaster is sparse, not enough examples of exactly how to use it. Apparently there used to be a parameter "--full-data-sync" - that's what I want to do. Would this be the equivalent (since I have no systems or images)?: cobbler replicate --master=$MASTER_SERVER_IP --distros=* --profiles=* --repos=* When looking into it, I ran across:(Continue reading)
RSS Feed