Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2009-09-29
The following Microsoft Exchange Server 2007 installation guide template can be used as a starting point for formally documenting your organization's server build procedures for Exchange 2007 servers that have the Edge Transport server role installed.
The purpose of this document is to explain the installation and configurations necessary to install Exchange 2007 Edge Transport server role on the Windows Server 2008 platform.
By having an installation guide, Contoso will be able to ensure standardization across the enterprise, reducing Total Cost of Ownership, and easing troubleshooting steps.
The scope of this document is limited to installation of an Exchange 2007 Edge Transport server for Contoso on the Windows Server 2008 x64 Edition operating system platform.
The operator should have working knowledge of Windows Server 2008 x64 Edition concepts, Exchange 2007 concepts, the Exchange Management Console and Exchange Management Shell, the command line, and various system utilities. This document does not elaborate on the details of any system utility except as necessary to complete the tasks within.
In addition, the operator should review the Planning for Edge Transport Servers topic in the Exchange 2007 Online Help before implementing the server role.
This document assumes that Windows Server 2008 x64 Edition is installed per company baseline regulations which include the latest approved service pack and hotfixes.
This document assumes that forest and domain preparation steps have been performed per How to Prepare Active Directory and Domains topic in the Exchange 2007 Online Help.
This document assumes that both Exchange 2007 and Windows Server 2008 will be secured following the best practices found in the following documentation.
This document also assumes that the host record for the Edge Transport server is generated within the internal forest's DNS so that the Hub Transport servers can locate the Edge Transport servers.
The following media are required for this section.
-
Windows Server 2008 x64 Edition media
-
Exchange 2007 Configuration DVD
Additional Software Verification
Network Interfaces Configuration
-
Log on to the server with an account that has at least local administrative access.
-
Click Start, Control Panel and double-click Network and Sharing Center.
-
Click Manage Network Connections.
-
Locate the connection for the internal network and rename it appropriately.
-
Right-click the connection and select Properties.
-
For the TCP/IP Protocol add the following:
-
Static IP Address, Subnet Mask, and Gateway
-
DNS Server IP Addresses
-
Check the box to Append parent suffixes of the primary DNS suffix
-
WINS IP Addresses (if using WINS)
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access.
-
Click Start, Administrative Tools, and select Computer Management.
-
Expand Storage and click on Disk Management.
-
Open the Disk Management Microsoft Management Console (MMC) and format, rename, and assign the appropriate Drive Letters so that the volumes and DVD drive match the appropriate server configuration. At the very least, there should be a D drive for the Exchange binaries and the DVD drive should be configured as the Z drive. Refer to the Database Log logical unit number (LUN) Appendix at the end of this document for the actual drive configuration that should be used.
Drive configuration
|
LUN
|
Drive letter
|
Usage
|
|---|
|
1
|
C
|
Operating system
|
|
2
|
D
|
Exchange binaries, database
|
|
3
|
E
|
Exchange transaction logs, tracking logs
|
|
4
|
Z
|
DVD drive
|
Windows Server 2008 Hotfix Installation
All hotfixes are installed through a batch file. For a complete list of hotfixes that are installed, see Contoso server build DVD hotfix list. A sample hotfix list can be seen at Server Build DVD - Sample Hotfix List.
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access and has been delegated local Administrator access.
-
Insert the Exchange 2007 Configuration DVD.
-
Browse to \W2K8-HotFix\ and double-click W2K8-hotfix.bat.
-
Click Yes for any Digital Signature not Found dialog boxes that may appear.
Note: |
|---|
|
These dialog boxes will not appear in environments that have not deployed the Windows Security templates.
|
-
Wait for all file copies to complete and restart the server.
Domain Membership Configuration
Installing the Edge Transport server role into a domain is an optional step. Domain membership provides the ability to manage the server via group policy, control access, utilize Microsoft System Center Configuration Manager 2007, and utilize Microsoft System Center Operations Manager.
However, the Edge Transport server should not be installed in the internal forest for security purposes.
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access.
-
Click Start, right-click My Computer and select Properties.
-
Under the Computer Name, domain, and workgroup settings, click Change Settings.
-
Click Change.
-
Choose the Domain radio button and enter the appropriate Domain name.
-
Enter the appropriate credentials.
-
Click OK and OK.
-
Click OK to close the System Properties.
-
Restart the server.
Local Administrators Verification
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access.
-
Verify (or add if not already there) that the following accounts are members of the local administrators group on this server.
Local administrators
|
Item
|
Account
|
Description
|
Role
|
|---|
|
1
|
Domain Admins
|
Domain Administrative Global Group
|
Administrator
|
|
2
|
Root Domain\Exchange Organization Administrators
|
Exchange Administrators
|
Administrator
|
-
Verify that your user account is a member of a group which is a member of the local administrators group on the Windows Server 2008 server. If it is not, use an account that is a member of the local administrators group before continuing.
Local Administrator Account Password Reset
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access.
-
Click Start, right-click Computer and select Manage.
-
Expand the nodes to find Configuration\Local Users and Groups\Users.
-
Right-click Administrator and select Set Password. Change the password so that it meets strong complexity requirements.
-
As an optional step, right-click Administrator and select Rename. Rename the account according to company regulations.
This section installs several useful tools that will aid administrators in Exchange administration and in troubleshooting support issues.
Note: |
|---|
|
Debugging Tools for Windows will allow administrators to debug processes that are affecting service and determine root cause. For more information, see Debugging Tools for Windows - Overview.
|
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access.
-
Insert the Exchange 2007 Configuration DVD.
-
Open a command prompt and navigate to the \Support folder.
-
Run the following command where DVDROM-Drive is the DVD drive: W2K8Toolsinstall.cmd DVDROM-Drive (ex: W2K8Toolsinstall.cmd Z:).
-
Right-click the c:\Tools folder and select Properties.
-
Click the Security tab.
-
Click the Advanced button.
-
Uncheck Inheritance and copy the permissions.
-
Remove the Everyone (and if listed, the Authenticated Users) security principal.
-
Add the following groups, granting FULL CONTROL:
-
SYSTEM
-
The local Administrators group
-
Creator Owner
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access.
-
Click Start, right-click Computer and select Properties.
-
Select the Advanced System Settings.
-
Under Startup and Recovery, click the Settings button.
-
Under Write Debugging Information, change the memory dump drop-down list to Kernel Memory Dump.
-
Click OK.
-
Under Performance, click the Settings button.
-
Click the Advanced tab.
-
Under Virtual Memory, click the Change button.
-
On servers that have a dedicated page file drive, follow these steps:
-
In the Drive list, click C:, and then click Custom size.
-
For the C: drive, set the Initial Size (MB) value to a minimum of 200 MB. (Windows requires between 150 MB and 2 GB page file space, depending on server load and the amount of physical RAM that is available for page file space on the boot volume when Windows is configured for a kernel memory dump. Therefore, you may be required to increase the size.)
-
For the C: drive, set the Maximum Size (MB) value to that of the Initial Size.
-
In the Drive list, select the page file drive (for example, the P: drive), and then click Custom size.
-
In the Initial Size (MB) box, type the result of one of the following calculations:
If the server has less than 8 GB of RAM, multiply the amount of RAM times 1.5.
If the server has 8 GB of RAM or more, add the amount of RAM plus 10 MB.
-
In the Maximum Size (MB) box, type the same amount that you typed in the Initial Size box.
-
Delete all other page files.
-
Click OK.
-
On servers that do not have a dedicated page file drive, follow these steps:
-
In the Drive list, click C:, and then click Custom size.
-
For the C: drive, in the Initial Size (MB) box, type the result of one of the following calculations:
If the server has less than 8 GB of RAM, multiply the amount of RAM times 1.5.
If the server has 8 GB of RAM or more, add the amount of RAM plus 10 MB.
-
Delete all other page files.
-
Click OK.
-
Click OK two times to close the System Properties dialog box.
-
Click No if prompted to restart the system.
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access.
-
Click Start and select Computer.
-
Right-click the D Drive and select Properties.
-
Click the Security tab.
-
Click Edit.
-
Click Add and select the local server from Locations.
-
Grant the following rights as outlined in the following table.
Drive permissions
|
Account
|
Permissions
|
|---|
|
Administrators
|
Full Control
|
|
SYSTEM
|
Full Control
|
|
Authenticated Users
|
Read and Execute, List, Read
|
|
CREATOR OWNER
|
Full Control
|
-
Click the Advanced button.
-
Select the CREATOR OWNER permission entry and click View/Edit.
-
Select Subfolders and Files Only from the drop-down list.
-
Click OK two times.
-
Click OK to close the drive properties.
-
Repeat steps 3-12 for each additional drive (other than the C drive).
Organizational Unit Verification
This is an optional step and does not need to be followed for Edge Transport servers that are not deployed within a forest.
Submit a change request and have the computer object moved to the appropriate organizational unit (OU). If following the recommendations in the Exchange 2007 Security Guide, the OU will be \Member Servers\Exchange Backend Servers\Exchange Edge Transport Servers.
Active Directory Site Verification
This is an optional step and does not need to be followed for Edge Transport servers that are not deployed within a forest.
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access.
-
Open a command prompt.
-
Verify that the server is in the correct domain and Active Directory site. At the command line run:
NLTEST /server:%COMPUTERNAME% /dsgetsite
-
The name of the Active Directory site to which the server belongs will be displayed. If the server is not in the correct Active Directory site, submit a change request to the appropriate operations group and have the server moved to the appropriate Active Directory site.
Domain Controller Diagnostics Verification
This is an optional step and does not need to be followed for Edge Transport servers that are not deployed within a forest.
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access.
-
Open a command prompt and change paths to the C drive.
-
Run the following command:
dcdiag /s:<Domain Controller> /f:c:\dcdiag.log
Note: |
|---|
|
Change <domain Controller> to a domain controller contained within the same Active Directory site as the Exchange server.
|
-
Review the output of C:\dcdiag.log file and verify that there are no connectivity issues with the local domain controller.
-
Repeat steps 3 and 4 for each domain controller in the local Active Directory site.
Note: |
|---|
|
Domain Controller Diagnostics (DCDiag) is a Windows support tool that tests network connectivity and DNS resolution for domain controllers. If the account being used does not have administrative privileges, several tests under the Doing primary tests heading may not pass. These tests can be ignored if the connectivity tests pass. In addition, the log file may report that some service validation tests did not pass. These messages can be ignored if the services do not exist on the domain controller.
|
Exchange Server Role Installation
The following CD media are required for this section:
-
Microsoft Exchange 2007 DVD
-
Exchange 2007 Configuration DVD
Exchange 2007 Prerequisites Installation
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access.
-
Open an administrative command prompt window.
-
Run the following command where <path> references the E2K7 CONFIG DVD \E2K7-PreReqs folder:
ServerManagerCmd -ip <path>\Exchange-Base.XML
-
Run the following command where <path> references the E2K7 CONFIG DVD \E2K7-PreReqs folder and <Exchange-role> references the appropriate role XML file:
ServerManagerCmd -ip <path>\<Exchange-role>.XML
-
Restart the server if required.
Exchange 2007 Installation
Though this document uses the command line method for installing the Exchange roles, the GUI can also be used. For more information about how to use the setup GUI to install an Exchange role, see the Exchange 2007 Online Help topic How to Perform a Custom Installation Using Exchange 2007.
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access and was delegated the Exchange Server Administrator role (or higher) if the server was pre-created.
-
Follow the procedure from the Exchange 2007 Online Help topic How to Install Exchange 2007 in Unattended Mode. For example, setup.com /r:MB /t:d:\exchsrvr.
-
Restart the server, if required.
Exchange Server 2007 Post-SP1 Roll-up Installation
All hotfixes are installed through a batch file. For a complete list of hotfixes that are installed, see Contoso server build DVD hotfix list. A sample hotfix list can be seen at Server Build DVD - Sample Hotfix List.
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access and was delegated local Administrator access.
-
Insert the Exchange 2007 Configuration DVD.
-
Browse to \E2K7-PostSP1\ and double-click E2K7-postsp1.bat.
-
Click Yes for any Digital Signature not Found dialog boxes that may appear
Note: |
|---|
|
These dialog boxes will not appear in environments that have not deployed the Windows Security templates.
|
-
Wait for all file copies to complete and restart the server.
Product Key Configuration
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access and was delegated the Exchange Organization Administrator role.
-
Follow the procedure outlined in the Exchange 2007 Online Help topic How to Enter the Product Key.
Security Configuration Wizard
System Performance Verification
By default, Exchange 2007 optimizes the server’s memory management for programs, which configures the server’s system cache as the default size.
-
Connect to the server through Remote Desktop and log on with an account that has local administrative access.
-
Click Start, right-click Computer and select Properties.
-
Select the Advanced System Settings.
-
Under Performance, click the Settings button.
-
Click the Advanced tab.
-
Verify that the Processor Scheduling is set to Background Services.
-
Click OK.
Exchange Server Role Configuration
This is an optional step and need not be performed. If you would like to manually configure the settings (or if you need to as a result of the first Edge Transport server role being deployed), you can do so by reviewing the Appendix within this document.
For more information about what information is cloned versus what information is not, please see the Exchange 2007 Online Help topic Using Edge Transport Server Cloned Configuration.
-
Connect to the server via Remote Desktop and log on with an account that has local administrative access.
-
Follow the procedures from the Exchange 2007 Online Help topic How to Configure the Edge Transport Server Role by Using Cloned Configuration Tasks to clone certain information from one Edge Transport server to another.
-
Verify that the cloned settings are applied, by reviewing the customized settings on the source server with this server (the Appendix within this document may also be of help).
Before executing the EdgeSync configuration process, review the Exchange 2007 Online Help topic Preparing to Run the Microsoft Exchange EdgeSync Service.
-
Connect to the server via Remote Desktop and log on with an account that has local administrative.
-
Follow the procedures from the Exchange 2007 Online Help topic How to Export an Edge Subscription File to export the necessary information to enable synchronization to the Edge Transport server from an Active Directory site within the Exchange organization.
-
Follow the procedures from the Exchange 2007 Online Help topic How to Import the Edge Subscription File to import the Edge Subscription file into the Exchange organization and enable synchronization from the Active Directory site to the Edge Transport server.
-
Follow the procedures from the Exchange 2007 Online Help topic How to Force EdgeSync Synchronization to force immediate synchronization.
Message Size Limits Configuration
Before manipulating message size limits, review the Managing Message Size Limits topic from the Exchange 2007 Online Help.
-
Connect to the server via Remote Desktop and log on with an account that has local administrative access.
-
Click Start, All Programs, Microsoft Exchange Server 2007 and select Exchange Management Shell.
-
Modify the maximum receive message size limit according to company policy by running the following command where the value is qualified in either KB or MB:
Set-ReceiveConnector "Default Internal Receive Connector *" -MaxReceiveSize <MaxReceiveSize>
Domain Security Configuration
This section is optional and may be skipped.
Domain Security refers to the set of functionality in Exchange 2007 and Microsoft Office Outlook 2007 that provides a relatively low-cost alternative to S/MIME or other message-level security solutions. The purpose of the Domain Security feature set is to provide administrators a way to manage secured message paths over the Internet with business partners. After these secured message paths are configured, messages that have successfully travelled over the secured path from an authenticated sender are displayed to users as "Domain Secured" in the Outlook and Outlook Web Access interface.
For more information, please see the Exchange 2007 Online Help topic Planning for Domain Security.
-
Connect to the server via Remote Desktop and logon with an account that has local administrative access.
-
Follow the procedures from the Exchange 2007 Online Help topic Creating a Certificate or Certificate Request for TLSto create and initialize a certificate for TLS use with SMTP.
-
Follow the procedures from the Exchange 2007 Online Help topic How to Configure Mutual TLS for Domain Security to configure mutual TLS between the mail systems.
Anti-Spam Update Configuration
-
Connect to the server via Remote Desktop and logon with an account that has local administrative access.
-
Follow the procedures from the Exchange 2007 Online Help topic How to Configure Anti-Spam Automatic Updates to allow for anti-spam automatic updates.
-
Connect to the server via Remote Desktop and logon with an account that has local administrative access.
-
Verify that the MSExchangeTransport service is stopped; if it is not stopped, stop the service.
-
Create the folder E:\Exchange\QueueLogs.
-
Move the TRNxxxx.LOG and *.JRS files from <Exchange Install Path>\TransportRoles\Data\Queue to the E:\Exchange\QueueLogs.
-
Navigate to <Exchange Install Path>\bin.
-
Open the EdgeTransport.exe.config file in notepad and edit the following entry:
<add key="QueueDatabaseLoggingPath" value="E:\Exchange\QueueLogs" />
-
Save the file.
-
Connect to an Exchange 2007 server via Remote Desktop and logon with an account that has local administrative access and has been delegated the Exchange Server Administrator role (or higher).
-
Verify that the MSExchangeTransport service is stopped; if it is not stopped, stop the service.
-
Create the E:\Exchange\Logs folder.
-
Move the folders that reside in <Exchange Install Path>\TransportRoles\Logs to the E:\Exchange\Logs folder.
-
Open the Exchange Management Shell and run the following commands:
Set-TransportServer <ServerName> -ConnectivityLogPath "E:\Exchange\Logs\Connectivity" -MessageTrackingLogPath "E:\Exchange\Logs\MessageTracking" -ReceiveProtocolLogPath "E:\Exchange\Logs\ProtocolLog\SmtpReceive" -SendProtocolLogPath "E:\Exchange\Logs\ProtocolLog\SmtpSend" -RoutingTableLogPath "E:\Exchange\Logs\Routing"
-
Open a command prompt and start the transport service by running the following command:
command net start MSExchangeTransport
-
Connect to an Exchange 2007 server via Remote Desktop, and then log on by using an account that has local administrative access and that has been delegated the Exchange Server Administrator role (or higher).
-
Verify that the MSExchangeTransport service is stopped. If it is not stopped, stop the service.
-
Move to the <Exchange Install Path>\bin directory.
-
Open the EdgeTransport.exe.config file in Notepad, and then change the TemporaryStoragePath entry to point to the mail.que drive. By default, this path is "C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Temp."
<add key="TemporaryStoragePath" value="<path of mail queue>" />
-
Save the file.
ESE Performance Counter Activation
-
Connect to the server via Remote Desktop, and then log on by using an account that has local administrative access.
-
Start Registry Editor.
-
Locate the HKEY_LOCAL_MACHINE\CurrentControlSet\Services\ESE\Performance registry subkey.
-
Right-click Performance, point to New, and then click DWORD Value.
-
Type Show Advanced Counters to name the new value.
-
Double-click Show Advanced Counters.
-
In the Value data box, type 1, and then click OK.
-
Exit Registry Editor.
-
Using test mailboxes located on the Internet, send sample messages to various internal mailboxes and verify that mail is successfully delivered.
-
Send sample messages from internal mailboxes to various Internet test mailboxes and verify that the mail is successfully delivered.
-
If Domain Security was implemented between two mail organizations, test mail flow between the organizations and verify that the message is listed as “Domain Secured” in the receiving client.
-
Review the event logs and tracking logs and ensure the Edge Transport server is operating correctly.
The following sections only need to be implemented if:
-
This is the first Edge Transport server being deployed.
-
The Edge Transport Cloned Configuration process is not used.
Transport Server Configuration
-
Connect to the server via Remote Desktop and logon with an account that has local administrative access.
-
Click Start, All Programs, Microsoft Exchange Server 2007 and select Exchange Management Shell.
-
Use the following table for information needed for the commands.
Important: |
|---|
|
The values in the following table are example values, not recommended values. These values must be updated to reflect the actual values for your organization.
|
Receive connector settings
|
|
Default value
|
Example values
|
|---|
|
MessageTrackingLogEnabled
|
True
|
True
|
|
MessageTrackingLogMaxAge
|
30.00:00:00
|
10.00:00:00
|
|
MessageTrackingLogMaxDirectorySize
|
250 MB
|
150 GB
|
|
MessageTrackingLogMaxFileSize
|
10 MB
|
10 MB
|
|
MessageTrackingLogSubjectLoggingEnabled
|
True
|
True
|
|
MaxPerDomainOutboundConnections
|
20
|
50
|
|
ConnectivityLogMaxAge
|
30.00:00:00
|
10.00:00:00
|
|
ConnectivityLogMaxDirectorySize
|
250 MB
|
150 GB
|
|
ConnectivityLogMaxFileSize
|
10 MB
|
10 MB
|
|
ReceiveProtocolLogMaxDirectorySize
|
250 MB
|
15 GB
|
|
ReceiveProtocolLogMaxFileSize
|
10 MB
|
10 MB
|
|
ReceiveProtocolLogMaxAge
|
30.00:00:00
|
10.00:00:00
|
|
SendProtocolLogMaxDirectorySize
|
250 MB
|
15 GB
|
|
SendProtocolLogMaxFileSize
|
10 MB
|
10 MB
|
|
SendProtocolLogMaxAge
|
30.00:00:00
|
10.00:00:00
|
|
ExternalDsnReportingAuthority
|
Server FQDN
|
<SMTP namespace>
|
-
Modify the default settings by running the following command:
Set-TransportServer <ServerName> -MessageTrackingLogMaxAge <MaxAge> -MessageTrackingLogMaxDirectorySize <LogDirSize> -MessageTrackingLogMaxFileSize <LogFileSize> -ConnectivityLogMaxAge <MaxAge> -ConnectivityLogMaxDirectorySize <LogDirSize> -ConnectivityLogMaxFileSize <LogFileSize> -MessageTrackingLogSubjectLoggingEnabled <SubjectLogEnabled> -MaxPerDomainOutboundConnections <PerDomainOutboundConnections> -ReceiveProtocolLogMaxDirectorySize <ReceiveLogDirSize> -ReceiveProtocolLogMaxFileSize <ReceiveLogFileSize> -ReceiveProtocolLogMaxAge <ReceiveLogAge> -SendProtocolLogMaxDirectorySize <SendLogDirSize> -SendProtocolLogMaxFileSize <SendLogFileSize> -SendProtocolLogMaxAge <SendLogAge> -ExternalDsnReportingAuthority <SMTPNamespace>
Transport Agent Configuration