Professional Documents
Culture Documents
Referensi :
http://www.blackberry.com/btsc
The BlackBerry Enterprise Server services must be stopped during the process described in
this article.
Important: Restarting certain BlackBerry Enterprise Server services will delay email
message delivery to BlackBerry smartphones. For more information, see KB04789.
To move the BlackBerry Configuration Database to a new Microsoft SQL Server instance,
complete the following tasks:
Note: In a Microsoft Exchange environment, complete the tasks using the BlackBerry
Enterprise Server service account unless otherwise stated.
To back up the BlackBerry Configuration Database, complete the appropriate steps for the
environment:
1. Open Enterprise Manager (Microsoft SQL Server 2000) or Microsoft SQL Server
Management Studio (Microsoft SQL Server 2005).
2. Right-click the BlackBerry Configuration Database (for example, BESMgmt).
3. Select Backup Database.
4. Click Add to specify the Directory Name and File Name.
5. Click OK to accept the settings.
6. Click OK again to start the backup process.
7. Close Enterprise Manager (Microsoft SQL Server 2000) or Microsoft SQL Server
Management Studio (Microsoft SQL Server 2005) when the process is complete.
Note: If logging in to a named instance of the Microsoft SQL Server, use the following
command syntax to log in:
osql -E -S \
2> go
1> quit
Step 1
Note: Complete this task using an account with administrator access to the new Microsoft
SQL Server. Microsoft SQL Server 2005 requires the following server role permissions:
System Administrator, Database Creator.
1. Open Enterprise Manager (Microsoft SQL Server 2000) or Microsoft SQL Server
Management Studio (Microsoft SQL Server 2005).
2. Go to Microsoft Server Group > <Microsoft_Server_name> > Security.
3. Right-click Logins and select New Login.
4. From the General tab, click the double quotation marks ( "" ) button.
5. From the Global Address List, select the name of the BlackBerry Enterprise Server
service account.
6. Click Add, then click OK.
7. On the Server Roles tab, select Server Administrators and Database Creators.
Note: In BlackBerry Enterprise Server software version 4.1, the System Administrator role
is needed for role-based administration.
8. Close Enterprise Manager (Microsoft SQL Server 2000) or Microsoft SQL Server
Management Studio (Microsoft SQL Server 2005).
MSDE
Step 2
Depending on the environment, turn on the correct server protocols.
1. Click Start > Microsoft SQL Server 2005 > Configuration Tools > Microsoft
Server Configuration Manager > Microsoft Server 2005 Network Configuration.
2. Select the Microsoft SQL Server instance that will be used for the BlackBerry
Configuration Database.
3. If necessary, turn on the TCP/IP and Named Pipes protocols.
4. If a protocol is turned on in the previous step, restart the Microsoft SQL
Serverservices.
Step 3
1. Open the Windows® Control Panel, then open Administrative Tools > Services.
2. Verify that the Microsoft Server Agent service is started and that the Startup type is
set to Automatic.
3. Close the Services window.
Step 4
Important: If the BlackBerry Enterprise Server software was installed to create a blank
BlackBerry Configuration Database on a new Microsoft SQL Server instance, do not
perform the following task because the schema has already been updated.
1. Download the installation package for the version of the BlackBerry Enterprise
Server that is being used.
2. Extract the contents of the installation package.
3. Copy the Database folder to the new Microsoft SQL Server.
Depending on the environment, use one of the methods below to restore the BlackBerry
Configuration Database. There are two methods available: restoring the BlackBerry
Configuration Database from a backup, or detaching and re-attaching the BlackBerry
Configuration Database files. The following are the steps for MSDE and Microsoft SQL
Server 2000 and 2005.
Note: When logging in to a named instance of the Microsoft SQL Server, use the
following command:
osql -E -S \
2> go
1> quit
1. Copy the BlackBerry Configuration Database backup to the C:\ path of the new
Microsoft SQL Server.
2. From a command prompt, type osql -E and press Enter.
Note: When logging in to a named instance of the Microsoft SQL Server, use the
following command:
osql -E -S \
2> go
1> quit
Note: To determine the logical file names _data and _log for the BlackBerry
Configuration Database, complete the following steps:
2. Type the following commands in the specified order, pressing Enter after
each command:
2> go
3. The items circled in the following image are the two logical file names for the
BlackBerry Configuration Database:
1. Open Enterprise Manager (Microsoft SQL Server 2000) or Microsoft SQL Server
Management Studio (Microsoft SQL Server 2005).
2. Right-click the Databases (for example, BESMgmt).
3. Select Restore Database.
4. Click From Device and browse for the .bak file.
5. Click OK to accept selection.
6. Close Enterprise Manager (Microsoft SQL Server 2000) or Microsoft SQL Server
Management Studio (Microsoft SQL Server 2005) when the process is complete.
Detach and re-attach database method for Microsoft SQL Server 2000 or 2005
1. Open the Control Panel, and open Administrative Tools > Services.
2. Stop each service that has a name that begins with BlackBerry.
3. Log in to the existing Microsoft SQL Server.
4. Open Enterprise Manager (Microsoft SQL Server 2000) or Microsoft SQL Server
Management Studio (Microsoft SQL Server 2005).
5. Right-click the BlackBerry Configuration Database name.
6. Select All Tasks, and click Detach Database (see screen shot below), or for
Microsoft SQL Server 2005 select Tasks and click Detach.
7. Close Enterprise Manager (Microsoft SQL Server 2000) or Microsoft SQL Server
Management Studio (Microsoft SQL Server 2005).
8. Go to the Microsoft SQL Server Data directory and copy the MDF and LDF files.
1. Open the Control Panel, and open Administrative Tools > Services.
2. Stop each service that has a name that begins with BlackBerry.
3. Log in to the existing MSDE Server.
4. From a command prompt, type osql -E and press Enter.
Note: When logging in to a named instance of the Microsoft SQL Server, use the
following command:
osql -E -S \
2> go
1> quit
6. Go to the Microsoft SQL Server Data directory and copy the MDF and LDF files.
7. Move the files that were copied in step 6 to the new Microsoft SQL Server.
8. Log in to the new MSDE Server.
9. From a command prompt, type osql -E and press Enter.
Note: When logging in to a named instance of Microsoft SQL Server, use the
following command:
osql -E -S \
2> go
2> quit
11. Move the files that were copied in step 6 to the Microsoft SQL Server Data
directory. When prompted to overwrite the files, click Yes.
12. From a command prompt, type osql -E and press Enter.
Note: If logging in to a named instance of Microsoft SQL Server, use the following
command syntax to log in:
osql -E -S \
4> go
1> quit
1. On the BlackBerry Enterprise Server, click Start > Programs > BlackBerry
Enterprise Server > BlackBerry Server Configuration.
2. On the Database Connectivity tab, select Change Database. (see screen shot
below)
3. In the Change Database Wizard, specify the new Microsoft SQL Server name and
the existing BlackBerry Configuration Database name.
4. Continue with the wizard. Make sure that the Start Services check box is selected,
and click Finish.
5. Open Administrative Tools > Services and make sure that all of the BlackBerry
Enterprise Server services started successfully.
6. Open BlackBerry Manager and make sure that the correct database is set up by
completing the following:
3. Go to Tools > Options > Database and verify that the Microsoft SQL Server
information and BlackBerry Configuration Database name are correct.
4. Verify that all of the BlackBerry smartphone user accounts appear on
BlackBerry Manager.
7. If there is a remote BlackBerry Manager, make sure to check the settings from step
6.
8. Test email message flow from the BlackBerry smartphone.
For BlackBerry Enterprise Server software version 4.1, install the database
notification system
Note: This is only required in smaller environments running a maximum of 3 BlackBerry
Enterprise Server instances.
BlackBerry Enterprise Server 5.0 does not have a change database option like previous
versions. KB18129 explains the process for BlackBerry Enterprise Server 5.0.
ADDITIONAL INFORMATION
When moving from an MSDE server instance to a full Microsoft SQL Server instance on a
separate computer, see KB04039 for information on how to increase the mail agent
limitation on the BlackBerry Enterprise Server.
If receiving an error that the BlackBerry Configuration Database is in use, complete the
following steps:
1. Remove all the BlackBerry smartphone user accounts from the BlackBerry
Configuration Database by typing the following commands at a command prompt:
OSQL -E
1> use master
3> go
2> go
1> exit
OSQL -E
3> go
1> exit
OSQL -E
5> go
1> exit
Type: Support Content
Product(s) Affected:
UMAS_ARCHIVESTATE_ACTIVE_1_1
GuidedSearch /rfPlayerWidget.do search
true
Overview
In BlackBerry Enterprise Server 4.0 and 4.1, Change Database is available in the BlackBerry
Server Configuration Panel. This option is no longer available as of BlackBerry Enterprise
Server 5.0.
To configure the BlackBerry Enterprise Server to use a new BlackBerry Configuration Database
or a new database server, the BlackBerry Enterprise Server setup application must be run again.
Important: This will stop and restart the BlackBerry Enterprise Server and may delay message
delivery to BlackBerry smartphones.
Steps to Configure the BlackBerry Enterprise Server 5.0 to connect to the new BlackBerry Configuration
Database:
1. Run Setup.exe from the source installation folder. By default, this location is <drive>:\Research In
Motion\BlackBerry Enterprise Server 5.0.0 or <drive>:\Research In Motion\BlackBerry Enterprise Server
5.0.1
2. Accept the License Agreement and click Next.
3. On the Database Information Screen, update the Database server information with the new Microsoft SQL
Server name and the restored BlackBerry Configuration Database name.
4. Reinstall any previously installed Maintenance Releases.
5. Repeat these steps on any remote nodes of the BlackBerry Administration Server, BlackBerry® Mobile
Data System Connection Service, and BlackBerry Monitoring Server.
Note: After the setup has completed and the services restarted, message flow and organizer data
synchronization will continue as usual. No interaction is required by the BlackBerry smartphone
users.