Solved

Exchange 2003 Defragmentation

Posted on 2008-09-29
16
139 Views
Last Modified: 2012-05-05
Is there a way of not impacting my uptime for my Exchange environment while running a defrag to the database?  
0
Comment
Question by:dlabbadia01
  • 7
  • 5
  • 4
16 Comments
 
LVL 17

Accepted Solution

by:
Andres Perales earned 75 total points
ID: 22597774
You could create a new mail store and then move mailboxes between old store and new store.  And then hppscotch them from time to time.
Of course you must have the enterprise version of exchange.
0
 

Author Comment

by:dlabbadia01
ID: 22597794
I have enterprise.  I've had problems with EXMERGE between datastores not moving things correctly due to the 2GB PST file size restrictions.  So I think I want to avoid that.

D
0
 
LVL 16

Assisted Solution

by:robrandon
robrandon earned 50 total points
ID: 22597798
The online defrag will not impact your uptime.  Unfortunately it won't clear up any of the white space in the db and return it to the file system.

For an offline defrag, you can go with peralesa's comment.
0
 
LVL 16

Expert Comment

by:robrandon
ID: 22597806
You don't need to use EXMERGE to move the mailboxes from one store to another.  You can just use the Move Mailbox tool built into AD.
0
 

Author Comment

by:dlabbadia01
ID: 22597815
Yeah i'm talking about recovery space.  I have a 100GB database but the actual size is probably half of that.  So basically backups take twice as long..
0
 

Author Comment

by:dlabbadia01
ID: 22597828
And how long does the move mailbox tool take?  Is it as simple as AD changing it's address space?  I have 35 mailboxes so it's not a lot.  And Exchange will know which mailstore to look when a user comes in to login to their mailbox without me doing anything additional?
0
 
LVL 17

Expert Comment

by:Andres Perales
ID: 22597852
I was not talking about using EXMERGE.  Just create a new Store, then move using the builtin move in exchange.
The new store will be a clean store.  Move mailboxes one at a time or in groups of 10 or what ever you feel comfortable with.  Once you have all the mailboxes moved over then take the old one offline do a defrag, clean up you white space and it is ready for the next time.  Then you can move you mailboxes back to that store say in three months or 6 months and then do the process all over again.
 
0
 
LVL 17

Expert Comment

by:Andres Perales
ID: 22597863
When you move all you are doing is moving the users mailbox from store to the other store, it will be transparent to the users.
time of the mailbox being moved will be dependent on how big their mailbox is...test it out you will see it is an easy process.
0
Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

 

Author Comment

by:dlabbadia01
ID: 22597891
sweet i'll try it out and let you know how I make out.  i'm relatively new at advanced exchange tasks (not that this is advanced).  I just am tentative to try anything crazy cause this is all a result of a major catastrophe that I would like to never experience again.

Dave
0
 
LVL 16

Expert Comment

by:robrandon
ID: 22597901
The time it takes to move depends on how big the mailboxes are and how fast your mail server is.  Don't do all of them at once.  Do a few at a time.  It will not be as fast as changing the address space as it actually has to move the data, update the database, retain SIS, etc.  Moving a gig mailbox will probably take you 10 minutes on the same server - just an estimate.

Users will not need to update their outlook profile.  Exchange will be smart enough to connect them to the correct store.  They may need to restart Outlook after the move.

0
 

Author Comment

by:dlabbadia01
ID: 22597914
Will they still get mail during the move.  I have one user with 7 GB mailbox.  so based on your estimations this could take around an hour.
0
 
LVL 16

Expert Comment

by:robrandon
ID: 22597937
Do that user after hours.  I don't know for sure if they will see it when it arrives, but they will definitely see it after the move completes.  Messages will not be lost during the move.

0
 
LVL 17

Expert Comment

by:Andres Perales
ID: 22597959
Messages will not be lost during the move, old mailbox will continue to get messages and they will get moved to the new store after move is complete.
0
 
LVL 17

Expert Comment

by:Andres Perales
ID: 22597964
I would also start to implement limits on your users, this would be part of your diaster recovery process.  The big you mailbox stores are the longer they take to backup, and the longer they take to recovery, hence longer diaster recovery times.
0
 

Author Comment

by:dlabbadia01
ID: 22597971
That is the whole thing i'm working on now.  Implementing an attachment removal tool and running against everyone's mailbox, using your solution above, and then setting caps on everything.  We just never had them before so everything was out of control and impossible to recovery efficiently.

Thanks again.
0
 

Author Comment

by:dlabbadia01
ID: 22724273
I need clarification about this:

"You could create a new mail store and then move mailboxes between old store and new store.  And then hppscotch them from time to time.

Of course you must have the enterprise version of exchange."

Is it ok/recommended to create the new mail store in the same storage group as the first mail store or is it better practice to create a second storage group so that you can keep logs and dbs seperate?
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
This video discusses moving either the default database or any database to a new volume.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now