On Tue, 2018-11-27 at 21:05 +0100, Reindl Harald via samba wrote:> Am 27.11.18 um 21:00 schrieb Stefan G. Weichinger via samba: > > While I wait for upgrading 2 customers from 4.8.6 to 4.9.x (hesitating > > not to break things) and checking the list for Louis publishing the > > 4.8.7 stretch packages ... ;-) - thanks, Louis!! - I once again wonder > > how to optimize these updates and minimize the risk of breaking things. > > > > One thought is to add a test DC to my ADS/samba-domains, running in a > > docker container, testing the upgrade there and throw away the container > > when things are done etc > > > > Does anyone do that? > > > > I know I already asked that here in september (feels as if it was way > > earlier): > > > > https://lists.samba.org/archive/samba/2018-September/217906.html > > > > Maybe I set up a 4.8.6 container and test the upgrading in there. > > > > Feedback welcome > > > why don't you just use real virtual machines? > > * clone > * testBecause if it connects to the network there will be chaos.> * throw away the old one > > and/or play around with all sort of snaphsot-versions? > > after a decade running anything in full virtualization i don't get > bare-metal where the first step is not install whatever hypervisor and > be it only for hot-migration to new hardware while you get proper > backups and snapshots "for free"Samba 4.9 can back up an existing domain and restore it with a new name to test in the lab. This is the safe way to test upgrades, which should in general be done on a join/demote basis not in-place if at all possible. Andrew Bartlett -- Andrew Bartlett https://samba.org/~abartlet/ Authentication Developer, Samba Team https://samba.org Samba Development and Support, Catalyst IT https://catalyst.net.nz/services/samba
Am 27.11.18 um 21:16 schrieb Andrew Bartlett via samba:> On Tue, 2018-11-27 at 21:05 +0100, Reindl Harald via samba wrote: >> why don't you just use real virtual machines? >> >> * clone >> * test > > Because if it connects to the network there will be chaos.I expected this somehow ;-)> Samba 4.9 can back up an existing domain and restore it with a new name > to test in the lab. This is the safe way to test upgrades, which > should in general be done on a join/demote basis not in-place if at all > possible.Is there / could we get a nice howto for this somewhere? Thanks, Stefan
Hi, There are some instructions on the Samba wiki on how to create a lab domain for testing. https://wiki.samba.org/index.php/Create_a_samba_lab-domain Thanks, Tim On 28/11/18 9:30 AM, Stefan G. Weichinger via samba wrote:> >> Samba 4.9 can back up an existing domain and restore it with a new name >> to test in the lab. This is the safe way to test upgrades, which >> should in general be done on a join/demote basis not in-place if at all >> possible. > Is there / could we get a nice howto for this somewhere? > > Thanks, Stefan > >
Am 27.11.18 um 21:16 schrieb Andrew Bartlett via samba:> Samba 4.9 can back up an existing domain and restore it with a new name > to test in the lab. This is the safe way to test upgrades, which > should in general be done on a join/demote basis not in-place if at all > possible.At the moment we do in place upgrades as it is the easiest way. If we would do demote-upgrade-join could we use the same names/IPs as before? Or will there be some stuff left in the DB to clean up afterwards? Regards Christian -- Dr. Christian Naumer Research Scientist Plattform-Koordinator Bioprozesstechnik B.R.A.I.N Aktiengesellschaft Darmstaedter Str. 34-36, D-64673 Zwingenberg e-mail cn at brain-biotech.de, homepage www.brain-biotech.de fon +49-6251-9331-30 / fax +49-6251-9331-11 Sitz der Gesellschaft: Zwingenberg/Bergstrasse Registergericht AG Darmstadt, HRB 24758 Vorstand: Dr. Juergen Eck (Vorsitzender), Frank Goebel Aufsichtsratsvorsitzender: Dr. Ludger Mueller