Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

47
MIGRATING FROM EXCHANGE 2003 TO EXCHANGE 2007 Nathan Winters – MVP – Exchange Server Consultant – Dimension Data

Transcript of Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Page 1: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

MIGRATING FROM EXCHANGE 2003 TO

EXCHANGE 2007

Nathan Winters – MVP – Exchange Server

Consultant – Dimension Data

Page 2: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Agenda

Exchange 2007 – A Quick Intro Planning for Exchange 2007 Designing Exchange 2007 Migrating to Exchange 2007 Documentation Summary

Page 3: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Server Roles

ForestForest

Edge Transport server role

Hub Transport server role

Directory Server

Mailbox server role

Client Access server role

Internet

UM Server

Page 4: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Agenda

Exchange 2007 – A quick intro Planning for Exchange 2007 Designing Exchange 2007 Migrating to Exchange 2007 Documentation Summary

Page 5: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Planning Considerations Active Directory

Schema updatePermission changes (Split Permissions Model)Some data exported/sync’d with Edge Transport serverWindows Server 2003 SP1 or later required for;

○ At least one DC in each Site containing Exchange ○ Schema Master

Windows 2000 Native or higher domain functional level DNS

Edge Transport resolution of Hub Transport serverAutodiscoverSingle, unified internal namespaceDNS Suffix for Edge Transport server

Page 6: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Planning Considerations Hardware

64 Bit Mailbox server role

Standalone or clustered (CCR or SCC)Replication (LCR, CCR, SCR, 3rd Party)Storage (DAS, SAN, iSCSI)Public Folders

Hub Transport server roleUsing Active Directory Sites for routingExchange costs can override Site routingBuilt-in resilience/failover with multiple servers in Site

Page 7: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Planning Considerations Client Access server role

Protocols: EAS, HTTPS, POP3, IMAP4Services: Availability, Autodiscover, Web ServicesVery different from Front-End servers in earlier versions

○ Optimize performance for Mailbox server role○ Never put in a perimeter network○ Internal, well-connected network (100 Mbps – 1 Gbps)

Unified Messaging server roleIntegrates telephony systems with Exchange

○ PBX, IP/PBX, VoIP

Many new terms and technologies to learn

Page 8: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Planning Considerations Edge Transport server role

Designed for a perimeter network deploymentNot a member of internal Active Directory forest/domainCan be a member of perimeter network forest/domain

○ Useful for management purposes (group policy, etc.)○ MSIT does this

Stores configuration data in local file and Active Directory Application Mode (ADAM)○ Uses EdgeSync for one-way transfer of data from Active

Directory to ADAM

Minimal attack surface○ TCP port 25, 50636, optional RDP port

Page 9: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Base Software Requirements for Exchange 2007

Windows Server 2003 x64 w/SP1 or R2, or SP2 Allows OWA users to browse the GAL

Microsoft .NET Framework 2.0 Windows PowerShell 1.0 Microsoft Management Console (MMC) 3.0 Hotfixes / Updates

272618_intl_x64_zip.exe (Edge) NDP20-KB926776-X64.exe (.NET update) WindowsServerver2003.WindowsXP-KB918980-x64-

ENU.exe (Windows Server Update) Windowsmedia10-kb917312-x64-intl.exe (UM) .NET Framework 2.0 Service Pack 1 or hotfix from 942027

Page 10: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Windows 2008 Exchange Support

WS08 writeable DC’s are supported in environments that have the following Exchange Servers Exchange 2003 SP2 Exchange 2007 RTM Exchange 2007 SP1

•  WS08 RODC/ROGC's. No Exchange servers are RO aware

Exchange 2007 RTM and previous versions of Exchange are not supported for installation on a Windows 2008 server.

Exchange 2007 SP1 can be installed on a Windows 2008 server.

Page 11: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Functional Dependencies

Retain Exchange 2003 for:X400 ConnectorGroupWise Connector and Migration ToolsEvent ServiceNNTPOWA

○ PF Access○ Outlook Mobile Access○ SMIME Control

Page 12: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Agenda

Exchange 2007 – A quick intro Planning for Exchange 2007 Designing Exchange 2007 Migrating to Exchange 2007 Documentation Summary

Page 13: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Starting Off Right...

Getting real customer requirements is essential

Prioritise and validate those requirements

Write a Vision and Scope document – and get it agreed

Deal with changes through a change control process

If you don’t... It WILL creep

Page 14: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Architecture Keep It Simple at all times Forget empty forest roots Carefully consider delegated admin models

– they rarely work Clustering is not the only answer Make sure it is supportable! Do some discovery - Measure existing

systems – measure peak IOPS, mailflow, mailbox profile etc.

Know how to use Perfmon Use ExBPA

Page 15: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Design Considerations

Sizing Compliance Archiving WAN – Cached mode etc (Optimisation) Client access methods Existing IPT and Unified Messaging Management and Reporting Disaster Recovery – High Availability

Page 16: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Server Placement Considerations Sites CAS Name space Method of access WAN links

Page 17: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Public Folders Public Folders are widely used for sharing and DL

archiving SharePoint 2007 is another solution for sharing and DL

archiving http://www.tsunami.com  http://www.casahl.com http://www.quest.com

All previous versions of Outlook and Exchange required Public Folders to be deployed.

Public Folders are required within an organization until: All Outlook clients are upgraded to Outlook 2007 All mailboxes have been migrated to Exchange 2007 No Public Folder applications are still used

http://blogs.msdn.com/joelo/archive/2007/07/26/migration-tools-from-kimmo-forss.aspx

Page 18: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Key Sizing Elements

Size for “peak average”

not “peak peak”Monday morningRepeatableBusiest serversNot “average

average”, either Take a visual average Know when to

use percentiles

Average active connections: 1441Peak average connections: ~2100

Page 19: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Sizing Methodology

Know thyself

• What is your definition of a “User”• How do your users behave?

Use the published resources

• Apply sizing best practices• Utilize tools and help file resources

Test, test and re-test

• Aim to achieve repeatable results

Page 20: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Sizing Resources and Testing Tools

Sizing ToolsMicrosoft’s Exchange Server 2007 Mailbox

Server Role Storage Requirements Calculator DiY

Load GeneratorESPJetStress

Info on MSIT’s deployment IT Showcase Blogs, TechNet White papers System Center Capacity Planner 2007

Page 21: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Mailbox Server Sizing

CPU Up to 8 cores ~500 – 1,000 mailboxes /

core

All other roles have aratio based on this number

Memory 2 – 5MB/mailbox + 2GB Also SG-dependent 32GB cost effective at RTM but no real maximum

Network Min Gbit With CCR use separate NICs for public and private networks

Rules of Thumb

1 - 4

5 - 8

9 - 1

2

13

- 16

17

- 20

21

- 24

25

- 28

29

- 32

33

- 36

37

- 40

41

- 44

45

- 48

49

- 50

0

5

10

15

20

25

30

Storage Groups

RA

M (

GB

)

1 - 4

5 - 8

9 - 1

2

13

- 16

17

- 20

21

- 24

25

- 28

29

- 32

33

- 36

37

- 40

41

- 44

45

- 48

49

- 50

0

5

10

15

20

25

30

Storage Groups

RA

M (

GB

)

Page 22: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Mailbox Server Sizing

Disk Balance I/O and Capacity Content Indexing (online

mode, OWA users)○ +5% capacity onto database

LUN size Overhead / white space

○ Target database size + 10% SLA factored into sizing

○ Max database size○ Recovery Storage Group○ Backup to Disk○ Delete items retention default is 14 days (15 – 30% increase)

CCR Considerations Cold State / Cache Warming impact

Rules of Thumb

Page 23: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

CAS Server Sizing

CPU Up to 4 cores 1:4 CAS:Mailbox cores

Memory2GB/core new! Heavy Outlook Anywhere

access: 2GB+/core (16GB max new!)

Disk – sure, why not Network

Gbit recommended 64k connection limit

Rules of Thumb

10002000

30004000

50006000

70008000

0

20

40

60

80OWA Scalability

1000

2000

3000

4000

5000

6000

7000

8000

0

500

1000

1500

2000

2500

Processor

Memory Usage

Page 24: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Hub Transport Server Sizing CPU

Memory 1GB/core; 16GB max Large queue scenarios

○ Per message overhead: 3K, per recipient overhead: 1K Edgesync (enterprise deployments)

○ 4K per mail-enabled object

Disk Separate mail.que and logs from system disks (RAID 10) Transport dumpster impact 4GB minimum free space or Back Pressure kicks in…. VM testing - beware

Network Gbit recommended

Rules of Thumb

With A/V and A/S Without A/V and A/S

Recommended max cores / server

8 4

Hub Cores / mailbox server cores

1:5 1:7

Page 25: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

UM Server Sizing

CPU Up to 4 cores Multiple cores recommended if converting from .wav to .wma

Memory 1GB/core (2GB minimum) 4GB maximum

Disk Based on codec

Network Gbit recommended

Concurrency 60 users (WMA) 75 users (GSM) Equates to 2K – 10K user

population per server

Rules of Thumb

Codec E2K7 RTM E2K7 SP1 (W2K3)

E2K7 SP1 (W2K8)

WMA 60   70   80

GSM 75 100+ 100+

Tests were conducted on a system with 4 GB RAM and 2 x 2-core, 4 Ghz processors

Page 26: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Agenda

Exchange 2007 – A quick intro Planning for Exchange 2007 Designing Exchange 2007 Migrating to Exchange 2007 Documentation Summary

Page 27: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Exchange Migration Methods

Org A

b. Inter Organisationala. Intra Organisational

Org A Org B

Page 28: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Preparation Base build server and install prerequisites Patch server Create OUs for server objects in AD Move server machine accounts in to correct OUs Create Exchange Full Administrator Service Account Grant Domain, Ent and Schema Admins and Make Exchange 2003 Full

admin Copy the install files to each server - c:\software\Exchange2007 Create updates dir on each server - c:\software\Exchange2007Patches Copy rollup 1 to updates dir (Note Error - currently manual) Create binaries install location (New-Item -Type directory -Path "D:\

Program Files\Microsoft\Exchange Server")

If not already in existence create Certificate Authority Implement Link State suppression Clean up accepted domains and recipient policies before deployment Verify Server Build: Network config, Patching, IE version, Prerequisites

Page 29: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Exchange 2007 Setup Prepare AD Overview /PrepareLegacyExchangePermissions

For every Ex 200x ‘domainpreped’ domain For a specified domain

/PrepareSchema Apply legacy permissions if required Extend schema

/PrepareAD Apply legacy permissions if required Extend schema if required Create Exchange global objects Prepare local domain

/PrepareDomain For local domain For all domains For a specified domain

Page 30: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Verify the Schema Has Been Extended

Exchange 2007 Service Pack 1 Schema Version 11116

Page 31: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Verify Prepare ADExchange 2007 Security Groups

Setup creates five Exchange USG in the root domain Exchange Administrative Group (FYDIBOHF23SPDLT) Exchange Routing Group (DWBGZMFD01QNBJR)

Page 32: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Order of Deployment Install server roles in this order:

Client Access server roleHub Transport server roleMailbox server roleUnified Messaging server roleEdge Transport server role can be introduced at any time

○ Full functionality requires Hub Transport server and EdgeSync

Page 33: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Unattended Setup Setup.com /r:”c,m,u,h”

/roles:<roles to install>○ Hub Transport (H); Client Access (C); Edge (E); Mailbox (M); Unified Messaging

(U); Management Tools (T) /mode:<setup mode>

○ Install, Uninstall, Upgrade, RecoverServer /TargetDir:<folder> /DomainController /prepareAD /prepareSchema /prepareLegacyExchangePermissions /NewProvisionedServer /OrganizationName /EnableLegacyOutlook /LegacyRoutingServer

Page 34: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Check Straight After Setup Check the Application Event Log Run the Get-ExchangeServer cmdlet Parse through setup logs

Get-SetupLog c:\exchangesetuplogs\exchangesetup.log -error –tree

Enter Product Key Run ExBPA

Page 35: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Exchange Setup Log Locations

Log Files Located at…<system drive>\ExchangeSetupLogs\...

Contents

\ExchangeSetup.log Prerequisite and system-readiness checks

\ExchangeSetup.msilog Contains extraction of the Exchange 2007 code from the installer file

\Install-ServerRole-yymmdd-hhmmss.txt Configuration of Exchange for each role. Each role will generate a separate log file.

\Install-ExchangeOrganization-InternalTaskLogyymmddhhmmss.txt

Creation of default containers and setting of default permissions

\SetupLogs\ldif.log Schema installation for Active Directory Application Mode (ADAM)

\Prereqs\...ExBPAyymmddhhmmss.log Results of ExBPA pre-req scan

Page 36: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Understanding success or failureLearning to trust setup

Simple return codes 0 for success 1 for failure

The right data in the log ExchangeSetup.log, found in the ExchangeSetupLogs directory of your

system drive Errors and Warnings are uniformly annotated Success/Failure messages are unambiguous

[5/25/2006 3:32:05 PM] [0] The Microsoft Exchange Server setup operation completed successfully.

[5/25/2006 3:32:05 PM] [0] End of Setup

get-setuplog.msh used to parse log

Page 37: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Role Specific Post Setup TasksCAS Mailbox Hub Edge UMConfigure Certificates for SSL

Configure OAB distribution

Create postmaster mailbox Subscribe the Edge Transport Server

Configure Dial Plan

Configure Outlook Anywhere

Configure / upgradeAddress Lists

Configure Transport and Journaling Rules

Configure Anti-Spam/Anti-Virus

Configure UM IP Gateway

Configure ActiveSync and ActiveSync policies

Configure Managed Folder Mailbox Policy

StartEdgeSync

Configure Disclaimers Configure UM Mailbox Policy

Create AutoDiscover DNS Record

Configure OOF Configure backpressure settings Configure quarantine mailbox Configure UM Auto Attendant

Set Ext URLs where required

Configure Backup Configure connectors & accepted domains

  Enable Users for UM

Split logs and databases Configure Anti-Spam Agents if not using Edge

Replicate public Folders

Consider connection logging

Setup SGs and DBs Set mail size limits

Setup Replication (SCR, CCR, LCR)

Set how the server identifies itself when sending mail

Migrate Mailboxes and Resource mailboxes

Allow internal servers to send mail

Configure or Migrate email address policies

Page 38: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Non Role Specific Tasks Baseline Performance Security – SCW Create and Test your DR plan Ensure DNS Reverse lookup and Sender ID records are

setup correctly Monitor the Basics Permission/Role Delegation Training Documentation!

Regularly perform documentation updates Regularly run ExBPA Administration delegation Deploy Outlook 2007

Page 39: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Move Mailbox Preparation Required permissions

Exchange Recipient AdministratorExchange Server AdministratorMember of Local Administrators group

Transaction logs increase Single instance storage loss (potential) User mailbox cleanup

Page 40: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Bulk Migration Options

User

Database

Server

Move-mailbox –identity bond –targetdatabase “007E2K7\first storage group\mailbox database”

Get-mailbox –database “009E2K3dc1\First Storage Group\Mailbox Store (009E2K3dc1)” | move-mailbox –targetdatabase “007E2K7\first storage group\mailbox database”

Get-mailbox –server “009E2K3dc1” | move-mailbox –targetdatabase “007E2K7\first storage group\mailbox database”

Page 41: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Post-Mailbox Migration Confirmation: Event Viewer

Event IDs100693541007

Page 42: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Decommissioning

Things to consider… Reroute mail to target environment Ensure all mail has been moved Ensure all public folders have been

re-homed.

Page 43: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Agenda

Exchange 2007 – A quick intro Planning for Exchange 2007 Designing Exchange 2007 Migrating to Exchange 2007 Documentation Summary

Page 44: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Script It!

Let’s take a look at some scripts…….

Page 45: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Agenda

Exchange 2007 – A quick intro Planning for Exchange 2007 Designing Exchange 2007 Migrating to Exchange 2007 Documentation Summary

Page 46: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Summary

Prepare! Planning Discovery Requirements Testing Sizing Server Placement Communication

Page 47: Nathan Winters – MVP – Exchange Server Consultant – Dimension Data.

Any Questions???