Rowland penny
2019-Nov-27 12:01 UTC
[Samba] moved DM config to new server : gids different etc
On 27/11/2019 10:12, Stefan G. Weichinger via samba wrote:> (resend 2 ... blocked again) > > Am 27.11.19 um 11:02 schrieb Rowland penny via samba: > >>> I now have the name of the domain and the IPs of the DCs etc ... so I >>> could theoretically start from scratch more or less and *maybe* switch >>> to backend AD here. >>> >> Do you use the AD DCs for anything other than authentication and GPOs ? >> >> If you do, then the 'ad' backend is the way to go, if you don't, then >> stick to the 'rid' backend, it is a lot less work, you do not need to >> add anything to AD, the only real downside is that all users get the >> same home directory path and login shell on each Unix domain member. > I also prefer staying with 'rid', yes. thanks. > > Just checking with krb and resolv.conf etc (correcting the domain). > > How would you recommend to proceed here: > > right now the "fallback hardware" is running as DM, with the server name > "samba" and the final IP. > > Unjoin the fallback server before shutting it down ... ? To move the > name and IP over to the new system?Yes, I would 'leave' the domain and then give it a new IP and possibly a new hostname (depending on what you are going to call the new Unix domain member). You could then re-join the domain.> > I mean, I will have to prepare the new system in parallel and keep the > downtime low ... and avoid duplicate names etcNow prepare your new Unix domain member, join it to the domain and then copy the required data from the old machine to the new machine. Once you have transferred everything from 'old' to 'new', you can 'leave' the domain on the 'old' machine and turn it off.> > Maybe I overcomplicate things ;-) >Not really ;-) Rowland
Stefan G. Weichinger
2019-Nov-27 13:21 UTC
[Samba] moved DM config to new server : gids different etc
Am 27.11.19 um 13:01 schrieb Rowland penny via samba:>> I mean, I will have to prepare the new system in parallel and keep the >> downtime low ... and avoid duplicate names etc> Now prepare your new Unix domain member, join it to the domain and then > copy the required data from the old machine to the new machine. Once you > have transferred everything from 'old' to 'new', you can 'leave' the > domain on the 'old' machine and turn it off. >> >> Maybe I overcomplicate things ;-) >> > Not really ;-)I have to run the 2 machines in parallel for a day or so. So I will make a "samba2" for now ... join that and "play" with it.
L.P.H. van Belle
2019-Nov-27 13:28 UTC
[Samba] moved DM config to new server : gids different etc
Hai, DM, right.. (short version) Just install/setup a the new DM. Add it to the domain. Transfer all data and correct rights where needed. Test it, all ok, poweroff the old server, Remove the old DM hostname from AD and DNS, and add CNAME oldname -> new name in the dns. And your done, at least, thats how i do it. And, offcourse above only works in one go if you used hostname.fqdn's everywhere. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Stefan G. Weichinger via samba > Verzonden: woensdag 27 november 2019 14:21 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] moved DM config to new server : gids > different etc > > Am 27.11.19 um 13:01 schrieb Rowland penny via samba: > > >> I mean, I will have to prepare the new system in parallel > and keep the > >> downtime low ... and avoid duplicate names etc > > > Now prepare your new Unix domain member, join it to the > domain and then > > copy the required data from the old machine to the new > machine. Once you > > have transferred everything from 'old' to 'new', you can 'leave' the > > domain on the 'old' machine and turn it off. > >> > >> Maybe I overcomplicate things ;-) > >> > > Not really ;-) > > I have to run the 2 machines in parallel for a day or so. > > So I will make a "samba2" for now ... join that and "play" with it. > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Stefan G. Weichinger
2019-Nov-27 13:59 UTC
[Samba] moved DM config to new server : gids different etc
(resend 3 !) Am 27.11.19 um 14:28 schrieb L.P.H. van Belle via samba:> Hai, > > DM, right.. > > (short version) > Just install/setup a the new DM. Add it to the domain. > Transfer all data and correct rights where needed.can't: data is on SAN ... will get "plugged in" via FibreChannel tmrw> Test it, all ok, poweroff the old server, > Remove the old DM hostname from AD and DNS, > and add CNAME oldname -> new name in the dns. > > And your done, at least, thats how i do it. > > And, offcourse above only works in one go if you used hostname.fqdn's everywhere.I plan to set up the new server as samba.my.dom join it set up some test share and let the local poweruser test some things. and maybe let their Veeam Backup write to a new share already this night