Author |
Message
|
pfarrel |
Posted: Wed Mar 01, 2006 8:10 am Post subject: Fallback WMQ from V6 to V5 on AIX |
|
|
Centurion
Joined: 16 Mar 2004 Posts: 120 Location: Kansas City
|
I am working on an upgrade of WMQ from V5 to V6, and I would like to have a fallback plan for my AIX platform. I know that I can use saveqmgr ( MS03 ) and amqoamd to save my object and security definitions, so that if necessary I can uninstall V6 and reinstall V5, and get back ( more or less ) to where I was.
I have tried another method, but it doesn't seem to work. I tried backing up the folders /usr/mqm and /var/mqm on V5, then running the upgrade to V6, then restoring the backups. This method results in a system which will not run.
Can anyone suggest what I might need to do to get the backup/restore method to work ? |
|
Back to top |
|
 |
vennela |
Posted: Wed Mar 01, 2006 8:16 am Post subject: Re: Fallback WMQ from V6 to V5 on AIX |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
pfarrel wrote: |
I have tried another method, but it doesn't seem to work. I tried backing up the folders /usr/mqm and /var/mqm on V5, then running the upgrade to V6, then restoring the backups. |
After the upgrade if you want to downgrade
Uninstall v6
Install v5.3
Restore /var/mqm only
That might work. |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Wed Mar 01, 2006 8:35 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
pfarrel,
backup /var/mqm when all QMgrs are down (not /usr/mqm). Then follow vennelas description. I did it several times and it worked always prooper.
When one or more QMgr is up, the transaction logs (/var/mqm/log/...) and the QMgr data (/var/mqm/qmgrs/...) are not consistent. The QMgr will (mostly) not come up after restore. _________________ Regards
Hubert |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Mar 02, 2006 9:19 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Is it guaranteed that upgrading to 6.0 doesn't alter anything in var/mqm? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
wschutz |
Posted: Thu Mar 02, 2006 9:21 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
PeterPotkay wrote: |
Is it guaranteed that upgrading to 6.0 doesn't alter anything in var/mqm? |
considering that there are new attributes for queues, channels are now "objects", there are new listener and service objects, it doesn't seem likely, does it? _________________ -wayne |
|
Back to top |
|
 |
pfarrel |
Posted: Thu Mar 02, 2006 10:42 am Post subject: |
|
|
Centurion
Joined: 16 Mar 2004 Posts: 120 Location: Kansas City
|
I think that I have got my backup/restore process working. Here are some of the things that I learned:
- Take backup of V5 with QMGR down.
- What needs to be backed up is /usr/mqm and /var/mqm.
- When preparing to restore, remove the V6 folders at /var/mqm and /usr/mqm. This will ensure that you don't get any V6 files mixed in with the restored V5 files.
- When restoring, ensure that whatever process you use does not change any file ownership or access permissions.
- After restoring /var/mqm and /usr/mqm from the V5 backup, V5 comes up OK. |
|
Back to top |
|
 |
|