Avatar of Barry Fields
Barry Fields
Flag for United States of America asked on

Unable to switchover databses in DAG

When I try to switch database in my DAG I get the following error

error
mail2k16.wienerrealtors.com
Server "mail2k16.wienerrealtors.com" is enabled for DatabaseCopyActivationDisabledAndMoveNow. Moving databases to such servers may be ineffective because the system will automatically attempt to move again as soon as a healthy copy is detected.
Exchange

Avatar of undefined
Last Comment
Barry Fields

8/22/2022 - Mon
Jacob Durham

Is the database healthy? Why are you changing it? We need more information.
Barry Fields

ASKER
The database is healthy I want to return to the primary server. I had place the primary in maintenance mode. I ran the commands to take it out of maintenance mode but now when I try to switch i get the error I posted
ASKER CERTIFIED SOLUTION
Michael B. Smith

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Mahesh

Unless to turn off that parameter, exchange will try to reactivate database copy on same source server as being it has healthy database copy

assumption is you have total two database copies
Your help has saved me hundreds of hours of internet surfing.
fblack61
timgreen7077

You can set that property to false:

Set-MailboxServer "mail2k16.wienerrealtors.com" -DatabaseCopyActivationDisabledAndMoveNow $false

This will then allow the DBs to become active on this server and remain active unless a failover or manually failover.
Barry Fields

ASKER
thanks Michael