Use the mqsimigratecomponents command to migrate a component from one version of the product to another version on the same computer.
If you are using WebSphere® Application Server with WebSphere Message Broker, or you have publish/subscribe applications that use the SubIdentity option, you must upgrade WebSphere Message Broker Version 6.1 to Fix Pack 4 before you can migrate to IBM Integration Bus Version 9.0.
You can also use the mqsimigratecomponents command to return a broker from IBM Integration Bus Version 9.0 to WebSphere Message Broker Version 8.0 or WebSphere Message Broker Version 7.0 to reverse the effects of forward migration. You cannot use the mqsimigratecomponents command to return a broker from IBM Integration Bus Version 9.0 to WebSphere Message Broker Version 6.1. You can restore a WebSphere Message Broker Version 6.1 environment only from a back-up.
When you restore a broker to Version 8.0 or Version 7.0, changes that you made to the broker's state that are compatible with your target version are kept. However, changes that you made that are not compatible with your target version are not reflected in the restored broker's state, which might cause errors.
You must run this command from the later version of the product, regardless of whether it is the source version or the target version.
You must have an installation of the product at both target and source versions, with the required component code installed, to issue this command successfully.
Before you start migration, stop the broker and all active debug sessions in the IBM Integration Toolkit. You cannot migrate message flows that are being debugged.
If you specified a data source user ID and password on the mqsicreatebroker command for the broker that you are migrating, the values of these parameters are also migrated and saved in the format that is used by the mqsisetdbparms command. The values are used by the broker to access databases for which you did not set alternative values by using the mqsisetdbparms command. After migration, if you want to change the user IDs or passwords that the broker uses to access databases, you can use only the mqsisetdbparms command.
If you update the user ID and password values, and you migrate the broker back to the previous version, the new values are also migrated back to the original broker.
.-| Move |---. >>-mqsimigratecomponents--+-| Check |--+----ComponentName-------> +-| Undo |---+ '-| Verify |-' >--+-----+----------------------------------------------------->< '- -q-' Check |-- -c --+--------------------+--+--------------------+---------| '- -s--SourceVersion-' '- -t--TargetVersion-' Move .-------------. V | |----+---------+-+--+--------------------+----------------------> +- -1-----+ '- -s--SourceVersion-' +- -2-----+ | (1) | '- -3-----' >--+--------------------+---------------------------------------| '- -t--TargetVersion-' Undo .-------------. V | |-- -u----+- -1-----+-+-- -s--SourceVersion---------------------> +- -2-----+ | (1) | '- -3-----' >-- -t--TargetVersion-------------------------------------------| Verify |-- -v--+--------------------+----------------------------------| '- -t--TargetVersion-'
You can check a running component. The check does not affect the component, apart from a slight degradation of performance.
The check command either succeeds or fails, and prints a message about whether the migration will succeed, but no modifications are made during the process.
The -c and -v parameters are mutually exclusive. Additionally, if you specify either of these parameters, you cannot specify any other parameter when you run this command.
The -c and -v parameters are mutually exclusive. Additionally, if you specify either of these parameters, you cannot specify any other parameter when you run this command.
(Optional) Print fewer status messages during the operation.
(Optional) Do only WebSphere MQ work.
This option is valid only for forward migration to Version 9.0.
-3 is valid only for forward migration to Version 9.0.
(Required) The name of the component to migrate.
The mqsimigratecomponents command updates your registry, file system, and WebSphere MQ definitions.
If the user ID used to run this command does not have the authority to perform all these steps, you can run the command one part at a time. Different users can run the part for which they are authorized in order to achieve the overall result. This approach is referred to as split migration, and is performed by using the -1, -2, and -3 parameters.
If you run split migration, your user ID must always be able to read from the registry for the product.
This command can produce many possible responses, depending on the results of the various operations. This command differs from other commands in the way it produces messages: they are displayed when they are generated, rather than being reported in a batch at the end of the program.
When you migrate database tables from Version 6.1, z/OS produces more output than distributed systems. Use the -q parameter to reduce the number of messages displayed.
The following example shows a split migration from Version 8.0 to Version 9.0:
mqsimigratecomponents BROKER1 -1
mqsimigratecomponents BROKER1 -2
mqsimigratecomponents BROKER1 -3
The following example shows a migration from Version 9.0 back to Version 8.0:
mqsimigratecomponents MYBROKER -t 8.0.0.2