• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 452
  • Last Modified:

Redistribution of Exchange 2010 Databases

Hi

We are running Exchange 2010 SP1. We have the following set up:
 
1 DAG split between London and Paris. DAG has 6 servers, 3 in each site. We have about 80 databases altogether. Two of the servers are lag servers.
 
We performed some maintenance on one of the non-lag servers, to the DB's are distributed unevenly between the remaining 3.

WHat's the best way to get all the DB's back to their Preference 1 server? Surely, we don't need to go through each DB and move manually?
0
richlionel
Asked:
richlionel
  • 3
1 Solution
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
So if i understand you have DAG1 DAG2 DAG3 DAG4 and LAG1 LAG2 .... right

You earlier had all 80DC's on one DAG ..... now after some maintenance they are split equally between all 4 servers ? and you now want all 80DB's on one DAG ?

What i guess as you know DB1, 5, 8 .... etc have DAG1 as preference you can put the command in a .Ps1 and run it.

- Rancy
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Something like below into a ActiveonDAG1.ps1

Move-ActiveMailboxDatabase DB1 -ActivateOnServer DAG3 -MountDialOverride:None

Move-ActiveMailboxDatabase DB5 -ActivateOnServer DAG3 -MountDialOverride:None

Move-ActiveMailboxDatabase DB8 -ActivateOnServer DAG3 -MountDialOverride:None

Move-ActiveMailboxDatabase DB11 -ActivateOnServer DAG3 -MountDialOverride:None

Move-ActiveMailboxDatabase DB17 -ActivateOnServer DAG3 -MountDialOverride:None

- Rancy
0
 
richlionelAuthor Commented:
Excellent, thanks Rancy.

So we'd basically write a script that would activate each DB on its Preference 1 server?

Out of interest, what if that Preference 1 server was down? Could we write in the script to say:

- If Preference1 server (e.g. LON1) was down, then activate on the Preference2 server (e.g. LON2)?

...or would that happen automatically anyway?
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
So we'd basically write a script that would activate each DB on its Preference 1 server? - I would say its more of Exchange shell commands consolidated into one file to run :)

If LON2 is the second preference so it should automatically fail when you restart ....

- Rancy
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now