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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » DB2 backup and Recovery

Post new topic  Reply to topic
 DB2 backup and Recovery « View previous topic :: View next topic » 
Author Message
vedbhat
PostPosted: Tue Oct 08, 2002 9:43 pm    Post subject: DB2 backup and Recovery Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Hi,

I am working at a client site and found a strange problems. The environment is MQWF 3.3.2, MQ 5.2.1 CSD 5.0 and DB2 7.2 CSD 5.0 on Windows 2000.

1) Whenever any user connects to MQWF either to buildtime or runtime the corresponding database status is changed to inconsistent. Is this the expected behaviour. Does anybody have any idea about this?

2) I have also scheduled the database for backup from the DB2 control center. The journal shows successful but when I try to restore, it give various error message. Has anybody encountered similiar error in these environments.

Any answers or suggestion is highle appreciated.

Thanks in advance and Regards
Ved
_________________
IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
vennela
PostPosted: Wed Oct 09, 2002 4:42 am    Post subject: Reply with quote

Jedi Knight

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

I remember I have seen something similar to this. After applying the CSDs I had to rebind the DB2 bind files to the Workflow databases. If you didn't, do it, that may solve the problem. Use fmczutil to rebind rather than DB2 utilities.

---
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jmac
PostPosted: Wed Oct 09, 2002 5:58 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Venny is right on here....

With every CSD you should rebind the databse using fmczutil

Code:
E:\>fmczutil
   FMC33201I Configuration Commands Menu:
     l ... List
     s ... Select
     c ... Create
     d ... Change default configuration
     x ... Exit Configuration Commands Menu
s
     Configuration identifier : [FMC]
   FMC33202I Selected Configuration Commands Menu:
             Selected configuration : FMC (Default configuration)
     c ... Configuration Settings Menu
     d ... Delete
     b ... Buildtime Database Commands Menu
     r ... Runtime Database Commands Menu
     q ... Queue Manager Commands Menu
     x ... Exit Selected Configuration Commands Menu
r
   FMC33206I Selected Runtime Database Commands Menu:
             Selected Runtime database : FMCDB
     d ... Drop
     b ... Bind packages
     f ... Import topology FDL
     p ... Change password
     x ... Exit Selected Runtime Database Commands Menu
b


It has gotten to the point that I always do this automatically now. However, if you check the "readme" file that comes with a CSD you will see that it contains a step to have you rebind the DB using the above procedure.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
vedbhat
PostPosted: Wed Oct 09, 2002 5:31 pm    Post subject: Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Hi,

I have done all the binding of DB2 packages as well as MQWF packages before I even did the backup. Everything looks fine as there are no problems with MQ, DB2 or MQWF. Only problem I suspect is the backup because it takes approximately 1.5 min to write 110MB file.

I guess this could be problem with MQWF/DB2.

Anyone encounteres similar problems or anything else need to look into?

Thanks and Waiting for replies

Regards
Ved
_________________
IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
vennela
PostPosted: Wed Oct 09, 2002 9:22 pm    Post subject: Reply with quote

Jedi Knight

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

The rebind generally solves the problem of inconsistency.

I am not sure if the database state turns inconsistent if we logon to the WF Databases.

How do check the state of the DB's ? Tell me the procedure and I will see what my databases state is when I logon to them.

---
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vedbhat
PostPosted: Wed Oct 09, 2002 10:01 pm    Post subject: Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Hi,

Goto the control centre and click on the "Databases" (high level and not the database itself), this will display all the databases and its status.

Regards
Ved
_________________
IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
vennela
PostPosted: Thu Oct 10, 2002 5:15 am    Post subject: Reply with quote

Jedi Knight

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

hmmm.... I can't

Somebody on a Windows platform should do this. Meanwhile I will get in touch with our DB2 DBA

---
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jmac
PostPosted: Thu Oct 10, 2002 5:24 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Ved:

I don't know much about DB2, but this is what I have observed:

I start mqwf and all the dependent services. If I then look at the control center as you describe, the database state is inconsistent.

I shutdown the MQWF service (i.e fmcamain) but leave DB2 and MQSeries running.

Now the state column is blank when I go to the control center.

I start the mqwf service again and the DB state is back to inconsistent

SO, it seems to me that when MQWF is up and running the state will always be inconsistent.

Does this make sense to someone with a knowledge of DB2?
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
vedbhat
PostPosted: Thu Oct 10, 2002 10:45 pm    Post subject: Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Hi John,

Yes, What you said is what I have observed. I was confused when I saw this information. When we encountered the DB2 backup and restore problem, we thought it might me because of this inconsistent state of DB2, but later found that this is the state whenever WF connects to DB. The backup and restore problem was something else.

Anyway, both the problems are now solved. Thanks for all your replies.

Regards
Ved
_________________
IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mqwf
PostPosted: Fri Oct 11, 2002 12:31 am    Post subject: Reply with quote

Acolyte

Joined: 10 Oct 2002
Posts: 62

vedbhat

you say the problem is solved but how did u solve the problem.
How did u solve the inconsistency problem
Back to top
View user's profile Send private message
vedbhat
PostPosted: Sun Oct 13, 2002 5:25 pm    Post subject: Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Hi,

This is a bug in DB2, it shows the status as Inconsistent whenever a MQWF application is connected to DB2.

Regards
Ved
_________________
IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » DB2 backup and 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.