Sun Cluster 3.1 Data Service for Sun ONE Message Queue

How to Install the Sun ONE Message Queue

Use the following procedure to install the Sun ONE Message Queue. Only the sections that are specific to the Sun ONE Message Queue are included here. See the Sun ONE Message Queue documentation 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 Sun Cluster HA for Sun ONE Message Queue starts and stops the application after you have configured the data service.


  1. Install the Sun ONE Message Queue packages 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.jms.tcp.hostname property to the logical hostname by editing $IMQ_VARHOME/instances/hamq1/props/config.properties.