Dead Exchage Server Migration

Finally at my wits end with my Exchange 2010 server.  Failed MS updates seem to had gotten it into a weird state.  Webmail refuses login credentials known good, but direct Outlook or Android clients work fine.

Originally tried building a 2013 Exchange box to migrate into, but it kept failing install due to the corrupt 2010 server present.  My playing around has ultimately killed the 2010 box.  I can't open Powershell, EMC,... on it.

I do have a copy of the Mailbox Database and Logs.  Last I checked, they were consistent.

Can I...
1 - Remove/kill/delete this problematic 2010 install from my Domain.
2 - Build a fresh Exchange 2013 server.
3 - Import/move the database onto it.
???
LVL 1
kitmaxAsked:
Who is Participating?
 
Simon Butler (Sembee)ConsultantCommented:
Don't touch anything in ADSIEDIT or ADUC. The only thing you do is find the computer in ADUC, right click and choose RESET Account.

You then rebuild a replacement machine.
Install the Exchange 2010 SP3 requirements as per the TechNet article.
Then install Exchange using the SP3 download from the command line. Exchange service packs are the compete product. You cannot use the original CD as that will be too old and the recovery will fail.

Once the installation is complete, put the files back. Make sure that they are in the same place - some drive letter, folder names etc.

Simon.
0
 
Simon Butler (Sembee)ConsultantCommented:
No.
 
If you have the databases, then delete the server, BUT NOT the computer account. Rebuild the machine with the same name, same OS etc. RESET the computer account - I stress again DO NOT DELETE THE COMPUTER ACCOUNT.
Then join the computer to the domain.
Download Exchange 2010 SP3 and install the pre-requisites. Then install Exchange from the command line with the recovery switches. That will bring the server back allowing you to mount the database copies you have. Don't forget to install the latest rollup.

Then install Exchange 2013 CU8 and do a normal migration. Once complete, remove Exchange 2010 using add/remove programs.

Simon.
0
 
kitmaxAuthor Commented:
Before I f' it up more, t rust me, I can.  :-)

1 - Currently I have EX2010 on 2008 R2 called MAIL.  Dead, but with the full database/log folder copied off to a backup.
2 - Shutdown the server, permanently.
3 - Leave the AD computer object for the server intact.  (it still exists as original right now)
4 - Do I need to delete anything in AD Users/Computers?  
5 - Should I delete anything in ASDIedit?  (I can say that I probably already messed something up in there)
6 - Rebuild a 2008 R2 server name it MAIL.
...fuzzy area...
7 - Run SP3, only installing the Pre-reqs?
8 - Copy database back?  (C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0252068739)
9 - Install EX2010 from CD?  (older CD, no service pack)  Using recovery command line .... ?
10 - Install SP3?
11 - Install Roll Up 9?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
kitmaxAuthor Commented:
--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
Failed to mount database 'Mailbox Database 0252068739'.

Mailbox Database 0252068739
Failed
Error:
Couldn't mount the database that you specified. Specified database: Mailbox Database 0252068739; Error code: An Active Manager operation failed. Error The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-515)
. [Database: Mailbox Database 0252068739, Server: MAIL.thomsclan.com].

An Active Manager operation failed. Error The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-515)
. [Database: Mailbox Database 0252068739, Server: MAIL.thomsclan.com]

An Active Manager operation failed. Error Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-515)
. [Server: MAIL.thomsclan.com]

MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-515)





--------------------------------------------------------
OK
--------------------------------------------------------
0
 
kitmaxAuthor Commented:
Here are the steps I used (was documenting)

1 - Backup the database folder.
    "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0252068739\"

2 - Shutdown the server, permanently.

3 - Leave the AD computer object for the server intact.  

4 - Right click on the computer object in ADUC, choose "Reset Account".

5 - Rebuild a 2008 R2 server, name it MAIL, and join the domain.

6 - Run Windows Update, multiple times, until finished.

7 - Install MS-Office filters.
    Office 2010 Filter Pack 64-bit
    Office 2010 Filter Pack 64-bit SP1

8 - Install the Exchange 2010 SP3 requirements via PowerShell.
    "import-module servermanager"
    and then
    "Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy,Web-WMI,Web-Asp-Net,Web-ISAPI-Filter -Restart"

9 - Then install Exchange using the SP3 download.

10 - Launch EMC and navigate to Organization Configuration-> Mailbox-> Database Management.

11 - Right click the database and select “Move Database Path”.  Make it the same as the original database folder and filename.  "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0252068739\Mailbox Database 0252068739.edb"
     "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0252068739\Mailbox Database 0252068739.edb"
     and
     "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0252068739"

12 - Right click the database and select Properties...  At the top, rename the database the same as the backup.

13 - Dismount the database.

14 - Replace the database folder with your backup
    "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0252068739"

15 - Mount the database.
0
 
kitmaxAuthor Commented:
Reading a bit, I ran:  eseutil /p "Mailbox Database 0252068739.edb"
Still no love on mounting.  Same error.



Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 14.03
Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating REPAIR mode...
        Database: Mailbox Database 0252068739.edb
  Temp. Database: TEMPREPAIR4744.EDB

Checking database integrity.

                     Scanning Status (% complete)

          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................


Integrity check successful.

Note:
  It is recommended that you immediately perform a full backup
  of this database. If you restore a backup made before the
  repair, the database will be rolled back to the state
  it was in at the time of that backup.
0
 
kitmaxAuthor Commented:
Right click the database and select Properties..., then Maintenance
     Check Box - This database can be overwritten by a restore.

Now I am mounted!  I have mailboxes in disconnected states, no surprise.
But when I run the wizard to connect, I only get offered 4 of my AD user objects to choose from?
0
 
kitmaxAuthor Commented:
Got it...  Disable-Mailbox <username>
Clears out the old Exchange attributes for the user.  Then they can be "found" in the EMC Connect wizard.  

Phew, calling it for tonight.   :-)
0
 
kitmaxAuthor Commented:
Ok, from the top.  I had Exchange 2010 on 2008 R2 called MAIL.  Was dead, but with the full database/log folder copied off to a backup.  Here is how I got back to life...


1 - Backup the database folder.
    "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0252068739\"

2 - Shutdown the server, permanently.

3 - Leave the AD computer object for the server intact.  

4 - Right click on the computer object in ADUC, choose "Reset Account".

5 - Rebuild a 2008 R2 server, name it MAIL, and join the domain.

6 - Run Windows Update, multiple times, until finished.

7 - Install MS-Office filters.
    Office 2010 Filter Pack 64-bit
    Office 2010 Filter Pack 64-bit SP1

8 - Install the Exchange 2010 SP3 requirements via PowerShell.
    "import-module servermanager"
    and then
    "Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy,Web-WMI,Web-Asp-Net,Web-ISAPI-Filter -Restart"

9 - Then install Exchange using the SP3 download.

10 - Launch EMC and navigate to Organization Configuration-> Mailbox-> Database Management.

11 - Right click the database and select “Move Database Path”.  Make it the same as the original database folder and filename.  "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0252068739\Mailbox Database 0252068739.edb"
     "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0252068739\Mailbox Database 0252068739.edb"
     and
     "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0252068739"

12 - Right click the database and select Properties...  At the top, rename the database the same as the backup.

13 - Dismount the database.

14 - Right click the database and select Properties..., then Maintenance
     Check Box - This database can be overwritten by a restore.

14 - Replace the database folder with your backup
    "C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0252068739"

15 - Mount the database.

16 - In EMS, run: Disable-Mailbox <username> for each user.
     This will clear out any "left over" Exchange attributes on the AD user from the old server.

17 - In EMC, got to Recipient Configuration, Disconnected Mailboxes.
     Reconnect the mailboxes to their AD user with the wizard.
0
 
kitmaxAuthor Commented:
The other authors directed me to large portions of the solution, I wrapped it all up as a "complete" solution to the original problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.