Create and start a queue manager.
Perform this step from the global zone.
Vigor5# zlogin z3 # su - mqm $ crtmqm qmgr3 $ strmqm qmgr3 |
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 |
Stop the queue manager.
Perform this step in zone z3.
$ endmqm -i qmgr3 $ exit # exit |
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 |
Start the queue manager.
Perform this step from the global zone.
Vigor5# zlogin z3 # su - mqm $ strmqm qmgr3 |
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 |
Stop the queue manager.
Perform this step in zone z3.
$ endmqm -i qmgr3 $ exit # exit |
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 |
Halt the failover zone.
Perform this step in the global zone.
Vigor5# zoneadm -z z3 halt |
Unmount the SVM zonepath.
Perform this step in the global zone.
Vigor5# umount -f /FOZones |