Recipe 2.8. Installing Exchange on a Domain ControllerProblemYou want to install Exchange on a domain controller. SolutionThere aren't actually any technical barriers preventing you from doing this, although there are plenty of reasons why you may need to consider alternatives. The main technical issue is that when the server is rebooted or shut down, the Active Directory services stop before the Exchange services, which cause Exchange to pause while the DSAccess component waits for its AD queries to time out. This problem mainly arises when Exchange Server 2003 is installed on Windows Server 2003; the AD services on Windows 2000 don't shut down as quickly. Of course, you shouldn't be shutting down your servers that often. A more likely obstacle is that, depending on the size, configuration, and load on your server, you may find that performance of the combined services isn't as good as you'd like. For organizations with limited budgets and a small number of seats, Microsoft sells the Small Business Server (SBS) product line, which combines Exchange with the DC role and several others on a single server; however, most production Exchange installations keep the roles separate. Installing Exchange 2000 or 2003 on a DC is a supported configuration, even though most Exchange professionals will rightly tell you this is not the optimal or even recommended way to deploy Exchange. Avoid installing Exchange/DC combinations on clusters, though; this is not supported by Microsoft. DiscussionThere is at least one instance where Microsoft deploys this configurationon a single-machine Small Business Server installationso there is obviously no underlying concern that makes a shared Exchange/DC configuration technically invalid. There are good reasons for avoiding this configuration, however:
If you still feel that the combination configuration is useful, there are a couple of caveats to keep in mind:
The following batch script fragment shows the necessary commands to stop the Exchange services before shutting down: net stop "Microsoft Exchange Management" /yes net stop "Microsoft Exchange Routing Engine" /yes net stop "Microsoft Exchange Information Store" /yes net stop "Microsoft Exchange MTA Stacks" /yes net stop "Microsoft Exchange System Attendant" /yes There are a handful of Exchange services that will be automatically stopped as these services are stopped; the transport protocol services will be stopped when the IIS services are stopped. See AlsoMS KB 829361 (Exchange Server 2003 Computer Takes Longer Than You Expect to Shut Down), and MS KB 875427 (Global Catalog Server Placement and Ratios in an Exchange 2000 or 2003 Organization) |