frevere
asked on
Offline Defrag
Have an Exchange 2003 cluster. We need to perform offline defrag and compression on the storage groups. Now although this is a simple procedure using the ESEUTILS, we would like to automate the function if at all possible. I know that we can create batch files with the appropriate ESEUTIL parameters and then use Windows scheduler to run them, but is there any way (batch file or other) to take the storage group offline and possibly remount, although this is really not a requirement since it would be completed by early morning/day?
I don't think it is possible to detach a 2003 exchange database from commanline, the new 2007 version has improved command line possibilities
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Looking at ADSIEdit to get the required information, I can only go as far as the Storage Group. Last I used the ESEUTIL, if I remember correctly you can only dismount the storage group, and not the mailbox store. Is it possible to take just the mailbox store offline for maintenance?
ASKER
broeck,
will have to run 4 dismounts to take the entire storage group offline, then the batch, possibly vbs, can run the ESEUTILS, then remount the group by modifying the script you provided. Tested this out on our test server. Thanks for the help with the scripting.
will have to run 4 dismounts to take the entire storage group offline, then the batch, possibly vbs, can run the ESEUTILS, then remount the group by modifying the script you provided. Tested this out on our test server. Thanks for the help with the scripting.
Why on earth are you wanting to automate an offline defrag? An offline defrag is not something that is designed for scheduled maintenance.
If you want to free up space, create a new storage group and move mailboxes to it.
If you want to free up space, create a new storage group and move mailboxes to it.