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 » Copy Queue Manager?

Post new topic  Reply to topic
 Copy Queue Manager? « View previous topic :: View next topic » 
Author Message
shashivarungupta
PostPosted: Sun Apr 19, 2009 6:59 am    Post subject: Copy Queue Manager? Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Hi Folk,

Could you please guide me in what all necessary steps are required when copying the queue manager?

Appreciate that.
Thanks
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Sun Apr 19, 2009 7:20 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Do you mean cloning a qmgr? Backing up a qmgr? What platform?

Please explain what you are trying to accomplish.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sun Apr 19, 2009 8:21 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Step one in EVERYTHING TO DO WITH MQ is the same as step ONE in EVERYTHING TO DO WITH ANYTHING WITH COMPUTERS.

Read the documentation.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Sun Apr 19, 2009 9:07 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

bruce2359 wrote:
Do you mean cloning a qmgr? Backing up a qmgr? What platform?

Please explain what you are trying to accomplish.


I am trying to shut down a existing server1 on which QM1 had been defined, and server2 is going to have the definition of QM1 now on. So, wanted to have all that setup in the new server server2. In both the servers the Queue Manager(s) have had been in the clustered environment.
My O.S. is AIX 5.3.
Can you provide a link to that document?

Thanks
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Sun Apr 19, 2009 9:10 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

shashivarungupta wrote:
Can you provide a link to that document?


Top of this page. You'll probably see it while you're rolling your eyes.

My tip - remember you can't copy cluster membership.

My other tip - your first mistake with cluster configuration will probably be your last. Test your copy process in a sepatate environment before you use it on servers you care about, especially if the queue manager you're working on is a member of a large cluster.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Apr 19, 2009 9:19 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Copy has too many meanings to be usefull in a technical discussion.

If you want to save (copy) your object definitions from one qmgr; and then create a new qmgr, and create (copy) the same objects, then there's a support pac MS03 that provides a program called saveqmgr that will copy your object definitions to a file that you can then pass as input to runmqsc on the new qmgr.

Or do you mean that you want to copy an existing qmgr from the one filesystem to the filesystem of another server?

Or do you mean that you want to clone a qmgr for disaster recovery purposes?

Again, please be more specific about what exactly you want to accomplish.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Sun Apr 19, 2009 9:38 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

bruce2359 wrote:
Copy has too many meanings to be usefull in a technical discussion.

If you want to save (copy) your object definitions from one qmgr; and then create a new qmgr, and create (copy) the same objects, then there's a support pac MS03 that provides a program called saveqmgr that will copy your object definitions to a file that you can then pass as input to runmqsc on the new qmgr.

Or do you mean that you want to copy an existing qmgr from the one filesystem to the filesystem of another server?

Or do you mean that you want to clone a qmgr for disaster recovery purposes?

Again, please be more specific about what exactly you want to accomplish.


Quote:
...Or do you mean that you want to copy an existing qmgr from the one filesystem to the filesystem of another server?...

I want an existing queue manager QM1 copy from one file sys. of a server1 to filesys of another server2.
Both are AIX O.S. and Server1 has a cluster CLUS1 that will be shut down. and Server2 has an existing cluster CLUS2 and its queue managers. Now, on server2 we want to place the QM1 from server1.
Thats it we are looking for.
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Sun Apr 19, 2009 9:49 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

this subject has been discussed here many times. Click search at the top of this page, and begin searching for similar posts.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Sun Apr 19, 2009 4:22 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

bruce2359 wrote:
...If you want to save (copy) your object definitions from one qmgr; and then create a new qmgr, and create (copy) the same objects, then there's a support pac MS03 that provides a program called saveqmgr that will copy your object definitions to a file that you can then pass as input to runmqsc on the new qmgr.


There is much more to copying / cloning a qmgr that the object definitions. (be very careful with cloning channel definitions, particularly names and conname). You also need to consider OAM authorities, recovery log type and sizing, other attributues on the crtmqm command, exit definitions, other customisations in mqs.ini and qm.ini, file system sizes, MQ software version, preserving app messages.
_________________
Glenn
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Apr 19, 2009 4:42 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

As I stated earlier, the term copy is far too general - lacking specifity as to what is to be copied (objects, messages, logs, ...) and for what purpose.

Until shashivarungupta provides a more definitive explanation of what is to be copied, and what is to be achieved by the copy, our posts will continue to be guesses.

(A few weeks ago, I asked an IT clerical person to make a copy of a cd for me. What came back was two sheets of paper - the front and back copied by a color copy machine. Kyrocera, I think; but I can't be positive.)
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Apr 20, 2009 12:13 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bruce2359 wrote:
A few weeks ago, I asked an IT clerical person to make a copy of a cd for me.


Oh Thank God! I thought it was just me this sort of thing happened too....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
crossland
PostPosted: Tue Jul 21, 2009 12:12 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

bruce2359 wrote:
Copy has too many meanings to be usefull in a technical discussion.

If you want to save (copy) your object definitions from one qmgr; and then create a new qmgr, and create (copy) the same objects, then there's a support pac MS03 that provides a program called saveqmgr that will copy your object definitions to a file that you can then pass as input to runmqsc on the new qmgr.

Or do you mean that you want to copy an existing qmgr from the one filesystem to the filesystem of another server?

Or do you mean that you want to clone a qmgr for disaster recovery purposes?

Again, please be more specific about what exactly you want to accomplish.


Another way of copying definitions is to use Export in the MQMON supportpac. For example, to export your queue definitions:

    list queues,
    select any queue,
    right click and highlight 'Export...'.


You are then able to export all MQ definitions of that type. The tool will generate a file containing the MQSC commands.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 21, 2009 12:20 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

crossland wrote:
You are then able to export all MQ definitions of that type. The tool will generate a file containing the MQSC commands.


As stated further up this post, this is useful if by "copy" you mean "clone". If you mean "copy" as in "move to a different server" (as seems to be the case here) it's not appropriate as it doesn't move queue contents.

It's also fatal if you mean clone and (as in this instance) the queue manager is a member of a cluster unless a little editing is done first.....

All depends what you're actually trying to do.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
crossland
PostPosted: Tue Jul 21, 2009 12:46 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

Indeed - that is why I stated that the tool can be used to copy MQ definitions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 21, 2009 12:49 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

crossland wrote:
Indeed - that is why I stated that the tool can be used to copy MQ definitions.


Good point, good point. I was simply underlining the risks for the benefit of those of our readers who skim the posts.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Copy Queue Manager?
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.