Juszeil Conception

Juszeil Conception

  • 主 頁
  • 部 落 格
  • 相 簿
  • 關 於
  • 更 新 資 訊
  • 網站地圖

«2015 - 1»
日一二三四五六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TODAY

Hide Banner | LOGIN
2023-3-24 |

BLOG 部落格

Total found 1 articles on 2015-1-28.

銵 2015-1-28 15:50:35

Exchange 2010 to Exchange 2013 Migration

Problem

To complete a migration from Exchange 2010 (or 2007) to Exchange 2013, you need to introduce Exchange 2013 into your existing Exchange environment, then migrate your content onto the new server(s), and finally remove Exchange 2010.

Solution

Assumptions:

In this example I've got an existing Exchange 2010 environment running on Windows Server 2008 R2. I'm putting in Exchange 2013 onto a new server running Server 2012. Post install the NEW server will hold client access, and mailbox roles.

Exchange 2013 Role Placement

Unlike with previous versions of Exchange, the 2013 approach is NOT to split up roles to different servers, it's considered good practice to deploy all roles on all Exchange servers.

Exchange 2013 Licensing

Unless you have Microsoft "Software Assurance" you cannot simply upgrade to Exchange 2013 for free. You will need to buy the Exchange 2013 Base product. You may wish to look at an "Open Value Agreement", which lets you pay the cost over a three year term.

The Exchange 2013 (on-premises) software itself comes in two flavours, Standard and Enterprise.

Standard: For small Exchange deployments (1-5 Mailbox Databases) and for non mailbox role servers in larger Exchange deployments.

Enterprise: For large Exchange deployments (1-50 Mailbox Databases).

Exchange 2013 Client Access Licenses

As before there are two types of CAL for Exchange 2013 access. These are also 'confusingly' called Standard and Enterprise.

Note: An Enterprise CAL is NOT just for Exchange Enterprise 2013 and a Standard CAL is NOT just for Exchange Standard, this is a common mistake. Though you can mix and match, i.e. a standard CAL is required for all mailbox users or devices, adding an Enterprise CAL is only required for those existing users or devices requiring additional functionality.

Standard CAL: Required for all users (or devices) that require access to an Exchange mailbox. For most people these will be the CALS you need to purchase.

Enterprise CAL: Is an additional license that's added to the Standard license, this enables the user to use archiving/journaling and unified messaging (Requires Outlook 2013). It also gives access to more advanced ActiveSync management policies and custom retention policies.

Exchange 2013 Migration Step 1 "Planning / Pre Site Visit"

1. Media and Licenses: Before you start you will need to have the Exchange 2013 CU2 (CU1 = Minimum) version of the install media (.iso or DVD). DO NOT attempt to perform the migration with a version of Exchange media that IS NOT at least CU1. Warning, this will be a DVD image (over 3.5 GB), you may wish to get this downloaded from a site with a decent Internet connection!

2. Make sure any third party Exchange software you are currently running is also supported on Exchange 2013, e.g. Anti Virus, Backup Solutions, Archiving, Mail Management, Mobile Device Software, etc, check with the software vendor.

3. DO NOT CONSIDER migrating anything until you know you have a good backup of your current Exchange environment. If you are lucky enough to have VMware ESX, Hyper-V or another virtualisation platform, consider doing a P2V conversion on your Exchange 2010 server then simply turning the 2010 Server off, then if it all goes to hell in a hand cart simply turn the original server back on again.

4. Outlook Client Access: Be aware your clients need to be using the following versions of Outlook BEFORE you migrate them.

  • Outlook 2013.
  • Outlook 2010 (With SP1 and this update).
  • Outlook 2007 (With SP3 and this update).
  • Outlook for Mac 2011.
  • Entourage 2008 for Mac, Web Services Edition.

Exchange 2013 Migration Step 2 "Pre-Install"

I would suggest you run through the Microsoft Exchange Server Deployment Assistant, as a "Belt and braces" approach to the migration"

1. Before you do anything, it's time for a common sense check, make sure your existing Exchange 2010 Organisation is happy and running cleanly, and has good communication with both the domain and your DNS. Get in the event logs and make sure it's a happy server.

Time spent on reconnaissance is seldom wasted!

Check Eventvwr.msc

2. Run a full Windows update on your existing Exchange server(s), this will install any Exchange roll-ups that are outstanding.

Exchange Upgrade Updates

3. If you are planning to utilise DAG, then you should install the following hot-fix on your Exchange 2010 servers before deploying SP3.

Hotfix 2550886

4. For coexistence of Exchange 2010 and Exchange 2013, Your Exchange 2010 Servers must have Service pack 3 installed. If you are upgrading from service pack 1 you may see the following error.

Exchange 2010 Service Pack 3 Error - 'The IIS 6 WMI Compatibility component is required'

Exchange 2010 Service Pack 3

5. After SP3 apply the latest Update Rollup, (at 03/06/13 currently Update Rollup 1) download.

Exchange 2013 Migration Step 3 "Server Prerequisites"

1. The server that will run Exchange 2013, will need to be a domain member*, and I would run all the current updates before you start.

Server 2012 Windows Updates

Once that is complete there are a number of server roles that will need adding. (Note: these roles are the SAME for both CAS and Mailbox Servers).

*Note: As with previous versions of Exchange it is recommended that you DO NOT run Exchange 2013 on a domain controller.

To add the Exchange 2013 Server roles via PowerShell

Note: Here on my 'Test Network' the server in question is also a domain controller. In your production environment this will probably NOT be the case. If so, you will need to install the Remote Server Administration Tools for Active Directory.

Install-WindowsFeature RSAT-ADDS

Issue the following commands;

Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-Clustering-CmdInterface

Then Reboot;

Restart-Computer

Exchange 2013 Server Roles via PowerShell

2. You will need to install the Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit.

Exchange 2013 Unified Comms API

3. You will also need to install the Microsoft Office 2010 Filter Pack 64 bit and Microsoft Office 2010 Filter Pack SP1 64 bit.

Exchange 2013 Office Filter Packs

Exchange 2013 Migration Step 4 "Install Exchange 2013"

Note: Ensure the Exchange 2013 Media version you are using is CU2. {download here}

1. Insert the DVD or open the install files and run setup.exe. It will attempt to find any outstanding updates before it starts.

Exchange 2013 Check for Updates

2. Next.

Exchange 2013 Updates

3. Setup will begin copying files.

Exchange 2013 Setp Files

4. Next.

Exchange 2013 Welcome

5. Accept the EULA > Next.

Exchange 2013 Eula

6. I tend to disable feedback, but the choice is yours > Next.

Exchange 2013 Improvement Program

7. Select the server roles that you wish to install.

Exchange 2013 Server Role Installation

8. Select the folder that you wish to install the Exchange program into.

Note: Remember if deploying multiple Exchange 2013 servers, it's considered good practice to keep the folder paths contiguous across all the servers.

Exchange 2013 Install Location

9. If you plan to deploy third party malware protection (post Install), then you might wish to disable this, but in most cases you will want it enabled > Next.

Note: This is built on technology that was called 'Forefront' in previous versions of Exchange.

Exchange 2013 MAlware Protection Settings

10. Pre deployment readiness checks will be carried out > when complete > Next.

Exchange 2013 Rediness Checks

11. Setup will take quite some time.

Exchange 2013 Install Steps

12. When complete, tick the box to launch the admin console > Finish.

Exchange 2013 Setup Completed

13. After a few seconds the Exchange Admin Center will open.

Exchange 2013 Exchange Admin Center

14. At this point I would move the new Exchange Database from its default location to its own volume/folder, (again keep this path contiguous across all the new servers). The following PowerShell command will do this for you;

Move-DatabasePath -Identity "Database Name" -EdbFilePath "E:\Folder Name\Database name.edb" LogFolderpath E:\Folder Name

Exchange 2013 Display All Servers

Exchange 2013 Migration Step 5 "Migrate Mailbox's"

STOP! Before you proceed you need to think about OWA access. For internal access this will not be a problem BUT if you have users that access OWA externally (e.g. via https://mail.yourpublicdomain.com/owa) Then you will have to DO SOME PLANNING. Unless you have two free public IP addresses, your router/firewall can only point to one CAS server at a time.

STOP AGAIN! OK I've had more than one email about this so, here's a warning. Moving Mailboxes creates logs, the more you move, the more logs it creates. The only way to clear these logs properly is to do an Exchange Aware/VSS Level backup. If you just start moving mailboxes without keeping an eye on this you can fill up a volume with logs, and if you are daft enough to have this on our system volume you can take the server down, you have been warned!

1. First make sure that the new server can see the existing Exchange infrastructure. From within the Exchange Admin Center > Servers. You should see both your Exchange 2010 Servers and the new Exchange 2013 Server.

Exchange 2013 Display All Servers

Note: You can see the same with the following PowerShell command;

Get-ExchangeServer | select Name, ServerRole, AdminDisplayVersion | ft auto

2. Test move one mailbox from Exchange 2010 to 2013, Recipients > Mailboxes > Locate our Test User > Move Mailbox.

Exchange 2013 Move Mailbox

3. Give the test migration a name, and browse to the new datastore (Note: If the move fails you can increase both the BadItem limit and the LargeItem limit here as well) > Next.

Exchange 2013 Mailbox Migration

4. New.

Exchange 2013 Mailbox Migration

5. You will be asked if you want to the 'Migration Dashboard'.

Exchange 2013 Migration Tasks

6. Here you can watch progress (remember to keep hitting 'refresh').

Exchange 2013 Migration Dashboard

7. If you prefer to use PowerShell you can migrate all mailboxes from one database to another with the following command;

Get-Mailbox -Database Mailbox-Database | New-MoveRequest -TargetDatabase Mailbox-Databse-2013

If you have more than 1000 mailboxes use the following instead,

Get-Mailbox -Database Mailbox-Database -ResultSize Unlimited | New-MoveRequest -TargetDatabase Mailbox-Database-2013

Exchange 2013 Migration via Powershell

Depending on the amount of mailboxes this can take a while!

Exchange 2013 Move All Mailboxes

8. Then test mail flow to/from this mailbox to internal recipients in the Exchange 2010 infrastructure, and then test mail flow to/from an external mailbox.

Exchange 2013 Check Internal Mail Flow

Exchange 2013 Check External Mail Flow

Note: At this point you might struggle to connect to the Exchange 2013 Admin Center as 'Administrator', because that user's mailbox is still on the Exchange 2010 Server. If that happens to you and you are 'Locked Out' of the Exchange Admin Center, simply add the user you migrated already, to the Exchange Organization Management group, and log in as that user to https://{Exchange-2013-Server-Name}/ecp

Exchange 2013 Check Add Exchange Administrator

9. You can now migrate the remainder of your mailboxes.

Exchange 2013 Mailbox Migrationr

Note: Depending on mailbox size this can take a VERY LONG time, I would suggest staging this migration gradually. To view progress;

Get-MoveRequestStatistics -MoveRequestQueue "Mailbox-Database-2013"

To check if anything is left in the OLD Database;

Get-MailboxDatabase -Identity "Mailbox-Database" | Get-Mailbox

Exchange 2013 Migration Step 6 "Change Mail flow"

At this point you need to change the SMTP feed from the old Exchange 2010 box to the new Exchange 2013 Server, how you do this depends on your network setup, some examples of how you might do this are,

i. Change the SMTP (TCP Port 25) Port redirect on your router/firewall. 
ii. Swap IP addresses from the old to the new server.
iii. Change the translation from public to private IP address to point to the new IP.

Note: If you have any mail scanning servers, anti spam hardware devices etc, then they will also need changing to point to the new server.

1. You will need to add the new server to your Exchange 'Send Connector' and remove the Exchange 2010 Server. (Note: I'm assuming you only have one send connector, if you have more than one i.e. for particular domains, or for secure TLS mail you will need to do these as well). From Exchange Admin Center > Mail flow > Send connectors > Select the send connector > Edit > Scoping > Add the 2013 server > Remove the 2010 server > Save.

Exchange 2013 Send Connector Migration

2. You will not need to create receive connectors on the Exchange 2013 Server, if you navigate to mail flow > receive connectors > Change the drop down to point to the Exchange 2013 Server. You will see there is a 'Default Frontend' Connector already configured for Exchange 2013.

Exchange 2013 Receive Connector Migration

3. At this point, it would be sensible to once again check mail flow, to and from an external mail account.

Exchange 2013 Test External Mail

 

Solution

Exchange 2013 Migration Step 7 "Migrate Public Folders"

1. Make sure the user you will be performing the migration as, is in the right security groups, (Organizational Management and Recipient Management).

Public Folder Rights

2. On the Legacy Exchange server download the migration scripts. Then extract them to the servers C: drive.

Public Folder Migration Scripts

3. Launch the Exchange Management Shell > Change to the script directory > Then create a folder name to folder size mapping file by running the Export-PublicFolderStatistics.ps1 script, supply name of the file you want to create. (here I use FolderName2Size.csv). Then supply the name of the server (the legacy one with the public folders on it).

Folder Name to Mailbox Size File


4. Create a Public Folder to Mailbox mapping file, by running the PublicFolderToMailboxMapGenerator.ps1 script, supply it with the maximum mailbox size (in bytes) Note: The Maximum size is 25GB. You will also need to supply the import file you created in step 3 (FolderName2Size.csv). Finally supply the name of the output file you wish to generate PFFolder2Mailbox.csv.

Public Folder 2013 Migration


5. Open the last CSV file you created (PFFolder2Mailbox.csv) and take note of the TargetMailbox name. By default mines called Mailbox1, I'm changing it to PF-Mailbox and saving the change. Note: You may get more than one! If so take note of them all, or rename them accordingly.

Public Folder Migrate form 2010 to 2013


6. Now go to the new Exchange 2013 Server, and create the new public folder MAILBOX. (Note: Public folders are now in a Mailbox, NOT their own Mailbox database as in previous versions of Exchange).

New-Mailbox -PublicFolder PF-Mailbox -HoldForMigration:$true -Database Mailbox-Database-2013

 2010 to 2013 Public Folder Migrate

Note: Create as many as were listed in your output file above, and name them accordingly.

7. Copy the PFFolder2Mailbox.csv file (Generated above) from the 2010 Server to the Exchange 2013 Server, In this example I will put them in C:\PF-Import-File\

Public Folder Migration File 2013

8. Create a new migration request;

New-PublicFolderMigrationRequest -SourceDatabase (Get-PublicFolderDatabase -Server EX2010) -CSVData (Get-Content C:\PF-Import-File\PFFolder2Mailbox.csv -Encoding Byte)

Note: If you have ever done a move request, (either for a mailbox or a public folder) you may be familiar with the concept of BadItemLimit and AcceptLargeDataLoss. (If you are not it's a system of parameters you set when moving data, to allow 'Bad Items' which would cause a migration to otherwise fail), these can be a corrupt email or an email in a language format that Exchange does not understand. Thanks to Eske (Boxx Jakobsen) for the feedback asking me to include those switches.

New-PublicFolderMigrationRequest -SourceDatabase (Get-PublicFolderDatabase -Server EX2010) -CSVData (Get-Content C:\PF-Import-File\PFFolder2Mailbox.csv -Encoding Byte) -AcceptLargeDataLoss -BadItemLimit


= 0 to 2147483647

If you set the BadItemLimit parameter to more than 50, you need to set the AcceptLargeDataLoss parameter to true.

 

2013 Public Folder Migration Request

9. To check progress;

Get-PublicFolderMigrationRequest | Get-PublicFolderMigrationRequestStatistics -IncludeReport | fl

It might say Queued for quite a while, dont worry! DO NOT PROCEED until the status says AutoSuspended;

2013 Public Folder Migration Request AutoSuspended

10. If you were looking a the progress you will see its stops just before 100%, this is because you need to "Lock" the source public folder and let the migration complete. WARNINIG this will involve downtime warn your users or do this out of hours.

Set-OrganizationConfig PublicFoldersLockedForMigration:$true

Lock Source Public Folder

Note: I have had feedback to say this command should be ran on the Exchange 2010 Server, this TechNet article confirms.

11. Now access to the legacy Public Folder Database is shut down and replication to the new Public Folder Mailbox is completed in the background. This can take a little time, I would wait least a couple of hours before proceeding (depending on your network topology, if you have a slow network or the Exchange2010 server is on another network segment it may take longer).

It's All Gone Wrong!

Dont panic! You can remove the migration request with the following command;

Get-PublicFolderMigrationRequest | Remove-PublicFolderMigrationRequest

12. Complete the migration, with the following two commands;

Set-PublicFolderMigrationRequest Identity \PublicFolderMigration -PreventCompletion:$false
Resume-PublicFolderMigrationRequest Identity \PublicFolderMigration

Public Folders Exchange 2010 to Exchange 2013

13. Confirm that, the public folders are now correct and available.

Note: As per feedback (from Tobias Gebler) Test mail flow to your public folders, you may need to manually "Mail Enable" them before they function properly, In some cases you need to disable then re-enable them before they work properly.

Public Folders Exchange 2013

14. Remember in Outlook Web App 2013, public folders are not visible until you add them!

OWA 2013 Adding a Public Folder

 


Relate Post : Exchange 2010 - Enable Anti-Spam Features on Hub Transport Servers Exchange 2013 - OWA ScriptLoadError Exchange2013/16 - Offline Address Book Troubleshooting 摰鋆 Office Web Apps Server 2013 (OWA) Exchnage 2013 - Relay setting Exchange 2013 - Move database path and log folder path Exchange 2010 - Outlook 2003 configration Exchnage 2013 - Mail stuck in drafts Exchange 2013/2016 - Email Message Size Restriction Detail Exchange 2013/16 - Recreate Exchange Health Mailboxes
Comments :
No Comments

Post your comment:


Post your comment by Guest :
Verify Code :


Back To Top

Find Me

Powered By 2013-2015 ©. Juszeil Conception version 2.0
Queries Executed : 0.0096 seconds