Page 1 of 1

[SOLVED] Procedure to upgrade from 4.7 to 4.8

Published: October 7, 2018 - 9:53 AM
by Eric
Hello,

I recently installed a test Samba4 instance from the Tranquil-it packages, and it turns out the version is 4.8, which is great, thank you!

My question is, what are the recommendations for migrating to 4.8 on my production servers? I have

4 servers:
1 AD-BDC,
2 BDCs,
and 1 CUPS file server.

Thank you in advance, and thank you again for this work,
Eric.

Re: Procedure to upgrade from 4.7 to 4.8

Published: October 12, 2018 - 8:23 PM
by dcardon
Hello Eric,
Eric wrote: Oct 7, 2018 - 9:53 AM I recently installed a test Samba4 server from the Tranquil IT packages, and it turns out the version is 4.8. Great, thank you!

My question is, what are the recommendations for migrating to 4.8 on my production servers?

4 servers:
1 AD-BDC,
2 BDCs,
1 CUPS file server.

Thanks in advance, and thanks again for this work.
It is possible to upgrade the servers in any order; replication will continue to function. Typically, the upgrade begins with the server holding the FSMO roles.

A quick note: be aware that upgrading to version 4.8 requires recalculating the indexes (the internal LDB structure has changed), and the server will be unavailable for a few tens of seconds to a few minutes. Keep this in mind if you plan to perform the upgrade at noon.

To fully benefit from the new database structures, it's even preferable to demote and then rejoin the servers to perform an upgrade. However, for this, it's best to wait for the upcoming 4.10 release: LMDB support should become the default (a change of backend compared to the legacy TDB), and it will be even more worthwhile to demote and rejoin the servers to perform an upgrade.

When upgrading from 4.7 to 4.8, be aware of a problematic package if you are using CentOS. You can look https://dev.tranquil.it/wiki/SAMBA_-_Up ... _samba_4.8

Sincerely,

Denis

Re: [SOLVED] Procedure to upgrade from 4.7 to 4.8

Published: October 16, 2018 - 12:07 PM
by Eric
Hello,

thank you very much for this clarification. So I think I'll wait for version 4.10 then. When it's available on Debian 9, when you mention unmounting, what exactly does that mean? I'm not familiar with that term in networking.

Thank you very much
Sincerely,
Eric

Re: [SOLVED] Procedure to upgrade from 4.7 to 4.8

Published: October 16, 2018 - 12:15 PM
by vcardon
Eric wrote: Oct 16, 2018 - 12:07 When you specify that it is necessary to demount, what exactly does that mean? I don't know this term in networking.
Démoter is Denis's French version of the verb "to demote", meaning to retrograde in French.

So, in this context, it involves downgrading the server's functional role, then joining it to a new domain controller with all functional roles and enabling replication.

Re: [SOLVED] Procedure to upgrade from 4.7 to 4.8

Published: October 16, 2018 - 3:05 PM
by Eric
Hello,

does this mean we'll need to place a special order on the purchase orders before the update? If so, which one?

Thank you in advance,
sincerely,
Eric

Re: [SOLVED] Procedure to upgrade from 4.7 to 4.8

Published: October 16, 2018 - 6:47 PM
by dcardon
Hello Eric,
Eric wrote: Oct 16, 2018 - 3:05 PM Does this mean we'll need to place a special order on the order forms before the update? If so, which one?
There is no longer a concept of BDC in an Active Directory domain.

To remove a domain controller (which has been previously shut down/removed), you must run the following command on the remaining DC:

Code: Select all

samba-tool domain demote --remove-other-dead-server=<NOM_DU_SERVEUR_A_SUPPRIMER>
Sincerely,

Denis

Re: [SOLVED] Procedure to upgrade from 4.7 to 4.8

Published: November 23, 2018 - 2:29 PM
by gtirmont
To fully benefit from the new database structures, it's even preferable to demote and then rejoin the servers to perform an upgrade. However, for this, it's best to wait for the upcoming 4.10 release: LMDB support should become the default (a change of backend compared to the legacy TDB), and it will be even more worthwhile to demote and rejoin the servers to perform an upgrade.
Good morning,

So, can we migrate directly from 4.7 to 4.8? Without going through the "demote" procedure?.

Thank you so much