![]() |
| ||||||||||||||||||
|
Broadband - Exchange Exchange and a Global Mailbox Folder Internal Email Address Options when a Staff Member Prerequisites for Exchange Switching From POP3 |
Author: Simon Butler, Exchange MVP, MCSE Last Page Review: 12/03/2008 Moving your Exchange system to new hardware can seem daunting. Email is often considered one of the most critical applications within a company, so getting it wrong could cause problems. However with proper planning it is possible to migrate users to a new system with little or no downtime - they may not even know that they have been moved. This is a brief guide on how to carry out a migration to new hardware. It can also be adapted to update an existing machine from Exchange 2000 to Exchange 2003 if there is a spare machine available. Read the entire guide before starting. There are lots of notes and tips on a successful migration throughout which can help ensure that your migration goes to plan. Exchange 2007 Guide Suitability
Pre Migration Checks Before you start the process you need to check three settings on the SMTP Virtual server.
General Tips For a successful migration, there are some general points to consider
Brief Overview Each of these are covered in detail further in this article.
Using this process to update the existing server You can also use this process if you want to update your existing server - for example to go from Windows 2000/Exchange 2000/2003 to Windows 2003/Exchange 2003. For example, you have a server called "server1" which you want to update, and a standby server called "server2" . Follow the same process as outlined below to move everything to "server2", including removing the original server (server1) from the network. Remember to drop the machine in to a workgroup before wiping so that it has been removed from the domain. Then build the machine with the new operating system, but use the same original name (server1). After installing Exchange, repeat the process to move all the data back. By using the original name if you don't have to wait around for all the clients to connect to the server to be redirected. Any clients that have not been redirected to the new server before the mailboxes are rehomed will redirected automatically. For everyone else, they will get redirected in the usual way. Outlook Web Access Issues A significant issue with this process is Outlook Web Access (OWA). Unless you are running a frontend / backend scenario OWA needs direct access from the client to the Exchange server that hosts the mailbox being accessed. It cannot be routed from one server to another (i.e. the user connects to the old server on OWA and is the traffic is sent to the new server via the old server). This could mean that some users aren't able to use OWA until the port mapping on your firewall has been changed. Take in to account access to OWA when planning your migration. One option would be to put in a temporary Exchange server and configure it as a frontend server. This would then be used for OWA access during the migration. If you take this option then ensure that you treat the server as you would any other Exchange server - so fully patched and service packed for both Windows and Exchange. Remember that a frontend server needs to be the same or higher than the backend servers. Therefore if you deploying Exchange 2003 SP2, then the frontend needs to be that version. Upgrading an Exchange 2000 Frontend / Backend Scenario to Exchange 2003 If you are currently using Exchange 2000 in a frontend/backend scenario, then you need to upgrade the frontend first. The Migration Process Prepare the New Machine Preparing the new machine will depend on what you are migrating to. If you are migrating to a new machine that is running the same version of Exchange then you can just install Exchange on the new machine. If you are migrating to a new machine and also upgrading Exchange version then there is additional prep work required. The best way to go about this to allow the Exchange 2003 CD to auto play and then follow the checklist. Either way remember that Exchange works best on a member server - not a domain controller. If you do install Exchange on to a domain controller make sure that it is a global catalog as Exchange will not look to any other server for domain information. Therefore install the base operating system (Windows 2000 Server for either Exchange 2000 or Exchange 2003 / Windows 2003 for Exchange 2003 only). Add the machine to the domain. Before installing Exchange, make sure that the server is fully up to date with the latest service packs and automatic updates. It is easier to do this now than after the server has gone live. Install Exchange - the installer will detect the existing Exchange organisation and automatically add the new server to it - no questions will be asked as you cannot have two Exchange organisations in the same domain. If you are installing on Windows 2003 SP2, then you will get a prompt about the version of Windows having compatibility issues, usually more than once. Everyone gets that error - it is not unique to you. Review the URL mentioned in the URL, but most users of Exchange can ignore it and carry on. Don't forget to update the server with the latest Exchange Service Pack, hot fixes and updates from Microsoft. Moving Other Services/Configuration Remember that all configuration on the new server will be close to default, except for settings that are set under "Global Settings"
Minor Configuration Changes You May Miss This process only moves the data, it does not move any configuration that is server specific. Therefore you should check the settings on the old server and ensure that they are matched on the new server. However you may also want to review the settings and ensure that they are still appropriate for your environment. Do not blindly copy the settings across to the new server.
Run the Exchange Best Practises Tool! After installing Exchange and making the settings changes that you need, you should download and run the Exchange best practises tool. You can get the latest version from http://www.exbpa.com/ (which goes to a page on Microsoft's web site). This will point out settings that you may need to adjust to ensure that the server is configured for optimum performance. Populating the New Server with Data Configure Public and System Folder Replication Before moving users you should configure the public folder data to replicate. This not only includes public folders but also system folders. If possible use the Exchange 2003 ESM (Exchange System Manager) as this is a little more advanced. When you open ESM on the Exchange 2003 system make sure you are looking at the original server by Right clicking on Public Folders and choosing "Connect to" and selecting the original server. Configure the public folders on the replication tab in ESM so that both servers are listed. Use the Propagate settings where appropriate to send the replication setting to the sub folders. If you have a large number of folders then you may want to look at the "pfmigrate.wsf" tool. More information on this script can be found here: http://support.microsoft.com/default.aspx?kbid=822895 You also need to replicate some of the system folders. To access the system folder list, right click in Folders in ESM and choose View System Folders.
You don't have to worry about any other system folders as they are unique to each server.
Note: Public Folders coming off Exchange 2000 Public folder replication off Exchange 2000 is very slow and there is very little that can be done to make it go any quicker. If you are migrating from Exchange 2000 then allow as long as you can for public folder replication - at least a week, preferably more. However, once you have everything on to Exchange 2003, things move much faster. Therefore if you were planning to swing using an interim server, make the interim server Exchange 2003. It should then be possible to complete the move from the interim server back to the (now upgraded) production server in a weekend. Moving Mailboxes Once you have the public and system folder data on both servers, you can start to think about moving the mailboxes. There are two ways to call the move mailbox wizard.
The second option is probably more efficient as it allows you to select mailboxes that are still on the server and it is quite easy to keep track of which mailboxes have been moved. You can do multiple mailboxes at a time - the number will depend on the performance of the system and your network connection. If you are using Exchange 2003 SP1 or higher then you can select all the mailboxes at once, run the Move Mailbox wizard and Exchange will then move a maximum of four at a time. This means that you can setup the process and leave it to get on with it. If there are any errors it will skip on to the next one. You can then look back later on and see which have an error. You can also do each mailbox individually. While this can be more time consuming, it does allow you to easily achieve five or six mailboxes being moved at the same time.
Blackberry If you have a Blackberry server, then stop the Blackberry services before moving the BESADMIN account. Then move the BESADMIN mailbox in the usual way. However the Blackberry server may not update correctly to point to the new location. Use the profile tool to update the location of the mailbox with the new server name. Moving Services There are a number of services that need to be moved to the server. Moving Inbound SMTP Exchange is quite capable of routing inbound SMTP messages to the correct server if they are delivered to the wrong one initially. This means that you don't need to worry about having the messages delivered directly to your new server until you are ready. Making the switch is as simple as reconfiguring the firewall to send inbound SMTP (port 25) traffic to the new server. No DNS or MX records need to be changed. This modification can be made at any point during the migration.
If you are running a very tight firewall and restrict outbound traffic (always a good idea) then ensure that port 25 from your new server is allowed out. The one other thing you should do is adjust what the server announces itself as to the outside world.
Outlook Web Access (OWA) If you are also using OWA then this is also a good opportunity to move the port mapping across. However unlike SMTP the port mapping should be moved after the mailboxes have all been moved. Backups Once the data has been moved across you should reconfigure your backups as required. Backups are also important for flushing the transaction logs. Moving mailboxes will generate a large number of logs which are only flushed by a backup. Watch your disk space and do a backup as soon as you can.
Moving Unique Services There are a number of services and configuration settings that can only be held by one server. These will need to be moved to the new server before the old one is shutdown. Moving Recipient Update Services (RUS) Recipient update services is the component of Exchange that adds email addresses to the user accounts and adjust others settings for the recipients.
Changing the Routing Group Master Another setting that can only be on one server and is easy to move is the "Routing Group Master".
If you unclear about the routing group server roles, then you may want to review this KB article: http://support.microsoft.com/default.aspx?kbid=239556 Remove Old Server from Public and System Folder Replication Once the public and system folders are fully replicated, and all mailboxes have been moved, you can remove the old server from the replication list. Simply repeat the processes used above to add the new server to the public and system folder replication in order to remove the old server from the replication list. Each folder needs to have at least one server listed in its replication - the new server. Remove Old Server To remove the old server correctly, use Add/Remove programs. Select the Exchange server from the list and choose Remove. If you get errors during the removal then you will have the opportunity to fix them. Never just shutdown the old server and wipe the machine. Active Directory and the Exchange environment will still think the server exists and this could cause problems later on. Questions Q: I want to keep the same server name so that I don't have to visit all of the clients to change the Exchange server setting. Q: I cannot get the item count on some public folders to be the same, I have waited for replication to complete. The count is 1538 on one server and 1575 on the other. Q: When I try to remove the old Exchange server I get an error about mailboxes being on the machine:
The results will be displayed below the search fields. You can right click on each result and choose from a list of items, which will include "Exchange Tasks" if you are using ADUC on an Exchange server or a machine with the Exchange tools installed. You can then either move the mailboxes, remove the Exchange attributes or even delete the mailbox as required. Once complete the uninstall should proceed as normal. If it continues to fail, then it may be the "System Attendant" mailbox that is causing the problem. This shouldn't be the cause in most cases, therefore this procedure should only be followed if nothing else works. Remember: there is no undo tool in ADSIEDIT, so unless you are sure about what you are doing, do not attempt this procedure. One false move can wreck your active directory. Amset IT Solutions Ltd cannot be held responsible for any data or financial loss incurred by failure of this process to work.
This process should only be followed if you are removing the server totally. Additional Resources MSKB on removing the first Exchange 2000 server: http://support.microsoft.com/default.aspx?kbid=307917 MSKB on swing migration for Exchange 2000: http://support.microsoft.com/default.aspx?kbid=264879 | ||||||||||||||||||
| Last Page Update: 12/03/2008 |
Back to the Top Broadband - Exchange - Login Scripts - Network Admin - Outlook - Windows Mobile - Windows © Amset IT Solutions Ltd. 1998 - 2008. All rights reserved. Reproduction of any content on this web site is prohibited without express written consent. Use of this web site is subject to our terms and conditions. All trademarks and registered trademarks are property of their respective owners. This site is not endorsed or recommended by any company or organisation mentioned on this site. This site is to provide guidance only and as such we cannot be held responsible for any consequences of following the advice given. | ||||||||||||||||||