Documente Academic
Documente Profesional
Documente Cultură
Agenda
Are you aware Exchange is a mission critical application How to prepare: Exchange Database Architecture Backup and Restore Recovery Storage Group Dial Tone Recovery Exchange Snapshot Architecture How to avoid and what to do when things go bad Exchange Errors and how to avoid them ESEUtil & ISInteg and all in between Server & Alternate Server Restore procedure
Storage Groups
STORE Storage Group 1 ESE Instance Storage Group 2 ESE Instance
EDB
STM
EDB
STM
EDB
STM
EDB
STM
EDB
STM
Storing Data
Transaction Log File
7 15 5 25 4 15 8 4 1 10
Database File
4 KB
Memory
4 8 7 17 15 8 25 3 4 1
1 5
2 6
3 7
9
13 18 22
10
14 19 23
11
15 20 24
12
16 21 25
10
1 4 KB 1 5 5 9 9 13 13
2 2 6 6 10 10 14 14
3 3 7 7 11 11 15 15
4 4 8 8 12 12 16 16
7 17
15 8
25 3
4 1
10
18 18
22 22
19 19
23 23
20 20
24 24
21 21
25 25
Edb.log
Circular Logging
EXX0005.log EXX0001.log EXX0002.log
EXX0003.log 14 14 40 40 16 16 99 99 19 19 33 33 31 31 20 20 52 52 21 21
EXX0004.log
99 44 44 22 18 18 66 13 13 11 11 22 22 12 12 35 35
44 15 15 23 23 42 42 26 26 34 34 46 46 29 29 61 61 48 48
Checkpoint File
EXX.chk
EXXnnnnn.log
Online Maintenance
Not clash with backup schedules Database size, Backup/Restore SLAs Purge Indices (public and mailbox stores) Tombstone Maintenance (public and mailbox stores) Dumpster Cleanup (public and mailbox stores) Cleanup Deleted Mailboxes (mailbox stores) Events for each Database processed 700 Defrag Started 701 Defrag Ended 1221 The Defrag ended and the amount of free space in file
Mailbox retention time Deleted Items retention time Dumping Headers using ESEUtil Configure Exchange EVS on Cluster
Backup Complete
End Backup
Page read completed Logs copied to tape Truncate logs Backup set closed
Backup
The IS must be running and all databases must be mounted Support for storage groups and for a single store Best practice backup the entire storage group for logs truncation Concurrent backup/restore are supported Truncate Log Files (*.log) Check-summing Database files (*.edb) Stream files (*.stm)
Backup Types
Type Full(Normal) Copies DB Copy Logs X X X X Truncates Logs X
X
X
Copy/Daily
Incremental Differential Snapshot Offline
X
X X X
Not recommended
Restore Complete
End Restore
Logs are processed By ESE restore instance Current logs processed By ESE restore instance Cleanup/Restore SG killed
Restore
MSExchangeIS must be running to restore Databases to restore must be dismounted and the Db can be overridden by restore. Remaining databases can be mounted. System Attendant not used in restore. Restore.env file created Hard recovery via command line Eseutil /cc
Log Placed in a temporary log directory Location of temporary directory is specified by user Restore.env file is created
Restore.env
Replaces Restore In Progress Key Placed in temporary log directory during restore Data included in Restore.env Restore path Restore log file path Storage group System parameters for the restore storage group Log file range Restore time
If there are multiple DBs in a storage group only the log records applicable to the failed DB are replayed, the others are ignored
Simple Backup & Restore Dump the restore.env file Using the Recovery Storage Group Dial Tone Restore using RSG
Snapshot services
ESEUtil switches
/D = Defrag Mode New signatures Log files mismatch, immediate backup required /T can be used to specify alternate location for the temp files /M = Dump headers (/ML, /MK, /MH) /R = Recovery performs soft recovery /K = Integrity Check for Snapshots /G = Checks Integrity at the ESE Level No Changes Are Made, This is a reporting Tool /F = Copy Mode /C = Hard Recovery Mode (direct to restore.env) /CC = Force Hard Recovery /CM Dump the restore.env file header /P = Repair /P
/CreateSTM
ISInteg
-Dump: Dumps Database folders and indexes Isinteg dump -Test: Test for integrity level errors -Fix: Fixes integrity level errors Isinteg fix test alltests.
Perform Soft Recovery Using Eseutil Repair Exchange Database Using Eseutil Running ISInteg /Fix Exchange DRA tool
Restore AD Requirements
Exchange 2003 disaster recovery assumes that the Active Directory is available and if necessary fully recovered as well Running Setup /DisasterRecovery rebuilds the local box and does not re-write ANY data to the AD Note: Exchange setup does not enforce or check that objects already exist in the AD
Restore
Restore Server
Copy .pst
Copy
Alternate Server Restore Rename the Legacy DN using LegcyDN tool Mounting the database Create all users using Mailbox Recovery Center Bulk reconnect all users to their mailboxes
Review
Exchange is mission critical application Exchange Database Architecture Deleted items & Mailbox retention time. Backup and Restore Architecture Recovery Storage Group Dial Tone Restore Exchange Snapshot Architecture Eseutil & ISInteg and all in between Full Server Restore procedure Alternate Server Restore procedure
Thank You !
Ronen Gabbay Microsoft Exchange Regional Director Exchange MVP Microsoft Secure and Well Managed Infrastructure Specialist Microsoft Israel Microsoft Exchange Server User Group leader E-mail v-roneng@microsoft.com
This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. 2002 Microsoft Corporation. All rights reserved. Microsoft, BackOffice, the BackOffice logo, Microsoft Internet Explorer logo, the Office logo, Where do you want to go today?, the Windows logo, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Other product and company names mentioned herein may be the trademarks of their respective owners.
2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.