JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for WebSphere MQ Guide
search filter icon
search icon

Document Information

Preface

1.  Installing and Configuring Solaris Cluster HA for WebSphere MQ

A.  Deployment Example: Installing a WebSphere MQ Queue Manager in Non-Global Zones

B.  Deployment Example: Installing aWebSphere MQ Queue Manager in an HA Container

Target Cluster Configuration

Software Configuration

Assumptions

Installing and Configuring WebSphere MQ in an HA Container

Example: Prepare the Cluster for WebSphere MQ

Example: Configure the HA Container

Example: Install WebSphere MQ in the HA Container

Example: Verify WebSphere MQ

Example: Configure Cluster Resources for WebSphere MQ

Example: Enable the WebSphere MQ Software to Run in the Cluster

Example: Verify the HA for WebSphere MQ resource group

Example: Creating Multiple Instances

Index

Example: Verify WebSphere MQ

  1. Create and start a queue manager.

    Perform this step from the global zone.

    Vigor5# zlogin z3
    # su - mqm
    $ crtmqm qmgr3
    $ strmqm qmgr3
  2. Create a persistent queue in the queue manager and put a message to the queue.

    Perform this step in zone z3.

    $ runmqsc qmgr3
    def ql(sc3test) defpsist(yes)
    end
    $ /opt/mqm/samp/bin/amqsput SC3TEST qmgr3
    test test test test test
    ^C
  3. Stop the queue manager.

    Perform this step in zone z3.

    $ endmqm -i qmgr3
    $ exit
    # exit
  4. Unmount and mount the ZFS file systems in the zone.

    Perform this step in the global zone.

    Vigor5# zpool export -f HAZpool1
    Vigor5# zpool export -f HAZpool2
    Vigor5# zpool import -R /FOZones/z3/root HAZpool1
    Vigor5# zpool import -R /FOZones/z3/root HAZpool2
  5. Start the queue manager.

    Perform this step from the global zone.

    Vigor5# zlogin z3
    # su - mqm
    $ strmqm qmgr3
  6. Get the messages from the persistent queues in the queue manager and delete the queue.

    Perform this step in zone z3.

    $ /opt/mqm/samp/bin/amqsget SC3TEST qmgr3
    ^C
    $ runmqsc qmgr3
    delete ql(sc3test)
    end
  7. Stop the queue manager.

    Perform this step in zone z3.

    $ endmqm -i qmgr3
    $ exit
    # exit
  8. Unmount the ZFS file systems from the other zone.

    Perform this step in the global zone.

    Vigor5# zpool export -f HAZpool1
    Vigor5# zpool export -f HAZpool2
  9. Halt the HA container.

    Perform this step in the global zone.

    Vigor5# zoneadm -z z3 halt
  10. Unmount the SVM zonepath.

    Perform this step in the global zone.

    Vigor5# umount -f /FOZones