Sun GlassFish Message Queue 4.4 Update 1 Installation Guide

Upgrading from Previous Versions

Because Message Queue is installed with other products (such as Solaris 9, Solaris 10, and Sun GlassFish Enterprise Server), you should check whether it has already been installed on your system. To do so, enter the command

imqbrokerd  -version

If you have a version older than Message Queue 4.4, perform the procedures described in To Back Up and Restore Broker Instance Data and Configuration Details and To Upgrade From An Older Version to Message Queue 4.4 Update 1

If you have Message Queue 4.4 or later, use the Update Tool to get the latest updates. See Updating Message Queue 4.4 Update 1.

ProcedureTo Back Up and Restore Broker Instance Data and Configuration Details

To preserve broker instance data and configuration details from your previous Message Queue installation, perform the following procedure before you remove your previous installation.

  1. Before you uninstall the previous installation of Message Queue, copy Message Queue data to a temporary location.

    • For Message Queue 4.4 and above, run the following commands:

      cp -r mqInstallHome/etc/mq/* MQ_SAVE/etc

      cp -r mqInstallHome/var/mq/* MQ_SAVE/var

    • For Message Queue versions older than 4.4, run the following commands:

      cp -r mqInstallHome/mq/etc/* MQ_SAVE/etc

      cp -r mqInstallHomemq/var/* MQ_SAVE/var

    where MQ_SAVE is a temporary directory.

    You can proceed to uninstall the older version of Message Queue.

  2. After installing Message Queue 4.4 Update 1, perform the following steps:

    cp -r MQ_SAVE/etc/* to mqInstallHome/etc/mq

    cp -r MQ_SAVE/var/* to mqInstallHome/var/mq

    where MQ_SAVE is the temporary directory you used in Step 1.

ProcedureTo Upgrade From An Older Version to Message Queue 4.4 Update 1

  1. Use the uninstaller of the previous installation to remove Message Queue.

  2. Use the Message Queue 4.4 Update 1 Installer to install Message Queue 4.4 Update 1