Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 1. Summary of Migration to Red Hat JBoss A-MQ 6.0
1.1. Migration Procedure
Copier lienLien copié sur presse-papiers!
Overview
Copier lienLien copié sur presse-papiers!
				This section summarizes the issues you need to consider when migrating from Fuse MQ Enterprise 7.1 to Red Hat JBoss A-MQ 6.0.
			
Product dependencies
Copier lienLien copié sur presse-papiers!
				Red Hat JBoss A-MQ 6.0 has upgraded the following dependencies:
			
- Apache ActiveMQ is upgraded to version 5.8.0.
- Spring library is upgraded to version 3.1.3.
- The MQTT client library is upgraded to version 1.4
Migration procedure
Copier lienLien copié sur presse-papiers!
				To migrate an existing broker to Red Hat JBoss A-MQ 6.0, it is recommended that you follow these steps:
			
- To use your existingactivemq.xmlfile with the new MQ console, edit the settings in the following file:MQInstallDir/etc/org.fusesource.mq.fabric.server-default.cfg MQInstallDir/etc/org.fusesource.mq.fabric.server-default.cfgCopy to Clipboard Copied! Toggle word wrap Toggle overflow By default, the preceding configuration file contains the following property settings:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Thebroker-nameanddataproperties are not so important: they define substitutable properties that are used by the defaultactivemq.xmlfile (located inMQInstallDir/etc/activemq.xml). The important properties are as follows:- config
- Set this property to the absolute pathname of your existingactivemq.xmlfile. (If you are working on a Windows platform, remember to use the forward slash character,/, for the path separater, as is customary in Java property files.)
- standalone
- This property must be set totrue. Do not change it.
- openwire-port
- Overrides the Openwire IP port value specified in your existingactivemq.xmlfile. Delete this property setting, if you want to keep the port value specified in youractivemq.xmlfile.
 
- Ensure that any directories referenced in your existingactivemq.xmlfile are specified as absolute pathnames.
- To migrate KahaDB data files from earlier Red Hat JBoss A-MQ versions, please observe the following points:- Always make backup copies of your existing KahaDB data files, before upgrading the broker.
- Upgrading from 5.4.x to 5.8—when you start the 5.8 broker instance for the first time, the KahaDB auto-upgrade feature automatically upgrades the KahaDB data files.
- Upgrading from 5.3.x to 5.8—due to a recent change in the format of the KahaDB index file,db.data, the KahaDB auto-upgrade feature cannot upgrade 5.3 index files. To upgrade from 5.3, therefore, delete the index and redo files,db.dataanddb.redo, before starting the 5.8 broker. Now, when you start the 5.8 broker, it recreates the index file as it starts up (if your database is large, this could take a long time, for example 20 to 30 minutes).
 
- Study the rest of this guide, to check whether there are any other issues that could affect your system.
- If you are using Fuse HQ to monitor your systems:- See the Installation Guide for directions on installing JBoss Operational Network and the required plug-ins.
- See Chapter 4, Migrating from Fuse HQ to JBoss Operations Network for information about migrating alerts and other custom setting from Fuse HQ to JBoss Operational Network.
 
- To start up the MQ console—which automatically launches your broker—enter the following command:bin/amq bin/amqCopy to Clipboard Copied! Toggle word wrap Toggle overflow