Go Back   BlackBerry Forums > BlackBerry Enterprise Server > General BES Discussion

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28-08-2007, 07:31 PM
Member
 
Join Date: Aug 2007
Posts: 5
Post completly move blackberry software from 1 server to another

Hi all, im new here so il start introducing myself. My name is Arjan im 19 years old and im from holland, Right now i work for a company to compleet my ICT education.

Here is the situation, we have 2 servers both 2003, we use 'Microsoft SQL Server Desktop Engine (MSDE)'. My boss asked if it was possible to complety move the blackberry software (NOT only the database) from 1 server to the 2nd server without getting troubles like people that cannot connect to the server anymore or other errors.

I already checked the procedure to export and import the database, but as i explained my boss asked if we could completly move the software, his main consern was that we could get trouble because both 2003 servers got another name.

I hope u understand my question, if their are any question il try to answer them!

Thanks in advance

-Arjan
Reply With Quote
  #2 (permalink)  
Old 28-08-2007, 11:45 PM
BESadmin's Avatar
Administrator
 
Join Date: Aug 2006
Posts: 1,757
How to perform a knife-edge cutover for BlackBerry Enterprise Server

Doc ID : KB10278
Last Modified : 2007-08-07
Document Type : How To

Procedure

To perform a knife-edge cutover of the BlackBerry Enterprise Server to another computer, complete the following tasks:
  1. Record the appropriate BlackBerry Enterprise Server information.
  2. Set the local permissions on the new BlackBerry Enterprise Server computer.
  3. Move the BlackBerry Configuration Database.
  4. Stop the BlackBerry services on the existing BlackBerry Enterprise Server computer.
  5. Ensure that the required prerequisites are met.
  6. Install the BlackBerry Enterprise Server software on the new computer.
Task 1

Record the appropriate BlackBerry Enterprise Server information.
  1. Open BlackBerry Manager.
  2. Record the name of the BlackBerry Enterprise Server that is being moved, and then close BlackBerry Manager.
  3. In the Microsoft Windows® Control Panel, go to Administrative Tools > Services.
  4. Right-click BlackBerry Dispatcher, and then click Properties.
  5. Record the user name that is specified in the This account field on the Log On tab.
  6. Close the Control Panel.
Task 2

Set the local permissions on the new BlackBerry Enterprise Server computer. For instructions, see KB02276.

Task 3

Move the BlackBerry Configuration Database.

Note: If you are running a remote Microsoft SQL Server™ and you want to continue using it, skip this step. If you are running a local installation of Microsoft Data Engine (MSDE), download and install MSDE 2000a from the Microsoft Download Center before proceeding with the backup and restore procedure.

Back up the BlackBerry Configuration Database, and then restore it on the new BlackBerry Enterprise Server. For instructions, see KB03112.

Task 4

Stop the BlackBerry Enterprise Server services on the existing BlackBerry Enterprise Server.
  1. On the existing BlackBerry Enterprise Server, in the Control Panel, go to Administrative Tools > Services.
  2. Right-click each BlackBerry Enterprise Server service, and then click Stop.
  3. Once the services are stopped, right-click each service again and set the Startup type to Manual or Disabled. If the original BlackBerry Enterprise Server restarts and the services are still set to Automatic, the Server Routing Protocol (SRP) Authentication Key and SRP Identifier (ID) may be disabled on the new BlackBerry Enterprise Server.
  4. Close the Services window and the Control Panel.
Task 5

Verify that you have the required prerequisites for installing the BlackBerry Enterprise Server software. For information, see the BlackBerry Enterprise Server for Microsoft Exchange: Installation Guide for the appropriate BlackBerry Enterprise Server software version.

Task 6

Install the BlackBerry Enterprise Server software on the new computer.
Log in to the new computer using the BlackBerry Enterprise Server administration account, and then install the BlackBerry Enterprise Server software version that is running on the existing computer. For example, if the existing computer is running BlackBerry Enterprise Server software version 4.1 Service Pack 1, install BlackBerry Enterprise Server software version version 4.1 Service Pack 1 on the new computer. For instructions, see the BlackBerry Enterprise Server for Microsoft Exchange: Installation Guide for the appropriate BlackBerry Enterprise Server software version.

Note: During the installation procedure, make sure to remember the following points:
  • When prompted for a BlackBerry Enterprise Server name, use the same name as the existing BlackBerry Enterprise Server name. This information was recorded in Task 1.
  • If the BlackBerry Configuration Database has been moved (as in Task 2), use the path to the new Microsoft SQL Server as the location of the BlackBerry Configuration Database. If a local installation of MSDE is used on the new BlackBerry Enterprise Server computer, select Local.
  • Do not start the BlackBerry Enterprise Server services for the new BlackBerry Enterprise Server until they are stopped on the existing BlackBerry Enterprise Server computer. Important: Restarting certain BlackBerry Enterprise Server services will delay email message delivery to BlackBerry devices. For more information, see KB04789.
Additional Info

When using BlackBerry® Mobile Data System (BlackBerry MDS) Services, you must create a new mdss and mdss_dis database. A knife-edge cutover of the BlackBerry MDS Services is not supported.

Note: MDSS is supported only if the BlackBerry Enterprise Server name is not changed.

If the existing BlackBerry Enterprise Server is removed from the environment, make sure that all software configuration files that are stored on it are moved to either the new BlackBerry Enterprise Server, or to a different location in the environment. Software configuration settings should be modified accordingly.
Reply With Quote
  #3 (permalink)  
Old 29-08-2007, 04:40 PM
Member
 
Join Date: Aug 2007
Posts: 5
Hi BESAdmin, Thanks alot!

cheers!
Reply With Quote
  #4 (permalink)  
Old 29-08-2008, 10:00 PM
Member
 
Join Date: Aug 2008
Posts: 7
Will it work if we are using diff server name

Hi Guys,

Post is gonna help a lot. But, in my scenarion new server name is different?? So, in Task 6, which server name I need to provide??

Pls confirm the same..

Niks....
Reply With Quote
  #5 (permalink)  
Old 31-08-2008, 04:24 AM
GaryCutri's Avatar
Moderator
 
Join Date: Sep 2006
Location: Melbourne
Posts: 2,550
Quote:
Originally Posted by Niks View Post
Hi Guys,

Post is gonna help a lot. But, in my scenarion new server name is different?? So, in Task 6, which server name I need to provide??

Pls confirm the same..

Niks....
Hi,

Are you using MSDE or full SQL?

Thanks,

Gary
Reply With Quote
  #6 (permalink)  
Old 31-08-2008, 10:52 PM
TechGuy's Avatar
Member
 
Join Date: Sep 2006
Posts: 21
Quote:
Originally Posted by GaryCutri View Post
Hi,

Are you using MSDE or full SQL?

Thanks,

Gary
I need to perform the same task and I have msde.
Reply With Quote
  #7 (permalink)  
Old 31-08-2008, 10:55 PM
GaryCutri's Avatar
Moderator
 
Join Date: Sep 2006
Location: Melbourne
Posts: 2,550
Quote:
Originally Posted by TechGuy View Post
I need to perform the same task and I have msde.
Moving BlackBerry Enterprise Server for Exchange to a New Server

MSDE\SQL 2005 Express Version

By Gary Cutri
Draft Version 1

Before You Begin

1.Ensure you have a copy of the full BES install package that is the same version of your current installation (e.g. besx_4.1.4.exe).

2.Ensure you have allowed Port 3101 TCP Outbound on your firewall from the IP Address of the new BES server.

3.If a new BES service pack is available please download it prior to starting this process.

4.It is preferred that you new BES has Server 2003 w/SP1 or higher installed.

Preparation Stage

Note: You should use your normal Domain Admin account (e.g. Administrator) to perform the following tasks.

1.Install Exchange System Manager on you new server that you plan to install the BES. Ensure you install all the same service packs and updates that are running on your mail server (e.g. SP2 and Microsoft Exchange DST patches). To confirm this stage is complete compare the versions of cdo.dll and mapi32.dll on the mail server to the BES.

Note: If you go to “Control Panel > Add\Remove Programs > Select Show Updates” you can see all the service packs installed on your Exchange Server.

2.On the new server set the permissions for your Blackberry service account (e.g. BESadmin).
-Make BESadmin a local Administrator of the server.
-Go to Admin Tools on open "Local Security Policy" and expand the "Local Policies" and "User Right Assignment". You need to add BESadmin to "Log on Locally" and "log on as Service".

3.Install MSDE on your new BES. If you are not using “MDSE Services” (i.e. RIMs application development environment) you can install SQL 2005 Express (During the 2005 Express install uncheck “Hide Advanced Options” and then choose to install a default instance). Once either version is installed download and install SQL Server Management Studio Express. If you are missing any prerequisite applications they can be found HERE.

4.Copy the BlackBerry Install package to the new BES and extract the files without running the setup.

5.On the new BES go to the command prompt and navigate to the Database directory in the extracted install files. (e.g. Default Extraction Path = c:\Research In Motion\BlackBerry Enterprise Server 4.1.x\Database). From the Database directory run CreateDB.exe BESMgmt.cfg to create a new blank BESMgmt database (This method also ensures the correct SQL schema is in place).

6.On the new BES open SQL Server Management Studio Express and expand the Security folder and right mouse click Logins and select New Login. From the Login – New window select Search and when the next window appears change your Location to Entire Directory and then enter the name of your BlackBerry Service Account (e.g. BESadmin) and then select OK once you have successfully checked the name.

Note: This long method is used to ensure the correct Domain and account name is selected.

7.Once you have successfully selected the Login Name you will be returned to the Login – New window. Now select Server Roles in the left column and choose dbcreator and sysadmin.

Move the Database


1.Log onto your old BES and stop and disable all of the BlackBerry services

2.Go to the command prompt and run the following commands to backup the database.

-osql –E
-backup database BESMgmt to disk = “c:\BESMgmt.bak”
-go
-exit

3.Copy the BESMgmt.bak file to your new Blackberry Server

4.On your new BES open SQL Server Management Studio Express and expand the Database folder. Now right mouse click BESMgmt and select “Tasks > Restore > Database”. From the restore window select From Device and then select File from Backup Media and now add the backup file.

5.Once you have added to path to the BESMgmt.bak restore file select the Restore checkbox in the lower window. Now select Options in the left column and check Overwrite the existing Database. Now select OK to restore the database.

Prepare the Migrated Database

1.Now that the database has been restored within SQL Server Management Studio Express you need to expand the BESMgmt database and select Tables. In the centre window right mouse click ServerConfig and select Open Table. Now edit the columns below and update them to display the new server name.

-ServiceName
-MachineName
-RPCEndPoint (only edit the name after “\pipe\BESMonitor” )

2.Still within the ServerConfig table scroll to the MDSAGConfigId column and ensure it is set to NULL. Now close the ServerConfig table and reselect the Tables fold in the left column and locate the MDSAGConfig table in the centre section. Once again right mouse click and select Open Table and ensure you can only see one row containing all NULL values. If a row containing server settings appears select that entire row and delete it. You can now close the MDSAGConfig table and we can now be assure no old MDS Service settings are migrated and they can be installed fresh on this new server.

3.Now select the Tables folder in the left column again. In the centre window right mouse click MDSConfig and select Open Table. Now edit the columns below and update them to display the new server name.

-MDSHost
-MachineName
-ServerName (only edit the name before “_MDS-CS_X”)

Installing the New BES

1.Log onto the new BlackBerry Server using your BlackBerry Service Account (e.g. BESadmin)

2.Run setup.exe from the install files we extracted earlier and enter your company details and select next

3.Select the BES installation type that you require (Note: BlackBerry Professional users don’t have these options). Please be aware that the first option “BlackBerry Enterprise Server” includes standard MDS to allow internet\intranet browsing via the BES. The second option “BlackBerry Enterprise Server with MDS Services” is only require if you plan on developing your own BlackBerry applications (note: you can’t select this option if you use SQL 2005 Express).

4.Now just step through the installer until you are prompted to restart. Once the server has restarted logon again as your BlackBerry Service Account and the installer will automatically start again after a few minutes (if it doesn’t just run the setup.exe file again to resume). You will now will be prompted for your database location and settings which should be correct by default. Once the settings are correct just select Next and shortly (if the installer is a newer version you will be prompted to upgrade) you should see your BES CAL on the next screen.

5.Now just continue through the remaining screens and changed any setting if required. Once you get to the last screen uncheck the “Start Services” (i.e. DO NOT START THE SERVICES) and finish the install.

6.Now open BlackBerry Manager (a MAPI error may appear) and ensure your server name is correct and all your users appear. Once you confirm the data is valid go to windows services and start the Blackberry Services in the following order:

-BlackBerry Router.
-BlackBerry Dispatcher.
-BlackBerry Controller.
-All remaining BlackBerry services.

7.Open Blackberry Manager and select the Servers tab and then select Exchange and in the properties window below ensure the server is Running and the SRP is Connected

8.Now from the BlackBerry Manager sort your users by Last Contact Time (latest first) and you should see your users being contacted and updated. (Please note delays in communication may occur as it performs mailbox rescans so wait up to 30 minutes for the service to fully resume).

9.Once you confirm your BES is functioning correctly wait 24 hours and install the latest services packs. Once again ensure you logon as the BlackBerry Service Account when installing any updates.

Note:
Ensure all other technicians are aware that the BES has been moved and they MUST NOT start the BlackBerry Services on the old BES

Cleanup Stage

1.Once your new BES has been functioning for correctly for a few days please uninstall your old BES.

2.The extracted setup files can be removed if required
Reply With Quote
  #8 (permalink)  
Old 01-09-2008, 05:07 PM
Member
 
Join Date: Aug 2008
Posts: 7
Hi, In present BES 4.1 server we are using MSDE.. And it gonna be MSDE in new Server as well.
Reply With Quote
  #9 (permalink)  
Old 01-09-2008, 05:08 PM
Member
 
Join Date: Aug 2008
Posts: 7
Quote:
Originally Posted by GaryCutri View Post
Hi,

Are you using MSDE or full SQL?

Thanks,

Gary
Hey, first of all thanks for your prompt response. In present BES 4.1 we are using MSDE..And in new server also it gonna be MSDE...One more thing. On present BES 4.1 server, we are having Exchange 2003 SP2 but on new server Exchange 2007 has been installed. So, will abole steps work for the movement?? Or, do I need to follow any other steps?? If it is like dat, kindly mention the steps and considerations for movement..

Thanks,
Nirali...

Last edited by Niks; 01-09-2008 at 05:15 PM.
Reply With Quote
  #10 (permalink)  
Old 01-09-2008, 10:15 PM
GaryCutri's Avatar
Moderator
 
Join Date: Sep 2006
Location: Melbourne
Posts: 2,550
Quote:
Originally Posted by Niks View Post
Hey, first of all thanks for your prompt response. In present BES 4.1 we are using MSDE..And in new server also it gonna be MSDE...One more thing. On present BES 4.1 server, we are having Exchange 2003 SP2 but on new server Exchange 2007 has been installed. So, will abole steps work for the movement?? Or, do I need to follow any other steps?? If it is like dat, kindly mention the steps and considerations for movement..

Thanks,
Nirali...

Hi,

On the server you have selected to the new load BlackBerry Enterprise Server download and install “Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1” which is available from the Microsoft Download site (a.k.a ExchangeMapiCdo.EXE). This will install the CDO and MAPI DLLs which are no longer available in Exchange 2007. This replaces the previous requirement to have Exchange System Manager installed as in Exchange 2000 or 2003 environments. The current download link is as follows:
http://www.microsoft.com/downloads/details.aspx?FamilyID=e17e7f31-079a-43a9-bff2-0a110307611e&DisplayLang=en

2. Log onto your Exchange 2007 Server using an account which has permissions to create an account. Open the Exchange Management Console and create a service account called BESadmin.

3. From the Exchange 2007 server open the “Exchange Management Shell” which can be found in the Exchange program group. From EMS run the following two scripts to set the delegate control and required permissions:

get-mailboxserver <mail_server_name> | add-exchangeadministrator BESAdmin –role ViewOnlyAdmin

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

Thanks,

Gary
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +11. The time now is 09:04 PM.

Copyright ©2006 - 2008 BLACKBERRYFORUMS - RIM and Blackberry are Registered Trademarks of Research In Motion


Search Engine Friendly URLs by vBSEO 3.2.0