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 » WMB automate msgflow restart each time SAP is restarted

Post new topic  Reply to topic
 WMB automate msgflow restart each time SAP is restarted « View previous topic :: View next topic » 
Author Message
grrommitt
PostPosted: Wed Oct 22, 2014 12:57 am    Post subject: WMB automate msgflow restart each time SAP is restarted Reply with quote

Novice

Joined: 22 Oct 2014
Posts: 11

Is there a way to automate the restart of a message flow containing a SAP adapter each time the SAP server is restarted?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 22, 2014 4:43 am    Post subject: Re: WMB automate msgflow restart each time SAP is restarted Reply with quote

Grand High Poobah

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

grrommitt wrote:
Is there a way to automate the restart of a message flow containing a SAP adapter each time the SAP server is restarted?


Yes - have whatever automation is restarting the SAP server restart the message flow.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
grrommitt
PostPosted: Wed Oct 22, 2014 5:26 am    Post subject: Reply with quote

Novice

Joined: 22 Oct 2014
Posts: 11

I'm looking for something that runs on the WMB side (preferably internally, not a bash type script) that would check if the SAP server is available through the WMB SAP adapter or any other way and performs a stop/start on a message flow.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 22, 2014 5:37 am    Post subject: Reply with quote

Grand High Poobah

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

grrommitt wrote:
I'm looking for something that runs on the WMB side (preferably internally, not a bash type script) that would check if the SAP server is available through the WMB SAP adapter or any other way and performs a stop/start on a message flow.



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Oct 22, 2014 8:58 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1638

May I ask why you want this? The SAPInput node adapter should notice that the connection to SAP has gone and try to reconnect again once SAP comes back up.

Kind regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
grrommitt
PostPosted: Thu Oct 23, 2014 4:46 am    Post subject: Reply with quote

Novice

Joined: 22 Oct 2014
Posts: 11

Well, it doesn't re-initialize. I have to stop/start the message flow every time someone form the SAP team reboots the server. This is the only flow that has this behavior. I'm using a SAPInbound adapter and from what I looked at in different adapters from other flows, there isn't any difference. The others are capable of connecting with SAP without any issue after SAP is rebooted.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 23, 2014 4:51 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Have you given it enough time to restart?
Depending on outage duration it may take up to 1 hour after SAP is back up for the Adapter to reconnect. (Standard jco behavior).

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB automate msgflow restart each time SAP is restarted
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.