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

Target Cluster Configuration

Software Configuration

Assumptions

Installing and Configuring WebSphere MQ

Example: Prepare the Cluster for WebSphere MQ

Example: Configure two Non-Global Zones

Example: Install WebSphere MQ in the Non-Global Zones

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

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

Index

Example: Verify WebSphere MQ

  1. Create and start the queue manager.

    Perform this step from the global zone.

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

    Perform this step in zone z1.

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

    Perform this step in zone z1.

    $ endmqm -i qmgr1
    $ exit
    # exit
  4. Copy the mqs.ini file between the two zones.

    Perform this step in the global zone.

    Vigor5# cp /zones/z1/root/var/mqm/mqs.ini /zones/z2/root/var/mqm/mqs.ini
  5. Unmount and mount the ZFS file systems in the other zone.

    Perform this step in the global zone.

    Vigor5# zpool export -f HAZpool1
    Vigor5# zpool export -f HAZpool2
    Vigor5# zpool import -R /zones/z2/root HAZpool1
    Vigor5# zpool import -R /zones/z2/root HAZpool2
  6. Start the queue manager.

    Perform this step from the global zone.

    Vigor5# zlogin z2
    # su - mqm
    $ strmqm qmgr1
  7. Get the messages from the persistent queue and delete the queue.

    Perform this step in zone z2.

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

    Perform this step in zone z2.

    $ endmqm -i qmgr1
    $ exit
    # exit
  9. Unmount the ZFS file systems from the zone.

    Perform this step in the global zone.

    Vigor5# zpool export -f HAZpool1
    Vigor5# zpool export -f HAZpool2