[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Problem after migrating Exchange server 2007 to 2010

Posted on 2010-09-07
14
Medium Priority
?
559 Views
Last Modified: 2012-05-10
I have a problem after I migrated my Exchange 2007 server to 2010.
I have a DC with 2008-64 with Ex2007 on it. I set up a new DC with 2008R and installed ex2010.
I mirgated everything from 2007 to 2010 and deinstalled the ex2007 afterwards. The I moved the roles from the old DC to the new one (except infrastructure master).
Now everything seems to work fine, but in the console of the Excange 2010 server I can only see the old 2008 server as responsible DC (server/client access for example).
How can I change that? I would prefer some powershell command. Because I would like to remove the old DC I have to get in a new one for exchange.
0
Comment
Question by:mkuehngoe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
  • 2
14 Comments
 
LVL 2

Expert Comment

by:tspreeth
ID: 33617023
the command for that is

Set-ExchangeServer -Identity <ServerIdParameter> [-StaticConfigDomainController <String>] [-StaticDomainControllers <MultiValuedProperty>] [-StaticExcludedDomainControllers <MultiValuedProperty>] [-StaticGlobalCatalogs <MultiValuedProperty>]
 
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33617087
did you make the new DB with 2008 a GC
0
 
LVL 6

Author Comment

by:mkuehngoe
ID: 33617774
Yes I made the new DC a GC.
tspreeth: can you give me examples for the parameters needed?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 2

Expert Comment

by:tspreeth
ID: 33618304
example:
Set-ExchangeServer -identity Exchangeserver2010  -DomainController newdc.domain.com -StaticDomainControllers ‘newdc.domain.com’,'newdc2.domain.com'
 -StaticGlobalCatalogs ‘newgc.domain.com’, 'newgc1.domain.com’ -StaticConfigDomainController ‘newdc.domain.com’, ‘newdc1.domain.com’
0
 
LVL 6

Author Comment

by:mkuehngoe
ID: 33624872
I tried to set it like this:
Set-ExchangeServer -identity Exchangeserver2010  -DomainController newdc.domain.com -StaticDomainControllers ‘newdc.domain.com’
-StaticGlobalCatalogs ‘newdc.domain.com’ -StaticConfigDomainController ‘newdc.domain.com'
Afterwards I could not connect to the exchange server (on newdc) anymore with RDP and a lot of the exchange services ceased to start. I found out that I had to change this

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchange ADAccess\Profiles]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchange ADAccess\Profiles\Default]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchange ADAccess\Profiles\Default\UserDC1]
"HostName"="newdc.domain.com"
"IsGC"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchange ADAccess\Profiles\Default\UserGC1]
"HostName"="newdc.domain.com"
"IsGC"=dword:00000001

back to

indows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchange ADAccess\Profiles]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchange ADAccess\Profiles\Default]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchange ADAccess\Profiles\Default\UserDC1]
"HostName"="olddc.domain.com"
"IsGC"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchange ADAccess\Profiles\Default\UserGC1]
"HostName"="olddc.domain.com"
"IsGC"=dword:00000001

After that everything worked as before, but I still have only the old DC as a reference in the exchange console.
Sorry that it took a little bit to answer, but I had no email for a while :)
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33626770
you don't want to statically assign the domain controller to exchange

run dcdiag on the new server/dc and post the results
0
 
LVL 6

Author Comment

by:mkuehngoe
ID: 33628301
My OS language is german, so I think you will have difficutlies with the DCdiag results, but it was a good idea. I already found 2 errors, which I will explore.
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33628356
danke
there is an option with this tool to fix some issues like DNS
dcdiag /fix
0
 
LVL 6

Author Comment

by:mkuehngoe
ID: 33628465
dcdiag /fix did not fix it. The \\dc\netlogon is unreachable and there seems to be a problem with advertising as DC. I think I have a problem with the sysvol share.
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33628531
yes, you need to look at the logs on the domain controllers
that is definitely outside dcdiag capabilities
0
 
LVL 6

Author Comment

by:mkuehngoe
ID: 33646567
I fixed the problem with the sysvol share, but I still cannot use my new DC for AdAccess.
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33646589
run the dcdiag again and verify there are no errors
0
 
LVL 6

Author Comment

by:mkuehngoe
ID: 33646736
No errors so far
0
 
LVL 6

Accepted Solution

by:
mkuehngoe earned 0 total points
ID: 33648053
Ok I found the solution here:
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_25151912.html

"The solution to this problem ended up being enabling IP v6 on my exchange server running windows 2008 and then disabling it through the registry....LEAVING IT ENABLED IN THE TCP/IP properties.

That seemed to clear up issues and it started to keep new dc.domain.com in the GC and DC fields of exchange."
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question