Friday, November 2, 2007

MDS What?

MDS stands for Mobile Data Service, and it is a service that allows you to access other data sources (mostly Internet / Intranet browsing) via your BlackBerry.

In BES 4.1, however, MDS has turned into a many-headed hydra. What we know of as "BlackBerry Mobile Data Service" in 4.0 is now inexplicably called the "BlackBerry MDS Connection Service" in 4.1. Meanwhile, there are a whole bunch of new MDS related services:

•BlackBerry MDS Application Integration Service
•BlackBerry MDS Data Optimization Service
•BlackBerry MDS Provisioning Service
•BlackBerry MDS Administrative and Management Service
•BlackBerry® MDS Studio Application Repository

But wait, there's more! The new MDS stuff also requires a brand new SQL db running on the same SQL server as the BESMgmt database, which can results in permission issues when creating without the proper authority.

All of the above services & database are related to the new 4.1 software deployment environment installed when you choose the upgrade option called:

"BlackBerry Enterprise Server with MDS Services and Components"

But really, this whole new "MDS" software deployment infrastructure is not needed at the initial upgrade from 4.0 to 4.1. To avoid complexity, you can leave this whole new set of services out of the upgrade. Later, you can install the new MDS stuff on a separate server if you like, as it was made to be modular and have one separate MDS instance serve many BES servers.

The confusing part is that if you run the upgrade, you get these two choices:


If I do not know *exactly* what this means, I will by default choose the second option, "BlackBerry Enterprise Server with MDS Services and Components", because I want to keep my MDS service from 4.0, right?

Wrong... choosing the first option will give you the same 4.0 MDS (renamed MDS Connection Service) while avoiding the complexity of installing the new whiz-bang MDS software deployment stuff.

In a nutshell: if you want to greatly simplify your 4.0 -> 4.1 upgrade, opt for the first install method selected in the picture above. You will lose no MDS functionality from the 4.0 perspective, and can add on the new stuff later when you are ready and comfortable with 4.1.

5 comments:

Marshall said...

Thanks, however if you have wrongly chosen the second option and you reboot, and you're then prompted to setup the new mdss and mdss_dis databases, what can you do to back out of it? The MDS service is no longer working since upgrading from 4.1.2 to 4.1.4 and if I run the Blackberry Server configuration I get an error saying to run Setup.exe to complete the installation.
Thanks

Mark said...

Hi Marshall, that is a tough situation to be in. A complete uninstall might be out of the question, so perhaps a call to RIM is in order.

Marshall said...

Thanks. I thought it would be easier to rollback so I restored the database and server back to their original states which worked fine.
I then reinstalled the service pack and chose the first option this time and it went through fine. I then ran the mr5 patch and that seemed fairly straightforward too, however I now get an error when I launch the Blackberry Server Configuration icon - "Please run Setup.exe to complete the installation before launching the Blackberry Server Configuration Panel". The last time I saw this the MDS wasn't functioning at all as it was half way through upgrading it, however this time, because I chose the first option, there is still access to the internet from the handhelds, however users are now prompted to enter credentials to get past the proxy. I had already configured a service account to do this before, and those settings are still in the console, however I believe due to the error I am seeing when launching the Control panel icon, that this is why we are being forced to enter our own credentials. I have looked to uninstall mr5 but there is no option in Add/Remove to do this. It just says "Blackberry Enterprise Server for Microsoft Exchange".

The versions I currently have are:
Blackberry Enterprise Server version: 4.1.4.16
MDS version: 4.1.4.26

Thanks
Marshall

A Fat $uM - Mu$ taf a said...

Thanks this blog saved me lots of confusion and time. Much appreciated!

sukumar said...

currently mostly blackberry mobile are selling more. It's mobile application very easy.Mobile Application Development