Solved

Exchange Dag removal with NO Exchange installed

Posted on 2011-09-05
5
942 Views
Last Modified: 2013-11-05
I have a situation with a Domain that previously had 2 Exchange servers in a DAG. A situation arose where we lost one of the servers, which had to be rebuilt. On the other Exchange server we couldn't get into The Exchange Server Management Console, as it kept trying to connect to the first  exchange server, which currently does not have Exchange installed on it. Decision was made, probably wrongly in retrospect, to uninstall Exchange off of the 2nd Server, and just start the whole Exchange install from scratch
. Well Exchange did not want to come off voluntarily, so it was forcefully removed by manual editing of the Registry, and deletion of the Exchange folders, and finally by Adsi Edit. Now we are not able to re-install Exchange on EITHER Server, as it keeps failing with the message
"Exchange server is a member of a database availability group", this is using Setup /m:Recoverserver, as the normal setup forces us down that route. I have searched everywhere for a solution for DAG removal, but all the fixes I have seen require you to have at least access to the Exchange  Command Prompt Console, and as one is a new server build, and one has had the Exchange removed from it, there are currently no Exchange Consoles available on the network. Can anyone suggest a way in which we can clean out any of the old references to any previosly installed Dags? Or any other suggestions?
Many thanks in advance
.
Steve
0
Comment
Question by:steve-1966
  • 3
5 Comments
 
LVL 33

Accepted Solution

by:
Busbar earned 50 total points
Comment Utility
can you try installing Exchange on re-installed OS and with new server names.
0
 
LVL 9

Expert Comment

by:akitsupport
Comment Utility
0
 

Author Comment

by:steve-1966
Comment Utility
I'll try renaming one of the servers and see if that helps.

The Technet article I have already tried, but is no good for this situation as it requires a version of Exchange to be installed somewhere in order for any of the "Get-MailboxDatabase, Remove-MailboxDatabaseCopy, Remove-DatabaseAvailabilityGroupServer " commands to work.
0
 

Author Comment

by:steve-1966
Comment Utility
OK, renaming one of the servers allowed me to proceed further, to a point where it said that I had to run setup /adprep. This was duly done and then received a different error during the process, saying something about "The well-known object..." which upon evaluation was referring to a link in AD that was pointing to something that no longer existed. Searching with Google said to remove the reference using adsi edit or ldp. Went through adsi edit again, but definitely no further references to Exchange remained. Went into lpd, and after some searching around, did find 2 remaining subtrees pertaining to Exchange. Deleting these has allowed me to install Exchange 2010 on both servers with their original names. So thanks to Busbar for your simple suggestion, although it didn't allow for a direct fix, it did give me another clue that allowed me to find a fix on the web for the issue - I wish I had thought of that!
0
 

Author Closing Comment

by:steve-1966
Comment Utility
Whilst this did not provide a direct fix, it led me to a different error that was the clue I needed in order to get this resolved, allbeit by searching the new error on Google.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
To show how to generate a certificate request 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 Servers >> Certificates…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

743 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

16 Experts available now in Live!

Get 1:1 Help Now