Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2011-04-19
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 Mailbox server role installed.
The purpose of this document is to explain the installation and configurations required to install the Exchange 2007 Mailbox server role in a stand-alone configuration on the Windows Server 2008 platform.
By having an installation guide, Contoso can 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 Mailbox 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 Mailbox Servers topic in the Exchange 2007 Online Help before they implement 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:
The following media are required for this section.
1
C
Operating system
2
D
Exchange binaries, database
3
E
Exchange transaction logs, tracking logs
4
Z
DVD drive
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.
Domain Admins
Domain Administrative Global Group
Administrator
Root Domain\Exchange Organization Administrators
Exchange Administrators
This section installs several useful tools that will aid administrators in Exchange administration and in troubleshooting support issues.
Administrators
Full Control
SYSTEM
Authenticated Users
Read and Execute, List, Read
CREATOR OWNER
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 Mailbox Servers.
NLTEST /server:%COMPUTERNAME% /dsgetsite
dcdiag /s:<Domain Controller> /f:c:\dcdiag.log
The following CD media are required for this section.
ServerManagerCmd -ip <path>\Exchange-Base.XML
ServerManagerCmd -ip <path>\<Exchange-role>.XML
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.
The third-party Web site information in this topic is provided to help you find the technical information you need. The URLs are subject to change without notice.
This section is optional and may be skipped.
By default, Exchange 2007 optimizes the server’s memory management for programs, which configures the server’s system cache as the default size. Mailbox servers will benefit from this configuration.
Several of the diagnostics tasks used to monitor Exchange require test mailboxes to be created on the mailbox servers. For more information about how to use the Test script to create the test mailboxes, see the Monitoring for Agentless Servers topic in the Exchange 2007 Online Help.
Storage Group Name
First Storage Group
SG1
Database Name
Mailbox Database
<ServerName> MBX Store 1
Storage Group Path
%Program Files%\Microsoft\Exchange Server\Mailbox\First Storage Group
L:\LOG01
Database Path
E:\MDB01
Database Filename
Mailbox database.edb
Priv01.edb
Copy Database Path
--
F:\COPYMDB01
Copy Transaction Log Path
M:\COPYLOG01
Dismount-Database "<ServerName>\First Storage Group\Mailbox Database"
Set-StorageGroup "<ServerName>\<Old SG Name>" -Name <New SG Name> -DomainController <DCName>
Set-MailboxDatabase "<ServerName>\<New SG Name>\<Old DB Name>" -Name "<New DB Name>" -DomainController <DCName>
Move-StorageGroupPath "<ServerName>\<New SG Name>" -LogFolderPath:<New SG Location> -SystemFolderPath:<New SG Path> -DomainController <DCName>
Move-DatabasePath "<ServerName>\<New SG Name>\<New DB Name>" -EdbFilePath:<New DB Path\New DB FileName> -DomainController <DCName>
Mount-Database "<ServerName>\<New SG Name>\<New DB Name>" -DomainController <DCName>
Enable-DatabaseCopy "<ServerName>\<New SG Name>\<New DB Name>" -CopyEDBFilePath:<FullPathIncludingDatabaseFileName> -DomainController <DCName>
Enable-StorageGroupCopy "<ServerName>\<New SG Name>" -CopyLogFolderPath:<FullPath> -CopySystemFolderPath:<FullPath> -DomainController <DCName>
If a public folder store was created during the installation of the Mailbox server role, then the public folder still will be placed in the Second Storage Group. If there is no Second Storage Group, this section can be skipped.
Second Storage Group
SG2
Public Folder Database
<ServerName> PUB Store 2
%Program Files%\Microsoft\Exchange Server\Mailbox\Second Storage Group
L:\LOG02
E:\MDB02
Public Folder database.edb
Pub02.edb
This section can be skipped if messaging records management (MRM) will not be enabled in the environment. For more information about how to deploy MRM, see the Deploying Messaging Records Management topic in the Exchange 2007 Online Help.
Set-MailboxServer <ServerName> -LogPathForManagedFolders <LogPath> -ManagedFolderAssistantSchedule <AssistantSchedule> -LogFileAgeLimitForManagedFolders <LogFileAgeLimit> -LogDirectorySizeLimitForManagedFolders <LogDirSizeLimit> -LogFileSizeLimitForManagedFolders <LogFileSizeLimit> -FolderLogForManagedFoldersEnabled <LogFolderEnabled> -SubjectLogForManagedFoldersEnabled <SubjectLogEnabled> -RetentionLogForManagedFoldersEnabled <RetentionLogEnabled> -JournalingLogForManagedFoldersEnabled <JournalLogEnabled> -DomainController <DCName>
This section can be skipped if the default Message Tracking parameters are appropriate for the environment.
Set-MailboxServer <ServerName> -MessageTrackingLogPath <LogPath> -MessageTrackingLogMaxAge <MaxAge> -MessageTrackingLogMaxDirectorySize <LogDirSize> -MessageTrackingLogMaxFileSize <LogFileSize> -MessageTrackingLogSubjectLoggingEnabled <SubjectLogEnabled> -DomainController <DCName>
New-StorageGroup -Server <ServerName> -Name <SG> -LogFolderPath <Transaction Log Location> -SystemFolderPath <Transaction Log Location> -DomainController <DCName>
New-StorageGroup -Server <ServerName> -Name <SG> -LogFolderPath <Transaction Log Location> -SystemFolderPath <Transaction Log Location> -DomainController <DCName> -HasLocalCopy:$true -CopyLogFolderPath <PathforLCRLogFiles> -CopySystemFolderPath <PathforLCRSystemFiles>
New-MailboxDatabase -StorageGroup "<ServerName>\<SG Name>" -Name "<DB Name>" -DomainController <DCName> -EdbFilePath:<FullPathIncludingDatabaseFileName> -OfflineAddressBook <OfflineAddressBook> -PublicFolderDatabase <PFDatabase> | Set-MailboxDatabase -IssueWarningQuota <WarningQuota> -ProhibitSendQuota <SendQuota> -ProhibitSendReceiveQuota <SendReceiveQuota> -MailboxRetention <dd.hh:mm:ss> -DeletedItemRetention <dd.hh:mm:ss> -MaintenanceSchedule <MaintenanceSchedule> -QuotaNotificationSchedule <QuotaSchedule> -RetainDeletedItemsUntilBackup <RetainDeletedItemsUntilBackup>
New-MailboxDatabase -StorageGroup "<ServerName>\<SG Name>" -Name "<DB Name>" -DomainController <DCName> -HasLocalCopy:$true -EdbFilePath:<FullPathIncludingDatabaseFileName> -CopyEdbFilePath:<FullPathIncludingDatabaseFileName> -OfflineAddressBook <OfflineAddressBook> -PublicFolderDatabase <PFDatabase> | Set-MailboxDatabase -IssueWarningQuota <WarningQuota> -ProhibitSendQuota <SendQuota> -ProhibitSendReceiveQuota <SendReceiveQuota> -MailboxRetention <dd.hh:mm:ss> -DeletedItemRetention <dd.hh:mm:ss> -MaintenanceSchedule <MaintenanceSchedule> -QuotaNotificationSchedule <QuotaSchedule> -RetainDeletedItemsUntilBackup <RetainDeletedItemsUntilBackup>
Mount-Database "<ServerName>\<SG>\<Database Name>" -DomainController <DCName>
The following table is an example configuration that can be applied to the Mailbox server, depending on requirements.
Server Name
<ServerName>
Log Path For Managed Folders
<Exchange Install Path>\Logging\Managed Folder Assistant
D:\Exchsrvr\Logging\Managed Folder Assistant
Log File Age Limit For Managed Folders
00:00:00
7.00:00:00
Log Directory Size Limit For Managed Folders
unlimited
5 GB
Log File Size Limit For Managed Folders
10 MB
Retention Log For Managed Folders Enabled
False
True
Journaling Log For Managed Folders Enabled
Folder Log For Managed Folders Enabled
Subject Log For Managed Folders Enabled
Managed Folder Assistant Schedule
Never Run
“Sun.6:00 PM-Sun.7:45 PM”, “Mon.6:00 PM-Mon.7:45 PM”, “Tue.6:00 PM-Tue.7:45 PM”, “Wed.6:00 PM-Wed.7:45 PM”, “Thu.6:00 PM-Thu.7:45 PM”, “Fri.6:00 PM-Fri.7:45 PM”, “Sat.6:00 PM-Sat.7:45 PM”
Message Tracking Log Path
<Exchange Install Path>\TransportRoles\Logs\MessageTracking
d:\exchsrvr\MessageTracking
Message Tracking Log Enabled
Message Tracking Log Max Age
30.00:00:00
10.00:00:00
Message Tracking Log Max Directory Size
250 MB
20 GB
Message Tracking Log Max File Size
Message Tracking Log Subject Logging Enabled
With continuous replication, you do not have to perform daily full backups as the storage group copy provides the first line of defense against corruption and data loss. Therefore, there are two approaches to how backups can be performed in a continuous replication environment.
As a result of the backup methodology selected, the LUN layout has to be altered.
Exchange 2007 uses VSS included in Windows Server 2003 to take volume shadow copies of Exchange 2007 databases and transaction log files. For the basics on VSS, including both clone and snapshot techniques, review the white paper, Best Practices for Using Volume Shadow Copy Service with Exchange Server 2003.
The new feature in Exchange 2007 when you use continuous replication is the ability to run a software VSS snapshot not only on the active copy, but on the passive copy also. Taking a VSS snapshot on the passive copy offloads the disk I/O from the active LUN during both the checksum integrity (ESEUTIL), and subsequent copy to tape or disk. This also frees more time on the active LUNs to run online maintenance, MRM, and other tasks.
Creating two LUNs (log and database) for a storage group is the standard best practice for Windows Server 2003. In Exchange 2007, in the maximum case of 50 storage groups, the number of LUNs you provision will depend on your backup strategy. If your recovery time objective (RTO) is very small, or if you use VSS clones for fast recovery, it may be best to place each storage group on its own transaction log LUN and database LUN. Because doing this will exceed the number of available drive letters, volume mount points must be used.
Some benefits of this strategy include the following:
Some concerns with this strategy include the following:
Anchor LUN
E:\
L:\
F:\
M:\
MP:\MDB01
MP:\LOG01
MP:\COPYMDB01
MP:\COPYLOG01
<ServerName> MBX Store 2
MP:\MDB02
Priv02.edb
MP:\LOG02
MP:\COPYMDB02
MP:\COPYLOG02
SG3
<ServerName> MBX Store 3
MP:\MDB03
Priv03.edb
MP:\LOG03
MP:\COPYMDB03
MP:\COPYLOG03
SG4
<ServerName> MBX Store 4
MP:\MDB04
Priv04.edb
MP:\LOG04
MP:\COPYMDB04
MP:\COPYLOG04
SG5
<ServerName> MBX Store 5
MP:\MDB05
Priv05.edb
MP:\LOG05
MP:\COPYMDB05
MP:\COPYLOG05
SG6
<ServerName> MBX Store 6
MP:\MDB06
Priv06.edb
MP:\LOG06
MP:\COPYMDB06
MP:\COPYLOG06
SG7
<ServerName> MBX Store 7
MP:\MDB07
Priv07.edb
MP:\LOG07
MP:\COPYMDB07
MP:\COPYLOG07
SG8
<ServerName> MBX Store 8
MP:\MDB08
Priv08.edb
MP:\LOG08
MP:\COPYMDB08
MP:\COPYLOG08
SG9
<ServerName> MBX Store 9
MP:\MDB09
Priv09.edb
MP:\LOG09
MP:\COPYMDB09
MP:\COPYLOG09
SG10
<ServerName> MBX Store 10
MP:\MDB10
Priv10.edb
MP:\LOG10
MP:\COPYMDB10
MP:\COPYLOG10
SG11
<ServerName> MBX Store 11
MP:\MDB11
Priv11.edb
MP:\LOG11
MP:\COPYMDB11
MP:\COPYLOG11
SG12
<ServerName> MBX Store 12
MP:\MDB12
Priv12.edb
MP:\LOG12
MP:\COPYMDB12
MP:\COPYLOG12
SG13
<ServerName> MBX Store 13
MP:\MDB13
Priv13.edb
MP:\LOG13
MP:\COPYMDB13
MP:\COPYLOG13
SG14
<ServerName> MBX Store 14
MP:\MDB14
Priv14.edb
MP:\LOG14
MP:\COPYMDB14
MP:\COPYLOG14
SG15
<ServerName> MBX Store 15
MP:\MDB15
Priv15.edb
MP:\LOG15
MP:\COPYMDB15
MP:\COPYLOG15
SG16
<ServerName> MBX Store 16
MP:\MDB16
Priv16.edb
MP:\LOG16
MP:\COPYMDB16
MP:\COPYLOG16
SG17
<ServerName> MBX Store 17
MP:\MDB17
Priv17.edb
MP:\LOG17
MP:\COPYMDB17
MP:\COPYLOG17
SG18
<ServerName> MBX Store 18
MP:\MDB18
Priv18.edb
MP:\LOG18
MP:\COPYMDB18
MP:\COPYLOG18
SG19
<ServerName> MBX Store 19
MP:\MDB19
Priv19.edb
MP:\LOG19
MP:\COPYMDB19
MP:\COPYLOG19
SG20
<ServerName> MBX Store 20
MP:\MDB20
Priv20.edb
MP:\LOG20
MP:\COPYMDB20
MP:\COPYLOG20
SG21
<ServerName> MBX Store 21
MP:\MDB21
Priv21.edb
MP:\LOG21
MP:\COPYMDB21
MP:\COPYLOG21
SG22
<ServerName> MBX Store 22
MP:\MDB22
Priv22.edb
MP:\LOG22
MP:\COPYMDB22
MP:\COPYLOG22
SG23
<ServerName> MBX Store 23
MP:\MDB23
Priv23.edb
MP:\LOG23
MP:\COPYMDB23
MP:\COPYLOG23
SG24
<ServerName> MBX Store 24
MP:\MDB24
Priv24.edb
MP:\LOG24
MP:\COPYMDB24
MP:\COPYLOG24
SG25
<ServerName> MBX Store 25
MP:\MDB25
Priv25.edb
MP:\LOG25
MP:\COPYMDB25
MP:\COPYLOG25
SG26
<ServerName> MBX Store 26
MP:\MDB26
Priv26.edb
MP:\LOG26
MP:\COPYMDB26
MP:\COPYLOG26
SG27
<ServerName> MBX Store 27
MP:\MDB27
Priv27.edb
MP:\LOG27
MP:\COPYMDB27
MP:\COPYLOG27
SG28
<ServerName> MBX Store 28
MP:\MDB28
Priv28.edb
MP:\LOG28
MP:\COPYMDB28
MP:\COPYLOG28
SG29
<ServerName> MBX Store 29
MP:\MDB29
Priv29.edb
MP:\LOG29
MP:\COPYMDB29
MP:\COPYLOG29
SG30
<ServerName> MBX Store 30
MP:\MDB30
Priv30.edb
MP:\LOG30
MP:\COPYMDB30
MP:\COPYLOG30
SG31
<ServerName> MBX Store 31
MP:\MDB31
Priv31.edb
MP:\LOG31
MP:\COPYMDB31
MP:\COPYLOG31
SG32
<ServerName> MBX Store 32
MP:\MDB32
Priv32.edb
MP:\LOG32
MP:\COPYMDB32
MP:\COPYLOG32
SG33
<ServerName> MBX Store 33
MP:\MDB33
Priv33.edb
MP:\LOG33
MP:\COPYMDB33
MP:\COPYLOG33
SG34
<ServerName> MBX Store 34
MP:\MDB34
Priv34.edb
MP:\LOG34
MP:\COPYMDB34
MP:\COPYLOG34
SG35
<ServerName> MBX Store 35
MP:\MDB35
Priv35.edb
MP:\LOG35
MP:\COPYMDB35
MP:\COPYLOG35
SG36
<ServerName> MBX Store 36
MP:\MDB36
Priv36.edb
MP:\LOG36
MP:\COPYMDB36
MP:\COPYLOG36
SG37
<ServerName> MBX Store 37
MP:\MDB37
Priv37.edb
MP:\LOG37
MP:\COPYMDB37
MP:\COPYLOG37
SG38
<ServerName> MBX Store 38
MP:\MDB38
Priv38.edb
MP:\LOG38
MP:\COPYMDB38
MP:\COPYLOG38
SG39
<ServerName> MBX Store 39
MP:\MDB39
Priv39.edb
MP:\LOG39
MP:\COPYMDB39
MP:\COPYLOG39
SG40
<ServerName> MBX Store 40
MP:\MDB40
Priv40.edb
MP:\LOG40
MP:\COPYMDB40
MP:\COPYLOG40
SG41
<ServerName> MBX Store 41
MP:\MDB41
Priv41.edb
MP:\LOG41
MP:\COPYMDB41
MP:\COPYLOG41
SG42
<ServerName> MBX Store 42
MP:\MDB42
Priv42.edb
MP:\LOG42
MP:\COPYMDB42
MP:\COPYLOG42
SG43
<ServerName> MBX Store 43
MP:\MDB43
Priv43.edb
MP:\LOG43
MP:\COPYMDB43
MP:\COPYLOG43
SG44
<ServerName> MBX Store 44
MP:\MDB44
Priv44.edb
MP:\LOG44
MP:\COPYMDB44
MP:\COPYLOG44
SG45
<ServerName> MBX Store 45
MP:\MDB45
Priv45.edb
MP:\LOG45
MP:\COPYMDB45
MP:\COPYLOG45
SG46
<ServerName> MBX Store 46
MP:\MDB46
Priv46.edb
MP:\LOG46
MP:\COPYMDB46
MP:\COPYLOG46
SG47
<ServerName> MBX Store 47
MP:\MDB47
Priv47.edb
MP:\LOG47
MP:\COPYMDB47
MP:\COPYLOG47
SG48
<ServerName> MBX Store 48
MP:\MDB48
Priv48.edb
MP:\LOG48
MP:\COPYMDB48
MP:\COPYLOG48
SG49
<ServerName> MBX Store 49
MP:\MDB49
Priv49.edb
MP:\LOG49
MP:\COPYMDB49
MP:\COPYLOG49
SG50
<ServerName> MBX Store 50
MP:\MDB50
Priv50.edb
MP:\LOG50
MP:\COPYMDB50
MP:\COPYLOG50
The following table is an example configuration that can be applied to each database that is created, or customized for each database on the server depending on requirements.
<ServerName> MBX Store xx
Offline Address Book
Default Offline Address List
<PublicFolderServer> PUB Store xx
Warning Quota
1945 MB
1700000 KB
Send Quota
2 GB
1900000 KB
Send Receive Quota
2355 MB
2090000 KB
Maintenance Schedule
Sun.1:00 AM-Sun.5:00 AM, Mon.1:00 AM-Mon.5:00 AM, Tue.1:00 AM-Tue.5:00 AM, Wed.1:00 AM-Wed.5: 00 AM, Thu.1:00 AM-Thu.5:00 AM, Fri.1:00 AM-Fri.5:00 AM, Sat.1:00 AM-Sat.5:00 AM
“Sun.12:00 AM-Sun.4:00 AM”, “Mon.12:00 AM-Mon.4:00 AM”, “Tue.12:00 AM-Tue.4:00 AM”, “Wed.12:00 AM-Wed.4:00 AM”, “Thu.12:00 AM-Thu.4:00 AM”, “Fri.12:00 AM-Fri.4:00 AM”, “Sat.12:00 AM-Sat.4:00 AM”
Quota Notification Schedule
Sun.1:00 AM-Sun.1:15 AM, Mon.1:00 AM-Mon.1:15 AM, Tue.1:00 AM-Tue.1:15 AM, Wed.1:00 AM-Wed.1:15 AM, Thu.1:00 AM-Thu.1:15 AM, Fri.1:00 AM-Fri.1:15 AM, Sat.1:00 AM-Sat.1:15 AM
“Sun.12:00 AM-Sun.12:15 AM”, “Mon.12:00 AM-Mon.12:15 AM”, “Tue.12:00 AM-Tue.12:15 AM”, “Wed.12:00 AM-Wed.12: 15 AM”, “Thu.12:00 AM-Thu.12:15 AM”, “Fri.12:00 AM-Fri.12:15 AM”, “Sat.12:00 AM-Sat.12:15 AM”
Mailbox Retention
Deleted Item Retention
14.00:00:00
Keep Deleted Items Until Backup
Nothing for Templete Guide for all roles on Windows Server 2008 R2?