Author |
Message
|
PeterPotkay |
Posted: Sat Feb 12, 2011 1:17 pm Post subject: Updating from MQ 6 to MQ 7 on a MC91 / IC91 set up |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Has anyone upgraded from MQ 6 to MQ 7 on a Unix / Linux set up where they were using a hardware cluster (such as Veritas Cluster Services) and the WMQ / WMB resources were added to the cluster following the MC91 and IC91 support packs?
I have some RHEL 5 servers using VCS clustering at MQ 6.0.2.8, and its time to go to MQ 7.0.1.4. I'm wondering if the MQ 7.0.1.x software is going to interfere with all the things that were set up originally at MQ 6 to make it work with the VCS cluster, since MQ 7.0.1.x has its own ideas about this (Multi Instance QMs).
If you have done this upgrade, were any special steps required to preserve the functional MQ 6 set up when going to MQ 7?
Going to Multi Instance is not an option. The incoming Queue Manager and MQ Client connections will not all be at 7.0.1.x the moment I upgrade any one VCS cluster set up, so I need to maintain "real" High Availability via the VCS cluster set up through the MQ 7.0.1.4 upgrade. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mqjeff |
Posted: Sat Feb 12, 2011 1:55 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I think zpat has done this?
It generally works, but you might want to make a basic compare of what you have kept on HA disk in v6 with a non-HA install of v7 just in case there are structures that are new (files backing SUB or TOPIC for example) that need to be captured. |
|
Back to top |
|
 |
mvic |
Posted: Sat Feb 12, 2011 4:50 pm Post subject: Re: Updating from MQ 6 to MQ 7 on a MC91 / IC91 set up |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
|
Back to top |
|
 |
JosephGramig |
Posted: Tue Feb 15, 2011 1:09 pm Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Yes, I have done this. First, with just PowerHA and WMQ I uninstalled MQ V6 and installed MQ V7 and put on 7.0.1.3 before starting the QMGR. The QMGR which was created with MC91 worked just fine.
You may want to start using the start/stop scripts in the info center or enhance your current ones with those suggested ones.
You could saveqmgr and the authorizations and jerk the QMGR out of its clusters and rebuild it, but that is a pain.
If you build new HA QMGRs at V7, I do recommend that you have the following mount points for each QMGR:
/var/mqm/data/<QMGR>
/var/mqm/log/<QMGR>
The reason being that the new V7 HA QMGRs put files that don't move at /var/mqm/qmgrs/<QMGR> and you cannot put the link there... very irritating but there it is. You can and should add a link for the errors directory to keep your buddies from guessing.
The issue I've had is one that you sometimes get. When the FRs were upgraded to MQ V7, the V6 QMGRs were not fully processing the cluster updates and eventually, the queue would drop out. Refresh cluster() repos(yes) buys you 90 more days. 6.0.2.10 is suppose to fix the issue for the QMGRs you cannot migrate right away.
Hope this was of some value. |
|
Back to top |
|
 |
SAFraser |
Posted: Sun Feb 27, 2011 9:59 am Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
Peter,
You probably saw this already? But just in case.....
Quote: |
- TITLE: Education: Join Ask the Experts on WebSphere MQ Failover on Distributed Platforms
- URL: http://www.ibm.com/support/docview.wss?uid=swg21469007&myns=swgws&mynp=OCSSFKSJ&mync=E
- ABSTRACT: You are invited to an IBM Ask the Experts discussion about WebSphere MQ Failover on Distributed Platforms on 30 March 2011 at 11:00 AM EDT. This Ask the Experts session addresses questions concerning failover options and features available for WebSphere MQ on distributed platforms. This includes high availability clustering as well as the new multi-instance queue manager feature included with WebSphere MQ version 7.0.1.
|
|
|
Back to top |
|
 |
PeterPotkay |
Posted: Sun Feb 27, 2011 1:23 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Yes, already on my calendar
The latest version of the MC91 Support Pack does address this topic on Page 7:
Quote: |
IMPORTANT: VERSIONS AND MIGRATION
This SupportPac is designed for WebSphere MQ (WMQ) V7. In an attempt to simplify the scripts, which had accumulated a lot of baggage from many previous versions of WMQ, the directories handled by the halinkmqm and hadltmqm scripts have been reduced to only those required by WMQ V7.
Because there is little change between WMQ V6 and WMQ V7 in the relevant areas for HA, then the scripts can still be used with WMQ V6.
No script is provided in this package to automate migration from earlier versions of WMQ. Again this is because of the variety of older versions that might have been in use, and because WMQ V5.3 is in any case no longer a supported release. Providing meaningful error handling was considered too problematic while keeping the scripts simple enough to understand. The only step required for V6 to V7 migration is described here.
Ideally queue managers will be newly created or recreated for V7 using these scripts. SupportPac MS03 can be useful to rebuild definitions of objects from a queue manager. However, we recognise it is not an ideal world! If you have a queue manager created with the V6 HA scripts and you wish to continue to use them with WMQ V7 then there is just one small change in the directory layout that you need to implement manually. This change should be done BEFORE upgrading the WMQ product version (or at least before restarting a queue manager) as migration of queue manager data is done automatically during the first restart after code upgrades. For older versions of WMQ, the approach we recommend for HA is to recreate the queue manager.
To change an existing V6 HA queue manager into the V7 layout, you need to add the qmgrlocl subdirectory to the local IPC directory for the queue manager, and create a symlink from the queue manager’s data directory. The queue manager can be kept running through this modification, as it will not be using the new directory until the product code is updated and the queue manager restarted.
|
Code: |
On all nodes of the cluster, assuming you are running as root or mqm
mkdir /var/mqm/ipc/<QMGR>/qmgrlocl chown mqm:mqm /var/mqm/ipc/<QMGR>/qmgrlocl chmod 775 /var/mqm/ipc/<QMGR>/qmgrlocl
On the node that currently owns the queue manager data directory ln –fs /var/mqm/ipc/<QMGR>/qmgrlocl /var/mqm/qmgrs/<QMGR/qmgrlocl
|
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
zpat |
Posted: Mon Feb 28, 2011 12:31 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
I've done it on HA/CMP without any problems.
There is a version of the support pac that supports V7.0.0, but I didn't use it and the older version worked fine. I did update the MQ process list file though.
We don't use the application monitoring part of this support pac though. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Feb 28, 2011 5:52 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
I'll be doing this upgrade for my first system next week hopefully.
zpat wrote: |
I did update the MQ process list file though. |
zpat, can you elaborate? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
zpat |
Posted: Tue Mar 01, 2011 12:33 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
The later IC91 had an updated list of MQ processes for v7, which are checked to ensure MQ has been stopped. These are in a file called hamqproc, so I used the later version of that file with my existing installation of IC91 (which dates back to v6). |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Mar 02, 2011 8:05 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
zpat, in your last response, you meant MC91? I do see that file in MC91, and we happened to build all our servers with the MQ 7 ready version of MC91, so it looks like I won't need to do anything with this for the MQ 6 to MQ 7 upgrade. I confirmed the hamqproc file I have is the one with MQ 7 specific processes listed.
I don't see anything like this in IC91. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
zpat |
Posted: Wed Mar 02, 2011 8:47 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
I mean the AIX HA/CMP one, not the MSCS one. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Mar 02, 2011 10:18 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Right, we are both only referring to Linux / UNIX in this thread, not Windows MSCS. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|