Scott Henson <[email protected]> wrote: >On Mon, 28 Mar 2011 23:52:24 -0700, petermity <[email protected]> >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: https://fedorahosted.org/cobbler/wiki/MovingYourInstallToAnotherBox which has an unhelpful statement, "use the right flags". Again, examples would help. I also ran across this bug, over a year old - it would seem to imply that it won't be worth replicating because I won't have access to distros - is this bug bogus, or there's a workaround, or what?: https://fedorahosted.org/cobbler/ticket/566 _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
