• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 726
  • Last Modified:

Migrating Blackberry Enterprise Server

http://www.blackberryforums.com/bes-admin-corner/151067-moving-blackberry-enterprise-server-exchange-new-server.html

Followed this guide to migrate BES. Everything went through smoothly with no errors. When I disabled the Blackberry services on the old BES, and turned ON all the Blackberry services on the new BES, the new BES was not communicating.

Where should I start looking for possible reasons, why its not working on the new BES???

On new BES:
* Installed Exchange System Manager
* Gave BESadmin local Admin rights
* Installed SQL 2005 Express
* Migrated SQL Database
* Gave BESadmin SQL Admin rights
* Changed SQL Table (ServerConfig table) properties to point to new BES
* Installed Blackberry Enterprise Server software on new BES.
* Started Blackberry Services
* Ensured Blackberry Server is Running, and SRP is Connected.

* USERS - Last Contact Time (2 hours ago, and not updating).

What did I do wrong?

0
pzozulka
Asked:
pzozulka
  • 8
  • 7
5 Solutions
 
Gary CutriCommented:
Hi, the most important step is to ensure you create the blank database using the createdb command, and then you must ensure you restore the migrated database into the blank db.  Send me a PM via the link above if you get stuck (I wrote that guide).
0
 
pzozulkaAuthor Commented:
Hey, amazing to meet the person who actually wrote that. :)

That part, I followed to the letter, and it went through successfully.

Step 5 was successful.
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).

These were successful as well:
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.
0
 
pzozulkaAuthor Commented:
It was a very clear article. I had absolutely no questions at all, it was that clear. The only thing that I did not do is in the step below, I did not find the option "Log on Locally". Can that have anything to do with this?

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".
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Gary CutriCommented:
If you install BES onto a Domain Controller you don't have a  "Local Security Policy" option as it is replaced with "Domain Controller Security Policy".  Also if it is a domain controller you need to make the BESadmin account a local administrator by going into AD > Builtin > Administrators and adding the service account.
0
 
Gary CutriCommented:
Also when you start the BES on the new server you must be patient.  Keep in mind the BES has to rescan all user mailboxes so it can to 15 minutes or more before the last contact times updates.  Just sort the users by contacts time, go have a coffee and when you come back press refresh and you should see them updating.  The users are processed in lots of 5 to 10 depending on the mailbox sizes.
0
 
pzozulkaAuthor Commented:
The new BES is not a DC. It is a Virtual Machine, that we just created for the sole purpose of hosting BES. Still couldn't find "Log in Locally" option. I did add BESadmin as Local Administrator.

We only have about 15 Blackberry Users. Should it still take 15 min to rescan user mailboxes for only 15 users?

Since I was not patient, I only gave it 5 min. Gave up as the users login times were not refreshing. So I stopped all the services on the new BES, and went to start up all the Blackberry services on the old BES. So now Blackberries are working under the old BES server.
If I want to give this another attempt, do I have to go through the whole SQL database migration process again????
Can I simply shutdown all the services on old BES, and start up all blackberry services on the new BES, to give it another try????
0
 
Gary CutriCommented:
You should stop the old BES services > take another backup of the old database > restore it onto the new BES > change the required tables > start the BES service on the new server.  The rescan of a users mailbox can take a few minutes or more depending on the size.
0
 
pzozulkaAuthor Commented:
OK, will try again, and report back shortly. Thank you.
0
 
Gary CutriCommented:
How did you go?
0
 
pzozulkaAuthor Commented:
Sorry, still in the process. This new BES server was a VM sitting on a crappy VMware Server. Constantly crashing. We now moved the better VMware ESXi and now I am building a Windows box from scratch. Should be up and running by the end of today, and will give the migration a 2nd try tomorrow. This will be a fresh migration as I will start working with a brand new OS.

I will let you know how it goes by Tue, or Wed at the latest.
0
 
pzozulkaAuthor Commented:
The only thing I ran into both times is this attached screen shot. I tried reinstalling the Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1 again specifically on the BESAdmin account, but no luck.

The only option I have is to Close out the installer, restart the server, and restart the Setup process.
BESInstall.bmp
0
 
pzozulkaAuthor Commented:
Tried downloading it again, and this worked. Maybe I was using the wrong MAPI download initially. Looks like Blackberries are starting to communicate.

http://www.microsoft.com/downloads/details.aspx?FamilyID=E17E7F31-079A-43A9-BFF2-0A110307611E&displaylang=en
0
 
Gary CutriCommented:
On the BES you will find a utility called fixmapisvc.exe in the extracted setup files in the Tools folder.
0
 
pzozulkaAuthor Commented:
One of the other reasons MAPI was failing is because BESadmin was hidden from Exchange, so MAPI could not find this account.
0
 
Gary CutriCommented:
Great to hear you go it sorted.  Post back if you need any further assistance.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 8
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now