[Samba] How to Replace Production Samba AD DC Server with New Server

vikas c.vikas at altechtechnologies.com
Mon May 5 03:20:00 MDT 2014


On Tuesday 22 April 2014 10:12 PM, Marc Muehlfeld wrote:
> Hello Vikas,
>
> Am 21.04.2014 18:21, schrieb vikas:
>> Hello all,
>>
>> OS=CentOS 6.3 64 bit
>> Samba = 4.1.5
>> Samba compile and domain option used:
>>
>> $ ./configure --enable-debug --enable-selftest
>> $/usr/local/samba/bin/samba-tool domain provision --use-rfc2307
>> --interactive
>>
>> I want to replace my running samba server hardware with new server.
>> How should i approach this. One thing which is on my mind is below.
>>
>> Install samba on new server with same compile option used on old with
>> different ip address and subnet since the new is running and then change
>> the ip address. And copy /usr/local/samba from old to new. Will this 
>> work ?
>>
>> OR is there any smart and more elegant way to do ?
>>
>> PS: i am using internal dns of samba, and there are about 100 users on
>> domain.
>
> If you don't have to change the IP and you stay on the same platform, 
> I would suggest to install the same version, copy over the complete 
> samba directory with all its databases and configs.
>
>
> But if you do changes on the name/IP, I would join the new machine to 
> the domain, transfer FSMO roles (if the old DC had some) and then 
> demote the old DC.
>
>
> Regards,
> Marc
Thanks Marc,,

I have succeeded  in swapping the server.

Currently i am using 4.1.5 version on CentOS 6.3 bit. But if i want to 
change my OS to 6.5 will there any thing else i have to do OR just 
transfer the /usr/local/samba

After reading this https://wiki.samba.org/index.php/Updating_Samba

If i installed samba new version 4.1.7 on other standby server and then 
I compile samba 4.1.7, can I just copy the /usr/local/samba to the 
working server.

regards,

vikas






More information about the samba mailing list