BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   BES Admin Corner (http://www.blackberryforums.com/forumdisplay.php?f=21)
-   -   Blackberry Messaging Agents - How do they get spawned exactly? (http://www.blackberryforums.com/showthread.php?t=196582)

JayGPAnderson 07-10-2009 02:41 PM

Blackberry Messaging Agents - How do they get spawned exactly?
 
New to this...

Running BES 4.1.6 MR5
E2K3 SP2 - clustered env (EVS1 & EVS2)
Cdo and mapi Dll's are all the same

I know the 'jist' of it but i'm looking for a more detailed doc or paper on how the agents get spawned when adding user accounts from different Exchange servers. Make sense?

Currently, I have 408 bes users which are being handled by 2 agents. Agent 1 is handling users from EVS1 (220 users) and Agent 2 handling users from EVS2 (188 users).

I tested by adding 2 more accounts located on 2 different Exchange servers (bridge head servers, just for testing...). any ways, it spawned Agent 3 and Agent 4.

Any one have any specific technical details (low level stuff)?

jibi 07-11-2009 06:21 PM

There's really not much to it. Each management agent is assigned to an Exchange server. As there are 5 default messaging agents, you could add users from 5 different Exchange servers before agent sharing would start. If you're concerned that too many users are being added to the same two agents, you can always limit the number (to 100 or so) by using the registry key MaxUsersPerAgent (HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Dispatcher). The default is 500, so this is another variable for agents being spawned (if you have one Exchange server and 800 BlackBerry users, you'd have one agent with 500 users and another agent with 300 users).

Needless to say, as for a defacto document on how it all works, I'm not sure if there is much more than what is listed in the Administration Guide and perhaps the Feature and Technology Overview (it's been a minute since I've read either one). From a health perspective, it may be a good idea to decrease the number of users and utilize all 5 default agents (EVS1 would have 3 agents - 100, 100, and 20; EVS2 would have 2 agents - 100 and 88). If you look into limiting the number of users per agent, it may also be a good idea to increase the number of agents that can be spawned from the default 5 to 10 (they will be spawned on an as-needed basis, so all 10 won't be started if they aren't required) - NumAgents is your registry key to modify (see linked blog article from the legendary hdawg).

JayGPAnderson 07-13-2009 07:27 AM

Thanks jibi.

Have you ever moved bb user mbx's over to a new exchange server (prob around 300 mbx's I'll have to move over)? I'm getting ready for E2K7 and we're adding another couple servers. Is it as easy as moving the mbx's then running the hand held cleanup tool? I have the doc's that explain how to do it, but it's one thing on paper and another when you actually do the work...just looking for other ppl's experiences.

hdawg 07-13-2009 08:12 AM

Yes it is just as easy as running the handheldcleanup ... AND making sure you don't move all the users at once. Do them in batches, say 20 users at a time otherwise you may overload the Messaging Agents they're getting moved to.


All times are GMT -5. The time now is 07:49 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.