Author |
Message
|
Mangesh1187 |
Posted: Thu Apr 04, 2013 9:31 pm Post subject: Oam script backup getting in differant format. |
|
|
Centurion
Joined: 23 Mar 2013 Posts: 116
|
Hi All,
I have given the below commands to get the backup of Queue Manager say MyQM. (Windows)
saveqmgr -m MyQM –f MyQM_yyyymmdd.mqs
amqoamd -m MyQM –s > MyQM_yyyymmdd.bat
We have the qm in 2 servers. One is running on WMQ 6.0 & Other is on WMQ7.0
-- When I got the backup from server with WMQ 7.0, its given oam script as expected format.
e.g.
setmqaut -m MyQM -n <queu_object> -t queue -p <principle_name> +browse +get +inq +passall +passid +put +set +setall +setid +chg +clr +dlt +dsp
-- When I got the backup from server with WMQ 6.0, its given oam script in differant format.
e.g
queue
<principle_name>
Authority=0x007e07ff
Sid=S-1-5-21-1326801804-4035017188-4167912486-1013
Can aby body suggest me why this difference. Or is there any impact if we used the oqm script as mentioned in the second format.
How can I get the oam backup in the first format instead of that mentioned in the second format ? |
|
Back to top |
|
 |
exerk |
Posted: Thu Apr 04, 2013 11:36 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Why not use saveqmgr to back up the OAM settings and do it all in one command instead of two? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Apr 05, 2013 11:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Sid is written out because the user or group it used to belong to has /have been deleted without ever getting removed from the WMQ persmissions.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Mangesh1187 |
Posted: Sun Apr 07, 2013 9:06 am Post subject: |
|
|
Centurion
Joined: 23 Mar 2013 Posts: 116
|
exerk wrote: |
Why not use saveqmgr to back up the OAM settings and do it all in one command instead of two? |
Then I usedd the single commend. And the file generated with correct format as I mentioned in 1st type of format.
But my doubt is , I used the same commands with MyQM on MQ Version 7 QM, still it has given correct formated o/p. But for the second QM it has not. What could be the reason ? |
|
Back to top |
|
 |
Mangesh1187 |
Posted: Sun Apr 07, 2013 9:23 am Post subject: |
|
|
Centurion
Joined: 23 Mar 2013 Posts: 116
|
fjb_saper wrote: |
Sid is written out because the user or group it used to belong to has /have been deleted without ever getting removed from the WMQ persmissions.
Have fun  |
Yes. As I told when 2nd time I got the backup with single command I got it in obvious format , but there are many entries in oam file saying "unresoved entity has permission ....." like that.
When I searched for the reasons , I found the same as you said about the user has been deleted without getting removed from the WMQ permissions.
I have another doubt ,if the user may not be the local but the domain user and while taking backup it was not reffered for any reason. Is there any chance for this ?
Actualy I am planning to migrate the QM from old MQ6 server to new MQ7 serve, on Windows 2008 env. Now I got the oam backup with many unresolved entitiy entries in it. What should be my further steps for the Migration purpose? Currently forllwing are the precautions I am taking:
1. I have asked applicatio team, whteher there was any user id that has been deleted for some purpose, by giving them the same SID to search.
2. If that id has been deleted from old server, then asked if this id they want on new server or not.
3. I asked application team to give the details of all the user ids and their groups which are using MQ objects in old servers and that should be used in New server.
Then I will check whether authenticaions has been theire for these ids/groups in the currrent oam backup.
4. If I found that perticular id has been deleted and not required in ew server also, then I am going to remove all the entries from oam backup saying "unresloved entitiy has authentications..." and us this oam script for the new queue manager on new server.
Please adivese me if anything more required to think about for the migration of Queue Manager... |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Apr 07, 2013 3:40 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Don't use amqoamd to back up WMQ OAM authority profiles. It does not back up any profiles that have +none on them (ie. a group or principal that is explicity excluded from any access to the object).
It has been completely replaced by dmpmqcfg and saveqmgr in recent verions. _________________ Glenn |
|
Back to top |
|
 |
|