Go Back   The Unofficial BlackBerry Support Forum > BlackBerry Enterprise Server > IBM Lotus Domino

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-07-2009, 05:32 PM
Member
BlackBerry Device: Bold 9000
 
Device Firmware: 4.6
 
Email Configuration: BlackBerry Enterprise Server (BES)
 
Mobile Carrier & location: ufone - lahore
 
Join Date: May 2009
Posts: 27
Migrate BES to a new machine

Hi
i have a setup of BES for IBM Lotus domino in our organization. Now we wanted to migrate the BES to another new machine, with the same computer name. We are using MSDE for database. please tell me the procedure how we can move the bes from one machine to another.

Thanks
Imran Shabbir
Reply With Quote
  #2 (permalink)  
Old 09-07-2009, 11:40 PM
GaryCutri's Avatar
Moderator
BlackBerry Device: Bold 9700
 
Device Firmware: 5.0.0.371
 
Email Configuration: BlackBerry Enterprise Server (BES)
 
Mobile Carrier & location: Telstra - Australia
 
Join Date: Sep 2006
Location: Melbourne
Posts: 9,115
Images: 221
Hi,

In your previous post I details the steps to migrate a BES for Exchange as the mail server type wasn't specified. Please disregard my previous reply and follow this guide for Domino.


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. besn_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. (I assume you will use the existing IP so this step can be skipped)

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


Preparation Stage

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


1.Install the same version of Domino on the new server.

2.(CRITICAL STEP)After Domino is installed copy the "C:\Lotus\Domino\Data\BES" (i.e the BES folder from the old machine into the exact location on the new server)

3.Install MSDE on your new BES. If you are not using “MDS 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.

Installing the New BES

1.Log onto the new BlackBerry Server using the admin account used to install the orginal BES. You can confirm this by check the logon account assisgned to the BES services.

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 required 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 and confirm the data is valid (e.g. all users and devices are listed) then 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 the Domino Server 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 connect or start the BlackBerry Services on the old BES.
Reply With Quote
  #3 (permalink)  
Old 31-07-2009, 08:22 PM
Member
BlackBerry Device: Bold 9000
 
Device Firmware: 4.6
 
Email Configuration: BlackBerry Enterprise Server (BES)
 
Mobile Carrier & location: ufone - lahore
 
Join Date: May 2009
Posts: 27
Hi,
As per your instruction i have done and migrate bes sucessfully from one machine to another. But the only problem i can face to restore the datebase.

Actullay we are using MSDE for our bes server database. i takes backup by using this command (BACKUP DATABASE besmgmt TO DISK = 'c:\backup.bak') and get the backup sucessfully. Now we facing problem when we are trying to restore the database by using this command (RESTORE DATABASE besmgmt FROM DISK = 'c:\backup.file').

System generated an error "The database is in use" . Please tell me how i can resolved this problem.

Is there any way to backup and restore the MSDE database with out using these commands? Is there any tools are available that can help me.

Regards,
Imran Shabbir
Reply With Quote
  #4 (permalink)  
Old 01-08-2009, 12:58 AM
GaryCutri's Avatar
Moderator
BlackBerry Device: Bold 9700
 
Device Firmware: 5.0.0.371
 
Email Configuration: BlackBerry Enterprise Server (BES)
 
Mobile Carrier & location: Telstra - Australia
 
Join Date: Sep 2006
Location: Melbourne
Posts: 9,115
Images: 221
Quote:
Originally Posted by imranshabbir View Post
Hi,
As per your instruction i have done and migrate bes sucessfully from one machine to another. But the only problem i can face to restore the datebase.

Actullay we are using MSDE for our bes server database. i takes backup by using this command (BACKUP DATABASE besmgmt TO DISK = 'c:\backup.bak') and get the backup sucessfully. Now we facing problem when we are trying to restore the database by using this command (RESTORE DATABASE besmgmt FROM DISK = 'c:\backup.file').

System generated an error "The database is in use" . Please tell me how i can resolved this problem.

Is there any way to backup and restore the MSDE database with out using these commands? Is there any tools are available that can help me.

Regards,
Imran Shabbir

Hi,

Just quickly install SQL Server Management Studio Express (this works with MSDE and SQL 2005 Express) and follow these two steps as I listed above in my guide.

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.

Thanks,

Gary
Reply With Quote
  #5 (permalink)  
Old 23-12-2009, 06:33 AM
Junior Member
BlackBerry Device: Curve
 
Device Firmware: 4.5
 
Email Configuration: BlackBerry Enterprise Server (BES)
 
Mobile Carrier & location: Verizon - US
 
Join Date: Dec 2009
Posts: 1
Need some Help

Gary or (whomever)

I have the same requirements of Imran specifically trying to setup a new BES server, with Lotus Domino, and am running into an issue.

In the preparation stage, step 6.

It does not allow me to change the location to Entire Directory.
It only gives me the choice of my server SERVER02.
What am I doing wrong?
Reply With Quote
  #6 (permalink)  
Old 23-12-2009, 10:26 AM
GaryCutri's Avatar
Moderator
BlackBerry Device: Bold 9700
 
Device Firmware: 5.0.0.371
 
Email Configuration: BlackBerry Enterprise Server (BES)
 
Mobile Carrier & location: Telstra - Australia
 
Join Date: Sep 2006
Location: Melbourne
Posts: 9,115
Images: 221
Quote:
Originally Posted by Alan_Fz View Post
Gary or (whomever)

I have the same requirements of Imran specifically trying to setup a new BES server, with Lotus Domino, and am running into an issue.

In the preparation stage, step 6.

It does not allow me to change the location to Entire Directory.
It only gives me the choice of my server SERVER02.
What am I doing wrong?

I assume you aren't using Active Directory? Just add the local account from Server02 that you are using for the install (e.g. Administrator),
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrate BES to a new machine imranshabbir General BES Discussion 3 10-07-2009 09:22 PM
Upgrade and migrate 4.1.3.18 to 4.1.6 and to new server Loris General BES Discussion 7 04-05-2009 10:22 PM
Migrating BES 4.1.4 to an Exch07SP1 machine Azza Microsoft Exchange 2 02-02-2009 02:48 PM
Migrate the BlackBerry Enterprise Server from Exchange 2000/2003 to Exchange 2007 BESadmin Microsoft Exchange 0 23-02-2008 07:59 PM
Migrate BlackBerry smartphones to a new Domain in the same Exchange Organization BESadmin Microsoft Exchange 0 18-09-2007 11:49 PM


All times are GMT +11. The time now is 12:16 PM.

Copyright ©2006 - 2010 BLACKBERRYFORUMS - This website and its members are not affiliated with Research in Motion (RIM). RIM and BlackBerry are Registered Trademarks of Research In Motion


Search Engine Friendly URLs by vBSEO 3.5.0 RC2