|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to remotely backup the messages in localqueues of RQMGR? |
« View previous topic :: View next topic » |
Author |
Message
|
mikeHT |
Posted: Mon Nov 14, 2005 1:39 pm Post subject: How to remotely backup the messages in localqueues of RQMGR? |
|
|
Voyager
Joined: 01 Jul 2005 Posts: 82
|
I can use mqsc to connect to a remote Queue Manager, RQM, via SYSTEM.DEF.SVRCONN and IP address and port for monitoring queue depth.
When Using Q program to browse a queue alias eg, QACLUSTER1(with both put and get enabled) which is in a cluster, I get 2085's when doing a
q -iQACLUSTER1 -mLocalQM
amqsputc QACLUSTER1 LocalQM
amqsbcg QACLUSTER1 LocalQM
AMQSBCG0 - starts here
*********************
MQOPEN - 'QACLUSTER1'
MQOPEN failed with CompCode:2, Reason:2085
However I can run amqsput QACLUSTER1 LocalQM with no error.
How can I remotely backup the messages in localqueues or Queuealiase on a Remote QMGR? Is there sample code to archive the backup? Thank you. |
|
Back to top |
|
 |
Michael Dag |
Posted: Mon Nov 14, 2005 2:18 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
meenakshi |
Posted: Tue Nov 15, 2005 5:52 am Post subject: |
|
|
 Novice
Joined: 15 Jun 2005 Posts: 11 Location: India
|
Like you are using amqsputc which is the client executable, you can use amqsbcgc/amqsgetc to browse/get the messages and store them into a file.
In terms of server executables, you can put to a remote queue (which is the local definition of a queue on a different queue manager) but can't get from a remote queue. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|