Configure BlackBerry Enterprise Service 10 components to support database mirroring

Before you begin:
  • It is a best practice to perform this task when device activity is low because device service is interrupted when you restart the computers that host the BlackBerry Enterprise Service 10 components.
  • Verify that the mirror server is running.
  1. On the computer that hosts the core BlackBerry Enterprise Service 10 components, on the Start menu, click Run.
  2. Type regedit. Click OK.
  3. Perform the following actions:

    Action

    Steps

    Configure database mirroring support for BlackBerry Device Service components

    1. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Research In Motion\BlackBerry Enterprise Service\Database.
    2. Right-click the FailoverServerMachineName value and click Modify. In the Value data field, type the name of the mirror sever.
    3. Click OK.

    Configure database mirroring support for Universal Device Service components

    1. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Research In Motion\Universal Device Service\Setup\Components\DB.
    2. Right-click the FailoverServerMachineName value and click Modify. In the Value data field, type the name of the mirror server.
    3. Click OK.
  4. Repeat steps 1 to 3 on any other computer that hosts BlackBerry Enterprise Service 10 components.
  5. On the computer that hosts the core BlackBerry Enterprise Service 10 components, browse to <drive>:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Service 10\Core.
  6. To decrypt the section of the web.config file that you need to change, in the command line, execute the following command (change the installation file path if necessary):
    %Windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -pdf "appSettings" "C:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Service 10\Core"
  7. In a text editor, open the web.config configuration file.
  8. In the <add key="DataProviderConnectionString"...> section, add the following attribute to the double-quotes after value=: Failover Partner=<mirror_server>, where <mirror_server> is the name of the mirror server.
    Example: <add key="DataProviderConnectionString" value="Data Source=server-sql01,1433;...MultipleActiveResultSets=True;Failover Partner=mirrorserver.testnet.rim.net" />
After you finish: Restart the computer that hosts the core BlackBerry Enterprise Service 10 components, and any other computer that hosts BlackBerry Enterprise Service 10 components.