2nd samba PDC server

Hello
We have a samba PDC server our network long time and we plan 2nd samba PDC server the same
network.
Is that possible two PDC server in the same network?
thank you
linuxdebianAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nanocosmCommented:
There is no problem running more that one PDCs in the same network as long as the don't have the same dominnames!

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
linuxdebianAuthor Commented:
first PDC is ork.example.com
second PDC will be ork1.example.com

is that correct?
0
nanocosmCommented:
Partly - You need to select an different DNS name (ork1.example.com) for the 2nd PDC and - this is the important - a different Samba Domainname (which has nothing to do with DNS)
Edit your smb.conf (normally located at /etc/samba/smb.conf) locate in the
[global] Section the line "workgroup = FOOBAR" and change it. Don't forget to restart samba

Example for 1st PDC:
[global]

    wide links = no
# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name
    workgroup = PDC1

# netbios name is the name you will see in "Network Neighbourhood",
# but defaults to your hostname
    netbios name = PDC1

# server string is the equivalent of the NT Description field
#   server string = %v
   server string = 1stPDC

Example for 2nd PDC:
[global]

    wide links = no
# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name
    workgroup = PDC2

# netbios name is the name you will see in "Network Neighbourhood",
# but defaults to your hostname
    netbios name = PDC2

# server string is the equivalent of the NT Description field
#   server string = %v
   server string = 2ndPDC



0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

linuxdebianAuthor Commented:
Thank you nanocosm for your answer
That is perfect.

I have one more thing.What about the Domain names?

Example for 1st PDC:
[global]
   wide links = no
# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = EXAMPLE.COM


I want my second PDC the same Domain name.
Example for 2nd PDC:
[global]

   wide links = no
# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = EXAMPLE.COM



my question is : when xp client join the domain how can i know which machine i join?



0
nanocosmCommented:
It is not possible to have more than one PDC with the same NT-Domainname in a network!

You need to setup a BDC (BackupDomainController) if you want to have a kind of fault tolerance.
But keep in mind that a BDC just authenticate the users in a domain, but all updates to the domain (new users, changed passwords, group membership, etc) could only be made via the PDC, which would then propagate these changes to all BDCs in the domain. A BDC normally does not carry the user data.

Read these articles:
http://en.wikipedia.org/wiki/Domain_controller
http://en.wikipedia.org/wiki/Primary_Domain_Controller
http://en.wikipedia.org/wiki/Backup_Domain_Controller

If you setup two PDCs (with different NT-Domainnames) you can join each XP client to each PDC.
0
linuxdebianAuthor Commented:
nanocosm thank you so much for your informations,they are really helpful

What is your thought and advices ? if you were i what would you do?
thank you
0
nanocosmCommented:
That depends on what you want to do...
Faulttolerance ?
Filetransfer speed ?
More storage space ?

For Faulttolerance I'd setup a BDC and sync the Userdata frequently with rsync for example. But there are other soultions possible

For Filetransfer speed I'd add another NIC and setup them as bonding so that the network load can be shared to multiple clients

For more storage space I'd just add another harddisk
0
linuxdebianAuthor Commented:
Basically we have old samba server in our network(PDC1) we want to PDC2 making and if all are goes good then stop working with old one(PDC1).
0
nanocosmCommented:
Well, in this case you need to setup the new PDC2 as a BDC, sync/transfer all the data let them both sync the authenticate credentials. Now shutdown the old PDC1 and promote the new BDC to a PDC.

See: http://samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-bdc.html#id2567666

IMHO it is much easier and faster to copy over all the data and configuration from the old machine to the new one instead of creating a BDC since in case of the BDC scenario you still need to manually copy and sync a lot of data.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
File Sharing Software

From novice to tech pro — start learning today.