Table of Contents P R E S E N T E D B Y : Documentation for EXCHANGE TROUBLESHOOTING. June 10, Carl Armstrong, LightSys Technology Services, Inc

Similar documents
In this segment, solution to recover mailboxes from corrupt database is discussed. Exchange Server 2003 SP2 is installed in the enterprise.

Restoring Exchange Server 2003 with Arcserve Version 1.01

Introduction to Installing and Managing Microsoft Exchange Server 2007 (Course 5047A)

8 MANAGING SHARED FOLDERS & DATA

Acronis Backup & Recovery 11 Beta Advanced Editions

Kernel for Exchange Server. Installation and Configuration Guide

Exchange Protection Whitepaper

Lab - Configure Data Backup and Recovery in Windows 8

Lab - Configure Data Backup and Recovery in Windows 7 and Vista

5047 : Introduction to Installing and Managing Microsoft Exchange Server 2007

NetBackup 7.6 Replication Director A Hands On Experience

HOW TO: Establishing a VPN Connection For use with File Sharing on Windows 98, 2000, and Windows XP

Installation & Configuration Guide

Managing and Maintaining a Microsoft Windows Server 2003 Environment

File Protection. Whitepaper

File Archiving Whitepaper

Lasso Continuous Data Protection Lasso CDP Client Guide August 2005, Version Lasso CDP Client Guide Page 1 of All Rights Reserved.

Symantec Enterprise Vault 2007 Installation & Configuration

File Protection Whitepaper

Version S Cincinnati, Suite 105 Tulsa, OK (918) Fax (918)

The system is temporarily unable to complete your call. Event Type: Error Event Source: CiscoUnity_ConvMsg Event Category: Network Event ID: 10045

ZAVANTA Standalone Installation

Course : Installing and Configuring Windows 10

AutoCount Server. A c c o u n t B i l l i n g S t o c k P O S P a y r o l l. ISV/Software Solutions

Overview. Top. Welcome to SysTools MailXaminer

Quick Start Guide TABLE OF CONTENTS COMMCELL ARCHITECTURE OVERVIEW COMMCELL SOFTWARE DEPLOYMENT INSTALL THE COMMSERVE SOFTWARE

File Archiving. Whitepaper

User Guide Online Backup

Optional Lab. Identifying the Requirements. Configuring Windows 7 with virtualization. Installing Windows Server 2008 on a virtual machine

COPYRIGHTED MATERIAL. Contents

1. Overview... 2 Documentation... 2 Licensing... 2 File Archiving requirements... 2

IT Essentials v6.0 Windows 10 Software Labs

Junxure Code Upgrade Instructions

Commvault Simpana 11 Best Practices for Cloud Backup Accelerator

NuPoint Messenger User Guide

Enterprise Server Edition

Implementing and Managing Windows 10

SharePoint 2010 Tutorial

COURSE OUTLINE MOC 20697: INSTALLING AND CONFIGURING WINDOWS 10

Veeam Universal Application Item Recovery

How to Archive s in Outlook 2007

edp 8.2 Info Sheet - Integrating the ediscovery Platform 8.2 & Enterprise Vault

How to install the software of ZNS8022

Installing the PC-Kits SQL Database

HOL122 Lab 1: Configuring Microsoft Windows Server 2003 RPC Proxy

Cisco TelePresence Management Suite Extension for Microsoft Exchange

Windows 2000 Disk Management

Question No: 3 Which two key benefits are provided by Veritas Enterprise Vault 12.x? (Select two.)

SecureGuard VMS. SecureGuard All-In-One Quick Install Guide V. 2.5

Installation Guide for Pulse on Windows Server 2012

Vembu Universal Explorer. User Guide. VEMBU TECHNOLOGIES Copyright 2016 Vembu Technologies. All Rights Reserved

Outlook Clean Up Guide

Backup Tab. User Guide

AccessVia Publishing Platform

version 5.4 Installation Guide

Amazon WorkMail. User Guide Version 1.0

This document describes the installation procedure for Embed-SE (Simulation Edition)

SharePoint 2010 Instructions for Users

Deploying an Exchange 2007 SP1 CCR Cluster on a Windows Server 2008 Failover Cluster

Enterprise Edge Unified Messaging Client Installation Guide

OUTLOOK WEB APP (OWA): MAIL

Backup/Restore Individual Brick Level Backup for Microsoft Exchange Server

Server Edition USER MANUAL. For Microsoft Windows

Migrating from IBM Lotus Domino to Zimbra Collaboration Suite

Lab Guide for Managing Hitachi Storage With Hitachi Command Suite v8.x

Administration GUIDE. OnePass Agent for Exchange Mailbox. Published On: 11/19/2013 V10 Service Pack 4A Page 1 of 177

IP Office - Job Aid Installing IMS with Exchange Server

PST for Outlook Admin Guide

Setup Guide. Page 0

WhatsUp Gold 2016 Installation and Configuration Guide

LAB 5 ANSWER KEY WORKING WITH FIREWALLS, ENCRYPTED FILE SYSTEMS (EFS) AND USER ACCOUNT CONTROL (UAC)

Server Edition. V8 Peregrine User Manual. for Microsoft Windows

Document Number ECX-Exchange2010-Migration-QSG, Version 1, May 2015 Copyright 2015 NEC Corporation.

Online Backup Manager v7 Office 365 Exchange Online Backup & Restore Guide for Windows

Envelope Journaling for Microsoft Exchange 2003 Version 1.0

Implementing Messaging Security for Exchange Server Clients

29 March 2017 SECURITY SERVER INSTALLATION GUIDE

Mailbox Manager Getting Started Guide. Licensing Installation Options System Requirements Installation Instructions

Using Attix5 Pro with EFS

Installation & Activation Guide. Lepide Exchange Recovery Manager

Enterprise Edge 2.0 Unified Messaging Client Installation Guide

Installing AppleWorks 6 FOR WINDOWS

Disk Imaging with Knoppix

Outlook and Outlook Web App. Sharing and Accessing Subfolders

Microsoft Office SharePoint. Reference Guide for Contributors

Implementing and Managing Windows 10

CDP Data Center Console User Guide CDP Data Center Console User Guide Version

Lab 11-1 Lab User Profiles and Tracking

Farin Foresight/Insight RemoteApp Access Document last updated: 2/7/2017

To install the Texas Instruments CCS Compiler, follow these steps: 1. Go to the TI Wiki page (

WINDOWS 8.1 RESTORE PROCEDURE

Hitchhiker s Guide to Veeam Backup Free Edition

Installation Instructions. Your Guide to Installing and Getting Started with WinSteam Version 4.0

System and Infrastructure Troubleshooting and Restoration

How do I apply the patch files?

Metasys Database Manager Help Code No. LIT Software Release 9.0 Issued August 2017

Chapter. Accessing Files and Folders MICROSOFT EXAM OBJECTIVES COVERED IN THIS CHAPTER

Rapid Recovery Mailbox Restore for Exchange User Guide

IBM Client Security Solutions. Client Security Software Version 1.0 Administrator's Guide

Exam /Course C or B Configuring Windows Devices

Transcription:

Documentation for EXCHANGE TROUBLESHOOTING June 10, 2006 P R E S E N T E D B Y : Carl Armstrong, LightSys Technology Services, Inc Table of Contents LightSys Technologiy Services, Inc Page 2

EXECUTIVE SUMMARY... 4 LAB 0.... 5 LAB 1. COMPONENTS OF EXCHANGE... 8 LAB 2. RESTORING EXCHANGE... 15 LAB 3: EXCHANGE BEST PRACTICE ANALYZER... 22 LAB 4: TROUBLESHOOTING... 26 LightSys Technologiy Services, Inc Page 3

Executive Summary Lab 0: LAB 1: LAB 2: LAB 3: Lab 4: Lab Prep Understanding the components of the Exchange Database. Database Files Transaction Logs How Transaction Logs Grow. How Transaction Logs are Cleared Backup Exchange with Native Tools Backup with File Level Backup Exchange Recovery Specific Item Entire Mailbox Entire Database Talk about entire server Exchange Best Practice Analyzer Troubleshooting Mail Delivery Checking Queues DNS Questions and Answers LightSys Technologiy Services, Inc Page 4

LAB 0. In this lab we are going to send an email using Outlook Web Access. This email will be restored later. We will also configure Message Tracking for use later. On the desktop of the VM launch Admin Console We are not going to enable message tracking so messages will be logged. Expand LAB (Exchange) Expand Servers Right click on LAB- SOURCE Select Properties. LightSys Technologiy Services, Inc Page 5

Check the boxes for Enable Subject Logging and Display Enable message tracking Remove Log Files Set it to 45 days Click OK. Open up Internet Explorer and goto Local- Source/ Exchange When prompted enter Administrator LightSys Technologiy Services, Inc Page 6

Click on New Enter User1 in the To field. Give message a Creative Subject Also Enter User2 in the To field. Also Enter User3 in the To field. Enter a Message body if you want Click Send Now Minimize OWA. LightSys Technologiy Services, Inc Page 7

Browse to C:\program files \Exchsrvr \MDBDATA LAB 1. Components of Exchange In this lab we will learn what the different components are of an Exchange Information Store and how to back them up and restore them. In this directory are 4 different types of files *.EDB and *.STM *.chk *.log *.edb *.stm EDB Normal Mail Content STM Streaming Media. Keeps Internet Mime content in here. Each Exchange database is made up of these two files. There are two databases. Private Information Store (Mailbox Database) (Priv1.*) Public Information Store (Public Folders) (Pub1.*) These files automatically grow but do not shrink unless you compress them. Event ID 1221 will tell you how much space you will get back by compressing them *.LOG Everything written to the Exchange Database is also written to a log file for performance and recovery purposes. (explain this more later) As data comes into an Exchange Server it is written to the Log file first and then when there is a period of low system usage it writes the data into the Exchange Database. *.CHK This stores which log file information has been written into the database. LightSys Technologiy Services, Inc Page 8

Now we are going to send a lot of email to the server and see how the files change size. We are going to send 10 MBs of email to the server. When the Executable finishes.. On the desktop double click on the icon Send 10MB Open up the directory: Browse to C:\programs Files\Exchsrvr\MDBDATA Compare the picture above the directory now. What has changed? Now we are going to backup Exchange Browse to C:\programs files \Exchsrvr \MDBDATA Notice the existence of the log files Launch NT Backup Start, All Programs, Accessories, System Tools LightSys Technologiy Services, Inc Page 9

LightSys Technologiy Services, Inc Page 10

LightSys Technologiy Services, Inc Page 11

LightSys Technologiy Services, Inc Page 12

LightSys Technologiy Services, Inc Page 13

LightSys Technologiy Services, Inc Page 14

LAB 2. Restoring Exchange Now we Are Going to Restore All of Exchange database. In this section we are going to create an email and send it to one of the users. We are going to simulate an emergency by deleting the databases but not the log files. (It is assumed you keep the log files on a different Physical Partition.) The we will open up a users mailbox and see the mail is still there. Open up Internet Explorer and goto Local- Source/ Exchange When prompted enter User2 Find message in inbox and do a reply to all. Add something to the body so you will recognize the message later. Click Send Now close OWA. LightSys Technologiy Services, Inc Page 15

Open the Admin Console Expand Computer Managenet. Expand Services and applications Expand Services Now we are going to delete the Exchange Databases. Click Standard Click Microsoft Exchange Information Store on on Right click and choose Stop Explore to C:\Program Files\ Exchsrvr\ (We are going to make a flat file backup of Exchange databases at this time) Right click on MDBDATA and choose Edit Copy Now chose Edit Paste It will create a folder called Copy of MDBDATA HARD FAILURE DISK (Note this simulates a failure when you have the log files and database on separate physical partitions.) LightSys Technologiy Services, Inc Page 16

Explore to C:\Program Files\ Exchsrvr\ MDBDATA Delete the following files Priv1.edb Priv1.stm Pub1.edb Pub1.stm Temp.edb This is what the directory will look like When you are done. Go back to the Admin Console Expand Computer Managenet. Expand Services and applications Expand Services Click Standard on Click Microsoft Exchange Information on LightSys Technologiy Services, Inc Page 17

Store Right click and choose Start On the desktop of the VM launch Admin Console Expand LAB (Exchange) Expand Servers Right click on LAB- SOURCE If there is a Recovery Storage Group Right click on it and delete it. Expand First Storage Group You will notice the two databases are not mounted. Launch NT Backup Start, All Programs, Accessories, System Tools LightSys Technologiy Services, Inc Page 18

Click Next Select Restore Files and Settings and Next Expand File- ExchangeDat Expand Lab-Sourc Then on the right hand side select: Log Files And Mailbox Store Click Next. LightSys Technologiy Services, Inc Page 19

Select Last Restore Set and Mount Database After Restore Click Next Then Click Finish Now we are going to look at the directory while the restore occurs. LightSys Technologiy Services, Inc Page 20

Explore to C:\Program Files\ Exchsrvr\ MDBDATA This is what the directory looked like before the restore, Compare the above picture to what it looks like now. LightSys Technologiy Services, Inc Page 21

LAB 3: Exchange Best Practice Analyzer In this lab we will use the Exchange Best practice analyzer to look at the Exchange environment and look for problems. I am going to assume you can download it from Microsoft s site and install it. Launch the Exchange Best Practice Analyzer. Normally we select check for updates, but we will not do it now. Select Do not Check And Go to Welcome Screen LightSys Technologiy Services, Inc Page 22

Click Select Options for a new scan Select Connect to the active LightSys Technologiy Services, Inc Page 23

Enter a name for this scan. Scroll down and click Start Scanning Click View a report LightSys Technologiy Services, Inc Page 24

This shows the critical alerts in the organization. Click one of the alerts for more information. After you have read the information click all Issues Click on one of the alerts and read what it says. The Exchange Best practice analyzer is a great tool to look at your exchange environment. You can also do baselines. LightSys Technologiy Services, Inc Page 25

LAB 4: Troubleshooting In this lab we will use the Message Tracking to follow messages to see where they pass through the system. Message Tracking Enter Lab and click Check Name Click OK LightSys Technologiy Services, Inc Page 26

Click Find Now Double click on a message. SMTP Protocol Log. LightSys Technologiy Services, Inc Page 27

LightSys Technologiy Services, Inc Page 28

LightSys Technologiy Services, Inc Page 29

LightSys Technologiy Services, Inc Page 30

LightSys Technologiy Services, Inc Page 31

LightSys Technologiy Services, Inc Page 32

LightSys Technologiy Services, Inc Page 33

LightSys Technologiy Services, Inc Page 34

LightSys Technologiy Services, Inc Page 35

LightSys Technologiy Services, Inc Page 36

Extra Items Section 1 Using Recovery Storage Groups to recover an individual message. restrictions for this are very specific.) (Warning the SKIP down to Page 28. START HERE!!! Open the Admin console from the desktop. Minimize OWA On the desktop Launch Admin Console.MSC Expand Lab (Exchange) Expand Servers Expand Lab-Source LightSys Technologiy Services, Inc Page 37

Right Click on Server name and Chose New = Recovery Storage Group Accept the Defaults and select OK LightSys Technologiy Services, Inc Page 38

Right Click on Recovery Storage Group and select Add Database to Recover Select Mailbox Store and click OK LightSys Technologiy Services, Inc Page 39

Accept Defaults and Click OK Launch Backup Click Next NT Start, All Programs, Accessories, System Tools Select Restore Files and LightSys Technologiy Services, Inc Page 40

Settings and Next Expand File- ExchangeDat Expand Lab-Sourc Then on the right hand side select: Log Files And Mailbox Store Click Next. Select Last Restore Set and Mount Database After Restore Click Next LightSys Technologiy Services, Inc Page 41

Then Finish Click When it is done it will display this message. Click Close Setting Permissions for Exmerge We are about to use ExMerge to recover the mailbox. The issue is we have to have the correct permissions for ExMerge to work. By default the Administrators and Domain Admins are Denied the Send As and Receive As right. We need to give this right back so ExMerge will work. LightSys Technologiy Services, Inc Page 42

Go Back to the Admin Console Expand Lab (Exchange) Expand Servers Expand Lab-Source Expand First Storage Group Right Click on Mailbox Store and select Properties Go to the Security Tab. Click on Administrator and in the window on the bottom scroll all the way to the end. You will notice Send As and Receive As have an inherited Deny. This must be overridden for Exmerge to work. So Click Advanced LightSys Technologiy Services, Inc Page 43

Click Add Type in Exmerge and Check Names NOTE!!!! Use ExMerge instead of Administrator LightSys Technologiy Services, Inc Page 44

Select Administrator and OK Click OK Again to get to the Permissions screen again. Scroll all the way to the bottom. Select Receive As And Send As Scroll to the top and select Administer Information Store Click OK Twice LightSys Technologiy Services, Inc Page 45

You will notice now there are Explicit permissions for the Send As and Receive As Click OK Copy ExMerge Files to the Exchange Directory Logout of the window Log back in as ExMerge Same password Start ExMerge by double clicking on exmerge.exe from the BIN directory To get Exmerge to run you have to copy it to the same directory where the Exchange BIN files are located. 1. Copy the contents of C:\ExMerge to C:\ProgramFiles\EXCHSRV\BIN to C:\ProgramFiles\EXCHSRV\BIN\ExMerge.exe LightSys Technologiy Services, Inc Page 46

Click Next For Time purposes we are going to do a One Step Procedure Where the data will be extracted and imported in a single step. Usually you do the Two Step Procedure Click Next Enter LAB-Source into the Exchange Server Name Field Click Next. To set the Destination Server. Enter LAB-Source into the Exchange Server Name Field Click Next. LightSys Technologiy Services, Inc Page 47

To Set the database to be used as the source select Recovery. Click Next. LightSys Technologiy Services, Inc Page 48