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 » Moving QManager on diffrent server, messages are persistent

Post new topic  Reply to topic
 Moving QManager on diffrent server, messages are persistent « View previous topic :: View next topic » 
Author Message
markop
PostPosted: Tue Mar 29, 2011 2:08 am    Post subject: Moving QManager on diffrent server, messages are persistent Reply with quote

Newbie

Joined: 29 Mar 2011
Posts: 7

Hi,
i'm using Websphere MQ 6.0.1.0 installed on Suse linux 10 SP2. I'm trying to move QManager from one server to another (just testing crash scenario). Second server have different IP and hostname than first. My goal is to make QManager work on another server without losing messages (messages are set to persistent on first server). I tryed procedure:
* endmqm TEST (on first server)
* crtmqm TEST (on second server)
* strmqm TEST & create queues, channels, listeners (on second server)
* endmqm TEST (on second server)
* copy log files (from /var/mqm/logs/TEST/active/) over existing logs on second server
*copy amqhlctl.lfh file from /var/mqm/logs/TEST/ over existing file on second server
*strmqm TEST
and i receive error message "AMQ7017: Log not available."

What am i doing wrong?? As i understand in documentation all i need to do is to change log files is messages are persistent. Can somebody write to me proper step-by -step guide ?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 29, 2011 2:12 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You should look into backing up and restoring the queue manager, or using a backup qmgr.

What you've done is a procedure to allow a qm to start up if there is damage to the log files, and it will NOT have the end result of moving messages from one machine to another.
Back to top
View user's profile Send private message
markop
PostPosted: Tue Mar 29, 2011 2:29 am    Post subject: Reply with quote

Newbie

Joined: 29 Mar 2011
Posts: 7

first: thanks for fast reply...
Second : my plan with this test was to restore messages in case when qmanager crash and to create/start same qmanager on different server without losing any messages. Sorry if my goal was not explained correctly. I read a lot of documentatoin about this topic but i couldn't find step-by -step guide for this scenario. Am I missing something or my scenario is not OK?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 29, 2011 2:39 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Yes, I understand what your plan is.

What I said is that the procedure you have is the wrong procedure for that plan.

Even if it had worked.

You want to review the pages under
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.amqzag.doc/fa14690_.htm
Back to top
View user's profile Send private message
markop
PostPosted: Tue Mar 29, 2011 3:04 am    Post subject: Reply with quote

Newbie

Joined: 29 Mar 2011
Posts: 7

can you tell me what is right procedure when one mq server crash and i want to restore data on another server (with logs and data folders preserved from first server)? or can you send me some link to correct document. Thanks in advance for your time
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Mar 29, 2011 3:19 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Search the Info Centre for Backup Queue Managers. Search the web for disaster+recovery+mq.
_________________
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
mqjeff
PostPosted: Tue Mar 29, 2011 4:39 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

markop wrote:
can you send me some link to correct document.


I did.
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 IBM MQ Support » Moving QManager on diffrent server, messages are persistent
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.