I found that in exchange 2010/2013, even in CU2, when a database in a DAG is activated on a different server, use the command
get-mailbox-identity mailtest01 | fl name,server*,database acquired servername and Serverlegacydn not normal, The old Exchange Server is still present. Under normal circumstances, the ServerName and Serverlegacydn on the Exchange server on which the database is activated will appear as current Exchange server. For this phenomenon, the Microsoft website explains that product design is the case, in order to save server performance so servername and Serverlegacydn will not be updated in time (specific instructions can be consulted:
https://blogs.technet.microsoft.com/appssrv/2014/03/10/ get-mailbox-does-not-reflect-the-correct-server-name-for-mailboxes-on-databases-for-a-dag/)
If you want to get the correct servername and Serverlegacydn you need to use the command get-mailboxstatistics-identity mailtest01 | FL displayname,servername to get the right information.
Later encounter similar problems can not be laborious to find the reason, product design so.
Here is a sample of this phenomenon:
1, use the command get-mailbox-identity test01 | fl name,server*,database get the servername and Serverlegacydn information for the mailbox test01, The information obtained is displayed as EXC02.
650) this.width=650; "height=" 136 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/8C/EF/wKioL1h_ Dgwbrrpzaabqb0rms-k778.png "border=" 0 "/>
2, use command: Get-mailboxdatabasecopystatus DB15 get DB15 current copy activation status, display the current database DB15 activation on EXC05. And the mailbox test01 uses the command get-mailbox-identity test01 | fl name,server*,database gets out servername for EXC02.
650) this.width=650; "height=" title= "image" style= "Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/8C/F3/wKiom1h_ Dgbgoozvaabc69yrvk4017.png "border=" 0 "/>
3. Next use command: Get-mailboxstatistics-identity test01 | FL Displayname,servername Gets the value of the Servername property to normal.
650) this.width=650; "height=" "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/8C/F3/wKiom1h_ Dgaao71laaazff1-mna996.png "border=" 0 "/>
This article is from the "Jialt blog" blog, make sure to keep this source http://jialt.blog.51cto.com/4660749/1892877
Exhange the ServerName and Serverlegacydn properties of the mailbox correspond to errors when the mailbox is moved to a new server