Here’s the command to view what role or roles each domain controller in your active directory domain has.

netdom query fsmo

I’m not going to do a write up on how to change these roles, since Microsoft has an excellent article that talks about it already.

http://support.microsoft.com/kb/324801