Re: [Samba] steps for fileserver replacement
- Date: Tue, 11 Jul 2017 00:29:39 +0200
- From: "L.P.H. van Belle via samba" <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] steps for fileserver replacement
i would do it like this.
install the new member, setup a new hostname and ip, (static ip).
setup shares and copy data to the new server.
down old server, setup alias ip of the old server on the new, and create cname old hostname to new.
then monitor in the logs which pc's use ip numbers in shares.
for me the biggest advantage is, its reversable and flexible, meanig, you can do most of the work during work hours..
if you rejoin in you setup, cant boot up the old, without also there a rejoin.
which makes an extra point of possible problems.
just me thoughts..
> Op 10 jul. 2017 om 22:14 heeft Rowland Penny via samba <samba@xxxxxxxxxxxxxxx> het volgende geschreven:
> On Mon, 10 Jul 2017 21:54:21 +0200
> lists via samba <samba@xxxxxxxxxxxxxxx> wrote:
>> In the near future we are going to replace our current fileserver
>> (domain member server in a samba4 AD) with new hardware, and new
>> fresh debian 9 installation.
>> I don't want to upgrade the old installation, but completely
>> reinstall. So, should it simply work to:
>> - install the new machine with a random temp name / ip
>> - make it also a domain member server (under the temp name)
>> - configure winbind for nsswitch AD uid/gid on new server
>> - turn off samba on the old server (to prevent client access)
>> - rsync the user files from the old to the new server
>> - make sure file/dir ownerships/permissions match the old server
> Now leave the domain
>> - turn off the old server
>> - put the old server ip on the new server
>> - put old server hostname on the new server
>> - adjust smb.conf for the new hostname
> If you don't put 'netbios name =' in smb.conf, you wont have to do this.
>> - rejoin domain with the new hostname
>> - restart the new machine
>> And, since the new server has now the same ip / dns / netbios name as
>> the old server, should all GPO (drive mappings) 'just work' as if
>> nothing was changed?
> Provided EVERYTHING is the same as the old Unix domain member, I can
> see no reasons why this will not work.
>> Or if there is a (wiki) doc on this, kindly point me to it, as I
>> couldn't find it...
> Fairly sure there isn't one, want to write one once you have done it ?
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
To unsubscribe from this list go to the following URL and read the