EXchange 2010 failed to run powershell scripts on 3 node DAG
I currently support a 3 node DAG 2 active 1 passive on Exchange 2010.
I am trying to run a some powershell scripts on the on a management console server that I have in the environment
When I run the scripts from the 2 CAS servers in the active environment it works fine.
However when I run the scripts in the passive node enviroment it fails. It connects to the CAS server in the passive environment and when i run the enable-mailbox command i get an error "load balancing failed to find a valid mailbox database"
Any ideas?
I have tried some fixes from several sites. I have also tried Connect-Exchange Server to point to one of the CAS servers on the Active enviroment. Ran the command and it fails.
Thanks
July 25th, 2012 11:19am
Hi
What happens when you specify the database using Enable-Mailbox <user> -database <DatabaseName>?
Steve
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2012 11:22am
That works, but I have an management server in the environment where my 2 Active servers are located and it works without specifying the database. Ill run the test again but need to know why it needs to specify the database in
the passive environment.
July 25th, 2012 11:25am
Is your passive environment in a different AD site?
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2012 11:30am
Its in a secondary datacentre yes in a different AD site. Is this the cause
July 25th, 2012 11:47am
Yes, if there are no online/active databases in that site the automatic provisioning (load balancing) will throw the error above.
More information on how this process selects mailbox databases here:
http://technet.microsoft.com/en-us/library/ff872148.aspx
Cheers, Steve
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2012 11:50am
Many thanks for this explained in detail and customer is happy. This was the issue :)
July 26th, 2012 5:26am
No worries :)
Steve.
Free Windows Admin Tool Kit Click here and download it now
July 26th, 2012 5:28am