So, secondary server is uninstalled.
Now, we can uninstall Primary Exchange 2010 Hybrid Server or if you only have one, this blog post might be more for you.
As in the prior unstallation of the secondary Exchange 2010 hybrid servers, I start With the uninstallation to see what prereqs we have to deal With and this time the list is this With solutions:
This computer is a member of a cluster. It must be removed from the Database Availability Group with the Remove-DatabaseAvailabilityGroupServer task before uninstalling Exchange.
Solution: Remove-DatabaseAvailabilityGroupServer -Identity DAGname -MailboxServer ServerName
Setup cannot continue with the uninstall because the ‘mmc’ () process (ID: 6256) has open files.
Solution: Kill all MMC processes With Exchange Management Console.
Uninstall cannot continue. Database ‘MDNOMX11-01’: This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>.
Click here for help… http://go.microsoft.com/fwlink/?linkid=30939&l=en&v=ExBPA.14&id=4a96fd69-9cec-4a48-9571-5c9e8ab3cfe9
Get-MailboxDatabase | Select name
Get-Mailbox -Database DBname
Get-MailboxPlan -Database DBname
Get-Mailbox -Database DBname -Archive
Get-Mailbox -Database DBname -Arbitration
Removed the SearchDiscoveryMailbox, disabled the Arbitration Mailbox and dismounted the DBs:
Disable-Mailbox FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 –Arbitration – DisableLastArbitrationMailboxAllowed
Still we could only remove the prmiary database, so we needed open AD With ADSI Edit and browse Down:
Microsoft Exchange System Objects, here you will find the Object for each database. Right click and Remove them. Please note that you could make trouble if wanting to install Exchange 2010 later.
I am not gonne lie, it still didn’t allow us to remove the db and now we couldn’t Mount it either. It did recreate the AD Object we removed abit later, so we could Mount the db again. So again I had to disable the arbitration mailboxes and to my surprise it worked:
Get-Mailbox -Arbitration -Database “CurrentDatabase” | Disable-Mailbox -Arbitration –DisableLastArbitrationMailboxAllowed
Went into EMC and removed the DB. All prereqs where cleared and it is uninstalling now 🙂
Leave a Reply
You must be logged in to post a comment.