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 IBM MQ Support » saveqmgr - a question

Post new topic  Reply to topic
 saveqmgr - a question « View previous topic :: View next topic » 
Author Message
veeruk
PostPosted: Mon Mar 20, 2006 11:33 am    Post subject: saveqmgr - a question Reply with quote

Acolyte

Joined: 13 Mar 2006
Posts: 73

Hi all,
I was planning to see all the queue and channel definitions on AIX PRODUCTION SERVER because I have to replicate the production environment on a different server. But I have just read somewhere in the IBM support site that all the applications queues should be empty before we run this 'saveqmgr' command or else the data WILL BE LOST!
I am just worried whether to go ahead and use this command even in the production system or not. Is it advisable to straight away run this command or do we need to backup the data before we use it.Can someone guide me in this regard?
Thank you,
Veeru.
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Mar 20, 2006 11:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
But I have just read somewhere in the IBM support site

Where???
AFAIK, it is not necessary and you can run the utility anytime, unless Wayne contradicts me.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
veeruk
PostPosted: Mon Mar 20, 2006 11:59 am    Post subject: Reply with quote

Acolyte

Joined: 13 Mar 2006
Posts: 73

I should run it in the AIX machine(production server). This is the link where I read that:
http://www-306.ibm.com/software/integration/mqfamily/support/apars/preCSD04PTFInstall.html
Though it says about something about Compaq systems, I am not sure what he meant by that. But I just read the part which sya about 'saveqmgr' .
Thanks for your reply,
Veeru.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 20, 2006 12:03 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Of course the data will be lost.

You will have done nothing to save it and restore it.

Saveqmgr only creates an mqsc file that will recreate the objects.

It does not save messages.

You need to use some other mechanism for that. Like, perhaps, some process mentioned in the documentation on backing up and restoring queue managers.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
veeruk
PostPosted: Mon Mar 20, 2006 12:07 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Mar 2006
Posts: 73

Can you please suggest any other tool if so? I just want to see those queue & channel definitions and consequently create them with the same definitions on a different machine altogether.
Back to top
View user's profile Send private message
wschutz
PostPosted: Mon Mar 20, 2006 12:16 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Don't panic. Saveqmgr will NOT delete any queues or messages when you run it.

The reason the link you gave says that data will be lost is due to step 7:
Quote:
7. Stop and delete each queue manager.


For what you want to do, saveqmgr is what you need. As Jeff says, it will create a file with mqsc in it which you can then run on another machine.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
veeruk
PostPosted: Mon Mar 20, 2006 12:20 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Mar 2006
Posts: 73

Oh! I didn't concentrate on that step properly. I got panicked to see the NOTE**NOTE** kind of statements at step 2!!
Thanks for your guidance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 20, 2006 12:21 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

But the messages on Machine A will not be moved to Machine B.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
veeruk
PostPosted: Mon Mar 20, 2006 12:25 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Mar 2006
Posts: 73

Yeah, You are right.
My plan is, since saveqmgr cretates a file which contains all the definitions and authorizations, I'll just copy that file to the new machine and run those commands to create the objects with the same privileges.
Back to top
View user's profile Send private message
wschutz
PostPosted: Mon Mar 20, 2006 12:28 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

saveqmgr creates the definitions, but as documented in its "read.me", you ned to run amqoamd -s to create the authorizations in a file.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » saveqmgr - a question
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.