Microsoft Exchange Server 2016 PowerShell Cookbook - Fourth Edition
by Jonas Andersson, Nuno Mota, Mike Pfeiffer
There's more...
After you've performed maintenance on your DAG members, the databases that were previously active are not moved back, even after running the stop DAG maintenance script.
If you are performing maintenance on multiple servers at the same time, you might end up with an uneven distribution of active databases running on other servers in the DAG.
To correct this, the RedistributeActiveDatabases.ps1 script, also located in the $exscripts folder, can be used to rebalance the active database copies across the DAG. There are two options for balancing active database copies within a DAG: by activation preference, and by site and activation preference.
When using the -BalanceDbsByActivationPreference parameter, the script tries to move ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access