Author |
Message
|
markop |
Posted: Tue Mar 29, 2011 2:08 am Post subject: Moving QManager on diffrent server, messages are persistent |
|
|
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 |
|
 |
mqjeff |
Posted: Tue Mar 29, 2011 2:12 am Post subject: |
|
|
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 |
|
 |
markop |
Posted: Tue Mar 29, 2011 2:29 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Tue Mar 29, 2011 2:39 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
markop |
Posted: Tue Mar 29, 2011 3:04 am Post subject: |
|
|
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 |
|
 |
exerk |
Posted: Tue Mar 29, 2011 3:19 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Tue Mar 29, 2011 4:39 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
markop wrote: |
can you send me some link to correct document. |
I did. |
|
Back to top |
|
 |
|