Migrate OAB from 2007 to 2010
HiI want to migrate to Exchange 2010 from 2007. I move mailboxes to a new DB, configure OWA, autodiscover etc. Now I try to move PF from old DB to a new one.I create DB, create replicas between servers and wait until replication ends.Then I move OAB through the EMC and change default DB for my Mailbox DB to a new one.Next I run moveallreplicas.ps1 script, it ends without errors.It seems that I move all Public Folder content successfully but..1) if I try to run get-Offlineaddressbook |fl, I see old server's name and it's DB in PublicFolderDatabase string2) when I try to run autodiscover test in my outlook, I see old OAB url3) if I try to shutdown my old server - I cannot update OAB through outlookSome additional info[PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>get-OABVirtualDirectory
Server Name Internal Url External Url------ ---- ------------ ------------OldServ OAB (Default Web Site) http://oldserv.domain.com/OAB http://oldserv.domain.com/OAB <-here is itNewServ OAB (Default Web Site) http://newserv.domain.com/OAB https://newserv.domain.com/OAB[PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-ClientAccessServer | flfor old server AutoDiscoverServiceInternalUri parameter is blank and for new server I can see AutoDiscoverServiceInternalUri : https://newserv.domain.com/Autodiscover/Autodiscover.xmlCan I just remove internal and external URL for old server?
December 28th, 2009 1:05pm
You need to move the offline address book generation server. You can do that by running:
Move-OfflineAddressBook "Default Offline Address List" -Server <MBX2010>Elie B.
MCITP: EMEA|EA|SA
Blog: http://blog.elieb.info
Free Windows Admin Tool Kit Click here and download it now
December 28th, 2009 3:41pm
as I wrote I move it throurgh EMCThis way is the same as PoSH: http://technet.microsoft.com/en-us/library/bb123917(EXCHG.80).aspx[PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>get-Offlineaddressbook |fl
RunspaceId : de1082ed-5da7-4520-97fb-3c7aba9159d2Server : NewServAddressLists : {\Default Global Address List}Versions : {Version4}IsDefault : TruePublicFolderDatabase : OldServ\Second Storage Group\Public Folder Database
December 28th, 2009 4:05pm
Hi,That's by default when moving the OfflineAddressBook from the Exchange 2007 to Exchange 2010. When doing this operation, the Public Folder Database for the Offline Address Book will not change. You need to change the siteFolderServer attribute of the Default Offline Address Book by using ADSI Edit tool.ThanksAllen
Free Windows Admin Tool Kit Click here and download it now
December 30th, 2009 1:13pm
Thanks for your reply!
Can you tell me which path I should use?For old DB I can find the following path: Servers -> Old Server's name -> Information store -> Storage group -> PF DB
But Information store CN is empty for the new server. Bases are located in Databases CN
So should I use path like that:CN=Public Folder DB,CN=Databases,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=MyOrg,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=com?or, maybe, i should useCN=NewServ,CN=Public Folder DB,CN=Databases,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=MyOrg,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=com?
December 30th, 2009 5:17pm
Hi,It should be same as the distinguishedName of the Public Folder Database on the Exchange 2010. Please locate the Public Folder database and find the distinguishedName by using ADSI Edit tool.ThanksAllen
Free Windows Admin Tool Kit Click here and download it now
December 31st, 2009 6:27am
Thanks for your replyIt seems that PF DN is located now by the following path:[PS] C:\>(Get-PublicFolderDatabase | where {$_.Server -eq 'NewServ'}).DistinguishedNameCN=Public Folder DB,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=MyOrg,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=comI'll try this path and inform about the result later
December 31st, 2009 9:41am
Hi,Hope to receive your good news.ThanksAllen
Free Windows Admin Tool Kit Click here and download it now
December 31st, 2009 11:35am
Sorry for a long response, there are holidays at my place nowI try to change PF DN via the ADSIeditNow that I run "get-Offlineaddressbook |fl" I see a new "PublicFolderDatabase" property valueBut "VirtualDirectories" property still contains old server nameOf course my OAB settings are valid and I have even tried to override them with the following command:Set-OABVirtualDirectory -Identity "OAB (Default Web Site)" -PollInterval 120 -InternalURL http://newserv.domain.com/oab -ExternalURL https://newserv.domain.com/oabhttp://technet.microsoft.com/en-us/library/bb331969(EXCHG.80).aspxbut VirtualDirectories server is still oldwhen I try to run Get-OabVirtualDirectory I can see the following output:Server Name Internal Url External Url------ ---- ------------ ------------OLDSERV OAB (Default Web Site) http://oldserv.domain.com/oab https://oldserv.domain.com/oab NEWSERV OAB (Default Web Site) http://newserv.domain.com/oab https://newserv.domain.com/oab What should I do? Should I just remove or change Internal and External URL's from the OLDSERV?
January 11th, 2010 3:40pm
Hi AllenI have the exact same problem. Could you perhaps explain where I need to change the value using the ADSI Edit tool. I've gone in circles trying to find the parameter. Your advice would be creating appreciated.Thanks
Free Windows Admin Tool Kit Click here and download it now
January 12th, 2010 10:00am
Hi,To find the PF tree's DN, Open adsiedit.msc.Select Configuration->Configuration->Services->Microsoft Exchange->Orgname->Administrative Groups->Exchange Administrative Group->Folder Hierarchies->Public folder- Right click and select properties.- Look for the Distinguished Name (DN).Thanks,Nagesh
January 15th, 2010 1:12am
Hello allI have solved my problem todayHere is the solution:- run "$a=Get-OabVirtualDirectory -Server NewServ" on a new server- run "Set-OfflineAddressBook "Default Offline Address Book" -Versions Version4 -VirtualDirectories $a" on an new server. Those commands are not the same as "Move-OfflineAddressBook" that recommended above in this thread- check if the server's name is proper via the "Get-OfflineAddressBook |fl" command on a new server- run "Update-OfflineAddressBook "Default Offline Address Book"" and "Update-FileDistributionService NewServ -Type OAB" on a new server to start OAB Update process manually - check if update is successfull. I do it through IIS management console (browse OAB virtual directory in it)- now you can remove old OAB via "Remove-OABVirtualDirectory -Identity "OAB (Default Web Site)"" on an old server.If I try to run "Test E-mail AutoConfiguration" tool in Outlook - I can see that everything is fine.Thanks to http://msexchangeteam.com/archive/2006/10/16/429204.aspx article, it has helped me to find solution
Free Windows Admin Tool Kit Click here and download it now
January 19th, 2010 3:44pm