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 » Media Recovery for Queue Manager

Post new topic  Reply to topic Goto page 1, 2  Next
 Media Recovery for Queue Manager « View previous topic :: View next topic » 
Author Message
MB Developer
PostPosted: Tue Jun 03, 2014 10:01 pm    Post subject: Media Recovery for Queue Manager Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi All,


I already created Queue Manager but I am not providing -ll (Linear Logging) so it takes default option as circular logging.

Created all objects for queue manager what are required for me.

Now I want to take media backup and media recovery.

rcdmqing - m SS - t queue SL

Then i got error "media recovery not allowed"

If it comes error then always I can create new queue manager.

Is there any possible to alter queue manager or other solution for this.

Thanks,
Suresh K
Back to top
View user's profile Send private message
MQsysprog
PostPosted: Tue Jun 03, 2014 10:19 pm    Post subject: Reply with quote

Centurion

Joined: 24 Feb 2014
Posts: 116

Hello,

To use the recovery image commands , you should have activated the linear logging functions.
This functional option is required mainly to ensure continuity of the recovery images written on the logs by the recovery objects commands to the last checkpoint ,that may be instead incomplete in case of circular logging ...

Hope it helps .
Back to top
View user's profile Send private message
MB Developer
PostPosted: Tue Jun 03, 2014 10:41 pm    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

MQsysprog wrote:
Hello,

To use the recovery image commands , you should have activated the linear logging functions.
This functional option is required mainly to ensure continuity of the recovery images written on the logs by the recovery objects commands to the last checkpoint ,that may be instead incomplete in case of circular logging ...

Hope it helps .



Hi MQsysprog,

I know To use the recovery image commands , you should have activated the linear logging functions. i.e when creating queue manager provide -ll for queue manager.


I forgot to give -ll option for Queue Manager.But I want to media recovery and media backup .


rcdmqimg - m SS - t queue SL

Then i got error "media recovery not allowed"


Is there any possible to alter queue manager or other solution for this.


Thanks,
Suresh K
Back to top
View user's profile Send private message
MQsysprog
PostPosted: Tue Jun 03, 2014 11:23 pm    Post subject: Reply with quote

Centurion

Joined: 24 Feb 2014
Posts: 116

Hi

The linear or circular logging is a initialization option of your Qmanager ,so to obtain the media recovery functions you must do a controlled shutdown ,and then a restart with the activation of linear logging .
Here you could find some useful informations :
http://www-01.ibm.com/support/docview.wss?uid=swg21182061
Back to top
View user's profile Send private message
MB Developer
PostPosted: Tue Jun 03, 2014 11:32 pm    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi MQsysprog,

Thanks for giving response ...




Thanks,
Suresh K
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Jun 03, 2014 11:52 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

@MB Developer, the rcdmqimg command will NOT work with circular logging, no matter what you try, period! You will need to delete and redefine your queue manager with linear logging.

MQsysprog wrote:
...so to obtain the media recovery functions you must do a controlled shutdown, and then a restart with the activation of linear logging...

This is a meaningless, and totally misleading, statement, which if you'd read the content of the link you posted you would have known not to post, i.e. "...Note: The LogType attributes, circular or linear, cannot be changed once the queue manager has been created...".
_________________
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
MQsysprog
PostPosted: Tue Jun 03, 2014 11:58 pm    Post subject: Reply with quote

Centurion

Joined: 24 Feb 2014
Posts: 116

Hi Suresh,

if i remeber well there was a specifical redbook on these particular functions ,with the title '' MQ recovery and restart'' or something
like this ...
I would suggest you a search on the net to find a copy of this book ,probably it is a bit old ,but anyway useful .
I have on my shelf a printed copy of it at hand .

Ciao

Emanuele
Back to top
View user's profile Send private message
MQsysprog
PostPosted: Wed Jun 04, 2014 12:30 am    Post subject: Reply with quote

Centurion

Joined: 24 Feb 2014
Posts: 116

Hi,

The redbook on MQ Backup and Recovery is available here :

http://www.redbooks.ibm.com/redbooks/pdfs/sg245222.pdf

And forgive my previous error already pinpointed by exerk ,
obviously the logging mode of the Qmgr is a main initialization
parameter that requires a new creation of the Qmanager itself...
Back to top
View user's profile Send private message
MB Developer
PostPosted: Wed Jun 04, 2014 12:52 am    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi MQsysprog,exerk,

Really thanks for your support and these posts are very useful for me and who are new to MQ.


Thanks,
Suresh K
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Wed Jun 04, 2014 4:39 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Suresh,

If you are going to rebuild your Qmgr to switch to linear logs, also consider changing your log file pages. If you have not calculated what this number should be and have no info to work with, pick 16384. This is the other Qmgr attribute you cannot change after creation.

Search this forum for qm.ini stanzas and you will find other useful information a newbe will not normally find (until you have a problem).
Back to top
View user's profile Send private message AIM Address
MB Developer
PostPosted: Wed Jun 04, 2014 8:12 pm    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi JosephGramig,

Thanks for your suggestion, Yes we have get more information on qm.ini but i am not finding qm.ini file in my system.

OS : Windows 7 ,Is there any possible to finding this in Windows then how and how to change no. of log files and log file size after I create queue manager..


Thanks & Regards,
Suresh K
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Jun 04, 2014 10:57 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

MB Developer wrote:
OS : Windows 7 ,Is there any possible to finding this in Windows...

Depending on your WMQ version, most settings are in the Windows Registry.

MB Developer wrote:
...then how and how to change no. of log files and log file size after I create queue manager.

Use MQExplorer to change the number of logs - I strongly advise not to do it by changing the Registry values directly - as regards the size, that's fixed at creation time and can only be changed by deleting/redefining the queue manager.
_________________
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
MB Developer
PostPosted: Thu Jun 05, 2014 1:04 am    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi exerk,

Using MQExplorer I can change log files for Queue Manager DL1 but when I want to show these files into "C:\Program Files (x86)\IBM\WebSphere MQ\log\DL1\active" path log files are not effected.


Before I can change log files are in Queue Manager is 3
I can increasing to log primary files to 5 but in queue manager log path it show only 3 files.

I think log files are increased when transaction are increased, correct or not. If it is not then when they can increased.


Thanks & Regards,
Suresh K
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Jun 05, 2014 1:15 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

MB Developer wrote:
...I think log files are increased when transaction are increased, correct or not. If it is not then when they can increased.

You may have to restart your queue manager for the changes to take effect.
_________________
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
MB Developer
PostPosted: Thu Jun 05, 2014 1:47 am    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi Exerk,

Thanks for Response...

Yes it will effect only after queue manager has restarted .

If a queue manager has a linear logging option then only it will effect otherwise it will not effect I already double checked is it correct or not.


Thanks & Regards,
Suresh K
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 » General IBM MQ Support » Media Recovery for 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.