Author |
Message
|
KAKOZ |
Posted: Wed Apr 28, 2004 7:50 am Post subject: What about MQS rights when migating from 5.2 to 5.3 ? |
|
|
Voyager
Joined: 26 Jan 2004 Posts: 90 Location: FRANCE
|
Hi,
- we are about to migrate from mqseries sun server 5.2 to mqseries sun 5.3
- we wonder what to do with the mqseries rights?
with 5.2 we always have the files for the mqs rights under /var/mqm/qmgrs/qmgr_name/auth/queues or qmanager or procdef AND also the system queue: SYSTEM.AUTH.DATA.QUEUE
- so where exactly are the mqseries rights stored?
- what is used by the queue manager?
what to do when migrating from 5.2 to 5.3 to keep all the rights if we keep all the same queue definitions?
thanks for help
Jack |
|
Back to top |
|
 |
mqonnet |
Posted: Wed Apr 28, 2004 10:03 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
|
Back to top |
|
 |
KAKOZ |
Posted: Wed Apr 28, 2004 10:52 pm Post subject: |
|
|
Voyager
Joined: 26 Jan 2004 Posts: 90 Location: FRANCE
|
Hi Kumar,
I read the documentation but I still wonder about that:
- on sun solaris platform -
1 - i notice that with 5.2 we have :
a) for the queue manager in the dty
/var/mqm/qmgrs/Qmgr_Name/auth/queues
a lot of authorizarion files containing the mqs rights
but also
b) the queue SYSTEM.AUTH.DATA.QUEUE containing a lot of information
that seems to be the same contents as the one of all /var/mqm/qmgrs/Qmgr_Name/auth/queues
in the quick beginings manual for mqs 5.3 they said that if we keep the
old /var/mqm/qmgrs/Qmgr_Name/auth/queues when we start the 5.3 Qmgr for the first time all the rights contained in the all /var/mqm/qmgrs/Qmgr_Name/auth/queues files are migrated in the
SYSTEM.AUTH.DATA.QUEUE
OK but it seems that the contents of the SYSTEM.AUTH.DATA.QUEUE in 5.2 environment is already correct before the migration - so the only thing we should have to do is:
1) save the queue SYSTEM.AUTH.DATA.QUEUE in our mqs 5.2 environment
2) then restaure it after having installed mqs 5.3
thanks to give me your feeling or experience about this pb
Jack |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Apr 28, 2004 11:40 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
short answer use: amqoamd -m Qmgrname -s > Qmgrname.acl.sh
before migration and then run the sh after migration. _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
mqonnet |
Posted: Thu Apr 29, 2004 4:57 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
As the migration guide on any platform suggests, you should *always* take a backup copy of the entire queue manager so that you could always revert back to it in case you need to.
And once you have done this, you dont need to worry and MQ would and should take care of the rest. Any upgrade that you do is and must be always transparent to the end user and any queue managers you have lying around. Thats the whole idea behind the upgrade and keep/make it simple.
Hence to sum up, IMO, you dont need to do a thing, as MQ takes care of all that you are concerned about.
And then of course, you can follow what michael suggested as an alternative to be even more safer.
Cheers
Kumar |
|
Back to top |
|
 |
KAKOZ |
Posted: Fri May 21, 2004 3:42 am Post subject: |
|
|
Voyager
Joined: 26 Jan 2004 Posts: 90 Location: FRANCE
|
Michael,
using the command : amqoamd -m Qmgrname -s
they reply that -s option is illegal !
do you already try the - s option?
Jack |
|
Back to top |
|
 |
jed |
Posted: Fri May 21, 2004 4:22 am Post subject: |
|
|
 Centurion
Joined: 08 Jan 2004 Posts: 118 Location: MI, USA
|
kakoz, as per what kumar said....
just backup your /var/mqm and /opt/mqm.....
then u do ur upgrade from 5.2 to 5.3 (i've done it to my clients many times and it works).
MQ will do the rest for your, except maybe updating the kernel file where in u need to put those kernel values. then, u need to reboot the machine in order to take effect the update kernel values. _________________ Jed |
|
Back to top |
|
 |
tkane |
Posted: Fri May 21, 2004 1:04 pm Post subject: |
|
|
 Voyager
Joined: 23 Dec 2002 Posts: 82 Location: Kansas City
|
the minus s option to amqoamd was added in a CSD to 5.2.
If you're below that level then you won't have it.
The full backup is critical because if you have to backout from 5.3 to 5.2 then either you need to re-key your setmqaut's after rebuilding your queue maanger (hopefully with saveqmgr ms03 output) or use the file restore from a good backup.
That said, my group did over 100 misc unix 5.2 to 5.3 upgrades and didn't have to backout or use the backups. That's the good news, the bad is some of the most complicated applications still need to get upgraded.
Good Luck
Tom |
|
Back to top |
|
 |
Michael Dag |
Posted: Mon Sep 13, 2004 1:01 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
tkane wrote: |
the minus s option to amqoamd was added in a CSD to 5.2.
If you're below that level then you won't have it.
|
Does anyone know in which CSD to 5.2 the -s option was added?
(need it for documentation purposes...) _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Nigelg |
Posted: Mon Sep 13, 2004 3:08 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
|
Back to top |
|
 |
Michael Dag |
Posted: Mon Sep 13, 2004 3:09 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
|