Article
Credits go to Father Ron at my work.
The following may look like a lot of xml code, but after pasting it into one of your creation policy rules on the Subscriber channel it is only 2 conditions and 2 actions, this is by far the easiest quickest way to load balance the creation of exchange accounts across the different homeMDBs.
We have 16 Exchange homeMDBs and we are using the xpath operation of mod and the variable of ($time (we are using the number of milliseconds) mod 16 + 1). So if you had 25 MDB's then you would modify the below code to read ($time mod 25) + 1. You will also need to update the exchange rule in the command policy as well.
<rule> <description>default Exchange assignment</description> <comment>Provision Exchange mailbox</comment> <conditions> <and> <if-global-variable mode="nocase" name="drv.exchMailboxMethod" op="equal">policy</if-global-variable> <if-class-name op="equal">User</if-class-name> </and> </conditions> <actions> <do-set-local-variable name="time" scope="policy"> <arg-string> <token-time format="!JTIME" tz="UTC"/> </arg-string> </do-set-local-variable> <do-set-dest-attr-value name="homeMDB"> <arg-value type="string"> <token-text xml:space="preserve">CN=DB</token-text> <token-xpath expression="$time mod 16 + 1"/> <token-text xml:space="preserve">,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=EXCHANGE,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=ad,DC=georgiahealth,DC=edu</token-text> </arg-value> </do-set-dest-attr-value> </actions> </rule> </policy>
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
RE: Mail Store Load Balancing in Exchange 2010 with IDM
Submitted by bkynaston on 27 January 2012 - 2:18pm.
Thanks! This is a great tip on how to specify the target mail store. It is also possible to query the target mail stores and select a target mail store based on utilization or anti-affinity rules to distribute mail accounts evenly across multiple mail stores, and prevent all the members of a department from being allocated to the same store. We do this in our TriVir Exchange 2007/2010 driver (http://www.trivir.com/solutions/powershell). Once you get into the Powershell layer, you can create linked mailboxes, manage distribution lists and completely manage all aspects of Exchange configuration and data from IDM. -- bkynaston@trivir.com
- Be the first to comment! To leave a comment you need to Login or Register


1