1. Installing and Configuring Solaris Cluster HA for WebSphere MQ
A. Deployment Example: Installing a WebSphere MQ Queue Manager in Non-Global Zones
Installing and Configuring WebSphere MQ
Example: Prepare the Cluster for WebSphere MQ
Example: Install WebSphere MQ in the Non-Global Zones
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
Perform all steps within this example in the global zone.
Vigor5# mkdir /zones
Vigor5# cat > /tmp/z1 <<-EOF create -b set zonepath=/zones/z1 EOF Vigor5# cat > /tmp/z2 <<-EOF create -b set zonepath=/zones/z2 EOF
Vigor5# zonecfg -z z1 -f /tmp/z1 Vigor5# zonecfg -z z2 -f /tmp/z2
Open two windows and issue the following command in each window.
Vigor5# zoneadm -z z1 install Vigor5# zoneadm -z z2 install
Perform this step after the installation of the zones are complete.
Vigor5# zoneadm -z z1 boot Vigor5# zoneadm -z z2 boot
Vigor5# zlogin -C z1 Vigor5# zlogin -C z2
After you have completed the zone system identification, disconnect from the window your previously opened.
Vigo5# ~.
Vigor5# zlogin z1 mkdir -p /var/mqm/log /var/mqm/qmgrs Vigor5# zlogin z1 ln -s /ZFSwmq1/log /var/mqm/log/qmgr1 Vigor5# zlogin z1 ln -s /ZFSwmq1/qmgrs /var/mqm/qmgrs/qmgr1 Vigor5# Vigor5# zlogin z2 mkdir -p /var/mqm/log /var/mqm/qmgrs Vigor5# zlogin z2 ln -s /ZFSwmq1/log /var/mqm/log/qmgr1 Vigor5# zlogin z2 ln -s /ZFSwmq1/qmgrs /var/mqm/qmgrs/qmgr1
Vigor5# zlogin z1 groupadd -g 1000 mqm Vigor5# zlogin z1 useradd -u 1000 -g 1000 -d /var/mqm mqm Vigor5# Vigor5# zlogin z2 groupadd -g 1000 mqm Vigor5# zlogin z2 useradd -u 1000 -g 1000 -d /var/mqm mqm
The following output shows the logical host name entry for qmgr1 in zones z1 and z2.
Vigor5# zlogin z1 grep qmgr1 /etc/hosts /etc/inet/ipnodes 192.168.1.150 qmgr1 Vigor5# zlogin z2 grep qmgr1 /etc/hosts /etc/inet/ipnodes /etc/hosts:192.168.1.150 qmgr1 /etc/inet/ipnodes:192.168.1.150 qmgr1