I believe UM migration tool will handle these configurations move as a whole and adjust the settings accordingly. Are you using that tool option or any manual methods found?
the basic step you need to do to switch from Broker to UM is this:
Create a wM messaging alias, pointing to UM
Set it as default
Optionally run the migrateDocTypesTriggersToUM service
Sync all publishable doc types
The migrateDocTypesTriggersToUM service will update the doc types to use protobuf encoding and will update any trigger filters to the correct syntax for UM. If you are migrating all doc types at once, then you leave the package list empty and the messaging alias empty.
If you want to do things in a phased approach, then set the packages/doc types you want to switch, and provide the new wM messaging alias. In that case, also don’t set the UM messaging alias as default - this will leave unmigrated doc types using Broker.
Serial/concurrent settings will be migrated and will behave the same way (if your target is UM 9.9 or higher).
Service retry settings also behave exactly the same way with UM as with Broker.
In fact, if you don’t run migrateDocTypesTriggersToUM, then everything will work with UM, but performance will not be optimal if you use trigger filters. So it is not actually a required step.
One more thing: the migrateDocTypesTriggersToUM service has a report-only mode (default), which will report what updates it would do before changing anything. You need to set report-only to FALSE to actually update the doc types and triggers.
I have a small doubt. I didn’t run the utility service pub.utils.messaging:migrateDocTypesTriggersToUM which you have mentioend as optional in your migration steps, I am able to see warnings like " No condition matches in trigger - for publishable doc Types" is this anyway related . Will running the utility service eliminate these warning messages. I understand that running the utility service will change the lexical operators present in the triggers to use server side filtering.
Another issue is somestimes when the UM is restarted, the triggers have to be refreshed everytime and only then the documents are getting subscribed. Can you think of something we might have done wrong ? is this normal ?
what you are seeing is expected. If you don’t run the utility, then all filtering takes place in IS (where previously it would take place in Broker). That is why you see those warning messages. But the actual messages reaching the triggered service will be the same.
The performance difference is due to every message for a doc type being passed from UM to IS, instead of the trigger filtering taking place in UM, which is more efficient.
Running the utility modifies the doc types and triggers to ensure that the filtering takes place in UM, hence improving performance.
Regarding the issue you are seeing on restart, please make sure you have the latest IS and UM fixes installed, including the UM common libraries and shared bundles fixes on each connected IS. There have been some fixes to address that in various releases.
Be aware of the trigger filter. The unity will NOT migrate filters with reg-expressions and possibly some other complicated ones. You’ll see them in the updatedTriggersWithWarning list. We’ll need to figure it out and migrate it manually.
I continue the same issue “Arvindh” explained in this thread.
We have problem with the service “pub.utils.messaging:migrateDocTypesTriggersToUM”, as we ended with teh below error. Currently checking for the releveant jars hindering this service run in our env, appreciate your help on this.
Could not run ‘migrateDocTypesTriggersToUM’
java.lang.reflect.InvocationTargetException: UM_MIGRATE_NO_BROKER_TRANSORT
Also, we followed your above said approach with no broker alias in new environment 9.10 with only UM connected (old is wM9.5 with broker). Question is, do we have to create a broker alias in the new env and use it in the migration service?
Sabarish, are you making Universal Messaging your only messaging provider in your new 9.10 environment OR are will you be migrating in phases (use both UM and Broker) ?
If you look at the UM migration guide (http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/Migrating_from_Broker_to_Universal_Messaging.pdf) you will see two these two approaches mention starting on page 25. For approach one (UM only) you only need a connection in IS to UM. For approach two (UM and Broker) you need connections in IS to UM and to Broker.
We have only UM as a messaging provider in our 9.10. Its only IS to UM connection.
Post deployment of a pacakge with triggers the subscription is not happening. But when the trigger refreshed thru designer it works. It is strange, but happening for most of the triggers.
I think it should be another thread but… In UM 9.9 there is no such possibilty in the EM, you have to write a program using Admin API to display this. In later versions of EM (don’t know exactly, which one is the first having this) you should be able to see it in the Named Objects or in the Connections tab.
Thanks a lot for the inputs! We are actually testing the migration from Broker to UM first, the IS migration will come later.
So we have no source and target IS, just one connected to both broker and UM.
on the IS, you need to have (at least) two wM Messaging connections configured: one to Broker and one to UM. As soon as you have run the migration service, you can remove the Broker connection if you want.
Hope you are running the service “pub.utils.messaging:migrateDocTypesTriggersToUM” meant to migrate the messaging entities Topics, queues, doctypes to the connected default UM.
If this is not the case, which service are you invoking?