Jonathan Kreider
2019-Apr-10 21:46 UTC
[Samba] How to best configure DNS for upgrading samba AD DC?
https://wiki.samba.org/index.php/Updating_Samba says we should shut down all the samba processes before we upgrade. However, if I do that, then I don't have DNS b/c samba _is_ my DNS on the AD DC. I configured it per https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller Am I missing something? Do I have something misconfigured? Is there a way to configure a fall-back DNS service so I can still run apt-get when samba is not running? Or do I need to manually reconfigure DNS after shutting samba down? OS = Ubuntu 18.04 Samba = 4.10.2 (the latest & greatest - big thanks to Louis) BTW, the 4.7-4.9 upgrade bug is listed as fixed in 4.10 and my upgrade from 4.7.6-ubuntu to Louis' 4.10.2 had no issues. Obviously I managed to upgrade without shutting down samba (I did take a snapshot), despite the recommendations and as of a day later, I'm unaware of any problems. But, for the future, I'd prefer to do this the "right" way. Thanks, Jonathan Kreider
Rowland Penny
2019-Apr-11 07:32 UTC
[Samba] How to best configure DNS for upgrading samba AD DC?
On Wed, 10 Apr 2019 17:46:34 -0400 Jonathan Kreider via samba <samba at lists.samba.org> wrote:> https://wiki.samba.org/index.php/Updating_Samba says we should shut > down all the samba processes before we upgrade. However, if I do > that, then I don't have DNS b/c samba _is_ my DNS on the AD DC. I > configured it per > https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_ControllerThat page needs updating, it looks like Samba is stopped to make a backup, something that can now safely be done with Samba running.> > Am I missing something? Do I have something misconfigured? Is there a > way to configure a fall-back DNS service so I can still run apt-get > when samba is not running? Or do I need to manually reconfigure DNS > after shutting samba down? > > OS = Ubuntu 18.04 > Samba = 4.10.2 (the latest & greatest - big thanks to Louis) BTW, the > 4.7-4.9 upgrade bug is listed as fixed in 4.10 and my upgrade from > 4.7.6-ubuntu to Louis' 4.10.2 had no issues. > > Obviously I managed to upgrade without shutting down samba (I did > take a snapshot), despite the recommendations and as of a day later, > I'm unaware of any problems.I do not think you have anything to worry about, that is the way I upgrade and I have never had a problem. Just take regular backups and carry on ;-) Rowland
Jonathan Kreider
2019-Apr-11 13:11 UTC
[Samba] How to best configure DNS for upgrading samba AD DC?
Rowland, Thanks for the clarification. I get the sense that maintaining the docs is a never-ending and overwhelming task given the pace of change in samba. Thanks again! Jonathan Kreider On Thu, Apr 11, 2019 at 3:33 AM Rowland Penny via samba < samba at lists.samba.org> wrote:> On Wed, 10 Apr 2019 17:46:34 -0400 > Jonathan Kreider via samba <samba at lists.samba.org> wrote: > > > https://wiki.samba.org/index.php/Updating_Samba says we should shut > > down all the samba processes before we upgrade. However, if I do > > that, then I don't have DNS b/c samba _is_ my DNS on the AD DC. I > > configured it per > > > https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller > > That page needs updating, it looks like Samba is stopped to make a > backup, something that can now safely be done with Samba running. > > > > > Am I missing something? Do I have something misconfigured? Is there a > > way to configure a fall-back DNS service so I can still run apt-get > > when samba is not running? Or do I need to manually reconfigure DNS > > after shutting samba down? > > > > OS = Ubuntu 18.04 > > Samba = 4.10.2 (the latest & greatest - big thanks to Louis) BTW, the > > 4.7-4.9 upgrade bug is listed as fixed in 4.10 and my upgrade from > > 4.7.6-ubuntu to Louis' 4.10.2 had no issues. > > > > Obviously I managed to upgrade without shutting down samba (I did > > take a snapshot), despite the recommendations and as of a day later, > > I'm unaware of any problems. > > I do not think you have anything to worry about, that is the way I > upgrade and I have never had a problem. > > Just take regular backups and carry on ;-) > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >