Go to main content

Oracle® Solaris Cluster Data Service for Oracle GlassFish Server Message Queue Guide

Exit Print View

Updated: September 2015
 
 

Installing and Configuring Oracle GlassFish Message Queue

This section describes the steps to install and enable Oracle GlassFish Message Queue to run as HA for Oracle GlassFish Message Queue.


Note - If you run Oracle GlassFish Message Queue and another messaging service server and they use the same network resources, configure them to listen on different ports. Otherwise, a port conflict might occur between the two services.

Use the following procedure to install Oracle GlassFish Message Queue.

How to Install the Oracle GlassFish Message Queue

Use the following procedure to install Oracle GlassFish Message Queue. Only the sections that are specific to Oracle GlassFish Message Queue are included here. See the installation guide for your version of Oracle GlassFish Message Queue for details.


Note - Do not set the AUTOSTART property to YES in the /etc/imq/imqbrokerd.conf file. The AUTOSTART property is set to NO by default because HA for Oracle GlassFish Message Queue starts and stops the application after you have configured the data service.
  1. Install the Oracle GlassFish Message Queue package on all the nodes of the cluster if they are not already installed.
  2. Identify a location on a global file system where you intend to keep your message queue (for example, /global/s1mq).

    You can create a separate directory for this file system.

  3. On any node set IMQ_VARHOME and run the imqbrokerd command to create the configuration directory and files.
    # IMQ_VARHOME=/global/s1mq
    # export IMQ_VARHOME
    # imqbrokerd -name hamq1
  4. Set the imq.portmapper.hostname property to the logical hostname by editing $IMQ_VARHOME/instances/hamq1/props/config.properties.