Recipe17.8.Stopping and Starting Exchange Server


Recipe 17.8. Stopping and Starting Exchange Server

Problem

You want to stop or start Exchange Server.

Solution

Stopping and starting Exchange consists of stopping and starting the Exchange-related services. The basics of stopping and starting services are covered in Recipe 7.1. See the Discussion of this recipe for the list of Exchange services.

Discussion

There are several services involved with Exchange Server. Stopping different services will accomplish different things. The services are interdependent, so when you stop or start various services you may see a message about having to stop dependent services. If you do stop dependent services, don't forget to restart them again when you restart the service you began with.

To shut down Exchange completely on a given machine, you need to stop all of the following services:


Microsoft Exchange Event (MSExchangeES)

This service was used for launching event-based scripts in Exchange 5.5 when folders changes were detected. Exchange 2000 offered the ability to create Event Sinks directly, so this use of this service has decreased. This service is not started by default.


Microsoft Exchange IMAP4 (IMAP4Svc)

This service supplies IMAP4 protocol message server functionality. This service is disabled by default. To use IMAP4 you must enable this service, configure it to auto-start, and start the service.


Microsoft Exchange Information Store (MSExchangeIS)

This service is used to access the Exchange mail and public folder stores. If this service is not running, users will not be able to use Exchange. This service is started by default.


Microsoft Exchange Management (MSExchangeMGMT)

This service is responsible for various management functions available through WMI, such as message tracking, etc. This service is started by default.


Microsoft Exchange MTA Stacks (MSExchangeMTA)

This service is used to transfer X.400 messages sent to and from foreign systems, including Exchange 5.5 Servers. This service was extremely important in Exchange 5.5, which used X.400 as the default message transfer protocol. Before stopping or disabling this service, review MS KB 810489. This service is started by default.


Microsoft Exchange POP3 (POP3Svc)

This service supplies POP3 protocol message server functionality. This service is disabled by default. To use POP3 you must enable this service, configure it to auto-start, and start the service.


Microsoft Exchange Routing Engine (RESvc)

This service is used for routing and topology information for routing SMTP-based messages. This service is started by default.


Microsoft Exchange System Attendant (MSExchangeSA)

This service handles various cleanup and monitoring functions. One of the most important functions of the System Attendant is the Recipient Update Service (RUS), which is responsible for mapping attributes in Active Directory to the Exchange subsystem and enforcing recipient policies. When you "create" a mailbox for a user, you simply set some attributes on a user object. The RUS takes that information and does all of the work in the background with Exchange to really make the mailbox. If you mailbox- or mail-enable objects and they don't seem to work, the RUS is one of the first places you will look for an issue. If you need to enable diagnostics for the RUS, the parameters are maintained in a separate service registry entry, this service entry is called MSExchangeAL. This isn't a real service; it is simply the supplied location to modify RUS functionality. This service is started by default.


Microsoft Exchange Site Replication Service (MSExchangeSRS)

This service is used in Organizations that have Exchange 5.5 combined with Exchange 2000/2003. This service is not started by default.


Network News Transfer Protocol (NNTP) (NntpSvc)

This service is responsible for supplying NNTP Protocol Server functionality. This service is started by default.


Simple Mail Transfer Protocol (SMTP) (SMTPSVC)

This service is responsible for supplying SMTP Protocol Server functionality. This service is started by default.

Different servers could be running a combination of different services based on the complexity of the environment and the specific function of the server. Not all Exchange Servers will run all Exchange Services.


See Also

MS KB 263094 (XADM: Internal Names of Exchange 2000 Server Services) and Chapter 7



Windows Server Cookbook
Windows Server Cookbook for Windows Server 2003 and Windows 2000
ISBN: 0596006330
EAN: 2147483647
Year: 2006
Pages: 380
Authors: Robbie Allen

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net