×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

COBRAS Export Question/Suggestion

Answered Question
Nov 16th, 2011
User Badges:

So I'm no expert on the algorithim that COBRAS uses but when I say export no more than the last 5 days of messages why is COBRAS searching through messages from 2009?????? When you get into users with large mailboxes this takes a lot of time... It seems that the search is chronological backwards so I would think you could add some logic to deal with this.


This is an export from a classic unity UM Environment that i am seeing this in right now.

Correct Answer by lindborg about 5 years 9 months ago

Has to do with the joy that is working with the MAL (part of the infamous DOH layer in Unity - COM based interface into directory and message data that COBRAS has to use).


Very short version - there _are_ filters and sorting triggers that can be requested, however there are many versions and configurations that cause it to blow up entirely and drop you out with a big pile of nothing.  For instance none of them work for Domino, and the Exchange based items work most of the time depending on the version of Unity and the version of Exchange in play, but it can't be trusted.


Yes... MOST of the time the messages returned on a raw MAPI fetch are in order but you can't count on it.  So rather than risk missing messaeges of any kind I kept it simple and annoyingly inefficient and it plods through the entire inbox to check them all.


I consider offering a "I'm feeling lucky" command line override to kick the filter in or something but that's a tough sell for the cycles to spend on dev and testing I'm afraid. 

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
lindborg Wed, 11/16/2011 - 19:02
User Badges:
  • Cisco Employee,

Has to do with the joy that is working with the MAL (part of the infamous DOH layer in Unity - COM based interface into directory and message data that COBRAS has to use).


Very short version - there _are_ filters and sorting triggers that can be requested, however there are many versions and configurations that cause it to blow up entirely and drop you out with a big pile of nothing.  For instance none of them work for Domino, and the Exchange based items work most of the time depending on the version of Unity and the version of Exchange in play, but it can't be trusted.


Yes... MOST of the time the messages returned on a raw MAPI fetch are in order but you can't count on it.  So rather than risk missing messaeges of any kind I kept it simple and annoyingly inefficient and it plods through the entire inbox to check them all.


I consider offering a "I'm feeling lucky" command line override to kick the filter in or something but that's a tough sell for the cycles to spend on dev and testing I'm afraid. 

mloraditch Wed, 11/16/2011 - 19:20
User Badges:

Thanks for the insightful (and immediate) answer! Not what i wanted to hear but understandable. My last Unity to Unity Connection Migration is next month so hopefully I won't have to deal with this again.

lindborg Wed, 11/16/2011 - 19:59
User Badges:
  • Cisco Employee,

...and as far as COBRAS Export efficiency goes - we're getting ready to release a coplete rewrite of COBRAS Export for Connection that's roughly 10 to 15 times faster than the original... so folks migrating around Connection servers shouldn't be stuck doing long, ponderous exports either.  Import rewrite is next - big doings in the city.

mloraditch Wed, 11/16/2011 - 20:03
User Badges:

love to hear that as well as those I will be doing those Cxn to Cxn migrations many more times as we refresh servers and move people to UCS


Thanks again for the insight. I'm sure I speak for many when I say we are thankful for you taking the time to provide the insider view that you do.

Actions

This Discussion