attachments/it/lists/posts/attachments/61/image_thumb_1_74110e3c.png

Exchange 2010 and Blackberry Enterprise Server Express 5.0.1

In my blog series covering the transition from Exchange 2007 to Exchange 2010, I mentioned here that Blackberry Enterprise is fully supported, and that RIM announced a free version on February 16th called BES Express. BES Express was first made available for download on March 2nd. On March 3rd, RIM announced that each BES Express download qualifies for one free support incident. There is a comparison chart available here that compares the version differences between Express and the Full version.

This blog will discuss the details of migrating from an older version of BES 4.x to 5.0.1. This also assumes that Exchange 2010 Maintenance Release 1 is installed.

In our case we had a very small number of users so we elected not to migrate the database. Instead, the steps we followed were:

1) Uninstall BES 4.x

2) Uninstall CDO Messaging API and Collaboration Data Objects

3) Install CDO MAPI 6.5.8153

4) Install BES 5.0.1 Express. During installation I selected a different configuration database, ex: BESCFG5.

5) Create permissions on Exchange 2010 according to Blackberry KB 02276. This is necessary because the BESAdmin account needs permissions on the Exchange 2010 server and the new mailbox databases. Because there are no longer storage groups in Exchange 2010, you need to slightly modify the syntax in Task 5 because it references:

get-mailboxserver <Exchange2007> | add-adpermission -user <BESAdmin> -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin

get-mailboxdatabase ‘<Exchange2007>\First Storage Group\Mailbox Database’ | add-adpermission -user <BESAdmin> -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin

So for 2010, I ran this instead:

Get-mailboxserver | add-adpermission -user besadmin -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin

Get-MailboxDatabase | Add-ADPermission -User "BESAdmin" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin



6) Verify that the BESADMIN Account has permissions with the IEMSTest.exe utility.

Select the “BlackBerryServer’ profile and click OK.

image

Find your blackberry service account and click OK.

image

You want to interpret the results very carefully. If ALL tests below are successful, then you’re in good shape.

image

However, if you have any tests fail, then you need to go back and make sure permissions are setup correctly. For example, if you have the message OpenMsgStore failed (8004011d) then you need to make sure that you have run these two commands on the Exchange 2010 server:

Get-mailboxserver | add-adpermission -user besadmin -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin

Get-MailboxDatabase | Add-ADPermission -User "BESAdmin" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin

7) By default, Microsoft® Exchange 2010 limits the maximum number of connections from the BlackBerry® Enterprise Server to the Address Book service to 50. To permit the BlackBerry Enterprise Server to run, you must increase the number of permitted connections to a large value (for example, 100,000).

  1. On the computer that hosts the Microsoft Exchange CAS server, in <drive>:\Program Files\Microsoft\Exchange Server\V14\Bin, in a text editor, open the microsoft.exchange.addressbook.service.exe.config file.
  2. Change the value of the MaxSessionsPerUser key to 100000.
  3. Save and close the file.
  4. Restart the Address Book service.

 

See Reference.

8) If you want the BlackBerry® Enterprise Server to use Microsoft® Exchange Web Services to manage calendars on BlackBerry devices, you must configure a management role for Microsoft Exchange Web Services in Microsoft Exchange 2010.

For more information about configuring the BlackBerry Enterprise Server to use Microsoft Exchange Web Services, see the BlackBerry Enterprise Server Administration Guide.

  1. On a computer that hosts the Microsoft Exchange Management Shell, open the Microsoft Exchange Management Shell.
  2. Type New-ManagementRoleAssignment -Name "BES Admin EWS" -Role ApplicationImpersonation -User "BESAdmin".

 

See Reference.

9) If you do not have public folders in Exchange 2010, you need to modify the registry on the BES Server

If you are running a 32-bit version of Windows®, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging Subsystem\CDO.
If you are running a 64-bit version of Windows, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Messaging Subsystem.
If the CDO registry key does not exist, create a registry key that you name CDO.
In the CDO registry key, if the DWORD value does not exist, create a DWORD value that you name Ignore No PF.
Change the DWORD value to 1.

See Reference

10) “By default, Microsoft® Exchange 2010 uses client throttling policies to track the bandwidth that each Microsoft Exchange user consumes and enforce bandwidth limits, as necessary. The policies affect the performance of the BlackBerry® Enterprise Server negatively, so you should turn off client throttling.

Note: If you want to turn off client throttling for only the Windows® account that has a Microsoft Exchange mailbox, you can configure a throttling policy for the Windows account and turn off client throttling for the policy.” [Note: It would be nice if RIM would provide syntax examples for these scenarios.]

  1. On a computer that hosts the Microsoft Exchange Management Shell, open the Microsoft Exchange Management Shell.
  2. Type Get-ThrottlingPolicy | where {$_.IsDefault -eq $true} | Set-ThrottlingPolicy -RCAMaxConcurrency $null.   [Note: On the Blackberry reference below, they are missing the $ sign in front of the underscore _, so I had to add it to get this to run, otherwise it returned the error “Where-Object : The term ‘_.IsDefault’ is not recognized as the name of a cmdlet,”)

 

The previous value of RCAMaxConcurrency was 20.

See Reference

11) Create users and generate activation emails.

4 Comments

  1. Gary Cutri March 16, 2010
  2. Steve June 16, 2010
  3. Amaury Lozano December 4, 2010
  4. Jan Dye June 20, 2011

Leave a Reply