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 » IBM MQ Installation/Configuration Support » Backup/Recovery

Post new topic  Reply to topic Goto page 1, 2  Next
 Backup/Recovery « View previous topic :: View next topic » 
Author Message
Trainee
PostPosted: Mon Jan 15, 2007 11:01 am    Post subject: Backup/Recovery Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Hi I have two AIX servers SERV1,SERV2
Target is To Recover the QueManager from the File system.

So copied required file system from one Sever to Other and try to start to recover the Queue Manager from the other Server.Here is the information.

--------- SERV1 ---------------------- SERV2
MQ ---- 530.13 ------------------------- 6.0.2.0
QMGR --- Q1 -------------------------- Q2

I copied the (1)var/mqm/qmgrs/QM!1 ,
(2) var/mqm/log/QM!1
to the SERV2.
I added to the (3)mqs.ini on SERV2 with the information that has in mqs.in on SERV1 relating to the Q1.

I did dspmq on SERV2.I was able to see Q1(Ended unexpectedly).I try to start it strmqm Q1.

WebSphere MQ queue manager 'QM.1' starting.
AMQ5615: Default objects cannot be created: CompCode = 2 Reason = 2059.

which is Q_MGR_NOT_AVAILABLE.

Can any one tell me what wrong I did. Do I need to any thing more

Thanks In Advance

Trainee
Back to top
View user's profile Send private message
pathipati
PostPosted: Mon Jan 15, 2007 7:31 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Use MO71 to backup and restore your Queue Manager..
Back to top
View user's profile Send private message Yahoo Messenger
vennela
PostPosted: Mon Jan 15, 2007 9:40 pm    Post subject: Reply with quote

Jedi Knight

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

I am not sure if this can be done. When you have two different versions, then there is a chance that it won't work. What you can try is to copy the /var/mqm and then try installing MQ6 and see if that will work.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vitor
PostPosted: Mon Jan 15, 2007 11:49 pm    Post subject: Reply with quote

Grand High Poobah

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

Also (as has been discussed before) the queue manager needs to be down before doing the copy, or the files will be inconsistant. Assuming this does work 5.3 -> 6.0.....

But copying the file system is not the best way of backing up / recovering a queue manager. Browse the forum & you'll see a lot of discussion on the various methods available.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Jan 16, 2007 1:43 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

AFAIK its not possible...

The queue managers wont work ,

you have to re-create the queue managers, and objects

take a backup of the objects using saveqmgr tool and re-create it

meanwhile
you can just give a try

strmqm -c <QMGR_NAME> after this start the queue manager




Thanks and Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jan 16, 2007 2:31 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There's an entire chapter in the systems administration manual on backup and recovery.

Backing up a v5.3 and then restoring it onto a v6 should work, as it will be treated like a migrated queue manager.

Backing up a v6 and then restoring it onto a v5.3 should not work.

Also, be clear on what you're actually trying to backup and recover. Is it messages? Is it qmgr configuration? Are you trying to implement your own HA environment?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Jan 16, 2007 4:55 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

Jeff, here i think Trainee installed MQ 6.0.2.0 on Server 2 and manually copied the directories (/var/mqm/) to the server 2 and tried to start it

So we cant say that is a migration here.

Please make me clear if its wrong...

Thanks and Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Jan 16, 2007 7:54 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Gaya3 wrote:
Hi

Jeff, here i think Trainee installed MQ 6.0.2.0 on Server 2 and manually copied the directories (/var/mqm/) to the server 2 and tried to start it

So we cant say that is a migration here.

Please make me clear if its wrong...

Thanks and Regards
Gayathri


Jeff wrote:

Quote:
Backing up a v5.3 and then restoring it onto a v6 should work, as it will be treated like a migrated queue manager.


Which seems pretty conclusive to me
_________________
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
jefflowrey
PostPosted: Tue Jan 16, 2007 7:55 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

exerk wrote:
Quote:
Backing up a v5.3 and then restoring it onto a v6 should work, as it will be treated like a migrated queue manager.


Which seems pretty conclusive to me


I'm guessing here, really.

And I'm assuming a correct backup/restore.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Tue Jan 16, 2007 8:45 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

try starting with: strmqm -c Qmgrname (this will create the default objects)...

fingers crossed
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Trainee
PostPosted: Tue Jan 16, 2007 10:28 am    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

I try to start queue manager with -c option it didn't work for me and gave the same error like earlier.

We don't have any HA.This is test environment we want to test backup/recovery on SIT.

I copied the var/mqm/qmgrs, var/mqm/log from the server where I have MQ 5.3 to the Server where I have MQ 6.0 manually using scp command.


I am trying to recover messages and QueueManager( including objects) on different server.

I would like to know what wrong I did. or Am I missing something essential.

Thanks for all replies
Trainee
Back to top
View user's profile Send private message
Trainee
PostPosted: Tue Jan 16, 2007 10:30 am    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

I try to start queue manager with -c option it didn't work for me and gave the same error like earlier.

We don't have any HA.This is test environment we want to test backup/recovery on SIT.

I copied the var/mqm/qmgrs, var/mqm/log from the server where I have MQ 5.3 to the Server where I have MQ 6.0 manually using scp command.


I am trying to recover messages and QueueManager( including objects) on different server.

I would like to know what wrong I did. or Am I missing something essential.

Thanks for all replies
Trainee
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Jan 16, 2007 12:18 pm    Post subject: Reply with quote

Jedi Knight

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

Quote:
What you can try is to copy the /var/mqm and /var/mqm/logs and then try installing MQ6 and see if that will work.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Trainee
PostPosted: Tue Jan 16, 2007 4:05 pm    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Hi Vennela,

What I tried instead of moving to server which has MQ6 I moved to Server which has MQ 5.3 still it didn't work.Any way thanks for reply

Trainee
Back to top
View user's profile Send private message
Trainee
PostPosted: Tue Jan 16, 2007 4:23 pm    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Thanks

Last edited by Trainee on Wed Jan 17, 2007 2:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Backup/Recovery
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.