Publish/subscribe migration log file

The publish/subscribe migration log file is called amqmigmbbrk.log. It shows the details of the migration.

Identifying subscriptions in the log file or error messages

The log file identifies a subscription in the log file or an error message by listing its properties, including its topic string. The topic string can be up to 10,240 characters long, and is expressed in Unicode in the broker. The topic string might be too long or contain characters that cannot be represented in the current character set.

To identify subscriptions precisely, the migration process assigns a sequence number to every broker subscription that it encounters. The sequence starts at 1. When a subscription is identified by the migration process, the identification includes the sequence number, and anything else that is known about the subscription.

You can use the mqsireportproperties broker command to list subscriptions in the broker in the same order as the migration process. For example, the fourth subscription that the migration process counts is also the fourth that is listed by mqsireportproperties. With this information, you can correlate the sequence number from the log file or error message with the subscription in the broker.

The broker command to list the subscriptions is as follows:
mqsireportproperties brokername -e default -o DynamicSubscriptionEngine -r
To store the results in a file called, for example, outfile.txt, the command is as follows:
mqsireportproperties brokername -e default -o DynamicSubscriptionEngine -r > outfile.txt

Example

The following log file lists the actions that have been performed by a successful migration process. It shows the migration of subscriptions, ACLs, and retained publications.


2009-01-28 11:43:54.187: Migrating Pub/Sub state from Websphere Message Broker: TEST_BROKER
2009-01-28 11:43:54.187: Into queue manager: TEST_QM
2009-01-28 11:43:54.187: Command switches:
2009-01-28 11:43:54.187: 	-t
2009-01-28 11:43:54.187: 	-z
2009-01-28 11:43:54.187: 	-l
2009-01-28 11:43:55.484: Starting to parse subscriptions ...
2009-01-28 11:43:55.484: Migrating subscriptions for topic string RFH2/EU/France/Toison
2009-01-28 11:43:55.484: [1] Migrating subscription for:
2009-01-28 11:43:55.484: 	Format: mqrfh2
2009-01-28 11:43:55.484: 	Queue Manager: PSMIG_QM
2009-01-28 11:43:55.484: 	Queue: PUBSUB.FRANCE.QUEUE
2009-01-28 11:46:23.968: Migrating subscriptions for topic string RFH2/EU/France/Carnac
2009-01-28 11:46:23.968: [2] Migrating subscription for:
2009-01-28 11:46:23.968: 	Format: mqrfh2
2009-01-28 11:46:23.968: 	Queue Manager: PSMIG_QM
2009-01-28 11:46:23.968: 	Queue: PUBSUB.FRANCE.QUEUE
2009-01-28 11:46:23.968: Migrating subscriptions for topic string $SYS/STREAM/TEST_STREAM/RFH1/EU/France/Pontivy
2009-01-28 11:46:23.984: [3] Migrating subscription for:
2009-01-28 11:46:23.984: 	Format: mqrfh2
2009-01-28 11:46:23.984: 	Queue Manager: PSMIG_QM
2009-01-28 11:46:23.984: 	Queue: PUBSUB.FRANCE.QUEUE
2009-01-28 11:46:24.031: Migrating subscriptions for topic string $SYS/Broker/+/warning/expiry/Subscription/#
2009-01-28 11:46:24.031: [4] Migrating subscription for:
2009-01-28 11:46:24.031: 	Format: mqrfh2
2009-01-28 11:46:24.031: 	Queue Manager: PSMIG_QM
2009-01-28 11:46:24.031: 	Queue: PUBSUB.SAMPLE.QUEUE
2009-01-28 11:46:24.125: Migrating subscriptions for topic string $SYS/Broker/+/Subscription/#
2009-01-28 11:46:24.125: [5] Migrating subscription for:
2009-01-28 11:46:24.125: 	Format: mqrfh2
2009-01-28 11:46:24.125: 	Queue Manager: PSMIG_QM
2009-01-28 11:46:24.125: 	Queue: PUBSUB.SAMPLE.QUEUE
2009-01-28 11:46:24.140: Migrating subscriptions for topic string $SYS/Broker/+/Status
2009-01-28 11:46:24.140: [6] Migrating subscription for:
2009-01-28 11:46:24.140: 	Format: mqrfh2
2009-01-28 11:46:24.140: 	Queue Manager: PSMIG_QM
2009-01-28 11:46:24.140: 	Queue: PUBSUB.SAMPLE.QUEUE
2009-01-28 11:46:24.156: Migrating subscriptions for topic string $SYS/Broker/+/Status/ExecutionGroup/#
2009-01-28 11:46:24.156: [7] Migrating subscription for:
2009-01-28 11:46:24.156: 	Format: mqrfh2
2009-01-28 11:46:24.156: 	Queue Manager: PSMIG_QM
2009-01-28 11:46:24.156: 	Queue: PUBSUB.SAMPLE.QUEUE
2009-01-28 11:46:24.250: Migrating subscriptions for topic string $SYS/STREAM/TEST_STREAM/RFH1/EU/France/Kersaux
2009-01-28 11:46:24.250: [8] Migrating subscription for:
2009-01-28 11:46:24.250: 	Format: mqrfh2
2009-01-28 11:46:24.250: 	Queue Manager: PSMIG_QM
2009-01-28 11:46:24.250: 	Queue: PUBSUB.FRANCE.QUEUE
2009-01-28 11:46:24.281: ... finished parsing subscriptions
2009-01-28 11:46:24.281: Starting to parse topics ...
2009-01-28 11:46:24.281: Migrating ACLs for topic string 
2009-01-28 11:46:24.281: Migrating ACLs for topic string RFH2/EU/France/Toison
2009-01-28 11:46:24.281: Migrating ACLs for topic string RFH2/EU/France/Carnac
2009-01-28 11:46:24.281: Migrating ACLs for topic string $SYS/STREAM/TEST_STREAM/RFH1/EU/France/Pontivy
2009-01-28 11:46:24.281: Migrating ACLs for topic string $SYS/Broker/+/warning/expiry/Subscription/#
2009-01-28 11:46:24.281:        None found.
2009-01-28 11:46:24.281: Migrating ACLs for topic string $SYS/Broker/+/Subscription/#
2009-01-28 11:46:24.281:        None found.
2009-01-28 11:46:24.281: Migrating ACLs for topic string $SYS/Broker/+/Status
2009-01-28 11:46:24.281:        None found.
2009-01-28 11:46:24.281: Migrating ACLs for topic string $SYS/Broker/+/Status/ExecutionGroup/#
2009-01-28 11:46:24.281:        None found.
2009-01-28 11:46:24.281: Migrating ACLs for topic string $SYS/STREAM/TEST_STREAM/RFH1/EU/France/Kersaux
2009-01-28 11:46:24.281: ... finished parsing topics
2009-01-28 11:46:24.281: Starting to parse retained publications ...
2009-01-28 11:46:24.296: Migrating retained publications for topic string $SYS/Broker/TEST_BROKER/Status
2009-01-28 11:46:24.296: Migrating retained publication for default subscription point.
2009-01-28 11:46:24.906: ... finished parsing retained publicatons
2009-01-28 11:46:24.968: 
All Pub/Sub data has been retrieved from the broker.
2009-01-28 11:46:24.968: Applying changes to queue manager Pub/Sub state.
2009-01-28 11:46:24.972: Created topic object: MIGMBBRK.TOPIC.00004
2009-01-28 11:46:24.972: Created topic object: MIGMBBRK.TOPIC.00003
2009-01-28 11:46:24.972: Created topic object: MIGMBBRK.TOPIC.00002
2009-01-28 11:46:24.972: Created topic object: MIGMBBRK.TOPIC.00001
2009-01-28 11:46:24.977: Defining subscription [1]
2009-01-28 11:46:24.977: Defining subscription [2]
2009-01-28 11:46:24.977: Defining subscription [3]
2009-01-28 11:46:24.977: Defining subscription [4]
2009-01-28 11:46:24.993: Defining subscription [5]
2009-01-28 11:46:24.993: Defining subscription [6]
2009-01-28 11:46:24.993: Defining subscription [7]
2009-01-28 11:46:24.993: Defining subscription [8]
2009-01-28 11:46:29.996: Migration completion message written.