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 » WebSphere Message Broker (ACE) Support » STANDARD CACHE (Using Shared Variables)RELOADING ISSUE

Post new topic  Reply to topic
 STANDARD CACHE (Using Shared Variables)RELOADING ISSUE « View previous topic :: View next topic » 
Author Message
Morphy
PostPosted: Thu Dec 08, 2016 10:47 pm    Post subject: STANDARD CACHE (Using Shared Variables)RELOADING ISSUE Reply with quote

Newbie

Joined: 08 Dec 2016
Posts: 5

Hi All,
I have to work on a scenario, where I have an Active server and Standby server.

We have configured the IBM Integration bus High Availability(Active-Passive) using HACMP. For one message flow, we are fetching data from database and stores it in Standard Cache using Shared Variables.When the active Sever goes down,the entire application moves to Standby Server,now data in Cache is lost and not able to pick data from Database in standby server.Any Suggestions for this problem.

Thanks,
Morphy
Back to top
View user's profile Send private message
adubya
PostPosted: Fri Dec 09, 2016 1:19 am    Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 377
Location: GU12, UK

Shared variables are only shared across instances of the same message flow running in a specific execution group. They are not shared across message flows, execution groups, brokers or LPARs/machines.

I guess you understand that but your problem is reloading the cache instances from database ? If so then what database issues are you getting ? Is the database on the node which has now shutdown, that wouldn't be good
_________________
Independent Middleware Consultant
andy@knownentity.com
Back to top
View user's profile Send private message Send e-mail
Morphy
PostPosted: Fri Dec 09, 2016 2:23 am    Post subject: STANDARD CACHE (Using Shared Variables)RELOADING ISSUE Reply with quote

Newbie

Joined: 08 Dec 2016
Posts: 5

Sometimes our database which is configured on Node will be shutdown, in that scenarios, cache is not loading when DB cames into active mode.

Is there any solution to overcome this Cache problem incase of Failover scenarios.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Dec 09, 2016 4:42 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Either make sure the database is always available before the broker starts,

or change your logic to handle the database being unavailable.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Dec 09, 2016 6:08 am    Post subject: Re: STANDARD CACHE (Using Shared Variables)RELOADING ISSUE Reply with quote

Grand High Poobah

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

Morphy wrote:
Is there any solution to overcome this Cache problem incase of Failover scenarios.


Proper code inside your flows. Irrespective of failover or not, a flow should not assume a cache is populated with data and any flow (cache or not) should handle a database being unavailable.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Morphy
PostPosted: Fri Dec 16, 2016 9:05 pm    Post subject: Reply with quote

Newbie

Joined: 08 Dec 2016
Posts: 5

Thanks all for your suggestions. Problem is resolved, by handling the database exceptions.
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 » WebSphere Message Broker (ACE) Support » STANDARD CACHE (Using Shared Variables)RELOADING ISSUE
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.