Can't mount or dismount Exchange databases

I had a 2 member Exchange 2010 DAG.
1 server failed.
I had to remove the DAG using ADSIEDIT.
Now I can't mount a dismounted database...and also cannot dismount a mounted database
I get the following error:

Couldn't mount the database that you specified. Specified database:
Mailbox DB; Error code:
An Active Manager operation failed;
Error Database 'Mailbox DB' master is invalid..

An Active Manager operation failed. Error Database 'Mailbox DB' master is invalid.


Also if you go to any of the database properties it says..
.
 Master: DAGDEL:22546911 -xxxx-xx-xx-xxx etc.

 Master type: Unknown

Is there any way to change this so I can mount and or dismount the databases.

Thanks in advance
SWC123Asked:
Who is Participating?
 
Simon Butler (Sembee)ConsultantCommented:
Why did you have to remove the DAG via adsiedit? That isn't a supported move.
You should have just recovered the server using the regular recovery methods and then restored the DAG that way.

As it is, the DAG probably hasn't been removed correctly. You need to remove it using the cluster tools. Have you recovered the failed server?

Given the mess you have made, your best option is probably Microsoft support.

Simon.
0
 
AmitIT ArchitectCommented:
Use PS and run this command

mount-database -identity dbname -force
0
 
SWC123Author Commented:
We....I tried it but no luck.
Mount-Database -identity abc mailbox database -force

I get the same error as above....master is invalid.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
SWC123Author Commented:
Yes...the server is recovered....the network card in our backup server went bad and it took the active databases on our main server down...the only way I could get the database on our main email server to mount was to remove the DAG with adsiedit....but now all 4 databases have a weird Master: DAGDEL with about 20 numbers after it.

3 of the databases are mounted...but 1 will not mount and all the others will not dismount.
They all say invalid master when I try anything.

I tried to recreate the DAG...but I keep getting errors that it cant find the default database availability group container 'Database Availability Groups' in Active Directory.

That was what I had to delete with adsiedit to get the databases to mount.
Thanks
0
 
Krishna PatilCommented:
I too faced same issue, but not able to recover from it.
Is there any way to  remove value of msExchMasterServerOrAvailabilityGroup
0
 
Seth SimmonsSr. Systems AdministratorCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
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.