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.
- On the computer that hosts the core BlackBerry Enterprise Service 10 components, on the Start menu, click Run.
- Type regedit. Click OK.
-
Perform the following actions:
Action
Steps
Configure database mirroring support for BlackBerry Device Service components
- Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Research In Motion\BlackBerry Enterprise Service\Database.
- Right-click the FailoverServerMachineName value and click Modify. In the Value data field, type the name of the mirror sever.
- Click OK.
Configure database mirroring support for Universal Device Service components
- Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Research In Motion\Universal Device Service\Setup\Components\DB.
- Right-click the FailoverServerMachineName value and click Modify. In the Value data field, type the name of the mirror server.
- Click OK.
- Repeat steps 1 to 3 on any other computer that hosts BlackBerry Enterprise Service 10 components.
- 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.
-
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" - In a text editor, open the web.config configuration file.
-
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.