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.
[SOLVED] Procedure to upgrade from 4.7 to 4.8
- dcardon
- WAPT Expert
- Messages: 1931
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello Eric,
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
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.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.
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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
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
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
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.
Vincent CARDON
Tranquil IT
Tranquil IT
- dcardon
- WAPT Expert
- Messages: 1931
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello Eric,
To remove a domain controller (which has been previously shut down/removed), you must run the following command on the remaining DC:
Sincerely,
Denis
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>Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Good morning,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.
So, can we migrate directly from 4.7 to 4.8? Without going through the "demote" procedure?.
Thank you so much
