We currently have 2 mailbox servers with total of 5 databases, there are 3 users databases. I would like to achieve the following. A script that calculates the amount of users and device them by 3 and auto moves users until the load is the same. This script needs to run like every month, But! I have to have an exception list and the need to also have some like for which databases are calculated, that if there will be a 4th Db that that is going to also be calculated.
I thought myself to just have 2 files (txt or something) which holds the Db´s and one with some accounts that may not be moved at all, those exceptions are for our archiving system that needs an account per database.
I have already a certain movescript, that I can use. But completely lost over how to calculate and devide over the 3 dabases. Any help with starting up would be appreciated. To have an Idea how it has been setup.
DB´s
Users1, Users2, Users3 (so 4, 5 and so one if growing) in a db.txt
Exceptions
Archive_User1, Archive_User2, Archive_User3 in exceptions.txt
Can someone help me start this one up?