ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Oam script backup getting in differant format.

Post new topic  Reply to topic
 Oam script backup getting in differant format. « View previous topic :: View next topic » 
Author Message
Mangesh1187
PostPosted: Thu Apr 04, 2013 9:31 pm    Post subject: Oam script backup getting in differant format. Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Thu Apr 04, 2013 11:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 05, 2013 11:18 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Mangesh1187
PostPosted: Sun Apr 07, 2013 9:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Mangesh1187
PostPosted: Sun Apr 07, 2013 9:23 am    Post subject: Reply with quote

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
View user's profile Send private message
gbaddeley
PostPosted: Sun Apr 07, 2013 3:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Oam script backup getting in differant format.
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.