Author |
Message
|
grrommitt |
Posted: Wed Oct 22, 2014 12:57 am Post subject: WMB automate msgflow restart each time SAP is restarted |
|
|
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 |
|
 |
Vitor |
Posted: Wed Oct 22, 2014 4:43 am Post subject: Re: WMB automate msgflow restart each time SAP is restarted |
|
|
 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 |
|
 |
grrommitt |
Posted: Wed Oct 22, 2014 5:26 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Oct 22, 2014 5:37 am Post subject: |
|
|
 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 |
|
 |
mgk |
Posted: Wed Oct 22, 2014 8:58 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
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 |
|
 |
grrommitt |
Posted: Thu Oct 23, 2014 4:46 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Thu Oct 23, 2014 4:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
|