Microsoft Exchange Server 2010 brings a new set of great technologies. No surprise many are excited and looking forward to plan and deploy this new messaging infrastructure. Today we cover the basic steps that should be performed in organizations currently running Exchange 2007.
Prerequisites
Prerequisites that must be met before we start the deployment:
Windows Server 2003 SP2 or later, Global Catalog servers in each site where Exchange Servers are located and Windows Server 2003 forest functional level.
Exchange Organization must consist of servers running Exchange 2007 SP2
In place upgrade is not supported, thus new hardware should be installed for the Exchange 2010 Servers. Hardware requirements may be found at the following link:
http://technet.microsoft.com/en-us/library/aa996719.aspx
Operating Systems supported are Windows Server 2008 SP2 64-bit and Windows Server 2008 R2 Standard or Enterprise. Please note that Exchange Server 2010 is 64-bit only, i.e. there is no 32-bit version available for testing purposes and there are no 32-bit management tools. Management tools should be installed on a 64-bit operating system too.
If the organization has multiple sites, the first site to introduce Exchange 2010 should be the internet facing site. The upgrade then continues with non-internet facing sites.
-
If the solution design requires installing Exchange 2010 roles on multiple servers, then these should be installed in the following order:
- Client Access Server role
- Hub Transport Server role
- Unified Messaging Server role (optional, may be deployed later)
- Mailbox Server role
- Edge Server role (optional, may be deployed later)
The Installation Process
The installation process requires Active Directory to be prepared. In order to do that, the user should be member of the Schema Admins and Enterprise Admins security groups.
We already explained Active Directory preparation process in our article Upgrading from Exchange 2003 to 2010, with one exception, the fact that we do not prepare Exchange legacy permissions (setup /PrepareLegacyExchangePermissions or setup /pl), so this command is not executed.
Note for detailed Active Directory preparation steps please check:
Prepare Active Directory and Domains
The Exchange 2010 installation steps were discussed in Installing Exchange 2010 Beta. Thus we proceed with the so called coexistence scenario i.e. the moment when there are both Exchange 2007 and 2010 versions present in our organization. During the coexistence, you should manage each version of Exchange Server with its own Exchange Management Console.
Client Access Server Role Coexistence
So far we completed the Exchange 2010 setup. We now configure the server roles.
During the coexistence phase, we should change some DNS settings to provide a seamless transition. Let's assume our current Exchange 2007 server is accessed by name mail.company.com. After installing Exchange 2010, a legacy name should be assigned to identify the Exchange 2007 infrastructure, for example we use legacyname.company.com. This is done both at the internal and external DNS namespaces. In addition, the current DNS host name (mail.company.com) is assigned to the new Exchange 2010 server. Thus clients won't use the legacy name, they still continue to access their mailboxes without changing settings.
A new certificate should be issued because of Exchange 2007 and Exchange 2010 coexistence. Wildcard certificates and certificates that support Subject Alternative Names may be used.
We will assume that the primary external namespace for virtual directories is configured during the setup (for example mail.company.com). Clients will use this name to connect from the Internet.
If our company uses Outlook Anywhere, it should be enabled from the Exchange Management Console or Exchange Management Shell using:
Enable-OutlookAnywhere -Server:MAIL2010 -ExternalHostName:mail.company.com -SSLOffloading $false
The Offline Address Book generation service should also be moved to Exchange 2010, and the distribution set to web-based on the CAS Role for clients running Outlook versions 2007 and above. From the Exchange Management Shell use the command that follows:
Move-OfflineAddressBook "Default Offline Address List" -Server MAIL2010
At this point in time, all clients are connecting to the new Exchange 2010 Client Access Server using the name mail.company.com. The mailboxes are still on Exchange 2007, so the Outlook Web Access experience is actually version 2007. They will connect to the new version of Outlook Web Access once their mailboxes are moved to Exchange 2010.
Hub Transport Server Coexistence
Same as Exchange 2007, Exchange 2010 provides two server roles for handling email transport, the Edge and Hub transport roles. Here we will consider the transition from the Exchange 2007 Hub Transport to the Exchange 2010 Hub Transport.
If planning to employ the Exchange 2010 Edge Transport please check the following article series. These were written for Exchange 2007 however they are still largely valid for Exchange 2010 as well:
Installing, Configuring Exchange 2007 Edge Server (Part 1)
Installing, Configuring Exchange 2007 Edge Server (Part 2)
After installing Exchange 2010, the mail from/to the internet still flows through the Exchange 2007 Hub Transport server. In order to reroute the mail transport to go through the new Exchange 2010 Server, the inbound and outbound traffic should be reconfigured, depending on the company messaging infrastructure.
To allow inbound traffic from the internet, the SMTP gateway (possibly the Exchange Edge Transport) or firewall should point to the new Exchange 2010 Hub Transport server.
If no Exchange Edge server/SMTP Gateway is in place, the Hub transport must be configured to handle internet email directly from anonymous connections. Thus we allow the "Anonymous users" permission group. In this manner the Hub Transport accepts incoming emails from external SMTP servers.
Likewise if no outbound Edge server/Gateway is in place, we direct outbound traffic to the Internet from the Exchange 2010 Hub Transport. The Send Connector with * namespace should be modified such that the source server for the connector is the Exchange 2010 Hub Transport, instead of the current Exchange 2007 Hub Transport. This can be done from the Exchange Management Console or the Exchange Management Shell using the following command:
Set-SendConnector -Identity 'Internet Connector' -SourceTransportServers 'MAIL2010'
Mailbox Server Role Coexistence
At the Exchange 2010 Management Console, to identify mailboxes located on Exchange 2007, sort the console view by Database Name by adding the Database column.
The process of moving mailboxes to Exchange 2010 is called Local Move Request (local is for moving within the same forest). When moving from Exchange 2007, the user is not disconnected during the process. Online mailbox moves are discussed in Exchange 2010 Online Mailbox Move, a Deep Dive.
Mailbox move requests can be performed using both Exchange Management Console and Exchange Management Shell. For example:
New-MoveRequest -Identity 'user@company.com' -TargetDatabase EX2010DB01
Once the mailboxes are moved, we should proceed with moving public folders. To discover public folder replicas, at the shell run the following:
Get-PublicFolder -Server MAIL2007 -Recurse | FL Name,Replicas
Here MAIL2007 is the Exchange 2007 Mailbox server.
The result of this cmdlet will display the public folder replicas that are currently located on Exchange 2007 server.
Next step is to move all replicas to Exchange 2010 server by running:
Moveallreplicas.ps1 -Server MAIL2007 -NewServer MAIL2010
MAIL2010 is the target Exchange 2010 Mailbox server.
The process can be monitored using the Exchange Management Shell command:
Get-PublicFolder -recurse | FL Name,Replicas
At the end, mailboxes and public folder databases on Exchange 2007 servers should be deleted using the Exchange Management Console, or Exchange Management Shell. This process does not delete the database files from the file system, so file deletion should be done manually.
When all resources are moved to the Exchange 2010 Servers, Exchange 2007 can be removed from Control Panel.
Conclusion
Upgrading an Exchange Organization from version 2007 to 2010 is a process that requires analyzing the current messaging infrastructure and designing the new one.
The two versions can coexist. If properly planned, keeping in mind legacy applications running on Exchange 2007, we can avoid service interruption.
At the end, introducing Exchange 2010 should allow us to lower costs and at the same time improve productivity.
References
Planning for Exchange 2010
Deploying Exchange 2010
Microsoft Exchange Deployment Assistant