Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 60 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
60
Dung lượng
3,28 MB
Nội dung
Contents Introduction .1 What is theRecoveryStorage Group? 3 Creating a RecoveryStorageGroup .7 Adding a Mailbox Store to theRecoveryStorageGroup .10 Active Directory Attributes .17 Lab 4.1: Create a RecoveryStorageGroup and review the Active Directory attributes 20 Overriding theRecoveryStorageGroup .25 Restoring the data 27 Recovering Exchange 2000 Server Mailbox Stores 33 Exmerge 35 Known issues with Exmerge .48 Exercise 2: RecoveryStorageGroup Scenario 1 50 Exercise 3: RecoveryStorageGroup Scenario 2 54 Details for Exercise 3: Disaster recovery after a Store Crash using theRecoveryStorageGroup .55 Acknowledgments .58 Module4:TroubleshootingtheRecoveryStorageGroup Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. 2003 Microsoft Corporation. All rights reserved. Microsoft, MS-DOS, Windows, Windows NT, Active Directory, ActiveX, Excel, Exchange Server 5.5, Exchange 2000 Server, Exchange Server 2003, Internet Explorer, Internet Information Server, Word are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein (Groupwise, Lotus cc:Mail, Lotus Notes) may be the trademarks of their respective owners. Module4:TroubleshootingtheRecoveryStorageGroup 1 Introduction In this session we will look at theRecoveryStorageGroup in Exchange Server 2003. TheRecoveryStorageGroup is a new type of StorageGroup in Exchange Server 2003 which is designed to facilitate therecovery of Mailbox Store data without the need for an alternate Active Directory forest for recovery. In Exchange 2000 Server, we required the use of an alternate Active Directory forest/Exchange org to recover data without affecting the production environment. TheRecoveryStorageGroup is designed to simplify the data recovery process and lower the TCO for customers by eliminating the need for hardware for an alternate recovery forest. TheRecoveryStorageGroup allows us to restore production Mailbox Stores to live servers. Once the restore has been performed, we can use Exmerge to merge the data back into the live stores. We will look at the process of recovering data and also the sort of issues we can run into and how to solve them. 2 Module4:TroubleshootingtheRecoveryStorageGroup Mailbox Recovery in Exchange 2000 Server Exchange 2000 Server required the use of a separate Active Directory forest in order to restore databases and recover mail items without affecting the production system in any way. A typical recovery scenario would be: A server crashes and a mailbox store cannot be mounted. The transaction logs are still available. After unsuccessfully attempting to get the store to mount, the administrator would take copies of any log files and database files from the time of the crash and then mount blank databases so that the users could log in and send/receive mail. A separate Active Directory forest would then have to be set up and a new Exchange organization would have to be created in this forest. The following information must remain consistent with the production environment: Exchange Organization Name Administrative Group Name StorageGroup Name Logical Database Name LegacyExchangeDN The administrator must also ensure that the Operating System and Exchange have the same service packs and hot fixes as the production machines. When the administrator has done this, he could start the restore of the databases to this recovery server. Once the restore was complete and any log files have been replayed, the database would be at a consistent state. The administrator would then use a utility like Exmerge to export the data to .pst files and then import it into the live database. The option of switching the recovered databases from the alternate forest with the blank databases in production is also available. This will reduce the amount of time required to Exmerge data back to the production server. This is obviously a fairly long process and in larger environments, it meant that customers would have to maintain a separate Active Directory forest for this purpose. Therecovery steps for Exchange 2000 Server are explained in 813337.KB.EN- US A Microsoft Support Webcast goes into great detail on this subject: Support Webcast: Microsoft Exchange 2000 Alternate Server Data Recovery http://support.microsoft.com/default.aspx?scid=kb;en- us;811063&gssnb=1 Module4:TroubleshootingtheRecoveryStorageGroup 3 What is theRecoveryStorage Group? TheRecoveryStorageGroup is a new type of StorageGroup that can be created on servers running Exchange Server 2003 in order to facilitate Mailbox data recovery. An existing Mailbox Store can be added to a RecoveryStorageGroup and then recovered while the original database is still online. The Mailbox store is not physically added to theRecoveryStorage Group. A placeholder object is created in theRecoveryStorageGroup that is used as a reference back to the original Mailbox Store. We will look at this in more detail later. Exmerge is then used to merge the recovered information over to the production Mailbox Store. A RecoveryStorageGroup can be created on both Standard and Enterprise editions of Exchange Server 2003. RecoveryStorage Groups will work irrespective of the Operating System that Exchange Server 2003 is installed on. Restrictions and criteria RecoveryStorageGroup has the following restrictions/criteria: One RecoveryStorageGroup per server can be created Five Mailbox Stores can be added to theRecoveryStorageGroup Only mailbox stores from the same Admin Group can be added to theRecoveryStorageGroup Once a mailbox store has been added, only mailbox stores from the same original StorageGroup can be added to theRecoveryStorageGroup An Exchange 2000 Server mailbox store can also be added to an RecoveryStorageGroup but it must be a minimum of SP3 Note 4 Module4:TroubleshootingtheRecoveryStorageGroup In order to add a Mailbox Store to theRecoveryStorageGroup it must exist in the Active Directory All restores will default to Mailbox Stores that are in theRecoveryStorage Group, not to the live database. (Note: The backup client must be pointed to the server hosting theRecoveryStorage Group) There is a registry key to override this behaviour (“Recovery SG Override”) (See Section 7) Mailbox Stores in theRecoveryStorageGroup do not mount on start- up/failover. By default the “This database can be overwritten by a restore” is checked on recovery databases Public Folder Stores cannot be added to a RecoveryStorageGroup New Mailbox Stores cannot be created in a RecoveryStorageGroup When the Mailbox Store is mounted, all mailboxes remain disconnected and cannot be reconnected No new mailboxes can be created on a recovery database MAPI is the only protocol that is supported When the Mailbox Store in theRecoveryStorageGroup is mounted, you will receive a warning (prompt) The log file prefix for theRecoveryStorageGroup is Rnn On an Active/Active cluster (2 Node) we can create one RecoveryStorageGroup per cluster On an Active/Passive cluster we can create one RecoveryStorageGroup per Exchange Virtual Server (EVS) Mailbox Stores from standalone servers can be added to an RecoveryStorageGroup on a clusters and vice versa provided they are in the same Administrative Group No online maintenance will be run on recovery databases System and Mailbox policies are not applied to recovery databases RecoveryStorage Groups cannot be renamed Recovery Databases cannot be backed up In order to successfully Exmerge out the data for a particular user, their mailbox must exist on the same mailbox store as of the time of backup To recover Public Folder databases, the alternate forest method is still required. Note Module4:TroubleshootingtheRecoveryStorageGroup 5 RecoveryStorageGroup uses There are two key scenarios where theRecoveryStorageGroup is useful. The first occurs when we need to recover a certain number of mail items without affecting the production environment. This may be an important piece of mail for a CEO or a mailbox that was removed due to an administrative error. The second scenario occurs when we run into a critical problem with the production mailbox stores. A customer’s Mailbox Store or a particular log file may become corrupted, which results in a store that will not mount. A Service License Agreement may dictate that after a certain number of hours users must be able to send/receive mail. In this situation the Administrator would probably move out all databases and log files and then mount blank databases. Therecovery of mail data could then begin offline. The two most common scenarios can be broken down as follows: Recover Mail items for a particular user A user contacts the IT helpdesk and needs a piece of data recovered that they deleted from their mailbox. The item is not available in the dumpster. The Administrator will then use the following steps to recover the mail item using a RecoveryStorage Group: Create a RecoveryStorageGroup on any server in the Admin Group. Add the mailbox store to theRecoveryStorage Group. Restore the data to theRecoveryStorageGroup server and mount the Mailbox Store. Use Exmerge to export the data and then to import it directly into the user’s mailbox. Dismount and delete Mailbox Store in theRecoveryStorage Group. Delete theRecoveryStorage Group. Mount blank Mailbox Stores due to corrupt store The steps to recover in this manner are as follows: Mailbox Store becomes corrupted and cannot be mounted. Move out all log files (assuming no other databases are mounted in thestorage group) and the corrupted database files. Mount blank databases. Users can log in and send/receive mail. Create a RecoveryStorageGroup on any server in the same Admin Group. Restore a backup of the Mailbox Store to theRecoveryStorageGroup server. If you wish to replay any log files you must place them in the Transaction Log Path of theRecoveryStorage Group. When you initiate a hard recovery of the mailbox store, it will start replaying log files from the backup set (usually from a path that is specified at the time of restore) and then continue replaying log files from the Transaction Log Path. When the mailbox store has been recovered, we are ready to switch it back to live storage group. Dismount the Mailbox Store in theRecoveryStorageGroup and the Mailbox Store in the live Storage Group. Switch the databases with each other and then remount them again. 6 Module4:TroubleshootingtheRecoveryStorageGroup We then use Exmerge to export/import the new data from the clean databases we created. When the Exmerge is finished, dismount and delete the mailbox store in theRecoveryStorage Group. Delete theRecoveryStorage Group. The reason for switching the databases with each other is so that we Exmerge the minimum amount of data. The blank mailbox stores will hold a relatively small amount of data compared to the live mailbox store so it makes sense to only Exmerge this data. This is, of course, a matter of preference and there is nothing to stop you Exmerging over the larger amount of data to the new databases. Remember that when Exmerging large amount of data, lots of transaction logs are generated so there must be sufficient disk space on the server. Module4:TroubleshootingtheRecoveryStorageGroup 7 Creating a RecoveryStorageGroup Using Exchange Server 2003 System Manager we now have a new choice when creating Storage Groups on an Exchange 2003 server. As well as normal Storage Groups, we can now create RecoveryStorage Groups. The steps to create a RecoveryStorageGroup are as follows: Right-click on the chosen server object in Exchange System Manager and choose New – RecoveryStorage Group. 8 Module4:TroubleshootingtheRecoveryStorageGroupTheRecoveryStorageGroup Properties sheet will now be displayed. Here we can specify a name for theRecoveryStorage Group. It is a good idea to use a name that clearly identifies it as a RecoveryStorageGroup as the icon in Exchange System Manager for a RecoveryStorageGroup and a normal StorageGroup are the same. TheRecoveryStorageGroup must have a unique name on the server. It cannot have the same name as a normal StorageGroup that is already in use on the server. The name of theRecoveryStorageGroup does not have to match the name of theStorageGroup that hosted the Mailbox Store that we are about to restore. Specify the Transaction log location and the System Path Location using the browse buttons. This location cannot be changed afterwards. The Transaction log location and System path location should NOT be set to the same as an existing StorageGroup on the Exchange 2003 server. To try and simplify the whole process, use the same paths for the transaction logs, system path and database files. As almost no data is written to Mailbox Stores mounted in a RecoveryStorage Group, there will be very few transaction logs generated. Therefore, there is no real performance gain by splitting the transaction logs and database files onto separate drives (This is contrary to normal best practices regarding normal Storage Groups in Exchange 2000 Server and Exchange Server 2003) [...]... StorageGroup 25 Overriding theRecoveryStorageGroup If there is no RecoveryStorageGroup present on an Exchange Server 2003 server, then restore behaviour is exactly the same as in Exchange 2000 Server If there is a RecoveryStorageGroup present on the server then all restores will default to mailbox stores that exist in theRecoveryStorageGroup If a RecoveryStorageGroup is present on the server... databases in theRecoveryStorageGroup Module 4:TroubleshootingtheRecoveryStorageGroup 27 Restoring the data Once theRecoveryStorageGroup has been created and the mailbox store added to it, the restore process can begin When starting the backup client software it is important to remember that the client software must be pointed to the Exchange 2003 server that contains theRecoveryStorage Group. .. match the DN of the mailbox store on the media 22 Close ADSIEdit 23 In Exchange System Manager right-click on the Mailbox Store in theRecoveryStorageGroup and choose Delete Click Yes and then OK 24 Right-click on theRecoveryStorageGroup and choose Delete Click Yes 22 Module4:TroubleshootingtheRecoveryStorageGroup MsExchRestore (on Storage Group) This is an attribute of all Storage Groups... Store The log files from the E00 series are first replayed into the database Then the database is detached from the E00 log sequence and is then attached to theRecoveryStorageGroup R00 log file sequence The E00.log files and E00.chk files are not removed from the folder You do not need to remove these files for theRecoveryStorageGroup to function correctly Module 4:TroubleshootingtheRecovery Storage. . .Module 4:TroubleshootingtheRecoveryStorageGroup When theRecoveryStorageGroup has been created, we can check its default settings by taking the properties of the newly created RecoveryStorageGroup Note that the Transaction log location and System Path Location cannot be changed If you must change these locations, then you can simply delete theRecoveryStorage Group, create a... create and manage a RecoveryStorageGroup Module 4:TroubleshootingtheRecoveryStorageGroup 11 12 Module4:TroubleshootingtheRecoveryStorageGroupThe Select database to recover dialog box will then be presented Here we will be presented with a list of eligible Mailbox Stores The criteria for eligible Mailbox Stores are as follows: The Mailbox Store must exist in Active Directory The Mailbox Store... look at theRecoveryStorageGroup object using LDP or ADSIEdit If there are any Mailbox Stores listed there, delete them and try again Failing that, delete theRecoveryStorageGroup and try to add the Mailbox Store again 14 Module4:TroubleshootingtheRecoveryStorageGroupThe Mailbox Store Properties sheet will now be shown On the General tab notice the default settings We must now give the Mailbox... the following error: This error basically means that we have previously added a Mailbox Store to theRecoveryStorageGroup and there are no more Mailbox Stores available from the same original StorageGroup Check the contents of theRecoveryStorageGroup to see if you have a Mailbox Store there and remove it if necessary If there is no Mailbox Store in theRecoveryStorage Group, have a look at the. .. replayed to theRecoveryStorageGroup transaction log folder Verify that the sequence and 28 Module4:TroubleshootingtheRecoveryStorageGroup signatures of these log files match those in the backup set Use the ESEUTIL /ml command to determine the signature of the log files 7 Verify that hard recovery has completed successfully by running the ESEUTIL /mh command against the edb file The header should... in theRecoveryStorageGroup Mailbox Stores in theRecoveryStorageGroup will not mount at startup (or after failover in a cluster) This cannot be changed By default “This database 16 Module4:TroubleshootingtheRecoveryStorageGroup can be overwritten by a restore” is checked It must remain checked for a successful restore Click OK when you are done Module 4:TroubleshootingtheRecoveryStorage . manage a Recovery Storage Group. Module 4: Troubleshooting the Recovery Storage Group 11 12 Module 4: Troubleshooting the Recovery Storage Group The Select. recreate it. 10 Module 4: Troubleshooting the Recovery Storage Group Adding a Mailbox Store to the Recovery Storage Group Once the Recovery Storage Group has